Struct opencv::core::Ptr

source ·
pub struct Ptr<T: ?Sized>where
    Self: PtrExtern,{ /* private fields */ }
Expand description

This is similar to Rust Box, but handled by the C++. Some OpenCV functions insist on accepting Ptr instead of a heap allocated object so we need to satisfy those.

docs.opencv.org 3.x docs.opencv.org 4.x

Implementations§

source§

impl<T: ?Sized> Ptr<T>where Self: PtrExtern,

source

pub fn new(val: T) -> Selfwhere T: OpenCVTypeExternContainerMove + Sized, Self: PtrExternCtor<T>,

Create a new Ptr from the object

source

pub fn inner_as_raw(&self) -> *const c_void

Get raw pointer to the inner object

source

pub fn inner_as_raw_mut(&mut self) -> *mut c_void

Get mutable raw pointer to the inner object

source§

impl Ptr<EstimateParameters>

source

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

source

pub fn as_raw_mut_PtrOfEstimateParameters( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BackgroundSubtractorCNT>

source

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

source

pub fn as_raw_mut_PtrOfBackgroundSubtractorCNT( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BackgroundSubtractorGMG>

source

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

source

pub fn as_raw_mut_PtrOfBackgroundSubtractorGMG( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BackgroundSubtractorGSOC>

source

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

source

pub fn as_raw_mut_PtrOfBackgroundSubtractorGSOC( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BackgroundSubtractorLSBP>

source

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

source

pub fn as_raw_mut_PtrOfBackgroundSubtractorLSBP( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BackgroundSubtractorMOG>

source

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

source

pub fn as_raw_mut_PtrOfBackgroundSubtractorMOG( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SyntheticSequenceGenerator>

source

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

source

pub fn as_raw_mut_PtrOfSyntheticSequenceGenerator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Retina>

source

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

source

pub fn as_raw_mut_PtrOfRetina( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn RetinaFastToneMapping>

source

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

source

pub fn as_raw_mut_PtrOfRetinaFastToneMapping( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TransientAreasSegmentationModule>

source

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

source

pub fn as_raw_mut_PtrOfTransientAreasSegmentationModule( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn LMSolver>

source

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

source

pub fn as_raw_mut_PtrOfLMSolver( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn LMSolver_Callback>

source

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

source

pub fn as_raw_mut_PtrOfLMSolver_Callback( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn StereoBM>

source

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

source

pub fn as_raw_mut_PtrOfStereoBM( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn StereoMatcher>

source

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

source

pub fn as_raw_mut_PtrOfStereoMatcher( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn StereoSGBM>

source

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

source

pub fn as_raw_mut_PtrOfStereoSGBM( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ConjGradSolver>

source

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

source

pub fn as_raw_mut_PtrOfConjGradSolver( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DownhillSolver>

source

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

source

pub fn as_raw_mut_PtrOfDownhillSolver( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<FileStorage>

source

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

source

pub fn as_raw_mut_PtrOfFileStorage( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Formatted>

source

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

source

pub fn as_raw_mut_PtrOfFormatted( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Formatter>

source

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

source

pub fn as_raw_mut_PtrOfFormatter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn GpuMat_Allocator>

source

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

source

pub fn as_raw_mut_PtrOfGpuMat_Allocator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MinProblemSolver_Function>

source

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

source

pub fn as_raw_mut_PtrOfMinProblemSolver_Function( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<OriginalClassName>

source

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

source

pub fn as_raw_mut_PtrOfOriginalClassName( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<f32>

source

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

source

pub fn as_raw_mut_PtrOff32( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Convolution>

source

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

source

pub fn as_raw_mut_PtrOfConvolution( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DFT>

source

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

source

pub fn as_raw_mut_PtrOfDFT( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn LookUpTable>

source

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

source

pub fn as_raw_mut_PtrOfLookUpTable( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_BackgroundSubtractorMOG>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_BackgroundSubtractorMOG( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_BackgroundSubtractorMOG2>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_BackgroundSubtractorMOG2( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn EncoderCallback>

source

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

source

pub fn as_raw_mut_PtrOfEncoderCallback( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn RawVideoSource>

source

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

source

pub fn as_raw_mut_PtrOfRawVideoSource( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn VideoReader>

source

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

source

pub fn as_raw_mut_PtrOfVideoReader( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn VideoWriter>

source

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

source

pub fn as_raw_mut_PtrOfVideoWriter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_DescriptorMatcher>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_DescriptorMatcher( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_FastFeatureDetector>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_FastFeatureDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_ORB>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_ORB( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Filter>

source

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

source

pub fn as_raw_mut_PtrOfFilter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_CLAHE>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_CLAHE( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_CannyEdgeDetector>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_CannyEdgeDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_CornernessCriteria>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_CornernessCriteria( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_CornersDetector>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_CornersDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_HoughCirclesDetector>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_HoughCirclesDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_HoughLinesDetector>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_HoughLinesDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_HoughSegmentDetector>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_HoughSegmentDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_TemplateMatching>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_TemplateMatching( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CascadeClassifier>

source

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

source

pub fn as_raw_mut_PtrOfCascadeClassifier( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn HOG>

source

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

source

pub fn as_raw_mut_PtrOfHOG( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_BroxOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_BroxOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_DensePyrLKOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_DensePyrLKOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_FarnebackOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_FarnebackOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_NvidiaOpticalFlow_1_0( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_NvidiaOpticalFlow_2_0( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_OpticalFlowDual_TVL1>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_OpticalFlowDual_TVL1( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_SparsePyrLKOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_SparsePyrLKOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_DisparityBilateralFilter>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_DisparityBilateralFilter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_StereoBM>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_StereoBM( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_StereoBeliefPropagation>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_StereoBeliefPropagation( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_StereoConstantSpaceBP>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_StereoConstantSpaceBP( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CUDA_StereoSGM>

source

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

source

pub fn as_raw_mut_PtrOfCUDA_StereoSGM( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<AbsLayer>

source

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

source

pub fn as_raw_mut_PtrOfAbsLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<AccumLayer>

source

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

source

pub fn as_raw_mut_PtrOfAccumLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<AcosLayer>

source

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

source

pub fn as_raw_mut_PtrOfAcosLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<AcoshLayer>

source

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

source

pub fn as_raw_mut_PtrOfAcoshLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ActivationLayer>

source

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

source

pub fn as_raw_mut_PtrOfActivationLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ActivationLayerInt8>

source

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

source

pub fn as_raw_mut_PtrOfActivationLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ArgLayer>

source

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

source

pub fn as_raw_mut_PtrOfArgLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<AsinLayer>

source

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

source

pub fn as_raw_mut_PtrOfAsinLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<AsinhLayer>

source

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

source

pub fn as_raw_mut_PtrOfAsinhLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<AtanLayer>

source

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

source

pub fn as_raw_mut_PtrOfAtanLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<AtanhLayer>

source

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

source

pub fn as_raw_mut_PtrOfAtanhLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<BNLLLayer>

source

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

source

pub fn as_raw_mut_PtrOfBNLLLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<BackendNode>

source

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

source

pub fn as_raw_mut_PtrOfBackendNode( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BackendWrapper>

source

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

source

pub fn as_raw_mut_PtrOfBackendWrapper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<BaseConvolutionLayer>

source

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

source

pub fn as_raw_mut_PtrOfBaseConvolutionLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<BatchNormLayer>

source

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

source

pub fn as_raw_mut_PtrOfBatchNormLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<BatchNormLayerInt8>

source

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

source

pub fn as_raw_mut_PtrOfBatchNormLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<CeilLayer>

source

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

source

pub fn as_raw_mut_PtrOfCeilLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<CeluLayer>

source

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

source

pub fn as_raw_mut_PtrOfCeluLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ConcatLayer>

source

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

source

pub fn as_raw_mut_PtrOfConcatLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<CorrelationLayer>

source

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

source

pub fn as_raw_mut_PtrOfCorrelationLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<CosLayer>

source

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

source

pub fn as_raw_mut_PtrOfCosLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<CoshLayer>

source

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

source

pub fn as_raw_mut_PtrOfCoshLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<CumSumLayer>

source

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

source

pub fn as_raw_mut_PtrOfCumSumLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<DataAugmentationLayer>

source

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

source

pub fn as_raw_mut_PtrOfDataAugmentationLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<DequantizeLayer>

source

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

source

pub fn as_raw_mut_PtrOfDequantizeLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<DetectionOutputLayer>

source

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

source

pub fn as_raw_mut_PtrOfDetectionOutputLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ELULayer>

source

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

source

pub fn as_raw_mut_PtrOfELULayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<EltwiseLayer>

source

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

source

pub fn as_raw_mut_PtrOfEltwiseLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<EltwiseLayerInt8>

source

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

source

pub fn as_raw_mut_PtrOfEltwiseLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ErfLayer>

source

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

source

pub fn as_raw_mut_PtrOfErfLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ExpLayer>

source

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

source

pub fn as_raw_mut_PtrOfExpLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<FlattenLayer>

source

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

source

pub fn as_raw_mut_PtrOfFlattenLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<FloorLayer>

source

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

source

pub fn as_raw_mut_PtrOfFloorLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<FlowWarpLayer>

source

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

source

pub fn as_raw_mut_PtrOfFlowWarpLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<GRULayer>

source

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

source

pub fn as_raw_mut_PtrOfGRULayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<GatherLayer>

source

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

source

pub fn as_raw_mut_PtrOfGatherLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<HardSigmoidLayer>

source

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

source

pub fn as_raw_mut_PtrOfHardSigmoidLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<HardSwishLayer>

source

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

source

pub fn as_raw_mut_PtrOfHardSwishLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<InnerProductLayer>

source

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

source

pub fn as_raw_mut_PtrOfInnerProductLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<InnerProductLayerInt8>

source

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

source

pub fn as_raw_mut_PtrOfInnerProductLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<LRNLayer>

source

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

source

pub fn as_raw_mut_PtrOfLRNLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn LSTMLayer>

source

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

source

pub fn as_raw_mut_PtrOfLSTMLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Layer>

source

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

source

pub fn as_raw_mut_PtrOfLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<LogLayer>

source

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

source

pub fn as_raw_mut_PtrOfLogLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MVNLayer>

source

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

source

pub fn as_raw_mut_PtrOfMVNLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MaxUnpoolLayer>

source

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

source

pub fn as_raw_mut_PtrOfMaxUnpoolLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MishLayer>

source

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

source

pub fn as_raw_mut_PtrOfMishLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<NaryEltwiseLayer>

source

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

source

pub fn as_raw_mut_PtrOfNaryEltwiseLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<NormalizeBBoxLayer>

source

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

source

pub fn as_raw_mut_PtrOfNormalizeBBoxLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<NotLayer>

source

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

source

pub fn as_raw_mut_PtrOfNotLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PaddingLayer>

source

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

source

pub fn as_raw_mut_PtrOfPaddingLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PermuteLayer>

source

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

source

pub fn as_raw_mut_PtrOfPermuteLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PoolingLayer>

source

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

source

pub fn as_raw_mut_PtrOfPoolingLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PoolingLayerInt8>

source

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

source

pub fn as_raw_mut_PtrOfPoolingLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PowerLayer>

source

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

source

pub fn as_raw_mut_PtrOfPowerLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PriorBoxLayer>

source

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

source

pub fn as_raw_mut_PtrOfPriorBoxLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ProposalLayer>

source

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

source

pub fn as_raw_mut_PtrOfProposalLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<QuantizeLayer>

source

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

source

pub fn as_raw_mut_PtrOfQuantizeLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn RNNLayer>

source

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

source

pub fn as_raw_mut_PtrOfRNNLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ReLU6Layer>

source

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

source

pub fn as_raw_mut_PtrOfReLU6Layer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ReLULayer>

source

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

source

pub fn as_raw_mut_PtrOfReLULayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ReciprocalLayer>

source

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

source

pub fn as_raw_mut_PtrOfReciprocalLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ReduceLayer>

source

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

source

pub fn as_raw_mut_PtrOfReduceLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ReduceLayerInt8>

source

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

source

pub fn as_raw_mut_PtrOfReduceLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<RegionLayer>

source

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

source

pub fn as_raw_mut_PtrOfRegionLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ReorgLayer>

source

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

source

pub fn as_raw_mut_PtrOfReorgLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<RequantizeLayer>

source

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

source

pub fn as_raw_mut_PtrOfRequantizeLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ReshapeLayer>

source

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

source

pub fn as_raw_mut_PtrOfReshapeLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ResizeLayer>

source

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

source

pub fn as_raw_mut_PtrOfResizeLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<RoundLayer>

source

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

source

pub fn as_raw_mut_PtrOfRoundLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ScaleLayer>

source

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

source

pub fn as_raw_mut_PtrOfScaleLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ScaleLayerInt8>

source

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

source

pub fn as_raw_mut_PtrOfScaleLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ScatterLayer>

source

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

source

pub fn as_raw_mut_PtrOfScatterLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ScatterNDLayer>

source

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

source

pub fn as_raw_mut_PtrOfScatterNDLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SeluLayer>

source

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

source

pub fn as_raw_mut_PtrOfSeluLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ShrinkLayer>

source

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

source

pub fn as_raw_mut_PtrOfShrinkLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SigmoidLayer>

source

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

source

pub fn as_raw_mut_PtrOfSigmoidLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SignLayer>

source

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

source

pub fn as_raw_mut_PtrOfSignLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SinLayer>

source

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

source

pub fn as_raw_mut_PtrOfSinLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SinhLayer>

source

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

source

pub fn as_raw_mut_PtrOfSinhLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SliceLayer>

source

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

source

pub fn as_raw_mut_PtrOfSliceLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SoftmaxLayer>

source

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

source

pub fn as_raw_mut_PtrOfSoftmaxLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SoftmaxLayerInt8>

source

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

source

pub fn as_raw_mut_PtrOfSoftmaxLayerInt8( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SoftplusLayer>

source

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

source

pub fn as_raw_mut_PtrOfSoftplusLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SoftsignLayer>

source

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

source

pub fn as_raw_mut_PtrOfSoftsignLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SplitLayer>

source

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

source

pub fn as_raw_mut_PtrOfSplitLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SqrtLayer>

source

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

source

pub fn as_raw_mut_PtrOfSqrtLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SwishLayer>

source

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

source

pub fn as_raw_mut_PtrOfSwishLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<TanHLayer>

source

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

source

pub fn as_raw_mut_PtrOfTanHLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<TanLayer>

source

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

source

pub fn as_raw_mut_PtrOfTanLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ThresholdedReluLayer>

source

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

source

pub fn as_raw_mut_PtrOfThresholdedReluLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<TileLayer>

source

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

source

pub fn as_raw_mut_PtrOfTileLayer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<DnnSuperResImpl>

source

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

source

pub fn as_raw_mut_PtrOfDnnSuperResImpl( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DPMDetector>

source

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

source

pub fn as_raw_mut_PtrOfDPMDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BIF>

source

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

source

pub fn as_raw_mut_PtrOfBIF( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn EigenFaceRecognizer>

source

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

source

pub fn as_raw_mut_PtrOfEigenFaceRecognizer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Facemark>

source

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

source

pub fn as_raw_mut_PtrOfFacemark( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FacemarkAAM>

source

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

source

pub fn as_raw_mut_PtrOfFacemarkAAM( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FacemarkKazemi>

source

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

source

pub fn as_raw_mut_PtrOfFacemarkKazemi( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FacemarkLBF>

source

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

source

pub fn as_raw_mut_PtrOfFacemarkLBF( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FisherFaceRecognizer>

source

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

source

pub fn as_raw_mut_PtrOfFisherFaceRecognizer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn LBPHFaceRecognizer>

source

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

source

pub fn as_raw_mut_PtrOfLBPHFaceRecognizer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MACE>

source

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

source

pub fn as_raw_mut_PtrOfMACE( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn PredictCollector>

source

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

source

pub fn as_raw_mut_PtrOfPredictCollector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<StandardCollector>

source

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

source

pub fn as_raw_mut_PtrOfStandardCollector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn AKAZE>

source

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

source

pub fn as_raw_mut_PtrOfAKAZE( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn AffineFeature>

source

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

source

pub fn as_raw_mut_PtrOfAffineFeature( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn AgastFeatureDetector>

source

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

source

pub fn as_raw_mut_PtrOfAgastFeatureDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<BFMatcher>

source

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

source

pub fn as_raw_mut_PtrOfBFMatcher( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BRISK>

source

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

source

pub fn as_raw_mut_PtrOfBRISK( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DescriptorMatcher>

source

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

source

pub fn as_raw_mut_PtrOfDescriptorMatcher( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FastFeatureDetector>

source

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

source

pub fn as_raw_mut_PtrOfFastFeatureDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Feature2D>

source

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

source

pub fn as_raw_mut_PtrOfFeature2D( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<FlannBasedMatcher>

source

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

source

pub fn as_raw_mut_PtrOfFlannBasedMatcher( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn GFTTDetector>

source

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

source

pub fn as_raw_mut_PtrOfGFTTDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn KAZE>

source

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

source

pub fn as_raw_mut_PtrOfKAZE( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MSER>

source

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

source

pub fn as_raw_mut_PtrOfMSER( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ORB>

source

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

source

pub fn as_raw_mut_PtrOfORB( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SIFT>

source

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

source

pub fn as_raw_mut_PtrOfSIFT( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SimpleBlobDetector>

source

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

source

pub fn as_raw_mut_PtrOfSimpleBlobDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<IndexParams>

source

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

source

pub fn as_raw_mut_PtrOfIndexParams( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SearchParams>

source

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

source

pub fn as_raw_mut_PtrOfSearchParams( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FreeType2>

source

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

source

pub fn as_raw_mut_PtrOfFreeType2( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn HDF5>

source

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

source

pub fn as_raw_mut_PtrOfHDF5( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn HfsSegment>

source

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

source

pub fn as_raw_mut_PtrOfHfsSegment( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<AverageHash>

source

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

source

pub fn as_raw_mut_PtrOfAverageHash( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<BlockMeanHash>

source

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

source

pub fn as_raw_mut_PtrOfBlockMeanHash( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ColorMomentHash>

source

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

source

pub fn as_raw_mut_PtrOfColorMomentHash( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MarrHildrethHash>

source

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

source

pub fn as_raw_mut_PtrOfMarrHildrethHash( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PHash>

source

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

source

pub fn as_raw_mut_PtrOfPHash( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<RadialVarianceHash>

source

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

source

pub fn as_raw_mut_PtrOfRadialVarianceHash( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CLAHE>

source

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

source

pub fn as_raw_mut_PtrOfCLAHE( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn GeneralizedHoughBallard>

source

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

source

pub fn as_raw_mut_PtrOfGeneralizedHoughBallard( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn GeneralizedHoughGuil>

source

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

source

pub fn as_raw_mut_PtrOfGeneralizedHoughGuil( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn LineSegmentDetector>

source

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

source

pub fn as_raw_mut_PtrOfLineSegmentDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<BinaryDescriptor>

source

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

source

pub fn as_raw_mut_PtrOfBinaryDescriptor( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<BinaryDescriptorMatcher>

source

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

source

pub fn as_raw_mut_PtrOfBinaryDescriptorMatcher( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<LSDDetector>

source

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

source

pub fn as_raw_mut_PtrOfLSDDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MCC_CChecker>

source

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

source

pub fn as_raw_mut_PtrOfMCC_CChecker( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MCC_CCheckerDetector>

source

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

source

pub fn as_raw_mut_PtrOfMCC_CCheckerDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MCC_CCheckerDraw>

source

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

source

pub fn as_raw_mut_PtrOfMCC_CCheckerDraw( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MCC_DetectorParameters>

source

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

source

pub fn as_raw_mut_PtrOfMCC_DetectorParameters( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ANN_MLP>

source

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

source

pub fn as_raw_mut_PtrOfANN_MLP( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Boost>

source

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

source

pub fn as_raw_mut_PtrOfBoost( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DTrees>

source

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

source

pub fn as_raw_mut_PtrOfDTrees( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn EM>

source

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

source

pub fn as_raw_mut_PtrOfEM( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn KNearest>

source

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

source

pub fn as_raw_mut_PtrOfKNearest( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn LogisticRegression>

source

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

source

pub fn as_raw_mut_PtrOfLogisticRegression( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn NormalBayesClassifier>

source

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

source

pub fn as_raw_mut_PtrOfNormalBayesClassifier( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ParamGrid>

source

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

source

pub fn as_raw_mut_PtrOfParamGrid( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn RTrees>

source

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

source

pub fn as_raw_mut_PtrOfRTrees( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SVM>

source

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

source

pub fn as_raw_mut_PtrOfSVM( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SVMSGD>

source

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

source

pub fn as_raw_mut_PtrOfSVMSGD( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SVM_Kernel>

source

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

source

pub fn as_raw_mut_PtrOfSVM_Kernel( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TrainData>

source

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

source

pub fn as_raw_mut_PtrOfTrainData( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BaseCascadeClassifier>

source

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

source

pub fn as_raw_mut_PtrOfBaseCascadeClassifier( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BaseCascadeClassifier_MaskGenerator>

source

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

source

pub fn as_raw_mut_PtrOfBaseCascadeClassifier_MaskGenerator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Board>

source

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

source

pub fn as_raw_mut_PtrOfBoard( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<CharucoBoard>

source

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

source

pub fn as_raw_mut_PtrOfCharucoBoard( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DetectionBasedTracker_IDetector>

source

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

source

pub fn as_raw_mut_PtrOfDetectionBasedTracker_IDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<DetectorParameters>

source

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

source

pub fn as_raw_mut_PtrOfDetectorParameters( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Dictionary>

source

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

source

pub fn as_raw_mut_PtrOfDictionary( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FaceDetectorYN>

source

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

source

pub fn as_raw_mut_PtrOfFaceDetectorYN( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FaceRecognizerSF>

source

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

source

pub fn as_raw_mut_PtrOfFaceRecognizerSF( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn QRCodeEncoder>

source

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

source

pub fn as_raw_mut_PtrOfQRCodeEncoder( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DenseRLOFOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfDenseRLOFOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DualTVL1OpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfDualTVL1OpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<GPCTrainingSamples>

source

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

source

pub fn as_raw_mut_PtrOfGPCTrainingSamples( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<GPCTree>

source

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

source

pub fn as_raw_mut_PtrOfGPCTree( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PCAPrior>

source

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

source

pub fn as_raw_mut_PtrOfPCAPrior( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<RLOFOpticalFlowParameter>

source

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

source

pub fn as_raw_mut_PtrOfRLOFOpticalFlowParameter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SparseRLOFOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfSparseRLOFOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn WindowScene>

source

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

source

pub fn as_raw_mut_PtrOfWindowScene( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn HistogramPhaseUnwrapping>

source

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

source

pub fn as_raw_mut_PtrOfHistogramPhaseUnwrapping( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn AlignMTB>

source

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

source

pub fn as_raw_mut_PtrOfAlignMTB( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CalibrateDebevec>

source

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

source

pub fn as_raw_mut_PtrOfCalibrateDebevec( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn CalibrateRobertson>

source

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

source

pub fn as_raw_mut_PtrOfCalibrateRobertson( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MergeDebevec>

source

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

source

pub fn as_raw_mut_PtrOfMergeDebevec( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MergeMertens>

source

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

source

pub fn as_raw_mut_PtrOfMergeMertens( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MergeRobertson>

source

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

source

pub fn as_raw_mut_PtrOfMergeRobertson( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Tonemap>

source

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

source

pub fn as_raw_mut_PtrOfTonemap( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TonemapDrago>

source

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

source

pub fn as_raw_mut_PtrOfTonemapDrago( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TonemapMantiuk>

source

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

source

pub fn as_raw_mut_PtrOfTonemapMantiuk( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TonemapReinhard>

source

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

source

pub fn as_raw_mut_PtrOfTonemapReinhard( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Plot2d>

source

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

source

pub fn as_raw_mut_PtrOfPlot2d( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<QualityBRISQUE>

source

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

source

pub fn as_raw_mut_PtrOfQualityBRISQUE( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<QualityGMSD>

source

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

source

pub fn as_raw_mut_PtrOfQualityGMSD( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<QualityMSE>

source

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

source

pub fn as_raw_mut_PtrOfQualityMSE( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<QualityPSNR>

source

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

source

pub fn as_raw_mut_PtrOfQualityPSNR( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<QualitySSIM>

source

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

source

pub fn as_raw_mut_PtrOfQualitySSIM( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn OLSTracker>

source

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

source

pub fn as_raw_mut_PtrOfOLSTracker( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Rapid>

source

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

source

pub fn as_raw_mut_PtrOfRapid( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ColoredKinfu_ColoredKinFu>

source

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

source

pub fn as_raw_mut_PtrOfColoredKinfu_ColoredKinFu( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ColoredKinfu_Params>

source

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

source

pub fn as_raw_mut_PtrOfColoredKinfu_Params( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<DepthCleaner>

source

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

source

pub fn as_raw_mut_PtrOfDepthCleaner( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Dynafu_DynaFu>

source

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

source

pub fn as_raw_mut_PtrOfDynafu_DynaFu( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<FastICPOdometry>

source

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

source

pub fn as_raw_mut_PtrOfFastICPOdometry( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ICPOdometry>

source

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

source

pub fn as_raw_mut_PtrOfICPOdometry( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Kinfu_Detail_PoseGraph>

source

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

source

pub fn as_raw_mut_PtrOfKinfu_Detail_PoseGraph( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Kinfu_KinFu>

source

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

source

pub fn as_raw_mut_PtrOfKinfu_KinFu( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Kinfu_Params>

source

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

source

pub fn as_raw_mut_PtrOfKinfu_Params( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Kinfu_Volume>

source

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

source

pub fn as_raw_mut_PtrOfKinfu_Volume( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Kinfu_VolumeParams>

source

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

source

pub fn as_raw_mut_PtrOfKinfu_VolumeParams( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn LargeKinfu>

source

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

source

pub fn as_raw_mut_PtrOfLargeKinfu( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Linemod_ColorGradient>

source

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

source

pub fn as_raw_mut_PtrOfLinemod_ColorGradient( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Linemod_DepthNormal>

source

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

source

pub fn as_raw_mut_PtrOfLinemod_DepthNormal( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Linemod_Detector>

source

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

source

pub fn as_raw_mut_PtrOfLinemod_Detector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Linemod_Modality>

source

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

source

pub fn as_raw_mut_PtrOfLinemod_Modality( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Linemod_QuantizedPyramid>

source

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

source

pub fn as_raw_mut_PtrOfLinemod_QuantizedPyramid( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Odometry>

source

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

source

pub fn as_raw_mut_PtrOfOdometry( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<OdometryFrame>

source

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

source

pub fn as_raw_mut_PtrOfOdometryFrame( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Params>

source

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

source

pub fn as_raw_mut_PtrOfParams( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<RgbdFrame>

source

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

source

pub fn as_raw_mut_PtrOfRgbdFrame( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<RgbdICPOdometry>

source

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

source

pub fn as_raw_mut_PtrOfRgbdICPOdometry( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<RgbdNormals>

source

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

source

pub fn as_raw_mut_PtrOfRgbdNormals( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<RgbdOdometry>

source

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

source

pub fn as_raw_mut_PtrOfRgbdOdometry( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<RgbdPlane>

source

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

source

pub fn as_raw_mut_PtrOfRgbdPlane( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MotionSaliencyBinWangApr2014>

source

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

source

pub fn as_raw_mut_PtrOfMotionSaliencyBinWangApr2014( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ObjectnessBING>

source

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

source

pub fn as_raw_mut_PtrOfObjectnessBING( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<StaticSaliencyFineGrained>

source

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

source

pub fn as_raw_mut_PtrOfStaticSaliencyFineGrained( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<StaticSaliencySpectralResidual>

source

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

source

pub fn as_raw_mut_PtrOfStaticSaliencySpectralResidual( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SFMLibmvEuclideanReconstruction>

source

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

source

pub fn as_raw_mut_PtrOfSFMLibmvEuclideanReconstruction( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn AffineTransformer>

source

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

source

pub fn as_raw_mut_PtrOfAffineTransformer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ChiHistogramCostExtractor>

source

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

source

pub fn as_raw_mut_PtrOfChiHistogramCostExtractor( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn EMDHistogramCostExtractor>

source

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

source

pub fn as_raw_mut_PtrOfEMDHistogramCostExtractor( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn EMDL1HistogramCostExtractor>

source

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

source

pub fn as_raw_mut_PtrOfEMDL1HistogramCostExtractor( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn HausdorffDistanceExtractor>

source

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

source

pub fn as_raw_mut_PtrOfHausdorffDistanceExtractor( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn HistogramCostExtractor>

source

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

source

pub fn as_raw_mut_PtrOfHistogramCostExtractor( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn NormHistogramCostExtractor>

source

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

source

pub fn as_raw_mut_PtrOfNormHistogramCostExtractor( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ShapeContextDistanceExtractor>

source

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

source

pub fn as_raw_mut_PtrOfShapeContextDistanceExtractor( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ShapeTransformer>

source

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

source

pub fn as_raw_mut_PtrOfShapeTransformer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ThinPlateSplineShapeTransformer>

source

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

source

pub fn as_raw_mut_PtrOfThinPlateSplineShapeTransformer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn QuasiDenseStereo>

source

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

source

pub fn as_raw_mut_PtrOfQuasiDenseStereo( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<AffineWarper>

source

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

source

pub fn as_raw_mut_PtrOfAffineWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<CompressedRectilinearPortraitWarper>

source

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

source

pub fn as_raw_mut_PtrOfCompressedRectilinearPortraitWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<CompressedRectilinearWarper>

source

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

source

pub fn as_raw_mut_PtrOfCompressedRectilinearWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<CylindricalWarper>

source

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

source

pub fn as_raw_mut_PtrOfCylindricalWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<CylindricalWarperGpu>

source

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

source

pub fn as_raw_mut_PtrOfCylindricalWarperGpu( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_AffineBasedEstimator>

source

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

source

pub fn as_raw_mut_PtrOfDetail_AffineBasedEstimator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_AffineBestOf2NearestMatcher>

source

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

source

pub fn as_raw_mut_PtrOfDetail_AffineBestOf2NearestMatcher( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_BestOf2NearestMatcher>

source

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

source

pub fn as_raw_mut_PtrOfDetail_BestOf2NearestMatcher( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_BestOf2NearestRangeMatcher>

source

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

source

pub fn as_raw_mut_PtrOfDetail_BestOf2NearestRangeMatcher( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_Blender>

source

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

source

pub fn as_raw_mut_PtrOfDetail_Blender( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_BlocksChannelsCompensator>

source

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

source

pub fn as_raw_mut_PtrOfDetail_BlocksChannelsCompensator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Detail_BlocksCompensator>

source

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

source

pub fn as_raw_mut_PtrOfDetail_BlocksCompensator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_BlocksGainCompensator>

source

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

source

pub fn as_raw_mut_PtrOfDetail_BlocksGainCompensator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_BundleAdjusterAffine>

source

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

source

pub fn as_raw_mut_PtrOfDetail_BundleAdjusterAffine( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_BundleAdjusterAffinePartial>

source

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

source

pub fn as_raw_mut_PtrOfDetail_BundleAdjusterAffinePartial( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Detail_BundleAdjusterBase>

source

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

source

pub fn as_raw_mut_PtrOfDetail_BundleAdjusterBase( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_BundleAdjusterRay>

source

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

source

pub fn as_raw_mut_PtrOfDetail_BundleAdjusterRay( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_BundleAdjusterReproj>

source

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

source

pub fn as_raw_mut_PtrOfDetail_BundleAdjusterReproj( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_ChannelsCompensator>

source

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

source

pub fn as_raw_mut_PtrOfDetail_ChannelsCompensator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_DpSeamFinder>

source

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

source

pub fn as_raw_mut_PtrOfDetail_DpSeamFinder( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Detail_Estimator>

source

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

source

pub fn as_raw_mut_PtrOfDetail_Estimator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Detail_ExposureCompensator>

source

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

source

pub fn as_raw_mut_PtrOfDetail_ExposureCompensator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_FeatherBlender>

source

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

source

pub fn as_raw_mut_PtrOfDetail_FeatherBlender( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Detail_FeaturesMatcher>

source

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

source

pub fn as_raw_mut_PtrOfDetail_FeaturesMatcher( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_GainCompensator>

source

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

source

pub fn as_raw_mut_PtrOfDetail_GainCompensator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_GraphCutSeamFinder>

source

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

source

pub fn as_raw_mut_PtrOfDetail_GraphCutSeamFinder( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_GraphCutSeamFinderGpu>

source

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

source

pub fn as_raw_mut_PtrOfDetail_GraphCutSeamFinderGpu( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_HomographyBasedEstimator>

source

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

source

pub fn as_raw_mut_PtrOfDetail_HomographyBasedEstimator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_MultiBandBlender>

source

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

source

pub fn as_raw_mut_PtrOfDetail_MultiBandBlender( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_NoBundleAdjuster>

source

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

source

pub fn as_raw_mut_PtrOfDetail_NoBundleAdjuster( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_NoExposureCompensator>

source

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

source

pub fn as_raw_mut_PtrOfDetail_NoExposureCompensator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_NoSeamFinder>

source

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

source

pub fn as_raw_mut_PtrOfDetail_NoSeamFinder( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Detail_PairwiseSeamFinder>

source

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

source

pub fn as_raw_mut_PtrOfDetail_PairwiseSeamFinder( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Detail_RotationWarper>

source

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

source

pub fn as_raw_mut_PtrOfDetail_RotationWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Detail_SeamFinder>

source

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

source

pub fn as_raw_mut_PtrOfDetail_SeamFinder( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Detail_VoronoiSeamFinder>

source

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

source

pub fn as_raw_mut_PtrOfDetail_VoronoiSeamFinder( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<FisheyeWarper>

source

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

source

pub fn as_raw_mut_PtrOfFisheyeWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MercatorWarper>

source

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

source

pub fn as_raw_mut_PtrOfMercatorWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PaniniPortraitWarper>

source

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

source

pub fn as_raw_mut_PtrOfPaniniPortraitWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PaniniWarper>

source

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

source

pub fn as_raw_mut_PtrOfPaniniWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PlaneWarper>

source

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

source

pub fn as_raw_mut_PtrOfPlaneWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PlaneWarperGpu>

source

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

source

pub fn as_raw_mut_PtrOfPlaneWarperGpu( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SphericalWarper>

source

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

source

pub fn as_raw_mut_PtrOfSphericalWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SphericalWarperGpu>

source

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

source

pub fn as_raw_mut_PtrOfSphericalWarperGpu( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<StereographicWarper>

source

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

source

pub fn as_raw_mut_PtrOfStereographicWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Stitcher>

source

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

source

pub fn as_raw_mut_PtrOfStitcher( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<TransverseMercatorWarper>

source

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

source

pub fn as_raw_mut_PtrOfTransverseMercatorWarper( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn WarperCreator>

source

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

source

pub fn as_raw_mut_PtrOfWarperCreator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn GrayCodePattern>

source

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

source

pub fn as_raw_mut_PtrOfGrayCodePattern( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SinusoidalPattern>

source

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

source

pub fn as_raw_mut_PtrOfSinusoidalPattern( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SinusoidalPattern_Params>

source

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

source

pub fn as_raw_mut_PtrOfSinusoidalPattern_Params( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Superres_BroxOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfSuperres_BroxOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Superres_DenseOpticalFlowExt>

source

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

source

pub fn as_raw_mut_PtrOfSuperres_DenseOpticalFlowExt( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Superres_DualTVL1OpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfSuperres_DualTVL1OpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Superres_FarnebackOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfSuperres_FarnebackOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Superres_FrameSource>

source

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

source

pub fn as_raw_mut_PtrOfSuperres_FrameSource( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Superres_PyrLKOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfSuperres_PyrLKOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn Superres_SuperResolution>

source

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

source

pub fn as_raw_mut_PtrOfSuperres_SuperResolution( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<Pose3D>

source

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

source

pub fn as_raw_mut_PtrOfPose3D( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<PoseCluster3D>

source

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

source

pub fn as_raw_mut_PtrOfPoseCluster3D( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ERFilter>

source

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

source

pub fn as_raw_mut_PtrOfERFilter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ERFilter_Callback>

source

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

source

pub fn as_raw_mut_PtrOfERFilter_Callback( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<OCRBeamSearchDecoder>

source

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

source

pub fn as_raw_mut_PtrOfOCRBeamSearchDecoder( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<OCRBeamSearchDecoder_ClassifierCallback>

source

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

source

pub fn as_raw_mut_PtrOfOCRBeamSearchDecoder_ClassifierCallback( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<OCRHMMDecoder>

source

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

source

pub fn as_raw_mut_PtrOfOCRHMMDecoder( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<OCRHMMDecoder_ClassifierCallback>

source

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

source

pub fn as_raw_mut_PtrOfOCRHMMDecoder_ClassifierCallback( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn OCRHolisticWordRecognizer>

source

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

source

pub fn as_raw_mut_PtrOfOCRHolisticWordRecognizer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn OCRTesseract>

source

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

source

pub fn as_raw_mut_PtrOfOCRTesseract( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TextDetectorCNN>

source

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

source

pub fn as_raw_mut_PtrOfTextDetectorCNN( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TrackerCSRT>

source

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

source

pub fn as_raw_mut_PtrOfTrackerCSRT( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TrackerKCF>

source

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

source

pub fn as_raw_mut_PtrOfTrackerKCF( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BackgroundSubtractorKNN>

source

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

source

pub fn as_raw_mut_PtrOfBackgroundSubtractorKNN( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BackgroundSubtractorMOG2>

source

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

source

pub fn as_raw_mut_PtrOfBackgroundSubtractorMOG2( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DISOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfDISOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DenseOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfDenseOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FarnebackOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfFarnebackOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SparseOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfSparseOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SparsePyrLKOpticalFlow>

source

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

source

pub fn as_raw_mut_PtrOfSparsePyrLKOpticalFlow( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TrackerDaSiamRPN>

source

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

source

pub fn as_raw_mut_PtrOfTrackerDaSiamRPN( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TrackerGOTURN>

source

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

source

pub fn as_raw_mut_PtrOfTrackerGOTURN( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TrackerMIL>

source

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

source

pub fn as_raw_mut_PtrOfTrackerMIL( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TrackerNano>

source

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

source

pub fn as_raw_mut_PtrOfTrackerNano( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn VariationalRefinement>

source

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

source

pub fn as_raw_mut_PtrOfVariationalRefinement( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ColorAverageInpainter>

source

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

source

pub fn as_raw_mut_PtrOfColorAverageInpainter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ColorInpainter>

source

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

source

pub fn as_raw_mut_PtrOfColorInpainter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ConsistentMosaicInpainter>

source

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

source

pub fn as_raw_mut_PtrOfConsistentMosaicInpainter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DeblurerBase>

source

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

source

pub fn as_raw_mut_PtrOfDeblurerBase( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<DensePyrLkOptFlowEstimatorGpu>

source

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

source

pub fn as_raw_mut_PtrOfDensePyrLkOptFlowEstimatorGpu( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<FromFileMotionReader>

source

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

source

pub fn as_raw_mut_PtrOfFromFileMotionReader( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<GaussianMotionFilter>

source

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

source

pub fn as_raw_mut_PtrOfGaussianMotionFilter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn IDenseOptFlowEstimator>

source

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

source

pub fn as_raw_mut_PtrOfIDenseOptFlowEstimator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn IFrameSource>

source

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

source

pub fn as_raw_mut_PtrOfIFrameSource( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ILog>

source

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

source

pub fn as_raw_mut_PtrOfILog( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn IMotionStabilizer>

source

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

source

pub fn as_raw_mut_PtrOfIMotionStabilizer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn IOutlierRejector>

source

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

source

pub fn as_raw_mut_PtrOfIOutlierRejector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ISparseOptFlowEstimator>

source

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

source

pub fn as_raw_mut_PtrOfISparseOptFlowEstimator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ImageMotionEstimatorBase>

source

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

source

pub fn as_raw_mut_PtrOfImageMotionEstimatorBase( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn InpainterBase>

source

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

source

pub fn as_raw_mut_PtrOfInpainterBase( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<InpaintingPipeline>

source

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

source

pub fn as_raw_mut_PtrOfInpaintingPipeline( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<KeypointBasedMotionEstimator>

source

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

source

pub fn as_raw_mut_PtrOfKeypointBasedMotionEstimator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<KeypointBasedMotionEstimatorGpu>

source

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

source

pub fn as_raw_mut_PtrOfKeypointBasedMotionEstimatorGpu( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<LogToStdout>

source

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

source

pub fn as_raw_mut_PtrOfLogToStdout( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<LpMotionStabilizer>

source

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

source

pub fn as_raw_mut_PtrOfLpMotionStabilizer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MaskFrameSource>

source

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

source

pub fn as_raw_mut_PtrOfMaskFrameSource( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MoreAccurateMotionWobbleSuppressor>

source

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

source

pub fn as_raw_mut_PtrOfMoreAccurateMotionWobbleSuppressor( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>

source

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

source

pub fn as_raw_mut_PtrOfMoreAccurateMotionWobbleSuppressorBase( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MoreAccurateMotionWobbleSuppressorGpu>

source

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

source

pub fn as_raw_mut_PtrOfMoreAccurateMotionWobbleSuppressorGpu( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MotionEstimatorBase>

source

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

source

pub fn as_raw_mut_PtrOfMotionEstimatorBase( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MotionEstimatorL1>

source

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

source

pub fn as_raw_mut_PtrOfMotionEstimatorL1( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MotionEstimatorRansacL2>

source

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

source

pub fn as_raw_mut_PtrOfMotionEstimatorRansacL2( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MotionFilterBase>

source

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

source

pub fn as_raw_mut_PtrOfMotionFilterBase( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MotionInpainter>

source

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

source

pub fn as_raw_mut_PtrOfMotionInpainter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<MotionStabilizationPipeline>

source

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

source

pub fn as_raw_mut_PtrOfMotionStabilizationPipeline( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<NullDeblurer>

source

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

source

pub fn as_raw_mut_PtrOfNullDeblurer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<NullFrameSource>

source

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

source

pub fn as_raw_mut_PtrOfNullFrameSource( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<NullInpainter>

source

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

source

pub fn as_raw_mut_PtrOfNullInpainter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<NullLog>

source

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

source

pub fn as_raw_mut_PtrOfNullLog( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<NullOutlierRejector>

source

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

source

pub fn as_raw_mut_PtrOfNullOutlierRejector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<NullWobbleSuppressor>

source

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

source

pub fn as_raw_mut_PtrOfNullWobbleSuppressor( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<OnePassStabilizer>

source

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

source

pub fn as_raw_mut_PtrOfOnePassStabilizer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SparsePyrLkOptFlowEstimator>

source

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

source

pub fn as_raw_mut_PtrOfSparsePyrLkOptFlowEstimator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SparsePyrLkOptFlowEstimatorGpu>

source

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

source

pub fn as_raw_mut_PtrOfSparsePyrLkOptFlowEstimatorGpu( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ToFileMotionWriter>

source

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

source

pub fn as_raw_mut_PtrOfToFileMotionWriter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<TranslationBasedLocalOutlierRejector>

source

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

source

pub fn as_raw_mut_PtrOfTranslationBasedLocalOutlierRejector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<TwoPassStabilizer>

source

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

source

pub fn as_raw_mut_PtrOfTwoPassStabilizer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<VideoFileSource>

source

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

source

pub fn as_raw_mut_PtrOfVideoFileSource( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<WeightingDeblurer>

source

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

source

pub fn as_raw_mut_PtrOfWeightingDeblurer( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn WobbleSuppressorBase>

source

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

source

pub fn as_raw_mut_PtrOfWobbleSuppressorBase( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn AffineFeature2D>

source

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

source

pub fn as_raw_mut_PtrOfAffineFeature2D( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BEBLID>

source

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

source

pub fn as_raw_mut_PtrOfBEBLID( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BoostDesc>

source

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

source

pub fn as_raw_mut_PtrOfBoostDesc( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn BriefDescriptorExtractor>

source

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

source

pub fn as_raw_mut_PtrOfBriefDescriptorExtractor( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DAISY>

source

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

source

pub fn as_raw_mut_PtrOfDAISY( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FREAK>

source

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

source

pub fn as_raw_mut_PtrOfFREAK( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn HarrisLaplaceFeatureDetector>

source

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

source

pub fn as_raw_mut_PtrOfHarrisLaplaceFeatureDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn LATCH>

source

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

source

pub fn as_raw_mut_PtrOfLATCH( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn LUCID>

source

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

source

pub fn as_raw_mut_PtrOfLUCID( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn MSDDetector>

source

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

source

pub fn as_raw_mut_PtrOfMSDDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn PCTSignatures>

source

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

source

pub fn as_raw_mut_PtrOfPCTSignatures( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn PCTSignaturesSQFD>

source

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

source

pub fn as_raw_mut_PtrOfPCTSignaturesSQFD( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SURF>

source

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

source

pub fn as_raw_mut_PtrOfSURF( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<SURF_CUDA>

source

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

source

pub fn as_raw_mut_PtrOfSURF_CUDA( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn StarDetector>

source

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

source

pub fn as_raw_mut_PtrOfStarDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TBMR>

source

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

source

pub fn as_raw_mut_PtrOfTBMR( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<TEBLID>

source

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

source

pub fn as_raw_mut_PtrOfTEBLID( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn VGG>

source

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

source

pub fn as_raw_mut_PtrOfVGG( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn AdaptiveManifoldFilter>

source

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

source

pub fn as_raw_mut_PtrOfAdaptiveManifoldFilter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<ContourFitting>

source

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

source

pub fn as_raw_mut_PtrOfContourFitting( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DTFilter>

source

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

source

pub fn as_raw_mut_PtrOfDTFilter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn DisparityWLSFilter>

source

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

source

pub fn as_raw_mut_PtrOfDisparityWLSFilter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn EdgeAwareInterpolator>

source

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

source

pub fn as_raw_mut_PtrOfEdgeAwareInterpolator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn EdgeBoxes>

source

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

source

pub fn as_raw_mut_PtrOfEdgeBoxes( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn EdgeDrawing>

source

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

source

pub fn as_raw_mut_PtrOfEdgeDrawing( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FastBilateralSolverFilter>

source

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

source

pub fn as_raw_mut_PtrOfFastBilateralSolverFilter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FastGlobalSmootherFilter>

source

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

source

pub fn as_raw_mut_PtrOfFastGlobalSmootherFilter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn FastLineDetector>

source

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

source

pub fn as_raw_mut_PtrOfFastLineDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn GraphSegmentation>

source

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

source

pub fn as_raw_mut_PtrOfGraphSegmentation( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn GuidedFilter>

source

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

source

pub fn as_raw_mut_PtrOfGuidedFilter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn RFFeatureGetter>

source

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

source

pub fn as_raw_mut_PtrOfRFFeatureGetter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn RICInterpolator>

source

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

source

pub fn as_raw_mut_PtrOfRICInterpolator( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn RidgeDetectionFilter>

source

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

source

pub fn as_raw_mut_PtrOfRidgeDetectionFilter( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn ScanSegment>

source

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

source

pub fn as_raw_mut_PtrOfScanSegment( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SelectiveSearchSegmentation>

source

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

source

pub fn as_raw_mut_PtrOfSelectiveSearchSegmentation( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SelectiveSearchSegmentationStrategy>

source

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

source

pub fn as_raw_mut_PtrOfSelectiveSearchSegmentationStrategy( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SelectiveSearchSegmentationStrategyColor>

source

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

source

pub fn as_raw_mut_PtrOfSelectiveSearchSegmentationStrategyColor( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SelectiveSearchSegmentationStrategyFill>

source

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

source

pub fn as_raw_mut_PtrOfSelectiveSearchSegmentationStrategyFill( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>

source

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

source

pub fn as_raw_mut_PtrOfSelectiveSearchSegmentationStrategyMultiple( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SelectiveSearchSegmentationStrategySize>

source

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

source

pub fn as_raw_mut_PtrOfSelectiveSearchSegmentationStrategySize( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SelectiveSearchSegmentationStrategyTexture>

source

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

source

pub fn as_raw_mut_PtrOfSelectiveSearchSegmentationStrategyTexture( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn StructuredEdgeDetection>

source

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

source

pub fn as_raw_mut_PtrOfStructuredEdgeDetection( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SuperpixelLSC>

source

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

source

pub fn as_raw_mut_PtrOfSuperpixelLSC( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SuperpixelSEEDS>

source

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

source

pub fn as_raw_mut_PtrOfSuperpixelSEEDS( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SuperpixelSLIC>

source

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

source

pub fn as_raw_mut_PtrOfSuperpixelSLIC( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn WBDetector>

source

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

source

pub fn as_raw_mut_PtrOfWBDetector( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn GrayworldWB>

source

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

source

pub fn as_raw_mut_PtrOfGrayworldWB( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn LearningBasedWB>

source

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

source

pub fn as_raw_mut_PtrOfLearningBasedWB( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn SimpleWB>

source

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

source

pub fn as_raw_mut_PtrOfSimpleWB( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

source§

impl Ptr<dyn TonemapDurand>

source

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

source

pub fn as_raw_mut_PtrOfTonemapDurand( &mut self ) -> <Self as OpenCVTypeExternContainer>::ExternSendMut

Methods from Deref<Target = f32>§

1.43.0 · source

pub const RADIX: u32 = 2u32

1.43.0 · source

pub const MANTISSA_DIGITS: u32 = 24u32

1.43.0 · source

pub const DIGITS: u32 = 6u32

1.43.0 · source

pub const EPSILON: f32 = 1.1920929E-7f32

1.43.0 · source

pub const MIN: f32 = -3.40282347E+38f32

1.43.0 · source

pub const MIN_POSITIVE: f32 = 1.17549435E-38f32

1.43.0 · source

pub const MAX: f32 = 3.40282347E+38f32

1.43.0 · source

pub const MIN_EXP: i32 = -125i32

1.43.0 · source

pub const MAX_EXP: i32 = 128i32

1.43.0 · source

pub const MIN_10_EXP: i32 = -37i32

1.43.0 · source

pub const MAX_10_EXP: i32 = 38i32

1.43.0 · source

pub const NAN: f32 = NaNf32

1.43.0 · source

pub const INFINITY: f32 = +Inff32

1.43.0 · source

pub const NEG_INFINITY: f32 = -Inff32

1.62.0 · source

pub fn total_cmp(&self, other: &f32) -> Ordering

Return the ordering between self and other.

Unlike the standard partial comparison between floating point numbers, this comparison always produces an ordering in accordance to the totalOrder predicate as defined in the IEEE 754 (2008 revision) floating point standard. The values are ordered in the following sequence:

  • negative quiet NaN
  • negative signaling NaN
  • negative infinity
  • negative numbers
  • negative subnormal numbers
  • negative zero
  • positive zero
  • positive subnormal numbers
  • positive numbers
  • positive infinity
  • positive signaling NaN
  • positive quiet NaN.

The ordering established by this function does not always agree with the PartialOrd and PartialEq implementations of f32. For example, they consider negative and positive zero equal, while total_cmp doesn’t.

The interpretation of the signaling NaN bit follows the definition in the IEEE 754 standard, which may not match the interpretation by some of the older, non-conformant (e.g. MIPS) hardware implementations.

Example
struct GoodBoy {
    name: String,
    weight: f32,
}

let mut bois = vec![
    GoodBoy { name: "Pucci".to_owned(), weight: 0.1 },
    GoodBoy { name: "Woofer".to_owned(), weight: 99.0 },
    GoodBoy { name: "Yapper".to_owned(), weight: 10.0 },
    GoodBoy { name: "Chonk".to_owned(), weight: f32::INFINITY },
    GoodBoy { name: "Abs. Unit".to_owned(), weight: f32::NAN },
    GoodBoy { name: "Floaty".to_owned(), weight: -5.0 },
];

bois.sort_by(|a, b| a.weight.total_cmp(&b.weight));

Trait Implementations§

source§

impl AKAZE for Ptr<dyn AKAZE>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl AKAZEConst for Ptr<dyn AKAZE>

source§

impl ANN_MLP for Ptr<dyn ANN_MLP>

source§

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

source§

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

Sets training method and common parameters. Read more
source§

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Set/initialize anneal RNG
source§

impl ANN_MLPConst for Ptr<dyn ANN_MLP>

source§

fn as_raw_ANN_MLP(&self) -> *const c_void

source§

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

Returns current training method
source§

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

source§

impl AbsLayerTrait for Ptr<AbsLayer>

source§

impl AbsLayerTraitConst for Ptr<AbsLayer>

source§

impl AccumLayerTrait for Ptr<AccumLayer>

source§

impl AccumLayerTraitConst for Ptr<AccumLayer>

source§

impl AcosLayerTrait for Ptr<AcosLayer>

source§

impl AcosLayerTraitConst for Ptr<AcosLayer>

source§

impl AcoshLayerTrait for Ptr<AcoshLayer>

source§

impl AcoshLayerTraitConst for Ptr<AcoshLayer>

source§

impl ActivationLayerInt8Trait for Ptr<ActivationLayerInt8>

source§

impl ActivationLayerInt8TraitConst for Ptr<ActivationLayerInt8>

source§

impl ActivationLayerTrait for Ptr<AbsLayer>

source§

impl ActivationLayerTrait for Ptr<AcosLayer>

source§

impl ActivationLayerTrait for Ptr<AcoshLayer>

source§

impl ActivationLayerTrait for Ptr<ActivationLayer>

source§

impl ActivationLayerTrait for Ptr<ActivationLayerInt8>

source§

impl ActivationLayerTrait for Ptr<AsinLayer>

source§

impl ActivationLayerTrait for Ptr<AsinhLayer>

source§

impl ActivationLayerTrait for Ptr<AtanLayer>

source§

impl ActivationLayerTrait for Ptr<AtanhLayer>

source§

impl ActivationLayerTrait for Ptr<BNLLLayer>

source§

impl ActivationLayerTrait for Ptr<BatchNormLayer>

source§

impl ActivationLayerTrait for Ptr<BatchNormLayerInt8>

source§

impl ActivationLayerTrait for Ptr<CeilLayer>

source§

impl ActivationLayerTrait for Ptr<CeluLayer>

source§

impl ActivationLayerTrait for Ptr<CosLayer>

source§

impl ActivationLayerTrait for Ptr<CoshLayer>

source§

impl ActivationLayerTrait for Ptr<ELULayer>

source§

impl ActivationLayerTrait for Ptr<ErfLayer>

source§

impl ActivationLayerTrait for Ptr<ExpLayer>

source§

impl ActivationLayerTrait for Ptr<FloorLayer>

source§

impl ActivationLayerTrait for Ptr<HardSigmoidLayer>

source§

impl ActivationLayerTrait for Ptr<HardSwishLayer>

source§

impl ActivationLayerTrait for Ptr<LogLayer>

source§

impl ActivationLayerTrait for Ptr<MishLayer>

source§

impl ActivationLayerTrait for Ptr<NotLayer>

source§

impl ActivationLayerTrait for Ptr<PowerLayer>

source§

impl ActivationLayerTrait for Ptr<ReLU6Layer>

source§

impl ActivationLayerTrait for Ptr<ReLULayer>

source§

impl ActivationLayerTrait for Ptr<ReciprocalLayer>

source§

impl ActivationLayerTrait for Ptr<RoundLayer>

source§

impl ActivationLayerTrait for Ptr<SeluLayer>

source§

impl ActivationLayerTrait for Ptr<ShrinkLayer>

source§

impl ActivationLayerTrait for Ptr<SigmoidLayer>

source§

impl ActivationLayerTrait for Ptr<SignLayer>

source§

impl ActivationLayerTrait for Ptr<SinLayer>

source§

impl ActivationLayerTrait for Ptr<SinhLayer>

source§

impl ActivationLayerTrait for Ptr<SoftplusLayer>

source§

impl ActivationLayerTrait for Ptr<SoftsignLayer>

source§

impl ActivationLayerTrait for Ptr<SqrtLayer>

source§

impl ActivationLayerTrait for Ptr<SwishLayer>

source§

impl ActivationLayerTrait for Ptr<TanHLayer>

source§

impl ActivationLayerTrait for Ptr<TanLayer>

source§

impl ActivationLayerTrait for Ptr<ThresholdedReluLayer>

source§

impl ActivationLayerTraitConst for Ptr<AbsLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<AcosLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<AcoshLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ActivationLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ActivationLayerInt8>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<AsinLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<AsinhLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<AtanLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<AtanhLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<BNLLLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<BatchNormLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<BatchNormLayerInt8>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<CeilLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<CeluLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<CosLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<CoshLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ELULayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ErfLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ExpLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<FloorLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<HardSigmoidLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<HardSwishLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<LogLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<MishLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<NotLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<PowerLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ReLU6Layer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ReLULayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ReciprocalLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<RoundLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SeluLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ShrinkLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SigmoidLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SignLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SinLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SinhLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SoftplusLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SoftsignLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SqrtLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SwishLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<TanHLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<TanLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ThresholdedReluLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl AdaptiveManifoldFilter for Ptr<dyn AdaptiveManifoldFilter>

source§

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

source§

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

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

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

source§

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

See also Read more
source§

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

See also Read more
source§

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

See also Read more
source§

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

See also Read more
source§

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

See also Read more
source§

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

See also Read more
source§

impl AdaptiveManifoldFilterConst for Ptr<dyn AdaptiveManifoldFilter>

source§

impl AffineFeature for Ptr<dyn AffineFeature>

source§

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

source§

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

source§

impl AffineFeature2D for Ptr<dyn AffineFeature2D>

source§

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

source§

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

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

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

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

impl AffineFeature2D for Ptr<dyn TBMR>

source§

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

source§

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

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

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

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

impl AffineFeature2DConst for Ptr<dyn AffineFeature2D>

source§

impl AffineFeature2DConst for Ptr<dyn TBMR>

source§

impl AffineFeatureConst for Ptr<dyn AffineFeature>

source§

impl AffineTransformer for Ptr<dyn AffineTransformer>

source§

impl AffineTransformerConst for Ptr<dyn AffineTransformer>

source§

impl AffineWarperTrait for Ptr<AffineWarper>

source§

impl AffineWarperTraitConst for Ptr<AffineWarper>

source§

impl AgastFeatureDetector for Ptr<dyn AgastFeatureDetector>

source§

impl AgastFeatureDetectorConst for Ptr<dyn AgastFeatureDetector>

source§

impl AlgorithmTrait for Ptr<AbsLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<AccumLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<AcosLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<AcoshLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ActivationLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ActivationLayerInt8>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ArgLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<AsinLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<AsinhLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<AtanLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<AtanhLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<AverageHash>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<BFMatcher>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<BNLLLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<BaseConvolutionLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<BatchNormLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<BatchNormLayerInt8>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<BinaryDescriptor>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<BinaryDescriptorMatcher>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<BlockMeanHash>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CeilLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CeluLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ColorMomentHash>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ConcatLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ContourFitting>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CorrelationLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CosLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CoshLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CumSumLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<DataAugmentationLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<DepthCleaner>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<DequantizeLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<DetectionOutputLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ELULayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<EltwiseLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<EltwiseLayerInt8>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ErfLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ExpLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<FastICPOdometry>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<Feature2D>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<FlannBasedMatcher>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<FlattenLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<FloorLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<FlowWarpLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<GPCTree>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<GRULayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<GatherLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<HardSigmoidLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<HardSwishLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ICPOdometry>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<InnerProductLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<InnerProductLayerInt8>

source§

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

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<LRNLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<LSDDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<Layer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<LogLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<MVNLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<MarrHildrethHash>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<MaxUnpoolLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<MishLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<MotionSaliencyBinWangApr2014>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<NaryEltwiseLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<NormalizeBBoxLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<NotLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ObjectnessBING>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<PHash>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<PaddingLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<PermuteLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<PoolingLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<PoolingLayerInt8>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<PowerLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<PriorBoxLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ProposalLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<QualityBRISQUE>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<QualityGMSD>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<QualityMSE>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<QualityPSNR>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<QualitySSIM>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<QuantizeLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<RadialVarianceHash>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ReLU6Layer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ReLULayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ReciprocalLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ReduceLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ReduceLayerInt8>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<RegionLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ReorgLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<RequantizeLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ReshapeLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ResizeLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<RgbdICPOdometry>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<RgbdNormals>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<RgbdOdometry>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<RgbdPlane>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<RoundLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ScaleLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ScaleLayerInt8>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ScatterLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ScatterNDLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SeluLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ShrinkLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SigmoidLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SignLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SinLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SinhLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SliceLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SoftmaxLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SoftmaxLayerInt8>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SoftplusLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SoftsignLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SplitLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SqrtLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<StaticSaliencyFineGrained>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<StaticSaliencySpectralResidual>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SwishLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SyntheticSequenceGenerator>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<TEBLID>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<TanHLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<TanLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ThresholdedReluLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<TileLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn AKAZE>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn ANN_MLP>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn AdaptiveManifoldFilter>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn AffineFeature>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn AffineFeature2D>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn AffineTransformer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn AgastFeatureDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn AlignMTB>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BEBLID>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BIF>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BRISK>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorCNT>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorGMG>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorGSOC>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorKNN>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorLSBP>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorMOG>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorMOG2>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BaseCascadeClassifier>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Boost>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BoostDesc>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn BriefDescriptorExtractor>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CLAHE>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_BackgroundSubtractorMOG>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_BroxOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_CLAHE>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_CannyEdgeDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_CornernessCriteria>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_CornersDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_DensePyrLKOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_DescriptorMatcher>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_DisparityBilateralFilter>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_FarnebackOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_FastFeatureDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_HoughCirclesDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_HoughLinesDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_HoughSegmentDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_ORB>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_OpticalFlowDual_TVL1>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_StereoBM>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_StereoBeliefPropagation>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_StereoConstantSpaceBP>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_StereoSGM>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CUDA_TemplateMatching>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CalibrateDebevec>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CalibrateRobertson>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn CascadeClassifier>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn ChiHistogramCostExtractor>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn ConjGradSolver>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Convolution>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn DAISY>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn DFT>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn DISOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn DTFilter>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn DTrees>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn DenseOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn DenseRLOFOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn DescriptorMatcher>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn DisparityWLSFilter>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn DownhillSolver>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn DualTVL1OpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn EM>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn EMDHistogramCostExtractor>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn EMDL1HistogramCostExtractor>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn ERFilter>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn EdgeAwareInterpolator>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn EdgeBoxes>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn EdgeDrawing>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn EigenFaceRecognizer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn FREAK>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Facemark>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn FacemarkAAM>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn FacemarkKazemi>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn FacemarkLBF>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn FarnebackOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn FastBilateralSolverFilter>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn FastFeatureDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn FastGlobalSmootherFilter>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn FastLineDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Filter>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn FisherFaceRecognizer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn FreeType2>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn GFTTDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn GeneralizedHoughBallard>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn GeneralizedHoughGuil>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn GraphSegmentation>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn GrayCodePattern>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn GrayworldWB>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn GuidedFilter>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn HOG>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn HarrisLaplaceFeatureDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn HausdorffDistanceExtractor>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn HfsSegment>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn HistogramCostExtractor>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn HistogramPhaseUnwrapping>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn KAZE>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn KNearest>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn LATCH>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn LBPHFaceRecognizer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn LMSolver>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn LSTMLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn LUCID>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn LearningBasedWB>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn LineSegmentDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn LogisticRegression>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn LookUpTable>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn MACE>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn MCC_CCheckerDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn MSDDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn MSER>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn MergeDebevec>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn MergeMertens>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn MergeRobertson>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn NormHistogramCostExtractor>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn NormalBayesClassifier>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn OLSTracker>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn ORB>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Odometry>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn PCTSignatures>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn PCTSignaturesSQFD>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Plot2d>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn RFFeatureGetter>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn RICInterpolator>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn RNNLayer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn RTrees>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Rapid>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Retina>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn RetinaFastToneMapping>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn RidgeDetectionFilter>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SIFT>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SURF>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SVM>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SVMSGD>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SVM_Kernel>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn ScanSegment>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentation>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategy>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategyColor>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategyFill>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategySize>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn ShapeContextDistanceExtractor>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn ShapeTransformer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SimpleBlobDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SimpleWB>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SinusoidalPattern>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SparseOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SparsePyrLKOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SparseRLOFOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn StarDetector>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn StereoBM>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn StereoMatcher>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn StereoSGBM>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn StructuredEdgeDetection>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SuperpixelLSC>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SuperpixelSEEDS>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn SuperpixelSLIC>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Superres_BroxOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Superres_DenseOpticalFlowExt>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Superres_DualTVL1OpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Superres_FarnebackOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Superres_PyrLKOpticalFlow>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Superres_SuperResolution>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn TBMR>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn ThinPlateSplineShapeTransformer>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn Tonemap>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn TonemapDrago>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn TonemapDurand>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn TonemapMantiuk>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn TonemapReinhard>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn TransientAreasSegmentationModule>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn VGG>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<dyn VariationalRefinement>

source§

fn as_raw_mut_Algorithm(&mut self) -> *mut c_void

source§

fn clear(&mut self) -> Result<()>

Clears the algorithm state
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTraitConst for Ptr<AbsLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AccumLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AcosLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AcoshLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ActivationLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ActivationLayerInt8>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ArgLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AsinLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AsinhLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AtanLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AtanhLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AverageHash>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BFMatcher>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BNLLLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BaseConvolutionLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BatchNormLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BatchNormLayerInt8>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BinaryDescriptor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BinaryDescriptorMatcher>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BlockMeanHash>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CeilLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CeluLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ColorMomentHash>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ConcatLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ContourFitting>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CorrelationLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CosLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CoshLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CumSumLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DataAugmentationLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DepthCleaner>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DequantizeLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DetectionOutputLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ELULayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<EltwiseLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<EltwiseLayerInt8>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ErfLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ExpLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FastICPOdometry>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Feature2D>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FlannBasedMatcher>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FlattenLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FloorLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FlowWarpLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GPCTree>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GRULayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GatherLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<HardSigmoidLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<HardSwishLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ICPOdometry>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<InnerProductLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<InnerProductLayerInt8>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LRNLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LSDDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Layer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LogLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MVNLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MarrHildrethHash>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MaxUnpoolLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MishLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MotionSaliencyBinWangApr2014>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<NaryEltwiseLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<NormalizeBBoxLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<NotLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ObjectnessBING>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<PHash>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<PaddingLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<PermuteLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<PoolingLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<PoolingLayerInt8>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<PowerLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<PriorBoxLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ProposalLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<QualityBRISQUE>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<QualityGMSD>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<QualityMSE>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<QualityPSNR>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<QualitySSIM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<QuantizeLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RadialVarianceHash>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ReLU6Layer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ReLULayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ReciprocalLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ReduceLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ReduceLayerInt8>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RegionLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ReorgLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RequantizeLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ReshapeLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ResizeLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RgbdICPOdometry>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RgbdNormals>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RgbdOdometry>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RgbdPlane>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RoundLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ScaleLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ScaleLayerInt8>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ScatterLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ScatterNDLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SeluLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ShrinkLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SigmoidLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SignLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SinLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SinhLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SliceLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SoftmaxLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SoftmaxLayerInt8>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SoftplusLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SoftsignLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SplitLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SqrtLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<StaticSaliencyFineGrained>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<StaticSaliencySpectralResidual>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SwishLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SyntheticSequenceGenerator>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<TEBLID>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<TanHLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<TanLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ThresholdedReluLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<TileLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn AKAZE>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn ANN_MLP>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn AdaptiveManifoldFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn AffineFeature>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn AffineFeature2D>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn AffineTransformer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn AgastFeatureDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn AlignMTB>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BEBLID>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BIF>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BRISK>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorCNT>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorGMG>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorGSOC>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorKNN>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorLSBP>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorMOG>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorMOG2>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BaseCascadeClassifier>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Boost>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BoostDesc>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn BriefDescriptorExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CLAHE>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_BackgroundSubtractorMOG>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_BroxOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_CLAHE>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_CannyEdgeDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_CornernessCriteria>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_CornersDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_DensePyrLKOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_DescriptorMatcher>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_DisparityBilateralFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_FarnebackOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_FastFeatureDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_HoughCirclesDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_HoughLinesDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_HoughSegmentDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_ORB>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_OpticalFlowDual_TVL1>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_StereoBM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_StereoBeliefPropagation>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_StereoConstantSpaceBP>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_StereoSGM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CUDA_TemplateMatching>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CalibrateDebevec>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CalibrateRobertson>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn CascadeClassifier>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn ChiHistogramCostExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn ConjGradSolver>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Convolution>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn DAISY>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn DFT>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn DISOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn DTFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn DTrees>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn DenseOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn DenseRLOFOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn DescriptorMatcher>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn DisparityWLSFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn DownhillSolver>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn DualTVL1OpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn EM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn EMDHistogramCostExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn EMDL1HistogramCostExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn ERFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn EdgeAwareInterpolator>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn EdgeBoxes>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn EdgeDrawing>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn EigenFaceRecognizer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn FREAK>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Facemark>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn FacemarkAAM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn FacemarkKazemi>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn FacemarkLBF>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn FarnebackOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn FastBilateralSolverFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn FastFeatureDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn FastGlobalSmootherFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn FastLineDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Filter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn FisherFaceRecognizer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn FreeType2>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn GFTTDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn GeneralizedHoughBallard>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn GeneralizedHoughGuil>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn GraphSegmentation>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn GrayCodePattern>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn GrayworldWB>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn GuidedFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn HOG>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn HarrisLaplaceFeatureDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn HausdorffDistanceExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn HfsSegment>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn HistogramCostExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn HistogramPhaseUnwrapping>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn KAZE>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn KNearest>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn LATCH>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn LBPHFaceRecognizer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn LMSolver>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn LSTMLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn LUCID>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn LearningBasedWB>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn LineSegmentDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn LogisticRegression>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn LookUpTable>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn MACE>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn MCC_CCheckerDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn MSDDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn MSER>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn MergeDebevec>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn MergeMertens>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn MergeRobertson>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn NormHistogramCostExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn NormalBayesClassifier>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn OLSTracker>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn ORB>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Odometry>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn PCTSignatures>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn PCTSignaturesSQFD>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Plot2d>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn RFFeatureGetter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn RICInterpolator>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn RNNLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn RTrees>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Rapid>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Retina>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn RetinaFastToneMapping>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn RidgeDetectionFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SIFT>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SURF>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SVM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SVMSGD>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SVM_Kernel>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn ScanSegment>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentation>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategy>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategyColor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategyFill>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategySize>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn ShapeContextDistanceExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn ShapeTransformer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SimpleBlobDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SimpleWB>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SinusoidalPattern>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SparseOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SparsePyrLKOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SparseRLOFOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn StarDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn StereoBM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn StereoMatcher>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn StereoSGBM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn StructuredEdgeDetection>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SuperpixelLSC>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SuperpixelSEEDS>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn SuperpixelSLIC>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Superres_BroxOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Superres_DenseOpticalFlowExt>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Superres_DualTVL1OpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Superres_FarnebackOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Superres_PyrLKOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Superres_SuperResolution>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn TBMR>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn ThinPlateSplineShapeTransformer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn Tonemap>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn TonemapDrago>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn TonemapDurand>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn TonemapMantiuk>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn TonemapReinhard>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn TransientAreasSegmentationModule>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn VGG>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<dyn VariationalRefinement>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlignExposures for Ptr<dyn AlignMTB>

source§

fn as_raw_mut_AlignExposures(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut Vector<Mat>, times: &dyn ToInputArray, response: &dyn ToInputArray ) -> Result<()>

Aligns images Read more
source§

impl AlignExposuresConst for Ptr<dyn AlignMTB>

source§

impl AlignMTB for Ptr<dyn AlignMTB>

source§

fn as_raw_mut_AlignMTB(&mut self) -> *mut c_void

source§

fn process_with_response( &mut self, src: &dyn ToInputArray, dst: &mut Vector<Mat>, times: &dyn ToInputArray, response: &dyn ToInputArray ) -> Result<()>

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut Vector<Mat> ) -> Result<()>

Short version of process, that doesn’t take extra arguments. Read more
source§

fn calculate_shift( &mut self, img0: &dyn ToInputArray, img1: &dyn ToInputArray ) -> Result<Point>

Calculates shift between two images, i. e. how to shift the second image to correspond it with the first. Read more
source§

fn shift_mat( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, shift: Point ) -> Result<()>

Helper function, that shift Mat filling new regions with zeros. Read more
source§

fn compute_bitmaps( &mut self, img: &dyn ToInputArray, tb: &mut dyn ToOutputArray, eb: &mut dyn ToOutputArray ) -> Result<()>

Computes median threshold and exclude bitmaps of given image. Read more
source§

fn set_max_bits(&mut self, max_bits: i32) -> Result<()>

source§

fn set_exclude_range(&mut self, exclude_range: i32) -> Result<()>

source§

fn set_cut(&mut self, value: bool) -> Result<()>

source§

impl AlignMTBConst for Ptr<dyn AlignMTB>

source§

impl ArgLayerTrait for Ptr<ArgLayer>

source§

impl ArgLayerTraitConst for Ptr<ArgLayer>

source§

impl AsinLayerTrait for Ptr<AsinLayer>

source§

impl AsinLayerTraitConst for Ptr<AsinLayer>

source§

impl AsinhLayerTrait for Ptr<AsinhLayer>

source§

impl AsinhLayerTraitConst for Ptr<AsinhLayer>

source§

impl AtanLayerTrait for Ptr<AtanLayer>

source§

impl AtanLayerTraitConst for Ptr<AtanLayer>

source§

impl AtanhLayerTrait for Ptr<AtanhLayer>

source§

impl AtanhLayerTraitConst for Ptr<AtanhLayer>

source§

impl AverageHashTrait for Ptr<AverageHash>

source§

impl AverageHashTraitConst for Ptr<AverageHash>

source§

impl BEBLID for Ptr<dyn BEBLID>

source§

fn as_raw_mut_BEBLID(&mut self) -> *mut c_void

source§

fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>

source§

impl BEBLIDConst for Ptr<dyn BEBLID>

source§

impl BFMatcherTrait for Ptr<BFMatcher>

source§

impl BFMatcherTraitConst for Ptr<BFMatcher>

source§

fn as_raw_BFMatcher(&self) -> *const c_void

source§

fn is_mask_supported(&self) -> Result<bool>

source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<dyn DescriptorMatcher>>

C++ default parameters Read more
source§

impl BIF for Ptr<dyn BIF>

source§

impl BIFConst for Ptr<dyn BIF>

source§

fn as_raw_BIF(&self) -> *const c_void

source§

fn get_num_bands(&self) -> Result<i32>

Returns Read more
source§

fn get_num_rotations(&self) -> Result<i32>

Returns Read more
source§

fn compute( &self, image: &dyn ToInputArray, features: &mut dyn ToOutputArray ) -> Result<()>

Computes features sby input image. Read more
source§

impl BNLLLayerTrait for Ptr<BNLLLayer>

source§

impl BNLLLayerTraitConst for Ptr<BNLLLayer>

source§

impl BRISK for Ptr<dyn BRISK>

source§

fn as_raw_mut_BRISK(&mut self) -> *mut c_void

source§

fn set_threshold(&mut self, threshold: i32) -> Result<()>

Set detection threshold. Read more
source§

fn set_octaves(&mut self, octaves: i32) -> Result<()>

Set detection octaves. Read more
source§

fn set_pattern_scale(&mut self, pattern_scale: f32) -> Result<()>

Set detection patternScale. Read more
source§

impl BRISKConst for Ptr<dyn BRISK>

source§

impl BackendNodeTrait for Ptr<BackendNode>

source§

fn as_raw_mut_BackendNode(&mut self) -> *mut c_void

source§

fn set_backend_id(&mut self, val: i32)

Backend identifier.
source§

impl BackendNodeTraitConst for Ptr<BackendNode>

source§

fn as_raw_BackendNode(&self) -> *const c_void

source§

fn backend_id(&self) -> i32

Backend identifier.
source§

impl BackendWrapper for Ptr<dyn BackendWrapper>

source§

fn as_raw_mut_BackendWrapper(&mut self) -> *mut c_void

source§

fn set_backend_id(&mut self, val: i32)

Backend identifier.
source§

fn set_target_id(&mut self, val: i32)

Target identifier.
source§

fn copy_to_host(&mut self) -> Result<()>

Transfer data to CPU host memory.
source§

fn set_host_dirty(&mut self) -> Result<()>

Indicate that an actual data is on CPU.
source§

impl BackendWrapperConst for Ptr<dyn BackendWrapper>

source§

fn as_raw_BackendWrapper(&self) -> *const c_void

source§

fn backend_id(&self) -> i32

Backend identifier.
source§

fn target_id(&self) -> i32

Target identifier.
source§

impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorCNT>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorGMG>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorGSOC>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorKNN>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorLSBP>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorMOG>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorMOG2>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractor for Ptr<dyn CUDA_BackgroundSubtractorMOG>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractor for Ptr<dyn CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorCNT for Ptr<dyn BackgroundSubtractorCNT>

source§

fn as_raw_mut_BackgroundSubtractorCNT(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

C++ default parameters Read more
source§

fn set_min_pixel_stability(&mut self, value: i32) -> Result<()>

Sets the number of frames with same pixel color to consider stable.
source§

fn set_max_pixel_stability(&mut self, value: i32) -> Result<()>

Sets the maximum allowed credit for a pixel in history.
source§

fn set_use_history(&mut self, value: bool) -> Result<()>

Sets if we’re giving a pixel credit for being stable for a long time.
source§

fn set_is_parallel(&mut self, value: bool) -> Result<()>

Sets if we’re parallelizing the algorithm.
source§

impl BackgroundSubtractorCNTConst for Ptr<dyn BackgroundSubtractorCNT>

source§

fn as_raw_BackgroundSubtractorCNT(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut dyn ToOutputArray ) -> Result<()>

source§

fn get_min_pixel_stability(&self) -> Result<i32>

Returns number of frames with same pixel color to consider stable.
source§

fn get_max_pixel_stability(&self) -> Result<i32>

Returns maximum allowed credit for a pixel in history.
source§

fn get_use_history(&self) -> Result<bool>

Returns if we’re giving a pixel credit for being stable for a long time.
source§

fn get_is_parallel(&self) -> Result<bool>

Returns if we’re parallelizing the algorithm.
source§

impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorCNT>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut dyn ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorGMG>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut dyn ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorGSOC>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut dyn ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorKNN>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut dyn ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorLSBP>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut dyn ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorMOG>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut dyn ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorMOG2>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut dyn ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorConst for Ptr<dyn CUDA_BackgroundSubtractorMOG>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut dyn ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorConst for Ptr<dyn CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut dyn ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorGMG for Ptr<dyn BackgroundSubtractorGMG>

source§

fn as_raw_mut_BackgroundSubtractorGMG(&mut self) -> *mut c_void

source§

fn set_max_features(&mut self, max_features: i32) -> Result<()>

Sets total number of distinct colors to maintain in histogram.
source§

fn set_default_learning_rate(&mut self, lr: f64) -> Result<()>

Sets the learning rate of the algorithm.
source§

fn set_num_frames(&mut self, nframes: i32) -> Result<()>

Sets the number of frames used to initialize background model.
source§

fn set_quantization_levels(&mut self, nlevels: i32) -> Result<()>

Sets the parameter used for quantization of color-space
source§

fn set_background_prior(&mut self, bgprior: f64) -> Result<()>

Sets the prior probability that each individual pixel is a background pixel.
source§

fn set_smoothing_radius(&mut self, radius: i32) -> Result<()>

Sets the kernel radius used for morphological operations
source§

fn set_decision_threshold(&mut self, thresh: f64) -> Result<()>

Sets the value of decision threshold.
source§

fn set_update_background_model(&mut self, update: bool) -> Result<()>

Sets the status of background model update
source§

fn set_min_val(&mut self, val: f64) -> Result<()>

Sets the minimum value taken on by pixels in image sequence.
source§

fn set_max_val(&mut self, val: f64) -> Result<()>

Sets the maximum value taken on by pixels in image sequence.
source§

impl BackgroundSubtractorGMGConst for Ptr<dyn BackgroundSubtractorGMG>

source§

fn as_raw_BackgroundSubtractorGMG(&self) -> *const c_void

source§

fn get_max_features(&self) -> Result<i32>

Returns total number of distinct colors to maintain in histogram.
source§

fn get_default_learning_rate(&self) -> Result<f64>

Returns the learning rate of the algorithm. Read more
source§

fn get_num_frames(&self) -> Result<i32>

Returns the number of frames used to initialize background model.
source§

fn get_quantization_levels(&self) -> Result<i32>

Returns the parameter used for quantization of color-space. Read more
source§

fn get_background_prior(&self) -> Result<f64>

Returns the prior probability that each individual pixel is a background pixel.
source§

fn get_smoothing_radius(&self) -> Result<i32>

Returns the kernel radius used for morphological operations
source§

fn get_decision_threshold(&self) -> Result<f64>

Returns the value of decision threshold. Read more
source§

fn get_update_background_model(&self) -> Result<bool>

Returns the status of background model update
source§

fn get_min_val(&self) -> Result<f64>

Returns the minimum value taken on by pixels in image sequence. Usually 0.
source§

fn get_max_val(&self) -> Result<f64>

Returns the maximum value taken on by pixels in image sequence. e.g. 1.0 or 255.
source§

impl BackgroundSubtractorGSOC for Ptr<dyn BackgroundSubtractorGSOC>

source§

fn as_raw_mut_BackgroundSubtractorGSOC(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

C++ default parameters Read more
source§

impl BackgroundSubtractorGSOCConst for Ptr<dyn BackgroundSubtractorGSOC>

source§

impl BackgroundSubtractorKNN for Ptr<dyn BackgroundSubtractorKNN>

source§

fn as_raw_mut_BackgroundSubtractorKNN(&mut self) -> *mut c_void

source§

fn set_history(&mut self, history: i32) -> Result<()>

Sets the number of last frames that affect the background model
source§

fn set_n_samples(&mut self, _n_n: i32) -> Result<()>

Sets the number of data samples in the background model. Read more
source§

fn set_dist2_threshold(&mut self, _dist2_threshold: f64) -> Result<()>

Sets the threshold on the squared distance
source§

fn setk_nn_samples(&mut self, _nk_nn: i32) -> Result<()>

Sets the k in the kNN. How many nearest neighbours need to match.
source§

fn set_detect_shadows(&mut self, detect_shadows: bool) -> Result<()>

Enables or disables shadow detection
source§

fn set_shadow_value(&mut self, value: i32) -> Result<()>

Sets the shadow value
source§

fn set_shadow_threshold(&mut self, threshold: f64) -> Result<()>

Sets the shadow threshold
source§

impl BackgroundSubtractorKNNConst for Ptr<dyn BackgroundSubtractorKNN>

source§

fn as_raw_BackgroundSubtractorKNN(&self) -> *const c_void

source§

fn get_history(&self) -> Result<i32>

Returns the number of last frames that affect the background model
source§

fn get_n_samples(&self) -> Result<i32>

Returns the number of data samples in the background model
source§

fn get_dist2_threshold(&self) -> Result<f64>

Returns the threshold on the squared distance between the pixel and the sample Read more
source§

fn getk_nn_samples(&self) -> Result<i32>

Returns the number of neighbours, the k in the kNN. Read more
source§

fn get_detect_shadows(&self) -> Result<bool>

Returns the shadow detection flag Read more
source§

fn get_shadow_value(&self) -> Result<i32>

Returns the shadow value Read more
source§

fn get_shadow_threshold(&self) -> Result<f64>

Returns the shadow threshold Read more
source§

impl BackgroundSubtractorLSBP for Ptr<dyn BackgroundSubtractorLSBP>

source§

fn as_raw_mut_BackgroundSubtractorLSBP(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

C++ default parameters Read more
source§

impl BackgroundSubtractorLSBPConst for Ptr<dyn BackgroundSubtractorLSBP>

source§

impl BackgroundSubtractorMOG for Ptr<dyn BackgroundSubtractorMOG>

source§

fn as_raw_mut_BackgroundSubtractorMOG(&mut self) -> *mut c_void

source§

fn set_history(&mut self, nframes: i32) -> Result<()>

source§

fn set_n_mixtures(&mut self, nmix: i32) -> Result<()>

source§

fn set_background_ratio(&mut self, background_ratio: f64) -> Result<()>

source§

fn set_noise_sigma(&mut self, noise_sigma: f64) -> Result<()>

source§

impl BackgroundSubtractorMOG2 for Ptr<dyn BackgroundSubtractorMOG2>

source§

fn as_raw_mut_BackgroundSubtractorMOG2(&mut self) -> *mut c_void

source§

fn set_history(&mut self, history: i32) -> Result<()>

Sets the number of last frames that affect the background model
source§

fn set_n_mixtures(&mut self, nmixtures: i32) -> Result<()>

Sets the number of gaussian components in the background model. Read more
source§

fn set_background_ratio(&mut self, ratio: f64) -> Result<()>

Sets the “background ratio” parameter of the algorithm
source§

fn set_var_threshold(&mut self, var_threshold: f64) -> Result<()>

Sets the variance threshold for the pixel-model match
source§

fn set_var_threshold_gen(&mut self, var_threshold_gen: f64) -> Result<()>

Sets the variance threshold for the pixel-model match used for new mixture component generation
source§

fn set_var_init(&mut self, var_init: f64) -> Result<()>

Sets the initial variance of each gaussian component
source§

fn set_var_min(&mut self, var_min: f64) -> Result<()>

source§

fn set_var_max(&mut self, var_max: f64) -> Result<()>

source§

fn set_complexity_reduction_threshold(&mut self, ct: f64) -> Result<()>

Sets the complexity reduction threshold
source§

fn set_detect_shadows(&mut self, detect_shadows: bool) -> Result<()>

Enables or disables shadow detection
source§

fn set_shadow_value(&mut self, value: i32) -> Result<()>

Sets the shadow value
source§

fn set_shadow_threshold(&mut self, threshold: f64) -> Result<()>

Sets the shadow threshold
source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorMOG2 for Ptr<dyn CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_mut_BackgroundSubtractorMOG2(&mut self) -> *mut c_void

source§

fn set_history(&mut self, history: i32) -> Result<()>

Sets the number of last frames that affect the background model
source§

fn set_n_mixtures(&mut self, nmixtures: i32) -> Result<()>

Sets the number of gaussian components in the background model. Read more
source§

fn set_background_ratio(&mut self, ratio: f64) -> Result<()>

Sets the “background ratio” parameter of the algorithm
source§

fn set_var_threshold(&mut self, var_threshold: f64) -> Result<()>

Sets the variance threshold for the pixel-model match
source§

fn set_var_threshold_gen(&mut self, var_threshold_gen: f64) -> Result<()>

Sets the variance threshold for the pixel-model match used for new mixture component generation
source§

fn set_var_init(&mut self, var_init: f64) -> Result<()>

Sets the initial variance of each gaussian component
source§

fn set_var_min(&mut self, var_min: f64) -> Result<()>

source§

fn set_var_max(&mut self, var_max: f64) -> Result<()>

source§

fn set_complexity_reduction_threshold(&mut self, ct: f64) -> Result<()>

Sets the complexity reduction threshold
source§

fn set_detect_shadows(&mut self, detect_shadows: bool) -> Result<()>

Enables or disables shadow detection
source§

fn set_shadow_value(&mut self, value: i32) -> Result<()>

Sets the shadow value
source§

fn set_shadow_threshold(&mut self, threshold: f64) -> Result<()>

Sets the shadow threshold
source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorMOG2Const for Ptr<dyn BackgroundSubtractorMOG2>

source§

fn as_raw_BackgroundSubtractorMOG2(&self) -> *const c_void

source§

fn get_history(&self) -> Result<i32>

Returns the number of last frames that affect the background model
source§

fn get_n_mixtures(&self) -> Result<i32>

Returns the number of gaussian components in the background model
source§

fn get_background_ratio(&self) -> Result<f64>

Returns the “background ratio” parameter of the algorithm Read more
source§

fn get_var_threshold(&self) -> Result<f64>

Returns the variance threshold for the pixel-model match Read more
source§

fn get_var_threshold_gen(&self) -> Result<f64>

Returns the variance threshold for the pixel-model match used for new mixture component generation Read more
source§

fn get_var_init(&self) -> Result<f64>

Returns the initial variance of each gaussian component
source§

fn get_var_min(&self) -> Result<f64>

source§

fn get_var_max(&self) -> Result<f64>

source§

fn get_complexity_reduction_threshold(&self) -> Result<f64>

Returns the complexity reduction threshold Read more
source§

fn get_detect_shadows(&self) -> Result<bool>

Returns the shadow detection flag Read more
source§

fn get_shadow_value(&self) -> Result<i32>

Returns the shadow value Read more
source§

fn get_shadow_threshold(&self) -> Result<f64>

Returns the shadow threshold Read more
source§

impl BackgroundSubtractorMOG2Const for Ptr<dyn CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_BackgroundSubtractorMOG2(&self) -> *const c_void

source§

fn get_history(&self) -> Result<i32>

Returns the number of last frames that affect the background model
source§

fn get_n_mixtures(&self) -> Result<i32>

Returns the number of gaussian components in the background model
source§

fn get_background_ratio(&self) -> Result<f64>

Returns the “background ratio” parameter of the algorithm Read more
source§

fn get_var_threshold(&self) -> Result<f64>

Returns the variance threshold for the pixel-model match Read more
source§

fn get_var_threshold_gen(&self) -> Result<f64>

Returns the variance threshold for the pixel-model match used for new mixture component generation Read more
source§

fn get_var_init(&self) -> Result<f64>

Returns the initial variance of each gaussian component
source§

fn get_var_min(&self) -> Result<f64>

source§

fn get_var_max(&self) -> Result<f64>

source§

fn get_complexity_reduction_threshold(&self) -> Result<f64>

Returns the complexity reduction threshold Read more
source§

fn get_detect_shadows(&self) -> Result<bool>

Returns the shadow detection flag Read more
source§

fn get_shadow_value(&self) -> Result<i32>

Returns the shadow value Read more
source§

fn get_shadow_threshold(&self) -> Result<f64>

Returns the shadow threshold Read more
source§

impl BackgroundSubtractorMOGConst for Ptr<dyn BackgroundSubtractorMOG>

source§

impl BaseCascadeClassifier for Ptr<dyn BaseCascadeClassifier>

source§

fn as_raw_mut_BaseCascadeClassifier(&mut self) -> *mut c_void

source§

fn load(&mut self, filename: &str) -> Result<bool>

source§

fn detect_multi_scale( &mut self, image: &dyn ToInputArray, objects: &mut Vector<Rect>, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: Size, max_size: Size ) -> Result<()>

source§

fn detect_multi_scale_num( &mut self, image: &dyn ToInputArray, objects: &mut Vector<Rect>, num_detections: &mut Vector<i32>, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: Size, max_size: Size ) -> Result<()>

source§

fn detect_multi_scale_levels( &mut self, image: &dyn ToInputArray, objects: &mut Vector<Rect>, reject_levels: &mut Vector<i32>, level_weights: &mut Vector<f64>, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: Size, max_size: Size, output_reject_levels: bool ) -> Result<()>

source§

fn get_old_cascade(&mut self) -> Result<*mut c_void>

source§

fn set_mask_generator( &mut self, mask_generator: &Ptr<dyn BaseCascadeClassifier_MaskGenerator> ) -> Result<()>

source§

fn get_mask_generator( &mut self ) -> Result<Ptr<dyn BaseCascadeClassifier_MaskGenerator>>

source§

impl BaseCascadeClassifierConst for Ptr<dyn BaseCascadeClassifier>

source§

impl BaseCascadeClassifier_MaskGenerator for Ptr<dyn BaseCascadeClassifier_MaskGenerator>

source§

impl BaseCascadeClassifier_MaskGeneratorConst for Ptr<dyn BaseCascadeClassifier_MaskGenerator>

source§

impl BaseConvolutionLayerTrait for Ptr<BaseConvolutionLayer>

source§

fn as_raw_mut_BaseConvolutionLayer(&mut self) -> *mut c_void

source§

fn set_kernel(&mut self, val: Size)

source§

fn set_stride(&mut self, val: Size)

source§

fn set_pad(&mut self, val: Size)

source§

fn set_dilation(&mut self, val: Size)

source§

fn set_adjust_pad(&mut self, val: Size)

source§

fn set_adjust_pads(&mut self, val: Vector<size_t>)

source§

fn set_kernel_size(&mut self, val: Vector<size_t>)

source§

fn set_strides(&mut self, val: Vector<size_t>)

source§

fn set_dilations(&mut self, val: Vector<size_t>)

source§

fn set_pads_begin(&mut self, val: Vector<size_t>)

source§

fn set_pads_end(&mut self, val: Vector<size_t>)

source§

fn set_pad_mode(&mut self, val: &str)

source§

fn set_num_output(&mut self, val: i32)

source§

impl BaseConvolutionLayerTraitConst for Ptr<BaseConvolutionLayer>

source§

impl BaseOCR for Ptr<OCRBeamSearchDecoder>

source§

fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_mask( &mut self, image: &mut Mat, mask: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

impl BaseOCR for Ptr<OCRHMMDecoder>

source§

fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_mask( &mut self, image: &mut Mat, mask: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

impl BaseOCR for Ptr<dyn OCRHolisticWordRecognizer>

source§

fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_mask( &mut self, image: &mut Mat, mask: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

impl BaseOCR for Ptr<dyn OCRTesseract>

source§

fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_mask( &mut self, image: &mut Mat, mask: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

impl BaseOCRConst for Ptr<OCRBeamSearchDecoder>

source§

impl BaseOCRConst for Ptr<OCRHMMDecoder>

source§

impl BaseOCRConst for Ptr<dyn OCRHolisticWordRecognizer>

source§

impl BaseOCRConst for Ptr<dyn OCRTesseract>

source§

impl BaseSFM for Ptr<dyn SFMLibmvEuclideanReconstruction>

source§

fn as_raw_mut_BaseSFM(&mut self) -> *mut c_void

source§

fn run(&mut self, points2d: &dyn ToInputArray) -> Result<()>

source§

fn run_1( &mut self, points2d: &dyn ToInputArray, k: &mut dyn ToInputOutputArray, rs: &mut dyn ToOutputArray, ts: &mut dyn ToOutputArray, points3d: &mut dyn ToOutputArray ) -> Result<()>

source§

fn run_2(&mut self, images: &Vector<String>) -> Result<()>

source§

fn run_3( &mut self, images: &Vector<String>, k: &mut dyn ToInputOutputArray, rs: &mut dyn ToOutputArray, ts: &mut dyn ToOutputArray, points3d: &mut dyn ToOutputArray ) -> Result<()>

source§

fn get_points(&mut self, points3d: &mut dyn ToOutputArray) -> Result<()>

source§

fn get_cameras( &mut self, rs: &mut dyn ToOutputArray, ts: &mut dyn ToOutputArray ) -> Result<()>

source§

fn set_reconstruction_options( &mut self, libmv_reconstruction_options: libmv_ReconstructionOptions ) -> Result<()>

source§

fn set_camera_intrinsic_options( &mut self, libmv_camera_intrinsics_options: libmv_CameraIntrinsicsOptions ) -> Result<()>

source§

impl BaseSFMConst for Ptr<dyn SFMLibmvEuclideanReconstruction>

source§

impl BasicFaceRecognizer for Ptr<dyn EigenFaceRecognizer>

source§

fn as_raw_mut_BasicFaceRecognizer(&mut self) -> *mut c_void

source§

fn set_num_components(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_threshold(&mut self, val: f64) -> Result<()>

See also Read more
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

source§

impl BasicFaceRecognizer for Ptr<dyn FisherFaceRecognizer>

source§

fn as_raw_mut_BasicFaceRecognizer(&mut self) -> *mut c_void

source§

fn set_num_components(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_threshold(&mut self, val: f64) -> Result<()>

See also Read more
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

source§

impl BasicFaceRecognizerConst for Ptr<dyn EigenFaceRecognizer>

source§

impl BasicFaceRecognizerConst for Ptr<dyn FisherFaceRecognizer>

source§

impl BatchNormLayerInt8Trait for Ptr<BatchNormLayerInt8>

source§

fn as_raw_mut_BatchNormLayerInt8(&mut self) -> *mut c_void

source§

fn set_input_sc(&mut self, val: f32)

source§

fn set_output_sc(&mut self, val: f32)

source§

fn set_input_zp(&mut self, val: i32)

source§

fn set_output_zp(&mut self, val: i32)

source§

impl BatchNormLayerInt8TraitConst for Ptr<BatchNormLayerInt8>

source§

impl BatchNormLayerTrait for Ptr<BatchNormLayer>

source§

fn as_raw_mut_BatchNormLayer(&mut self) -> *mut c_void

source§

fn set_has_weights(&mut self, val: bool)

source§

fn set_has_bias(&mut self, val: bool)

source§

fn set_epsilon(&mut self, val: f32)

source§

impl BatchNormLayerTrait for Ptr<BatchNormLayerInt8>

source§

fn as_raw_mut_BatchNormLayer(&mut self) -> *mut c_void

source§

fn set_has_weights(&mut self, val: bool)

source§

fn set_has_bias(&mut self, val: bool)

source§

fn set_epsilon(&mut self, val: f32)

source§

impl BatchNormLayerTraitConst for Ptr<BatchNormLayer>

source§

impl BatchNormLayerTraitConst for Ptr<BatchNormLayerInt8>

source§

impl BinaryDescriptorMatcherTrait for Ptr<BinaryDescriptorMatcher>

source§

fn as_raw_mut_BinaryDescriptorMatcher(&mut self) -> *mut c_void

source§

fn match_query( &mut self, query_descriptors: &Mat, matches: &mut Vector<DMatch>, masks: &Vector<Mat> ) -> Result<()>

For every input query descriptor, retrieve the best matching one from a dataset provided from user or from the one internal to class Read more
source§

fn knn_match_query( &mut self, query_descriptors: &Mat, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &Vector<Mat>, compact_result: bool ) -> Result<()>

For every input query descriptor, retrieve the best k matching ones from a dataset provided from user or from the one internal to class Read more
source§

fn radius_match_1( &mut self, query_descriptors: &Mat, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &Vector<Mat>, compact_result: bool ) -> Result<()>

For every input query descriptor, retrieve, from a dataset provided from user or from the one internal to class, all the descriptors that are not further than maxDist from input query Read more
source§

fn add(&mut self, descriptors: &Vector<Mat>) -> Result<()>

Store locally new descriptors to be inserted in dataset, without updating dataset. Read more
source§

fn train(&mut self) -> Result<()>

Update dataset by inserting into it all descriptors that were stored locally by add function. Read more
source§

fn clear(&mut self) -> Result<()>

Clear dataset and internal data
source§

impl BinaryDescriptorMatcherTraitConst for Ptr<BinaryDescriptorMatcher>

source§

fn as_raw_BinaryDescriptorMatcher(&self) -> *const c_void

source§

fn match_( &self, query_descriptors: &Mat, train_descriptors: &Mat, matches: &mut Vector<DMatch>, mask: &Mat ) -> Result<()>

For every input query descriptor, retrieve the best matching one from a dataset provided from user or from the one internal to class Read more
source§

fn knn_match( &self, query_descriptors: &Mat, train_descriptors: &Mat, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &Mat, compact_result: bool ) -> Result<()>

For every input query descriptor, retrieve the best k matching ones from a dataset provided from user or from the one internal to class Read more
source§

fn radius_match( &self, query_descriptors: &Mat, train_descriptors: &Mat, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &Mat, compact_result: bool ) -> Result<()>

For every input query descriptor, retrieve, from a dataset provided from user or from the one internal to class, all the descriptors that are not further than maxDist from input query Read more
source§

impl BinaryDescriptorTrait for Ptr<BinaryDescriptor>

source§

fn as_raw_mut_BinaryDescriptor(&mut self) -> *mut c_void

source§

fn get_num_of_octaves(&mut self) -> Result<i32>

Get current number of octaves
source§

fn set_num_of_octaves(&mut self, octaves: i32) -> Result<()>

Set number of octaves Read more
source§

fn get_width_of_band(&mut self) -> Result<i32>

Get current width of bands
source§

fn set_width_of_band(&mut self, width: i32) -> Result<()>

Set width of bands Read more
source§

fn get_reduction_ratio(&mut self) -> Result<i32>

Get current reduction ratio (used in Gaussian pyramids)
source§

fn set_reduction_ratio(&mut self, r_ratio: i32) -> Result<()>

Set reduction ratio (used in Gaussian pyramids) Read more
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

Read parameters from a FileNode object and store them Read more
source§

fn detect_1( &mut self, image: &Mat, keypoints: &mut Vector<KeyLine>, mask: &Mat ) -> Result<()>

Requires line detection Read more
source§

impl BinaryDescriptorTraitConst for Ptr<BinaryDescriptor>

source§

fn as_raw_BinaryDescriptor(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Store parameters to a FileStorage object Read more
source§

fn detect( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, masks: &Vector<Mat> ) -> Result<()>

Requires line detection Read more
source§

fn compute( &self, image: &Mat, keylines: &mut Vector<KeyLine>, descriptors: &mut Mat, return_float_descr: bool ) -> Result<()>

Requires descriptors computation Read more
source§

fn compute_1( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, descriptors: &mut Vector<Mat>, return_float_descr: bool ) -> Result<()>

Requires descriptors computation Read more
source§

fn descriptor_size(&self) -> Result<i32>

Return descriptor size
source§

fn descriptor_type(&self) -> Result<i32>

Return data type
source§

fn default_norm(&self) -> Result<i32>

returns norm mode
source§

fn apply( &self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keylines: &mut Vector<KeyLine>, descriptors: &mut dyn 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§

impl BlockMeanHashTrait for Ptr<BlockMeanHash>

source§

fn as_raw_mut_BlockMeanHash(&mut self) -> *mut c_void

source§

fn set_mode(&mut self, mode: i32) -> Result<()>

Create BlockMeanHash object Read more
source§

impl BlockMeanHashTraitConst for Ptr<BlockMeanHash>

source§

impl BoardTrait for Ptr<Board>

source§

impl BoardTrait for Ptr<CharucoBoard>

source§

impl BoardTraitConst for Ptr<Board>

source§

fn as_raw_Board(&self) -> *const c_void

source§

fn get_dictionary(&self) -> Result<Dictionary>

return the Dictionary of markers employed for this board
source§

fn get_obj_points(&self) -> Result<Vector<Vector<Point3f>>>

return array of object points of all the marker corners in the board. Read more
source§

fn get_ids(&self) -> Result<Vector<i32>>

vector of the identifiers of the markers in the board (should be the same size as objPoints) Read more
source§

fn get_right_bottom_corner(&self) -> Result<Point3f>

get coordinate of the bottom right corner of the board, is set when calling the function create()
source§

fn match_image_points( &self, detected_corners: &dyn ToInputArray, detected_ids: &dyn ToInputArray, obj_points: &mut dyn ToOutputArray, img_points: &mut dyn ToOutputArray ) -> Result<()>

Given a board configuration and a set of detected markers, returns the corresponding image points and object points to call solvePnP() Read more
source§

fn generate_image( &self, out_size: Size, img: &mut dyn ToOutputArray, margin_size: i32, border_bits: i32 ) -> Result<()>

Draw a planar board Read more
source§

impl BoardTraitConst for Ptr<CharucoBoard>

source§

fn as_raw_Board(&self) -> *const c_void

source§

fn get_dictionary(&self) -> Result<Dictionary>

return the Dictionary of markers employed for this board
source§

fn get_obj_points(&self) -> Result<Vector<Vector<Point3f>>>

return array of object points of all the marker corners in the board. Read more
source§

fn get_ids(&self) -> Result<Vector<i32>>

vector of the identifiers of the markers in the board (should be the same size as objPoints) Read more
source§

fn get_right_bottom_corner(&self) -> Result<Point3f>

get coordinate of the bottom right corner of the board, is set when calling the function create()
source§

fn match_image_points( &self, detected_corners: &dyn ToInputArray, detected_ids: &dyn ToInputArray, obj_points: &mut dyn ToOutputArray, img_points: &mut dyn ToOutputArray ) -> Result<()>

Given a board configuration and a set of detected markers, returns the corresponding image points and object points to call solvePnP() Read more
source§

fn generate_image( &self, out_size: Size, img: &mut dyn ToOutputArray, margin_size: i32, border_bits: i32 ) -> Result<()>

Draw a planar board Read more
source§

impl Boost for Ptr<dyn Boost>

source§

fn as_raw_mut_Boost(&mut self) -> *mut c_void

source§

fn set_boost_type(&mut self, val: i32) -> Result<()>

Type of the boosting algorithm. See Boost::Types. Default value is Boost::REAL. Read more
source§

fn set_weak_count(&mut self, val: i32) -> Result<()>

The number of weak classifiers. Default value is 100. Read more
source§

fn set_weight_trim_rate(&mut self, val: f64) -> Result<()>

A threshold between 0 and 1 used to save computational time. Samples with summary weight inline formula do not participate in the next iteration of training. Set this parameter to 0 to turn off this functionality. Default value is 0.95. Read more
source§

impl BoostConst for Ptr<dyn Boost>

source§

fn as_raw_Boost(&self) -> *const c_void

source§

fn get_boost_type(&self) -> Result<i32>

Type of the boosting algorithm. See Boost::Types. Default value is Boost::REAL. Read more
source§

fn get_weak_count(&self) -> Result<i32>

The number of weak classifiers. Default value is 100. Read more
source§

fn get_weight_trim_rate(&self) -> Result<f64>

A threshold between 0 and 1 used to save computational time. Samples with summary weight inline formula do not participate in the next iteration of training. Set this parameter to 0 to turn off this functionality. Default value is 0.95. Read more
source§

impl BoostDesc for Ptr<dyn BoostDesc>

source§

fn as_raw_mut_BoostDesc(&mut self) -> *mut c_void

source§

fn set_use_scale_orientation( &mut self, use_scale_orientation: bool ) -> Result<()>

source§

fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>

source§

impl BoostDescConst for Ptr<dyn BoostDesc>

source§

impl<T: ?Sized> Boxed for Ptr<T>where Self: PtrExtern,

source§

unsafe fn from_raw(ptr: *mut c_void) -> Self

Wrap the specified raw pointer Read more
source§

fn into_raw(self) -> *mut c_void

Return an the underlying raw pointer while consuming this wrapper. Read more
source§

fn as_raw(&self) -> *const c_void

Return the underlying raw pointer. Read more
source§

fn as_raw_mut(&mut self) -> *mut c_void

Return the underlying mutable raw pointer Read more
source§

impl BriefDescriptorExtractor for Ptr<dyn BriefDescriptorExtractor>

source§

impl BriefDescriptorExtractorConst for Ptr<dyn BriefDescriptorExtractor>

source§

impl CLAHE for Ptr<dyn CLAHE>

source§

fn as_raw_mut_CLAHE(&mut self) -> *mut c_void

source§

fn apply( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
source§

fn set_clip_limit(&mut self, clip_limit: f64) -> Result<()>

Sets threshold for contrast limiting. Read more
source§

fn set_tiles_grid_size(&mut self, tile_grid_size: Size) -> Result<()>

Sets size of grid for histogram equalization. Input image will be divided into equally sized rectangular tiles. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl CLAHE for Ptr<dyn CUDA_CLAHE>

source§

fn as_raw_mut_CLAHE(&mut self) -> *mut c_void

source§

fn apply( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
source§

fn set_clip_limit(&mut self, clip_limit: f64) -> Result<()>

Sets threshold for contrast limiting. Read more
source§

fn set_tiles_grid_size(&mut self, tile_grid_size: Size) -> Result<()>

Sets size of grid for histogram equalization. Input image will be divided into equally sized rectangular tiles. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl CLAHEConst for Ptr<dyn CLAHE>

source§

fn as_raw_CLAHE(&self) -> *const c_void

source§

fn get_clip_limit(&self) -> Result<f64>

Returns threshold value for contrast limiting.
source§

fn get_tiles_grid_size(&self) -> Result<Size>

Returns Size defines the number of tiles in row and column.
source§

impl CLAHEConst for Ptr<dyn CUDA_CLAHE>

source§

fn as_raw_CLAHE(&self) -> *const c_void

source§

fn get_clip_limit(&self) -> Result<f64>

Returns threshold value for contrast limiting.
source§

fn get_tiles_grid_size(&self) -> Result<Size>

Returns Size defines the number of tiles in row and column.
source§

impl CUDA_BackgroundSubtractorMOG for Ptr<dyn CUDA_BackgroundSubtractorMOG>

source§

fn as_raw_mut_CUDA_BackgroundSubtractorMOG(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64, stream: &mut Stream ) -> Result<()>

source§

fn get_background_image_1( &mut self, background_image: &mut GpuMat, stream: &mut Stream ) -> Result<()>

source§

fn set_history(&mut self, nframes: i32) -> Result<()>

source§

fn set_n_mixtures(&mut self, nmix: i32) -> Result<()>

source§

fn set_background_ratio(&mut self, background_ratio: f64) -> Result<()>

source§

fn set_noise_sigma(&mut self, noise_sigma: f64) -> Result<()>

source§

impl CUDA_BackgroundSubtractorMOG2 for Ptr<dyn CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_mut_CUDA_BackgroundSubtractorMOG2(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &dyn ToInputArray, fgmask: &mut dyn ToOutputArray, learning_rate: f64, stream: &mut Stream ) -> Result<()>

source§

fn get_background_image_1( &mut self, background_image: &mut GpuMat, stream: &mut Stream ) -> Result<()>

source§

impl CUDA_BackgroundSubtractorMOG2Const for Ptr<dyn CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_CUDA_BackgroundSubtractorMOG2(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

source§

impl CUDA_BackgroundSubtractorMOGConst for Ptr<dyn CUDA_BackgroundSubtractorMOG>

source§

impl CUDA_BroxOpticalFlow for Ptr<dyn CUDA_BroxOpticalFlow>

source§

fn as_raw_mut_CUDA_BroxOpticalFlow(&mut self) -> *mut c_void

source§

fn set_flow_smoothness(&mut self, alpha: f64) -> Result<()>

source§

fn set_gradient_constancy_importance(&mut self, gamma: f64) -> Result<()>

source§

fn set_pyramid_scale_factor(&mut self, scale_factor: f64) -> Result<()>

source§

fn set_inner_iterations(&mut self, inner_iterations: i32) -> Result<()>

source§

fn set_outer_iterations(&mut self, outer_iterations: i32) -> Result<()>

source§

fn set_solver_iterations(&mut self, solver_iterations: i32) -> Result<()>

source§

impl CUDA_BroxOpticalFlowConst for Ptr<dyn CUDA_BroxOpticalFlow>

source§

fn as_raw_CUDA_BroxOpticalFlow(&self) -> *const c_void

source§

fn get_flow_smoothness(&self) -> Result<f64>

source§

fn get_gradient_constancy_importance(&self) -> Result<f64>

source§

fn get_pyramid_scale_factor(&self) -> Result<f64>

source§

fn get_inner_iterations(&self) -> Result<i32>

number of lagged non-linearity iterations (inner loop)
source§

fn get_outer_iterations(&self) -> Result<i32>

number of warping iterations (number of pyramid levels)
source§

fn get_solver_iterations(&self) -> Result<i32>

number of linear system solver iterations
source§

impl CUDA_CLAHE for Ptr<dyn CUDA_CLAHE>

source§

fn as_raw_mut_CUDA_CLAHE(&mut self) -> *mut c_void

source§

fn apply( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
source§

impl CUDA_CLAHEConst for Ptr<dyn CUDA_CLAHE>

source§

impl CUDA_CannyEdgeDetector for Ptr<dyn CUDA_CannyEdgeDetector>

source§

fn as_raw_mut_CUDA_CannyEdgeDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, edges: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Finds edges in an image using the Canny86 algorithm. Read more
source§

fn detect_1( &mut self, dx: &dyn ToInputArray, dy: &dyn ToInputArray, edges: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Finds edges in an image using the Canny86 algorithm. Read more
source§

fn set_low_threshold(&mut self, low_thresh: f64) -> Result<()>

source§

fn set_high_threshold(&mut self, high_thresh: f64) -> Result<()>

source§

fn set_apperture_size(&mut self, apperture_size: i32) -> Result<()>

source§

fn set_l2_gradient(&mut self, l2gradient: bool) -> Result<()>

source§

impl CUDA_CannyEdgeDetectorConst for Ptr<dyn CUDA_CannyEdgeDetector>

source§

impl CUDA_CornernessCriteria for Ptr<dyn CUDA_CornernessCriteria>

source§

fn as_raw_mut_CUDA_CornernessCriteria(&mut self) -> *mut c_void

source§

fn compute( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Computes the cornerness criteria at each image pixel. Read more
source§

impl CUDA_CornernessCriteriaConst for Ptr<dyn CUDA_CornernessCriteria>

source§

impl CUDA_CornersDetector for Ptr<dyn CUDA_CornersDetector>

source§

fn as_raw_mut_CUDA_CornersDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, corners: &mut dyn ToOutputArray, mask: &dyn ToInputArray, stream: &mut Stream ) -> Result<()>

Determines strong corners on an image. Read more
source§

impl CUDA_CornersDetectorConst for Ptr<dyn CUDA_CornersDetector>

source§

impl CUDA_DenseOpticalFlow for Ptr<dyn CUDA_BroxOpticalFlow>

source§

fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &dyn ToInputArray, i1: &dyn ToInputArray, flow: &mut dyn ToInputOutputArray, stream: &mut Stream ) -> Result<()>

Calculates a dense optical flow. Read more
source§

impl CUDA_DenseOpticalFlow for Ptr<dyn CUDA_DensePyrLKOpticalFlow>

source§

fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &dyn ToInputArray, i1: &dyn ToInputArray, flow: &mut dyn ToInputOutputArray, stream: &mut Stream ) -> Result<()>

Calculates a dense optical flow. Read more
source§

impl CUDA_DenseOpticalFlow for Ptr<dyn CUDA_FarnebackOpticalFlow>

source§

fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &dyn ToInputArray, i1: &dyn ToInputArray, flow: &mut dyn ToInputOutputArray, stream: &mut Stream ) -> Result<()>

Calculates a dense optical flow. Read more
source§

impl CUDA_DenseOpticalFlow for Ptr<dyn CUDA_OpticalFlowDual_TVL1>

source§

fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &dyn ToInputArray, i1: &dyn ToInputArray, flow: &mut dyn ToInputOutputArray, stream: &mut Stream ) -> Result<()>

Calculates a dense optical flow. Read more
source§

impl CUDA_DenseOpticalFlowConst for Ptr<dyn CUDA_BroxOpticalFlow>

source§

impl CUDA_DenseOpticalFlowConst for Ptr<dyn CUDA_DensePyrLKOpticalFlow>

source§

impl CUDA_DenseOpticalFlowConst for Ptr<dyn CUDA_FarnebackOpticalFlow>

source§

impl CUDA_DenseOpticalFlowConst for Ptr<dyn CUDA_OpticalFlowDual_TVL1>

source§

impl CUDA_DensePyrLKOpticalFlow for Ptr<dyn CUDA_DensePyrLKOpticalFlow>

source§

fn as_raw_mut_CUDA_DensePyrLKOpticalFlow(&mut self) -> *mut c_void

source§

fn set_win_size(&mut self, win_size: Size) -> Result<()>

source§

fn set_max_level(&mut self, max_level: i32) -> Result<()>

source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

source§

fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()>

source§

impl CUDA_DensePyrLKOpticalFlowConst for Ptr<dyn CUDA_DensePyrLKOpticalFlow>

source§

impl CUDA_DescriptorMatcher for Ptr<dyn CUDA_DescriptorMatcher>

source§

fn as_raw_mut_CUDA_DescriptorMatcher(&mut self) -> *mut c_void

source§

fn add(&mut self, descriptors: &Vector<GpuMat>) -> Result<()>

Adds descriptors to train a descriptor collection. Read more
source§

fn clear(&mut self) -> Result<()>

Clears the train descriptor collection.
source§

fn train(&mut self) -> Result<()>

Trains a descriptor matcher. Read more
source§

fn match_( &mut self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut Vector<DMatch>, mask: &dyn ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set (blocking version). Read more
source§

fn match__1( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut Vector<DMatch>, masks: &Vector<GpuMat> ) -> Result<()>

Finds the best match for each descriptor from a query set (blocking version). Read more
source§

fn match_async( &mut self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut dyn ToOutputArray, mask: &dyn ToInputArray, stream: &mut Stream ) -> Result<()>

Finds the best match for each descriptor from a query set (asynchronous version). Read more
source§

fn match_async_1( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut dyn ToOutputArray, masks: &Vector<GpuMat>, stream: &mut Stream ) -> Result<()>

Finds the best match for each descriptor from a query set (asynchronous version). Read more
source§

fn match_convert( &mut self, gpu_matches: &dyn ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
source§

fn knn_match( &mut self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &dyn ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set (blocking version). Read more
source§

fn knn_match_1( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &Vector<GpuMat>, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set (blocking version). Read more
source§

fn knn_match_async( &mut self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut dyn ToOutputArray, k: i32, mask: &dyn ToInputArray, stream: &mut Stream ) -> Result<()>

Finds the k best matches for each descriptor from a query set (asynchronous version). Read more
source§

fn knn_match_async_1( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut dyn ToOutputArray, k: i32, masks: &Vector<GpuMat>, stream: &mut Stream ) -> Result<()>

Finds the k best matches for each descriptor from a query set (asynchronous version). Read more
source§

fn knn_match_convert( &mut self, gpu_matches: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, compact_result: bool ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
source§

fn radius_match( &mut self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &dyn ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (blocking version). Read more
source§

fn radius_match_1( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &Vector<GpuMat>, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (blocking version). Read more
source§

fn radius_match_async( &mut self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut dyn ToOutputArray, max_distance: f32, mask: &dyn ToInputArray, stream: &mut Stream ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (asynchronous version). Read more
source§

fn radius_match_async_1( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut dyn ToOutputArray, max_distance: f32, masks: &Vector<GpuMat>, stream: &mut Stream ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (asynchronous version). Read more
source§

fn radius_match_convert( &mut self, gpu_matches: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, compact_result: bool ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
source§

impl CUDA_DescriptorMatcherConst for Ptr<dyn CUDA_DescriptorMatcher>

source§

fn as_raw_CUDA_DescriptorMatcher(&self) -> *const c_void

source§

fn is_mask_supported(&self) -> Result<bool>

Returns true if the descriptor matcher supports masking permissible matches.
source§

fn get_train_descriptors(&self) -> Result<Vector<GpuMat>>

Returns a constant link to the train descriptor collection.
source§

fn empty(&self) -> Result<bool>

Returns true if there are no train descriptors in the collection.
source§

impl CUDA_DisparityBilateralFilter for Ptr<dyn CUDA_DisparityBilateralFilter>

source§

fn as_raw_mut_CUDA_DisparityBilateralFilter(&mut self) -> *mut c_void

source§

fn apply( &mut self, disparity: &dyn ToInputArray, image: &dyn ToInputArray, dst: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Refines a disparity map using joint bilateral filtering. Read more
source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_radius(&mut self, radius: i32) -> Result<()>

source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

source§

fn set_edge_threshold(&mut self, edge_threshold: f64) -> Result<()>

source§

fn set_max_disc_threshold(&mut self, max_disc_threshold: f64) -> Result<()>

source§

fn set_sigma_range(&mut self, sigma_range: f64) -> Result<()>

source§

impl CUDA_DisparityBilateralFilterConst for Ptr<dyn CUDA_DisparityBilateralFilter>

source§

fn as_raw_CUDA_DisparityBilateralFilter(&self) -> *const c_void

source§

fn get_num_disparities(&self) -> Result<i32>

source§

fn get_radius(&self) -> Result<i32>

source§

fn get_num_iters(&self) -> Result<i32>

source§

fn get_edge_threshold(&self) -> Result<f64>

truncation of data continuity
source§

fn get_max_disc_threshold(&self) -> Result<f64>

truncation of disparity continuity
source§

fn get_sigma_range(&self) -> Result<f64>

filter range sigma
source§

impl CUDA_FarnebackOpticalFlow for Ptr<dyn CUDA_FarnebackOpticalFlow>

source§

fn as_raw_mut_CUDA_FarnebackOpticalFlow(&mut self) -> *mut c_void

source§

fn set_num_levels(&mut self, num_levels: i32) -> Result<()>

source§

fn set_pyr_scale(&mut self, pyr_scale: f64) -> Result<()>

source§

fn set_fast_pyramids(&mut self, fast_pyramids: bool) -> Result<()>

source§

fn set_win_size(&mut self, win_size: i32) -> Result<()>

source§

fn set_num_iters(&mut self, num_iters: i32) -> Result<()>

source§

fn set_poly_n(&mut self, poly_n: i32) -> Result<()>

source§

fn set_poly_sigma(&mut self, poly_sigma: f64) -> Result<()>

source§

fn set_flags(&mut self, flags: i32) -> Result<()>

source§

impl CUDA_FarnebackOpticalFlowConst for Ptr<dyn CUDA_FarnebackOpticalFlow>

source§

impl CUDA_FastFeatureDetector for Ptr<dyn CUDA_FastFeatureDetector>

source§

fn as_raw_mut_CUDA_FastFeatureDetector(&mut self) -> *mut c_void

source§

fn set_threshold(&mut self, threshold: i32) -> Result<()>

source§

fn set_max_num_points(&mut self, max_npoints: i32) -> Result<()>

source§

impl CUDA_FastFeatureDetectorConst for Ptr<dyn CUDA_FastFeatureDetector>

source§

impl CUDA_Feature2DAsync for Ptr<dyn CUDA_FastFeatureDetector>

source§

fn as_raw_mut_CUDA_Feature2DAsync(&mut self) -> *mut c_void

source§

fn detect_async( &mut self, image: &dyn ToInputArray, keypoints: &mut dyn ToOutputArray, mask: &dyn ToInputArray, stream: &mut Stream ) -> Result<()>

Detects keypoints in an image. Read more
source§

fn compute_async( &mut self, image: &dyn ToInputArray, keypoints: &mut dyn ToOutputArray, descriptors: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
source§

fn detect_and_compute_async( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut dyn ToOutputArray, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool, stream: &mut Stream ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
source§

fn convert( &mut self, gpu_keypoints: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Converts keypoints array from internal representation to standard vector.
source§

impl CUDA_Feature2DAsync for Ptr<dyn CUDA_ORB>

source§

fn as_raw_mut_CUDA_Feature2DAsync(&mut self) -> *mut c_void

source§

fn detect_async( &mut self, image: &dyn ToInputArray, keypoints: &mut dyn ToOutputArray, mask: &dyn ToInputArray, stream: &mut Stream ) -> Result<()>

Detects keypoints in an image. Read more
source§

fn compute_async( &mut self, image: &dyn ToInputArray, keypoints: &mut dyn ToOutputArray, descriptors: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
source§

fn detect_and_compute_async( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut dyn ToOutputArray, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool, stream: &mut Stream ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
source§

fn convert( &mut self, gpu_keypoints: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Converts keypoints array from internal representation to standard vector.
source§

impl CUDA_Feature2DAsyncConst for Ptr<dyn CUDA_FastFeatureDetector>

source§

impl CUDA_Feature2DAsyncConst for Ptr<dyn CUDA_ORB>

source§

impl CUDA_HoughCirclesDetector for Ptr<dyn CUDA_HoughCirclesDetector>

source§

fn as_raw_mut_CUDA_HoughCirclesDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, src: &dyn ToInputArray, circles: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Finds circles in a grayscale image using the Hough transform. Read more
source§

fn set_dp(&mut self, dp: f32) -> Result<()>

source§

fn set_min_dist(&mut self, min_dist: f32) -> Result<()>

source§

fn set_canny_threshold(&mut self, canny_threshold: i32) -> Result<()>

source§

fn set_votes_threshold(&mut self, votes_threshold: i32) -> Result<()>

source§

fn set_min_radius(&mut self, min_radius: i32) -> Result<()>

source§

fn set_max_radius(&mut self, max_radius: i32) -> Result<()>

source§

fn set_max_circles(&mut self, max_circles: i32) -> Result<()>

source§

impl CUDA_HoughCirclesDetectorConst for Ptr<dyn CUDA_HoughCirclesDetector>

source§

impl CUDA_HoughLinesDetector for Ptr<dyn CUDA_HoughLinesDetector>

source§

fn as_raw_mut_CUDA_HoughLinesDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, src: &dyn ToInputArray, lines: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Finds lines in a binary image using the classical Hough transform. Read more
source§

fn download_results( &mut self, d_lines: &dyn ToInputArray, h_lines: &mut dyn ToOutputArray, h_votes: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Downloads results from cuda::HoughLinesDetector::detect to host memory. Read more
source§

fn set_rho(&mut self, rho: f32) -> Result<()>

source§

fn set_theta(&mut self, theta: f32) -> Result<()>

source§

fn set_threshold(&mut self, threshold: i32) -> Result<()>

source§

fn set_do_sort(&mut self, do_sort: bool) -> Result<()>

source§

fn set_max_lines(&mut self, max_lines: i32) -> Result<()>

source§

impl CUDA_HoughLinesDetectorConst for Ptr<dyn CUDA_HoughLinesDetector>

source§

impl CUDA_HoughSegmentDetector for Ptr<dyn CUDA_HoughSegmentDetector>

source§

fn as_raw_mut_CUDA_HoughSegmentDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, src: &dyn ToInputArray, lines: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Finds line segments in a binary image using the probabilistic Hough transform. Read more
source§

fn set_rho(&mut self, rho: f32) -> Result<()>

source§

fn set_theta(&mut self, theta: f32) -> Result<()>

source§

fn set_min_line_length(&mut self, min_line_length: i32) -> Result<()>

source§

fn set_max_line_gap(&mut self, max_line_gap: i32) -> Result<()>

source§

fn set_max_lines(&mut self, max_lines: i32) -> Result<()>

source§

impl CUDA_HoughSegmentDetectorConst for Ptr<dyn CUDA_HoughSegmentDetector>

source§

impl CUDA_NvidiaHWOpticalFlow for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>

source§

fn as_raw_mut_CUDA_NvidiaHWOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, input_image: &dyn ToInputArray, reference_image: &dyn ToInputArray, flow: &mut dyn ToInputOutputArray, stream: &mut Stream, hint: &dyn ToInputArray, cost: &mut dyn ToOutputArray ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all buffers, contexts and device pointers.
source§

impl CUDA_NvidiaHWOpticalFlow for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>

source§

fn as_raw_mut_CUDA_NvidiaHWOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, input_image: &dyn ToInputArray, reference_image: &dyn ToInputArray, flow: &mut dyn ToInputOutputArray, stream: &mut Stream, hint: &dyn ToInputArray, cost: &mut dyn ToOutputArray ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all buffers, contexts and device pointers.
source§

impl CUDA_NvidiaHWOpticalFlowConst for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>

source§

fn as_raw_CUDA_NvidiaHWOpticalFlow(&self) -> *const c_void

source§

fn get_grid_size(&self) -> Result<i32>

Returns grid size of output buffer as per the hardware’s capability.
source§

impl CUDA_NvidiaHWOpticalFlowConst for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>

source§

fn as_raw_CUDA_NvidiaHWOpticalFlow(&self) -> *const c_void

source§

fn get_grid_size(&self) -> Result<i32>

Returns grid size of output buffer as per the hardware’s capability.
source§

impl CUDA_NvidiaOpticalFlow_1_0 for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>

source§

fn as_raw_mut_CUDA_NvidiaOpticalFlow_1_0(&mut self) -> *mut c_void

source§

fn up_sampler( &mut self, flow: &dyn ToInputArray, image_size: Size, grid_size: i32, upsampled_flow: &mut dyn ToInputOutputArray ) -> Result<()>

The NVIDIA optical flow hardware generates flow vectors at granularity gridSize, which can be queried via function getGridSize(). Upsampler() helper function converts the hardware-generated flow vectors to dense representation (1 flow vector for each pixel) using nearest neighbour upsampling method. Read more
source§

impl CUDA_NvidiaOpticalFlow_1_0Const for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>

source§

impl CUDA_NvidiaOpticalFlow_2_0 for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>

source§

fn as_raw_mut_CUDA_NvidiaOpticalFlow_2_0(&mut self) -> *mut c_void

source§

fn convert_to_float( &mut self, flow: &dyn ToInputArray, float_flow: &mut dyn ToInputOutputArray ) -> Result<()>

convertToFloat() helper function converts the hardware-generated flow vectors to floating point representation (1 flow vector for gridSize). gridSize can be queried via function getGridSize(). Read more
source§

impl CUDA_NvidiaOpticalFlow_2_0Const for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>

source§

impl CUDA_ORB for Ptr<dyn CUDA_ORB>

source§

fn as_raw_mut_CUDA_ORB(&mut self) -> *mut c_void

source§

fn set_max_features(&mut self, max_features: i32) -> Result<()>

source§

fn set_scale_factor(&mut self, scale_factor: f64) -> Result<()>

source§

fn set_n_levels(&mut self, nlevels: i32) -> Result<()>

source§

fn set_edge_threshold(&mut self, edge_threshold: i32) -> Result<()>

source§

fn set_first_level(&mut self, first_level: i32) -> Result<()>

source§

fn set_wta_k(&mut self, wta_k: i32) -> Result<()>

source§

fn set_score_type(&mut self, score_type: i32) -> Result<()>

source§

fn set_patch_size(&mut self, patch_size: i32) -> Result<()>

source§

fn set_fast_threshold(&mut self, fast_threshold: i32) -> Result<()>

source§

fn set_blur_for_descriptor(&mut self, blur_for_descriptor: bool) -> Result<()>

if true, image will be blurred before descriptors calculation
source§

impl CUDA_ORBConst for Ptr<dyn CUDA_ORB>

source§

impl CUDA_OpticalFlowDual_TVL1 for Ptr<dyn CUDA_OpticalFlowDual_TVL1>

source§

fn as_raw_mut_CUDA_OpticalFlowDual_TVL1(&mut self) -> *mut c_void

source§

fn set_tau(&mut self, tau: f64) -> Result<()>

source§

fn set_lambda(&mut self, lambda: f64) -> Result<()>

source§

fn set_gamma(&mut self, gamma: f64) -> Result<()>

source§

fn set_theta(&mut self, theta: f64) -> Result<()>

source§

fn set_num_scales(&mut self, nscales: i32) -> Result<()>

source§

fn set_num_warps(&mut self, warps: i32) -> Result<()>

source§

fn set_epsilon(&mut self, epsilon: f64) -> Result<()>

source§

fn set_num_iterations(&mut self, iterations: i32) -> Result<()>

source§

fn set_scale_step(&mut self, scale_step: f64) -> Result<()>

source§

fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()>

source§

impl CUDA_OpticalFlowDual_TVL1Const for Ptr<dyn CUDA_OpticalFlowDual_TVL1>

source§

fn as_raw_CUDA_OpticalFlowDual_TVL1(&self) -> *const c_void

source§

fn get_tau(&self) -> Result<f64>

Time step of the numerical scheme.
source§

fn get_lambda(&self) -> Result<f64>

Weight parameter for the data term, attachment parameter. This is the most relevant parameter, which determines the smoothness of the output. The smaller this parameter is, the smoother the solutions we obtain. It depends on the range of motions of the images, so its value should be adapted to each image sequence.
source§

fn get_gamma(&self) -> Result<f64>

Weight parameter for (u - v)^2, tightness parameter. It serves as a link between the attachment and the regularization terms. In theory, it should have a small value in order to maintain both parts in correspondence. The method is stable for a large range of values of this parameter.
source§

fn get_theta(&self) -> Result<f64>

parameter used for motion estimation. It adds a variable allowing for illumination variations Set this parameter to 1. if you have varying illumination. See: Chambolle et al, A First-Order Primal-Dual Algorithm for Convex Problems with Applications to Imaging Journal of Mathematical imaging and vision, may 2011 Vol 40 issue 1, pp 120-145
source§

fn get_num_scales(&self) -> Result<i32>

Number of scales used to create the pyramid of images.
source§

fn get_num_warps(&self) -> Result<i32>

Number of warpings per scale. Represents the number of times that I1(x+u0) and grad( I1(x+u0) ) are computed per scale. This is a parameter that assures the stability of the method. It also affects the running time, so it is a compromise between speed and accuracy.
source§

fn get_epsilon(&self) -> Result<f64>

Stopping criterion threshold used in the numerical scheme, which is a trade-off between precision and running time. A small value will yield more accurate solutions at the expense of a slower convergence.
source§

fn get_num_iterations(&self) -> Result<i32>

Stopping criterion iterations number used in the numerical scheme.
source§

fn get_scale_step(&self) -> Result<f64>

source§

fn get_use_initial_flow(&self) -> Result<bool>

source§

impl CUDA_SparseOpticalFlow for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>

source§

fn as_raw_mut_CUDA_SparseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, prev_img: &dyn ToInputArray, next_img: &dyn ToInputArray, prev_pts: &dyn ToInputArray, next_pts: &mut dyn ToInputOutputArray, status: &mut dyn ToOutputArray, err: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

impl CUDA_SparseOpticalFlowConst for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>

source§

impl CUDA_SparsePyrLKOpticalFlow for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>

source§

fn as_raw_mut_CUDA_SparsePyrLKOpticalFlow(&mut self) -> *mut c_void

source§

fn set_win_size(&mut self, win_size: Size) -> Result<()>

source§

fn set_max_level(&mut self, max_level: i32) -> Result<()>

source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

source§

fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()>

source§

impl CUDA_SparsePyrLKOpticalFlowConst for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>

source§

impl CUDA_StereoBM for Ptr<dyn CUDA_StereoBM>

source§

fn as_raw_mut_CUDA_StereoBM(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &dyn ToInputArray, right: &dyn ToInputArray, disparity: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

source§

impl CUDA_StereoBMConst for Ptr<dyn CUDA_StereoBM>

source§

impl CUDA_StereoBeliefPropagation for Ptr<dyn CUDA_StereoBeliefPropagation>

source§

fn as_raw_mut_CUDA_StereoBeliefPropagation(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &dyn ToInputArray, right: &dyn ToInputArray, disparity: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
source§

fn compute_1( &mut self, data: &dyn ToInputArray, disparity: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

source§

fn set_num_levels(&mut self, levels: i32) -> Result<()>

source§

fn set_max_data_term(&mut self, max_data_term: f64) -> Result<()>

source§

fn set_data_weight(&mut self, data_weight: f64) -> Result<()>

source§

fn set_max_disc_term(&mut self, max_disc_term: f64) -> Result<()>

source§

fn set_disc_single_jump(&mut self, disc_single_jump: f64) -> Result<()>

source§

fn set_msg_type(&mut self, msg_type: i32) -> Result<()>

source§

impl CUDA_StereoBeliefPropagation for Ptr<dyn CUDA_StereoConstantSpaceBP>

source§

fn as_raw_mut_CUDA_StereoBeliefPropagation(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &dyn ToInputArray, right: &dyn ToInputArray, disparity: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
source§

fn compute_1( &mut self, data: &dyn ToInputArray, disparity: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

source§

fn set_num_levels(&mut self, levels: i32) -> Result<()>

source§

fn set_max_data_term(&mut self, max_data_term: f64) -> Result<()>

source§

fn set_data_weight(&mut self, data_weight: f64) -> Result<()>

source§

fn set_max_disc_term(&mut self, max_disc_term: f64) -> Result<()>

source§

fn set_disc_single_jump(&mut self, disc_single_jump: f64) -> Result<()>

source§

fn set_msg_type(&mut self, msg_type: i32) -> Result<()>

source§

impl CUDA_StereoBeliefPropagationConst for Ptr<dyn CUDA_StereoBeliefPropagation>

source§

fn as_raw_CUDA_StereoBeliefPropagation(&self) -> *const c_void

source§

fn get_num_iters(&self) -> Result<i32>

number of BP iterations on each level
source§

fn get_num_levels(&self) -> Result<i32>

number of levels
source§

fn get_max_data_term(&self) -> Result<f64>

truncation of data cost
source§

fn get_data_weight(&self) -> Result<f64>

data weight
source§

fn get_max_disc_term(&self) -> Result<f64>

truncation of discontinuity cost
source§

fn get_disc_single_jump(&self) -> Result<f64>

discontinuity single jump
source§

fn get_msg_type(&self) -> Result<i32>

type for messages (CV_16SC1 or CV_32FC1)
source§

impl CUDA_StereoBeliefPropagationConst for Ptr<dyn CUDA_StereoConstantSpaceBP>

source§

fn as_raw_CUDA_StereoBeliefPropagation(&self) -> *const c_void

source§

fn get_num_iters(&self) -> Result<i32>

number of BP iterations on each level
source§

fn get_num_levels(&self) -> Result<i32>

number of levels
source§

fn get_max_data_term(&self) -> Result<f64>

truncation of data cost
source§

fn get_data_weight(&self) -> Result<f64>

data weight
source§

fn get_max_disc_term(&self) -> Result<f64>

truncation of discontinuity cost
source§

fn get_disc_single_jump(&self) -> Result<f64>

discontinuity single jump
source§

fn get_msg_type(&self) -> Result<i32>

type for messages (CV_16SC1 or CV_32FC1)
source§

impl CUDA_StereoConstantSpaceBP for Ptr<dyn CUDA_StereoConstantSpaceBP>

source§

fn as_raw_mut_CUDA_StereoConstantSpaceBP(&mut self) -> *mut c_void

source§

fn set_nr_plane(&mut self, nr_plane: i32) -> Result<()>

source§

fn set_use_local_init_data_cost( &mut self, use_local_init_data_cost: bool ) -> Result<()>

source§

impl CUDA_StereoConstantSpaceBPConst for Ptr<dyn CUDA_StereoConstantSpaceBP>

source§

fn as_raw_CUDA_StereoConstantSpaceBP(&self) -> *const c_void

source§

fn get_nr_plane(&self) -> Result<i32>

number of active disparity on the first level
source§

fn get_use_local_init_data_cost(&self) -> Result<bool>

source§

impl CUDA_StereoSGM for Ptr<dyn CUDA_StereoSGM>

source§

fn as_raw_mut_CUDA_StereoSGM(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &dyn ToInputArray, right: &dyn ToInputArray, disparity: &mut dyn ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn compute_with_stream( &mut self, left: &dyn ToInputArray, right: &dyn ToInputArray, disparity: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Computes disparity map with specified CUDA Stream Read more
source§

impl CUDA_StereoSGMConst for Ptr<dyn CUDA_StereoSGM>

source§

impl CUDA_TemplateMatching for Ptr<dyn CUDA_TemplateMatching>

source§

fn as_raw_mut_CUDA_TemplateMatching(&mut self) -> *mut c_void

source§

fn match_( &mut self, image: &dyn ToInputArray, templ: &dyn ToInputArray, result: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Computes a proximity map for a raster template and an image where the template is searched for. Read more
source§

impl CUDA_TemplateMatchingConst for Ptr<dyn CUDA_TemplateMatching>

source§

impl CalibrateCRF for Ptr<dyn CalibrateDebevec>

source§

fn as_raw_mut_CalibrateCRF(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, times: &dyn ToInputArray ) -> Result<()>

Recovers inverse camera response. Read more
source§

impl CalibrateCRF for Ptr<dyn CalibrateRobertson>

source§

fn as_raw_mut_CalibrateCRF(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, times: &dyn ToInputArray ) -> Result<()>

Recovers inverse camera response. Read more
source§

impl CalibrateCRFConst for Ptr<dyn CalibrateDebevec>

source§

impl CalibrateCRFConst for Ptr<dyn CalibrateRobertson>

source§

impl CalibrateDebevec for Ptr<dyn CalibrateDebevec>

source§

fn as_raw_mut_CalibrateDebevec(&mut self) -> *mut c_void

source§

fn set_lambda(&mut self, lambda: f32) -> Result<()>

source§

fn set_samples(&mut self, samples: i32) -> Result<()>

source§

fn set_random(&mut self, random: bool) -> Result<()>

source§

impl CalibrateDebevecConst for Ptr<dyn CalibrateDebevec>

source§

impl CalibrateRobertson for Ptr<dyn CalibrateRobertson>

source§

fn as_raw_mut_CalibrateRobertson(&mut self) -> *mut c_void

source§

fn set_max_iter(&mut self, max_iter: i32) -> Result<()>

source§

fn set_threshold(&mut self, threshold: f32) -> Result<()>

source§

impl CalibrateRobertsonConst for Ptr<dyn CalibrateRobertson>

source§

impl CascadeClassifier for Ptr<dyn CascadeClassifier>

source§

fn as_raw_mut_CascadeClassifier(&mut self) -> *mut c_void

source§

fn set_max_object_size(&mut self, max_object_size: Size) -> Result<()>

Maximum possible object size. Objects larger than that are ignored. Used for second signature and supported only for LBP cascades.
source§

fn set_min_object_size(&mut self, min_size: Size) -> Result<()>

Minimum possible object size. Objects smaller than that are ignored.
source§

fn set_scale_factor(&mut self, scale_factor: f64) -> Result<()>

Parameter specifying how much the image size is reduced at each image scale.
source§

fn set_min_neighbors(&mut self, min_neighbors: i32) -> Result<()>

Parameter specifying how many neighbors each candidate rectangle should have to retain it.
source§

fn set_find_largest_object(&mut self, find_largest_object: bool) -> Result<()>

source§

fn get_find_largest_object(&mut self) -> Result<bool>

source§

fn set_max_num_objects(&mut self, max_num_objects: i32) -> Result<()>

source§

fn detect_multi_scale( &mut self, image: &dyn ToInputArray, objects: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Detects objects of different sizes in the input image. Read more
source§

fn convert( &mut self, gpu_objects: &mut dyn ToOutputArray, objects: &mut Vector<Rect> ) -> Result<()>

Converts objects array from internal representation to standard vector. Read more
source§

impl CascadeClassifierConst for Ptr<dyn CascadeClassifier>

source§

impl CeilLayerTrait for Ptr<CeilLayer>

source§

impl CeilLayerTraitConst for Ptr<CeilLayer>

source§

impl CeluLayerTrait for Ptr<CeluLayer>

source§

impl CeluLayerTraitConst for Ptr<CeluLayer>

source§

impl CharucoBoardTrait for Ptr<CharucoBoard>

source§

impl CharucoBoardTraitConst for Ptr<CharucoBoard>

source§

fn as_raw_CharucoBoard(&self) -> *const c_void

source§

fn get_chessboard_size(&self) -> Result<Size>

source§

fn get_square_length(&self) -> Result<f32>

source§

fn get_marker_length(&self) -> Result<f32>

source§

fn get_chessboard_corners(&self) -> Result<Vector<Point3f>>

get CharucoBoard::chessboardCorners
source§

fn get_nearest_marker_idx(&self) -> Result<Vector<Vector<i32>>>

get CharucoBoard::nearestMarkerIdx
source§

fn get_nearest_marker_corners(&self) -> Result<Vector<Vector<i32>>>

get CharucoBoard::nearestMarkerCorners
source§

fn check_charuco_corners_collinear( &self, charuco_ids: &dyn ToInputArray ) -> Result<bool>

check whether the ChArUco markers are collinear Read more
source§

impl ChiHistogramCostExtractor for Ptr<dyn ChiHistogramCostExtractor>

source§

impl ChiHistogramCostExtractorConst for Ptr<dyn ChiHistogramCostExtractor>

source§

impl ColorAverageInpainterTrait for Ptr<ColorAverageInpainter>

source§

fn as_raw_mut_ColorAverageInpainter(&mut self) -> *mut c_void

source§

fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>

source§

impl ColorAverageInpainterTraitConst for Ptr<ColorAverageInpainter>

source§

impl ColorInpainterTrait for Ptr<ColorInpainter>

source§

fn as_raw_mut_ColorInpainter(&mut self) -> *mut c_void

source§

fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>

source§

impl ColorInpainterTraitConst for Ptr<ColorInpainter>

source§

impl ColorMomentHashTrait for Ptr<ColorMomentHash>

source§

impl ColorMomentHashTraitConst for Ptr<ColorMomentHash>

source§

impl ColoredKinfu_ColoredKinFu for Ptr<dyn ColoredKinfu_ColoredKinFu>

source§

fn as_raw_mut_ColoredKinfu_ColoredKinFu(&mut self) -> *mut c_void

source§

fn reset(&mut self) -> Result<()>

Resets the algorithm Read more
source§

fn update( &mut self, depth: &dyn ToInputArray, rgb: &dyn ToInputArray ) -> Result<bool>

Process next depth frame Read more
source§

impl ColoredKinfu_ColoredKinFuConst for Ptr<dyn ColoredKinfu_ColoredKinFu>

source§

fn as_raw_ColoredKinfu_ColoredKinFu(&self) -> *const c_void

source§

fn get_params(&self) -> Result<ColoredKinfu_Params>

Get current parameters
source§

fn render(&self, image: &mut dyn ToOutputArray) -> Result<()>

Renders a volume into an image Read more
source§

fn render_1( &self, image: &mut dyn ToOutputArray, camera_pose: Matx44f ) -> Result<()>

Renders a volume into an image Read more
source§

fn get_cloud( &self, points: &mut dyn ToOutputArray, normals: &mut dyn ToOutputArray, colors: &mut dyn ToOutputArray ) -> Result<()>

Gets points, normals and colors of current 3d mesh Read more
source§

fn get_points(&self, points: &mut dyn ToOutputArray) -> Result<()>

Gets points of current 3d mesh Read more
source§

fn get_normals( &self, points: &dyn ToInputArray, normals: &mut dyn ToOutputArray ) -> Result<()>

Calculates normals for given points Read more
source§

fn get_pose(&self) -> Result<Affine3f>

Get current pose in voxel space
source§

impl ColoredKinfu_ParamsTrait for Ptr<ColoredKinfu_Params>

source§

fn as_raw_mut_ColoredKinfu_Params(&mut self) -> *mut c_void

source§

fn set_frame_size(&mut self, val: Size)

frame size in pixels
source§

fn set_rgb_frame_size(&mut self, val: Size)

rgb frame size in pixels
source§

fn set_volume_type(&mut self, val: Kinfu_VolumeType)

source§

fn set_intr(&mut self, val: Matx33f)

camera intrinsics
source§

fn set_rgb_intr(&mut self, val: Matx33f)

rgb camera intrinsics
source§

fn set_depth_factor(&mut self, val: f32)

pre-scale per 1 meter for input values Read more
source§

fn set_bilateral_sigma_depth(&mut self, val: f32)

Depth sigma in meters for bilateral smooth
source§

fn set_bilateral_sigma_spatial(&mut self, val: f32)

Spatial sigma in pixels for bilateral smooth
source§

fn set_bilateral_kernel_size(&mut self, val: i32)

Kernel size in pixels for bilateral smooth
source§

fn set_pyramid_levels(&mut self, val: i32)

Number of pyramid levels for ICP
source§

fn set_volume_dims(&mut self, val: Vec3i)

Resolution of voxel space Read more
source§

fn set_voxel_size(&mut self, val: f32)

Size of voxel in meters
source§

fn set_tsdf_min_camera_movement(&mut self, val: f32)

Minimal camera movement in meters Read more
source§

fn set_volume_pose(&mut self, val: Affine3f)

initial volume pose in meters
source§

fn set_tsdf_trunc_dist(&mut self, val: f32)

distance to truncate in meters Read more
source§

fn set_tsdf_max_weight(&mut self, val: i32)

max number of frames per voxel Read more
source§

fn set_raycast_step_factor(&mut self, val: f32)

A length of one raycast step Read more
source§

fn set_light_pose(&mut self, val: Vec3f)

light pose for rendering in meters
source§

fn set_icp_dist_thresh(&mut self, val: f32)

distance theshold for ICP in meters
source§

fn set_icp_angle_thresh(&mut self, val: f32)

angle threshold for ICP in radians
source§

fn set_icp_iterations(&mut self, val: Vector<i32>)

number of ICP iterations for each pyramid level
source§

fn set_truncate_threshold(&mut self, val: f32)

Threshold for depth truncation in meters Read more
source§

fn set_initial_volume_pose(&mut self, r: Matx33f, t: Vec3f) -> Result<()>

Set Initial Volume Pose Sets the initial pose of the TSDF volume. Read more
source§

fn set_initial_volume_pose_1(&mut self, homogen_tf: Matx44f) -> Result<()>

Set Initial Volume Pose Sets the initial pose of the TSDF volume. Read more
source§

impl ColoredKinfu_ParamsTraitConst for Ptr<ColoredKinfu_Params>

source§

fn as_raw_ColoredKinfu_Params(&self) -> *const c_void

source§

fn frame_size(&self) -> Size

frame size in pixels
source§

fn rgb_frame_size(&self) -> Size

rgb frame size in pixels
source§

fn volume_type(&self) -> Kinfu_VolumeType

source§

fn intr(&self) -> Matx33f

camera intrinsics
source§

fn rgb_intr(&self) -> Matx33f

rgb camera intrinsics
source§

fn depth_factor(&self) -> f32

pre-scale per 1 meter for input values Read more
source§

fn bilateral_sigma_depth(&self) -> f32

Depth sigma in meters for bilateral smooth
source§

fn bilateral_sigma_spatial(&self) -> f32

Spatial sigma in pixels for bilateral smooth
source§

fn bilateral_kernel_size(&self) -> i32

Kernel size in pixels for bilateral smooth
source§

fn pyramid_levels(&self) -> i32

Number of pyramid levels for ICP
source§

fn volume_dims(&self) -> Vec3i

Resolution of voxel space Read more
source§

fn voxel_size(&self) -> f32

Size of voxel in meters
source§

fn tsdf_min_camera_movement(&self) -> f32

Minimal camera movement in meters Read more
source§

fn volume_pose(&self) -> Affine3f

initial volume pose in meters
source§

fn tsdf_trunc_dist(&self) -> f32

distance to truncate in meters Read more
source§

fn tsdf_max_weight(&self) -> i32

max number of frames per voxel Read more
source§

fn raycast_step_factor(&self) -> f32

A length of one raycast step Read more
source§

fn light_pose(&self) -> Vec3f

light pose for rendering in meters
source§

fn icp_dist_thresh(&self) -> f32

distance theshold for ICP in meters
source§

fn icp_angle_thresh(&self) -> f32

angle threshold for ICP in radians
source§

fn icp_iterations(&self) -> Vector<i32>

number of ICP iterations for each pyramid level
source§

fn truncate_threshold(&self) -> f32

Threshold for depth truncation in meters Read more
source§

impl CompressedRectilinearPortraitWarperTrait for Ptr<CompressedRectilinearPortraitWarper>

source§

impl CompressedRectilinearPortraitWarperTraitConst for Ptr<CompressedRectilinearPortraitWarper>

source§

impl CompressedRectilinearWarperTrait for Ptr<CompressedRectilinearWarper>

source§

impl CompressedRectilinearWarperTraitConst for Ptr<CompressedRectilinearWarper>

source§

impl ConcatLayerTrait for Ptr<ConcatLayer>

source§

fn as_raw_mut_ConcatLayer(&mut self) -> *mut c_void

source§

fn set_axis(&mut self, val: i32)

source§

fn set_padding(&mut self, val: bool)

Add zero padding in case of concatenation of blobs with different spatial sizes. Read more
source§

fn set_padding_value(&mut self, val: i32)

source§

impl ConcatLayerTraitConst for Ptr<ConcatLayer>

source§

fn as_raw_ConcatLayer(&self) -> *const c_void

source§

fn axis(&self) -> i32

source§

fn padding(&self) -> bool

Add zero padding in case of concatenation of blobs with different spatial sizes. Read more
source§

fn padding_value(&self) -> i32

source§

impl ConjGradSolver for Ptr<dyn ConjGradSolver>

source§

impl ConjGradSolverConst for Ptr<dyn ConjGradSolver>

source§

impl ConsistentMosaicInpainterTrait for Ptr<ConsistentMosaicInpainter>

source§

fn as_raw_mut_ConsistentMosaicInpainter(&mut self) -> *mut c_void

source§

fn set_stdev_thresh(&mut self, val: f32) -> Result<()>

source§

fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>

source§

impl ConsistentMosaicInpainterTraitConst for Ptr<ConsistentMosaicInpainter>

source§

impl ContourFittingTrait for Ptr<ContourFitting>

source§

fn as_raw_mut_ContourFitting(&mut self) -> *mut c_void

source§

fn estimate_transformation( &mut self, src: &dyn ToInputArray, dst: &dyn ToInputArray, alpha_phi_st: &mut dyn ToOutputArray, dist: &mut f64, fd_contour: bool ) -> Result<()>

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more
source§

fn estimate_transformation_1( &mut self, src: &dyn ToInputArray, dst: &dyn ToInputArray, alpha_phi_st: &mut dyn ToOutputArray, dist: &mut f64, fd_contour: bool ) -> Result<()>

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more
source§

fn set_ctr_size(&mut self, n: i32) -> Result<()>

set number of Fourier descriptors used in estimateTransformation Read more
source§

fn set_fd_size(&mut self, n: i32) -> Result<()>

set number of Fourier descriptors when estimateTransformation used vector Read more
source§

fn get_ctr_size(&mut self) -> Result<i32>

Returns Read more
source§

fn get_fd_size(&mut self) -> Result<i32>

Returns Read more
source§

impl ContourFittingTraitConst for Ptr<ContourFitting>

source§

impl Convolution for Ptr<dyn Convolution>

source§

fn as_raw_mut_Convolution(&mut self) -> *mut c_void

source§

fn convolve( &mut self, image: &dyn ToInputArray, templ: &dyn ToInputArray, result: &mut dyn ToOutputArray, ccorr: bool, stream: &mut Stream ) -> Result<()>

Computes a convolution (or cross-correlation) of two images. Read more
source§

impl ConvolutionConst for Ptr<dyn Convolution>

source§

impl CorrelationLayerTrait for Ptr<CorrelationLayer>

source§

impl CorrelationLayerTraitConst for Ptr<CorrelationLayer>

source§

impl CosLayerTrait for Ptr<CosLayer>

source§

impl CosLayerTraitConst for Ptr<CosLayer>

source§

impl CoshLayerTrait for Ptr<CoshLayer>

source§

impl CoshLayerTraitConst for Ptr<CoshLayer>

source§

impl CumSumLayerTrait for Ptr<CumSumLayer>

source§

fn as_raw_mut_CumSumLayer(&mut self) -> *mut c_void

source§

fn set_exclusive(&mut self, val: i32)

source§

fn set_reverse(&mut self, val: i32)

source§

impl CumSumLayerTraitConst for Ptr<CumSumLayer>

source§

impl CylindricalWarperGpuTrait for Ptr<CylindricalWarperGpu>

source§

impl CylindricalWarperGpuTraitConst for Ptr<CylindricalWarperGpu>

source§

impl CylindricalWarperTrait for Ptr<CylindricalWarper>

source§

impl CylindricalWarperTraitConst for Ptr<CylindricalWarper>

source§

impl DAISY for Ptr<dyn DAISY>

source§

fn as_raw_mut_DAISY(&mut self) -> *mut c_void

source§

fn set_radius(&mut self, radius: f32) -> Result<()>

source§

fn set_q_radius(&mut self, q_radius: i32) -> Result<()>

source§

fn set_q_theta(&mut self, q_theta: i32) -> Result<()>

source§

fn set_q_hist(&mut self, q_hist: i32) -> Result<()>

source§

fn set_norm(&mut self, norm: i32) -> Result<()>

source§

fn set_h(&mut self, h: &dyn ToInputArray) -> Result<()>

source§

fn set_interpolation(&mut self, interpolation: bool) -> Result<()>

source§

fn set_use_orientation(&mut self, use_orientation: bool) -> Result<()>

source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
source§

fn compute_1( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

source§

fn compute_2( &mut self, image: &dyn ToInputArray, roi: Rect, descriptors: &mut dyn ToOutputArray ) -> Result<()>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
source§

fn compute_3( &mut self, image: &dyn ToInputArray, descriptors: &mut dyn ToOutputArray ) -> Result<()>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
source§

impl DAISYConst for Ptr<dyn DAISY>

source§

fn as_raw_DAISY(&self) -> *const c_void

source§

fn get_radius(&self) -> Result<f32>

source§

fn get_q_radius(&self) -> Result<i32>

source§

fn get_q_theta(&self) -> Result<i32>

source§

fn get_q_hist(&self) -> Result<i32>

source§

fn get_norm(&self) -> Result<i32>

source§

fn get_h(&self) -> Result<Mat>

source§

fn get_interpolation(&self) -> Result<bool>

source§

fn get_use_orientation(&self) -> Result<bool>

source§

fn get_default_name(&self) -> Result<String>

source§

fn get_descriptor( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32 ) -> Result<()>

Parameters Read more
source§

fn get_descriptor_1( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32, h: &mut f64 ) -> Result<bool>

Parameters Read more
source§

fn get_unnormalized_descriptor( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32 ) -> Result<()>

Parameters Read more
source§

fn get_unnormalized_descriptor_1( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32, h: &mut f64 ) -> Result<bool>

Parameters Read more
source§

impl DFT for Ptr<dyn DFT>

source§

fn as_raw_mut_DFT(&mut self) -> *mut c_void

source§

fn compute( &mut self, image: &dyn ToInputArray, result: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Computes an FFT of a given image. Read more
source§

impl DFTConst for Ptr<dyn DFT>

source§

impl DISOpticalFlow for Ptr<dyn DISOpticalFlow>

source§

fn as_raw_mut_DISOpticalFlow(&mut self) -> *mut c_void

source§

fn set_finest_scale(&mut self, val: i32) -> Result<()>

Finest level of the Gaussian pyramid on which the flow is computed (zero level corresponds to the original image resolution). The final flow is obtained by bilinear upscaling. Read more
source§

fn set_patch_size(&mut self, val: i32) -> Result<()>

Size of an image patch for matching (in pixels). Normally, default 8x8 patches work well enough in most cases. Read more
source§

fn set_patch_stride(&mut self, val: i32) -> Result<()>

Stride between neighbor patches. Must be less than patch size. Lower values correspond to higher flow quality. Read more
source§

fn set_gradient_descent_iterations(&mut self, val: i32) -> Result<()>

Maximum number of gradient descent iterations in the patch inverse search stage. Higher values may improve quality in some cases. Read more
source§

fn set_variational_refinement_iterations(&mut self, val: i32) -> Result<()>

Maximum number of gradient descent iterations in the patch inverse search stage. Higher values may improve quality in some cases. Read more
source§

fn set_variational_refinement_alpha(&mut self, val: f32) -> Result<()>

Weight of the smoothness term Read more
source§

fn set_variational_refinement_delta(&mut self, val: f32) -> Result<()>

Weight of the color constancy term Read more
source§

fn set_variational_refinement_gamma(&mut self, val: f32) -> Result<()>

Weight of the gradient constancy term Read more
source§

fn set_use_mean_normalization(&mut self, val: bool) -> Result<()>

Whether to use mean-normalization of patches when computing patch distance. It is turned on by default as it typically provides a noticeable quality boost because of increased robustness to illumination variations. Turn it off if you are certain that your sequence doesn’t contain any changes in illumination. Read more
source§

fn set_use_spatial_propagation(&mut self, val: bool) -> Result<()>

Whether to use spatial propagation of good optical flow vectors. This option is turned on by default, as it tends to work better on average and can sometimes help recover from major errors introduced by the coarse-to-fine scheme employed by the DIS optical flow algorithm. Turning this option off can make the output flow field a bit smoother, however. Read more
source§

impl DISOpticalFlowConst for Ptr<dyn DISOpticalFlow>

source§

fn as_raw_DISOpticalFlow(&self) -> *const c_void

source§

fn get_finest_scale(&self) -> Result<i32>

Finest level of the Gaussian pyramid on which the flow is computed (zero level corresponds to the original image resolution). The final flow is obtained by bilinear upscaling. Read more
source§

fn get_patch_size(&self) -> Result<i32>

Size of an image patch for matching (in pixels). Normally, default 8x8 patches work well enough in most cases. Read more
source§

fn get_patch_stride(&self) -> Result<i32>

Stride between neighbor patches. Must be less than patch size. Lower values correspond to higher flow quality. Read more
source§

fn get_gradient_descent_iterations(&self) -> Result<i32>

Maximum number of gradient descent iterations in the patch inverse search stage. Higher values may improve quality in some cases. Read more
source§

fn get_variational_refinement_iterations(&self) -> Result<i32>

Number of fixed point iterations of variational refinement per scale. Set to zero to disable variational refinement completely. Higher values will typically result in more smooth and high-quality flow. Read more
source§

fn get_variational_refinement_alpha(&self) -> Result<f32>

Weight of the smoothness term Read more
source§

fn get_variational_refinement_delta(&self) -> Result<f32>

Weight of the color constancy term Read more
source§

fn get_variational_refinement_gamma(&self) -> Result<f32>

Weight of the gradient constancy term Read more
source§

fn get_use_mean_normalization(&self) -> Result<bool>

Whether to use mean-normalization of patches when computing patch distance. It is turned on by default as it typically provides a noticeable quality boost because of increased robustness to illumination variations. Turn it off if you are certain that your sequence doesn’t contain any changes in illumination. Read more
source§

fn get_use_spatial_propagation(&self) -> Result<bool>

Whether to use spatial propagation of good optical flow vectors. This option is turned on by default, as it tends to work better on average and can sometimes help recover from major errors introduced by the coarse-to-fine scheme employed by the DIS optical flow algorithm. Turning this option off can make the output flow field a bit smoother, however. Read more
source§

impl DPMDetector for Ptr<dyn DPMDetector>

source§

fn as_raw_mut_DPMDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &mut Mat, objects: &mut Vector<DPMDetector_ObjectDetection> ) -> Result<()>

Find rectangular regions in the given image that are likely to contain objects of loaded classes (models) and corresponding confidence levels. Read more
source§

impl DPMDetectorConst for Ptr<dyn DPMDetector>

source§

fn as_raw_DPMDetector(&self) -> *const c_void

source§

fn is_empty(&self) -> Result<bool>

source§

fn get_class_names(&self) -> Result<Vector<String>>

Return the class (model) names that were passed in constructor or method load or extracted from models filenames in those methods.
source§

fn get_class_count(&self) -> Result<size_t>

Return a count of loaded models (classes).
source§

impl DTFilter for Ptr<dyn DTFilter>

source§

fn as_raw_mut_DTFilter(&mut self) -> *mut c_void

source§

fn filter( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, d_depth: i32 ) -> Result<()>

Produce domain transform filtering operation on source image. Read more
source§

impl DTFilterConst for Ptr<dyn DTFilter>

source§

impl DTrees for Ptr<dyn Boost>

source§

fn as_raw_mut_DTrees(&mut self) -> *mut c_void

source§

fn set_max_categories(&mut self, val: i32) -> Result<()>

Cluster possible values of a categorical variable into K<=maxCategories clusters to find a suboptimal split. If a discrete variable, on which the training procedure tries to make a split, takes more than maxCategories values, the precise best subset estimation may take a very long time because the algorithm is exponential. Instead, many decision trees engines (including our implementation) try to find sub-optimal split in this case by clustering all the samples into maxCategories clusters that is some categories are merged together. The clustering is applied only in n > 2-class classification problems for categorical variables with N > max_categories possible values. In case of regression and 2-class classification the optimal split can be found efficiently without employing clustering, thus the parameter is not used in these cases. Default value is 10. Read more
source§

fn set_max_depth(&mut self, val: i32) -> Result<()>

The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met (see the outline of the training procedure [ml_intro_trees] “here”), and/or if the tree is pruned. Default value is INT_MAX. Read more
source§

fn set_min_sample_count(&mut self, val: i32) -> Result<()>

If the number of samples in a node is less than this parameter then the node will not be split. Read more
source§

fn set_cv_folds(&mut self, val: i32) -> Result<()>

If CVFolds > 1 then algorithms prunes the built decision tree using K-fold cross-validation procedure where K is equal to CVFolds. Default value is 10. Read more
source§

fn set_use_surrogates(&mut self, val: bool) -> Result<()>

If true then surrogate splits will be built. These splits allow to work with missing data and compute variable importance correctly. Default value is false. Read more
source§

fn set_use1_se_rule(&mut self, val: bool) -> Result<()>

If true then a pruning will be harsher. This will make a tree more compact and more resistant to the training data noise but a bit less accurate. Default value is true. Read more
source§

fn set_truncate_pruned_tree(&mut self, val: bool) -> Result<()>

If true then pruned branches are physically removed from the tree. Otherwise they are retained and it is possible to get results from the original unpruned (or pruned less aggressively) tree. Default value is true. Read more
source§

fn set_regression_accuracy(&mut self, val: f32) -> Result<()>

Termination criteria for regression trees. If all absolute differences between an estimated value in a node and values of train samples in this node are less than this parameter then the node will not be split further. Default value is 0.01f Read more
source§

fn set_priors(&mut self, val: &Mat) -> Result<()>

The array of a priori class probabilities, sorted by the class label value. Read more
source§

impl DTrees for Ptr<dyn DTrees>

source§

fn as_raw_mut_DTrees(&mut self) -> *mut c_void

source§

fn set_max_categories(&mut self, val: i32) -> Result<()>

Cluster possible values of a categorical variable into K<=maxCategories clusters to find a suboptimal split. If a discrete variable, on which the training procedure tries to make a split, takes more than maxCategories values, the precise best subset estimation may take a very long time because the algorithm is exponential. Instead, many decision trees engines (including our implementation) try to find sub-optimal split in this case by clustering all the samples into maxCategories clusters that is some categories are merged together. The clustering is applied only in n > 2-class classification problems for categorical variables with N > max_categories possible values. In case of regression and 2-class classification the optimal split can be found efficiently without employing clustering, thus the parameter is not used in these cases. Default value is 10. Read more
source§

fn set_max_depth(&mut self, val: i32) -> Result<()>

The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met (see the outline of the training procedure [ml_intro_trees] “here”), and/or if the tree is pruned. Default value is INT_MAX. Read more
source§

fn set_min_sample_count(&mut self, val: i32) -> Result<()>

If the number of samples in a node is less than this parameter then the node will not be split. Read more
source§

fn set_cv_folds(&mut self, val: i32) -> Result<()>

If CVFolds > 1 then algorithms prunes the built decision tree using K-fold cross-validation procedure where K is equal to CVFolds. Default value is 10. Read more
source§

fn set_use_surrogates(&mut self, val: bool) -> Result<()>

If true then surrogate splits will be built. These splits allow to work with missing data and compute variable importance correctly. Default value is false. Read more
source§

fn set_use1_se_rule(&mut self, val: bool) -> Result<()>

If true then a pruning will be harsher. This will make a tree more compact and more resistant to the training data noise but a bit less accurate. Default value is true. Read more
source§

fn set_truncate_pruned_tree(&mut self, val: bool) -> Result<()>

If true then pruned branches are physically removed from the tree. Otherwise they are retained and it is possible to get results from the original unpruned (or pruned less aggressively) tree. Default value is true. Read more
source§

fn set_regression_accuracy(&mut self, val: f32) -> Result<()>

Termination criteria for regression trees. If all absolute differences between an estimated value in a node and values of train samples in this node are less than this parameter then the node will not be split further. Default value is 0.01f Read more
source§

fn set_priors(&mut self, val: &Mat) -> Result<()>

The array of a priori class probabilities, sorted by the class label value. Read more
source§

impl DTrees for Ptr<dyn RTrees>

source§

fn as_raw_mut_DTrees(&mut self) -> *mut c_void

source§

fn set_max_categories(&mut self, val: i32) -> Result<()>

Cluster possible values of a categorical variable into K<=maxCategories clusters to find a suboptimal split. If a discrete variable, on which the training procedure tries to make a split, takes more than maxCategories values, the precise best subset estimation may take a very long time because the algorithm is exponential. Instead, many decision trees engines (including our implementation) try to find sub-optimal split in this case by clustering all the samples into maxCategories clusters that is some categories are merged together. The clustering is applied only in n > 2-class classification problems for categorical variables with N > max_categories possible values. In case of regression and 2-class classification the optimal split can be found efficiently without employing clustering, thus the parameter is not used in these cases. Default value is 10. Read more
source§

fn set_max_depth(&mut self, val: i32) -> Result<()>

The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met (see the outline of the training procedure [ml_intro_trees] “here”), and/or if the tree is pruned. Default value is INT_MAX. Read more
source§

fn set_min_sample_count(&mut self, val: i32) -> Result<()>

If the number of samples in a node is less than this parameter then the node will not be split. Read more
source§

fn set_cv_folds(&mut self, val: i32) -> Result<()>

If CVFolds > 1 then algorithms prunes the built decision tree using K-fold cross-validation procedure where K is equal to CVFolds. Default value is 10. Read more
source§

fn set_use_surrogates(&mut self, val: bool) -> Result<()>

If true then surrogate splits will be built. These splits allow to work with missing data and compute variable importance correctly. Default value is false. Read more
source§

fn set_use1_se_rule(&mut self, val: bool) -> Result<()>

If true then a pruning will be harsher. This will make a tree more compact and more resistant to the training data noise but a bit less accurate. Default value is true. Read more
source§

fn set_truncate_pruned_tree(&mut self, val: bool) -> Result<()>

If true then pruned branches are physically removed from the tree. Otherwise they are retained and it is possible to get results from the original unpruned (or pruned less aggressively) tree. Default value is true. Read more
source§

fn set_regression_accuracy(&mut self, val: f32) -> Result<()>

Termination criteria for regression trees. If all absolute differences between an estimated value in a node and values of train samples in this node are less than this parameter then the node will not be split further. Default value is 0.01f Read more
source§

fn set_priors(&mut self, val: &Mat) -> Result<()>

The array of a priori class probabilities, sorted by the class label value. Read more
source§

impl DTreesConst for Ptr<dyn Boost>

source§

fn as_raw_DTrees(&self) -> *const c_void

source§

fn get_max_categories(&self) -> Result<i32>

Cluster possible values of a categorical variable into K<=maxCategories clusters to find a suboptimal split. If a discrete variable, on which the training procedure tries to make a split, takes more than maxCategories values, the precise best subset estimation may take a very long time because the algorithm is exponential. Instead, many decision trees engines (including our implementation) try to find sub-optimal split in this case by clustering all the samples into maxCategories clusters that is some categories are merged together. The clustering is applied only in n > 2-class classification problems for categorical variables with N > max_categories possible values. In case of regression and 2-class classification the optimal split can be found efficiently without employing clustering, thus the parameter is not used in these cases. Default value is 10. Read more
source§

fn get_max_depth(&self) -> Result<i32>

The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met (see the outline of the training procedure [ml_intro_trees] “here”), and/or if the tree is pruned. Default value is INT_MAX. Read more
source§

fn get_min_sample_count(&self) -> Result<i32>

If the number of samples in a node is less than this parameter then the node will not be split. Read more
source§

fn get_cv_folds(&self) -> Result<i32>

If CVFolds > 1 then algorithms prunes the built decision tree using K-fold cross-validation procedure where K is equal to CVFolds. Default value is 10. Read more
source§

fn get_use_surrogates(&self) -> Result<bool>

If true then surrogate splits will be built. These splits allow to work with missing data and compute variable importance correctly. Default value is false. Read more
source§

fn get_use1_se_rule(&self) -> Result<bool>

If true then a pruning will be harsher. This will make a tree more compact and more resistant to the training data noise but a bit less accurate. Default value is true. Read more
source§

fn get_truncate_pruned_tree(&self) -> Result<bool>

If true then pruned branches are physically removed from the tree. Otherwise they are retained and it is possible to get results from the original unpruned (or pruned less aggressively) tree. Default value is true. Read more
source§

fn get_regression_accuracy(&self) -> Result<f32>

Termination criteria for regression trees. If all absolute differences between an estimated value in a node and values of train samples in this node are less than this parameter then the node will not be split further. Default value is 0.01f Read more
source§

fn get_priors(&self) -> Result<Mat>

The array of a priori class probabilities, sorted by the class label value. Read more
source§

fn get_roots(&self) -> Result<Vector<i32>>

Returns indices of root nodes
source§

fn get_nodes(&self) -> Result<Vector<DTrees_Node>>

Returns all the nodes Read more
source§

fn get_splits(&self) -> Result<Vector<DTrees_Split>>

Returns all the splits Read more
source§

fn get_subsets(&self) -> Result<Vector<i32>>

Returns all the bitsets for categorical splits Read more
source§

impl DTreesConst for Ptr<dyn DTrees>

source§

fn as_raw_DTrees(&self) -> *const c_void

source§

fn get_max_categories(&self) -> Result<i32>

Cluster possible values of a categorical variable into K<=maxCategories clusters to find a suboptimal split. If a discrete variable, on which the training procedure tries to make a split, takes more than maxCategories values, the precise best subset estimation may take a very long time because the algorithm is exponential. Instead, many decision trees engines (including our implementation) try to find sub-optimal split in this case by clustering all the samples into maxCategories clusters that is some categories are merged together. The clustering is applied only in n > 2-class classification problems for categorical variables with N > max_categories possible values. In case of regression and 2-class classification the optimal split can be found efficiently without employing clustering, thus the parameter is not used in these cases. Default value is 10. Read more
source§

fn get_max_depth(&self) -> Result<i32>

The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met (see the outline of the training procedure [ml_intro_trees] “here”), and/or if the tree is pruned. Default value is INT_MAX. Read more
source§

fn get_min_sample_count(&self) -> Result<i32>

If the number of samples in a node is less than this parameter then the node will not be split. Read more
source§

fn get_cv_folds(&self) -> Result<i32>

If CVFolds > 1 then algorithms prunes the built decision tree using K-fold cross-validation procedure where K is equal to CVFolds. Default value is 10. Read more
source§

fn get_use_surrogates(&self) -> Result<bool>

If true then surrogate splits will be built. These splits allow to work with missing data and compute variable importance correctly. Default value is false. Read more
source§

fn get_use1_se_rule(&self) -> Result<bool>

If true then a pruning will be harsher. This will make a tree more compact and more resistant to the training data noise but a bit less accurate. Default value is true. Read more
source§

fn get_truncate_pruned_tree(&self) -> Result<bool>

If true then pruned branches are physically removed from the tree. Otherwise they are retained and it is possible to get results from the original unpruned (or pruned less aggressively) tree. Default value is true. Read more
source§

fn get_regression_accuracy(&self) -> Result<f32>

Termination criteria for regression trees. If all absolute differences between an estimated value in a node and values of train samples in this node are less than this parameter then the node will not be split further. Default value is 0.01f Read more
source§

fn get_priors(&self) -> Result<Mat>

The array of a priori class probabilities, sorted by the class label value. Read more
source§

fn get_roots(&self) -> Result<Vector<i32>>

Returns indices of root nodes
source§

fn get_nodes(&self) -> Result<Vector<DTrees_Node>>

Returns all the nodes Read more
source§

fn get_splits(&self) -> Result<Vector<DTrees_Split>>

Returns all the splits Read more
source§

fn get_subsets(&self) -> Result<Vector<i32>>

Returns all the bitsets for categorical splits Read more
source§

impl DTreesConst for Ptr<dyn RTrees>

source§

fn as_raw_DTrees(&self) -> *const c_void

source§

fn get_max_categories(&self) -> Result<i32>

Cluster possible values of a categorical variable into K<=maxCategories clusters to find a suboptimal split. If a discrete variable, on which the training procedure tries to make a split, takes more than maxCategories values, the precise best subset estimation may take a very long time because the algorithm is exponential. Instead, many decision trees engines (including our implementation) try to find sub-optimal split in this case by clustering all the samples into maxCategories clusters that is some categories are merged together. The clustering is applied only in n > 2-class classification problems for categorical variables with N > max_categories possible values. In case of regression and 2-class classification the optimal split can be found efficiently without employing clustering, thus the parameter is not used in these cases. Default value is 10. Read more
source§

fn get_max_depth(&self) -> Result<i32>

The maximum possible depth of the tree. That is the training algorithms attempts to split a node while its depth is less than maxDepth. The root node has zero depth. The actual depth may be smaller if the other termination criteria are met (see the outline of the training procedure [ml_intro_trees] “here”), and/or if the tree is pruned. Default value is INT_MAX. Read more
source§

fn get_min_sample_count(&self) -> Result<i32>

If the number of samples in a node is less than this parameter then the node will not be split. Read more
source§

fn get_cv_folds(&self) -> Result<i32>

If CVFolds > 1 then algorithms prunes the built decision tree using K-fold cross-validation procedure where K is equal to CVFolds. Default value is 10. Read more
source§

fn get_use_surrogates(&self) -> Result<bool>

If true then surrogate splits will be built. These splits allow to work with missing data and compute variable importance correctly. Default value is false. Read more
source§

fn get_use1_se_rule(&self) -> Result<bool>

If true then a pruning will be harsher. This will make a tree more compact and more resistant to the training data noise but a bit less accurate. Default value is true. Read more
source§

fn get_truncate_pruned_tree(&self) -> Result<bool>

If true then pruned branches are physically removed from the tree. Otherwise they are retained and it is possible to get results from the original unpruned (or pruned less aggressively) tree. Default value is true. Read more
source§

fn get_regression_accuracy(&self) -> Result<f32>

Termination criteria for regression trees. If all absolute differences between an estimated value in a node and values of train samples in this node are less than this parameter then the node will not be split further. Default value is 0.01f Read more
source§

fn get_priors(&self) -> Result<Mat>

The array of a priori class probabilities, sorted by the class label value. Read more
source§

fn get_roots(&self) -> Result<Vector<i32>>

Returns indices of root nodes
source§

fn get_nodes(&self) -> Result<Vector<DTrees_Node>>

Returns all the nodes Read more
source§

fn get_splits(&self) -> Result<Vector<DTrees_Split>>

Returns all the splits Read more
source§

fn get_subsets(&self) -> Result<Vector<i32>>

Returns all the bitsets for categorical splits Read more
source§

impl DataAugmentationLayerTrait for Ptr<DataAugmentationLayer>

source§

impl DataAugmentationLayerTraitConst for Ptr<DataAugmentationLayer>

source§

impl DeblurerBase for Ptr<NullDeblurer>

source§

fn as_raw_mut_DeblurerBase(&mut self) -> *mut c_void

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn deblur(&mut self, idx: i32, frame: &mut Mat, range: &Range) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_blurriness_rates(&mut self, val: &Vector<f32>) -> Result<()>

source§

impl DeblurerBase for Ptr<WeightingDeblurer>

source§

fn as_raw_mut_DeblurerBase(&mut self) -> *mut c_void

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn deblur(&mut self, idx: i32, frame: &mut Mat, range: &Range) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_blurriness_rates(&mut self, val: &Vector<f32>) -> Result<()>

source§

impl DeblurerBase for Ptr<dyn DeblurerBase>

source§

fn as_raw_mut_DeblurerBase(&mut self) -> *mut c_void

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn deblur(&mut self, idx: i32, frame: &mut Mat, range: &Range) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_blurriness_rates(&mut self, val: &Vector<f32>) -> Result<()>

source§

impl DeblurerBaseConst for Ptr<NullDeblurer>

source§

impl DeblurerBaseConst for Ptr<WeightingDeblurer>

source§

impl DeblurerBaseConst for Ptr<dyn DeblurerBase>

source§

impl Default for Ptr<f32>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl DenseOpticalFlow for Ptr<dyn DISOpticalFlow>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &dyn ToInputArray, i1: &dyn ToInputArray, flow: &mut dyn ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlow for Ptr<dyn DenseOpticalFlow>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &dyn ToInputArray, i1: &dyn ToInputArray, flow: &mut dyn ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlow for Ptr<dyn DenseRLOFOpticalFlow>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &dyn ToInputArray, i1: &dyn ToInputArray, flow: &mut dyn ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlow for Ptr<dyn DualTVL1OpticalFlow>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &dyn ToInputArray, i1: &dyn ToInputArray, flow: &mut dyn ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlow for Ptr<dyn FarnebackOpticalFlow>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &dyn ToInputArray, i1: &dyn ToInputArray, flow: &mut dyn ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlow for Ptr<dyn VariationalRefinement>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &dyn ToInputArray, i1: &dyn ToInputArray, flow: &mut dyn ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlowConst for Ptr<dyn DISOpticalFlow>

source§

impl DenseOpticalFlowConst for Ptr<dyn DenseOpticalFlow>

source§

impl DenseOpticalFlowConst for Ptr<dyn DenseRLOFOpticalFlow>

source§

impl DenseOpticalFlowConst for Ptr<dyn DualTVL1OpticalFlow>

source§

impl DenseOpticalFlowConst for Ptr<dyn FarnebackOpticalFlow>

source§

impl DenseOpticalFlowConst for Ptr<dyn VariationalRefinement>

source§

impl DensePyrLkOptFlowEstimatorGpuTrait for Ptr<DensePyrLkOptFlowEstimatorGpu>

source§

fn as_raw_mut_DensePyrLkOptFlowEstimatorGpu(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, flow_x: &mut dyn ToInputOutputArray, flow_y: &mut dyn ToInputOutputArray, errors: &mut dyn ToOutputArray ) -> Result<()>

source§

impl DensePyrLkOptFlowEstimatorGpuTraitConst for Ptr<DensePyrLkOptFlowEstimatorGpu>

source§

impl DenseRLOFOpticalFlow for Ptr<dyn DenseRLOFOpticalFlow>

source§

fn as_raw_mut_DenseRLOFOpticalFlow(&mut self) -> *mut c_void

source§

fn set_rlof_optical_flow_parameter( &mut self, val: Ptr<RLOFOpticalFlowParameter> ) -> Result<()>

Configuration of the RLOF alogrithm. Read more
source§

fn set_forward_backward(&mut self, val: f32) -> Result<()>

Threshold for the forward backward confidence check For each grid point inline formula a motion vector inline formula is computed. * If the forward backward error block formula * is larger than threshold given by this function then the motion vector will not be used by the following * vector field interpolation. inline formula denotes the backward flow. Note, the forward backward test * will only be applied if the threshold > 0. This may results into a doubled runtime for the motion estimation. * see also: getForwardBackward, setGridStep Read more
source§

fn set_grid_step(&mut self, val: Size) -> Result<()>

Size of the grid to spawn the motion vectors. For each grid point a motion vector is computed. Some motion vectors will be removed due to the forwatd backward * threshold (if set >0). The rest will be the base of the vector field interpolation. * see also: getForwardBackward, setGridStep * see also: getGridStep
source§

fn set_interpolation(&mut self, val: InterpolationType) -> Result<()>

Interpolation used to compute the dense optical flow. Two interpolation algorithms are supported * - INTERP_GEO applies the fast geodesic interpolation, see Geistert2016. * - INTERP_EPIC_RESIDUAL applies the edge-preserving interpolation, see Revaud2015,Geistert2016. * see also: ximgproc::EdgeAwareInterpolator, getInterpolation
source§

fn set_epick(&mut self, val: i32) -> Result<()>

see ximgproc::EdgeAwareInterpolator() K value. K is a number of nearest-neighbor matches considered, when fitting a locally affine * model. Usually it should be around 128. However, lower values would make the interpolation noticeably faster. * see also: ximgproc::EdgeAwareInterpolator, setEPICK * see also: ximgproc::EdgeAwareInterpolator, getEPICK
source§

fn set_epic_sigma(&mut self, val: f32) -> Result<()>

see ximgproc::EdgeAwareInterpolator() sigma value. Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine * fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the * output flow. * see also: ximgproc::EdgeAwareInterpolator, setEPICSigma * see also: ximgproc::EdgeAwareInterpolator, getEPICSigma
source§

fn set_epic_lambda(&mut self, val: f32) -> Result<()>

see ximgproc::EdgeAwareInterpolator() lambda value. Lambda is a parameter defining the weight of the edge-aware term in geodesic distance, * should be in the range of 0 to 1000. * see also: ximgproc::EdgeAwareInterpolator, setEPICSigma * see also: ximgproc::EdgeAwareInterpolator, getEPICLambda
source§

fn set_fgs_lambda(&mut self, val: f32) -> Result<()>

see ximgproc::EdgeAwareInterpolator(). Sets the respective fastGlobalSmootherFilter() parameter. * see also: ximgproc::EdgeAwareInterpolator, setFgsLambda * see also: ximgproc::EdgeAwareInterpolator, ximgproc::fastGlobalSmootherFilter, getFgsLambda
source§

fn set_fgs_sigma(&mut self, val: f32) -> Result<()>

see ximgproc::EdgeAwareInterpolator(). Sets the respective fastGlobalSmootherFilter() parameter. * see also: ximgproc::EdgeAwareInterpolator, ximgproc::fastGlobalSmootherFilter, setFgsSigma * see also: ximgproc::EdgeAwareInterpolator, ximgproc::fastGlobalSmootherFilter, getFgsSigma
source§

fn set_use_post_proc(&mut self, val: bool) -> Result<()>

enables ximgproc::fastGlobalSmootherFilter Read more
source§

fn set_use_variational_refinement(&mut self, val: bool) -> Result<()>

enables VariationalRefinement Read more
source§

fn set_ricsp_size(&mut self, val: i32) -> Result<()>

Parameter to tune the approximate size of the superpixel used for oversegmentation. Read more
source§

fn set_ricslic_type(&mut self, val: i32) -> Result<()>

Parameter to choose superpixel algorithm variant to use: Read more
source§

impl DenseRLOFOpticalFlowConst for Ptr<dyn DenseRLOFOpticalFlow>

source§

fn as_raw_DenseRLOFOpticalFlow(&self) -> *const c_void

source§

fn get_rlof_optical_flow_parameter( &self ) -> Result<Ptr<RLOFOpticalFlowParameter>>

Configuration of the RLOF alogrithm. Read more
source§

fn get_forward_backward(&self) -> Result<f32>

Threshold for the forward backward confidence check For each grid point inline formula a motion vector inline formula is computed. * If the forward backward error block formula * is larger than threshold given by this function then the motion vector will not be used by the following * vector field interpolation. inline formula denotes the backward flow. Note, the forward backward test * will only be applied if the threshold > 0. This may results into a doubled runtime for the motion estimation. * getForwardBackward, setGridStep Read more
source§

fn get_grid_step(&self) -> Result<Size>

Size of the grid to spawn the motion vectors. For each grid point a motion vector is computed. Some motion vectors will be removed due to the forwatd backward * threshold (if set >0). The rest will be the base of the vector field interpolation. * see also: getForwardBackward, setGridStep
source§

fn get_interpolation(&self) -> Result<InterpolationType>

Interpolation used to compute the dense optical flow. Two interpolation algorithms are supported * - INTERP_GEO applies the fast geodesic interpolation, see Geistert2016. * - INTERP_EPIC_RESIDUAL applies the edge-preserving interpolation, see Revaud2015,Geistert2016. * see also: ximgproc::EdgeAwareInterpolator, getInterpolation * see also: ximgproc::EdgeAwareInterpolator, setInterpolation
source§

fn get_epick(&self) -> Result<i32>

see ximgproc::EdgeAwareInterpolator() K value. K is a number of nearest-neighbor matches considered, when fitting a locally affine * model. Usually it should be around 128. However, lower values would make the interpolation noticeably faster. * see also: ximgproc::EdgeAwareInterpolator, setEPICK
source§

fn get_epic_sigma(&self) -> Result<f32>

see ximgproc::EdgeAwareInterpolator() sigma value. Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine * fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the * output flow. * see also: ximgproc::EdgeAwareInterpolator, setEPICSigma
source§

fn get_epic_lambda(&self) -> Result<f32>

see ximgproc::EdgeAwareInterpolator() lambda value. Lambda is a parameter defining the weight of the edge-aware term in geodesic distance, * should be in the range of 0 to 1000. * see also: ximgproc::EdgeAwareInterpolator, setEPICSigma
source§

fn get_fgs_lambda(&self) -> Result<f32>

see ximgproc::EdgeAwareInterpolator(). Sets the respective fastGlobalSmootherFilter() parameter. * see also: ximgproc::EdgeAwareInterpolator, setFgsLambda
source§

fn get_fgs_sigma(&self) -> Result<f32>

see ximgproc::EdgeAwareInterpolator(). Sets the respective fastGlobalSmootherFilter() parameter. * see also: ximgproc::EdgeAwareInterpolator, ximgproc::fastGlobalSmootherFilter, setFgsSigma
source§

fn get_use_post_proc(&self) -> Result<bool>

enables ximgproc::fastGlobalSmootherFilter Read more
source§

fn get_use_variational_refinement(&self) -> Result<bool>

enables VariationalRefinement Read more
source§

fn get_ricsp_size(&self) -> Result<i32>

Parameter to tune the approximate size of the superpixel used for oversegmentation. Read more
source§

fn get_ricslic_type(&self) -> Result<i32>

Parameter to choose superpixel algorithm variant to use: Read more
source§

impl DepthCleanerTrait for Ptr<DepthCleaner>

source§

fn as_raw_mut_DepthCleaner(&mut self) -> *mut c_void

source§

fn set_window_size(&mut self, val: i32) -> Result<()>

source§

fn set_depth(&mut self, val: i32) -> Result<()>

source§

fn set_method(&mut self, val: i32) -> Result<()>

source§

impl DepthCleanerTraitConst for Ptr<DepthCleaner>

source§

fn as_raw_DepthCleaner(&self) -> *const c_void

source§

fn apply( &self, points: &dyn ToInputArray, depth: &mut dyn ToOutputArray ) -> Result<()>

Given a set of 3d points in a depth image, compute the normals at each point. Read more
source§

fn initialize(&self) -> Result<()>

Initializes some data that is cached for later computation If that function is not called, it will be called the first time normals are computed
source§

fn get_window_size(&self) -> Result<i32>

source§

fn get_depth(&self) -> Result<i32>

source§

fn get_method(&self) -> Result<i32>

source§

impl DequantizeLayerTrait for Ptr<DequantizeLayer>

source§

impl DequantizeLayerTraitConst for Ptr<DequantizeLayer>

source§

impl Deref for Ptr<f32>

§

type Target = f32

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for Ptr<f32>

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl DescriptorMatcher for Ptr<BFMatcher>

source§

fn as_raw_mut_DescriptorMatcher(&mut self) -> *mut c_void

source§

fn add(&mut self, descriptors: &dyn ToInputArray) -> Result<()>

Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. Read more
source§

fn clear(&mut self) -> Result<()>

Clears the train descriptor collections.
source§

fn train(&mut self) -> Result<()>

Trains a descriptor matcher Read more
source§

fn match_( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut Vector<DMatch>, masks: &dyn ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn knn_match( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &dyn ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn radius_match( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &dyn ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl DescriptorMatcher for Ptr<FlannBasedMatcher>

source§

fn as_raw_mut_DescriptorMatcher(&mut self) -> *mut c_void

source§

fn add(&mut self, descriptors: &dyn ToInputArray) -> Result<()>

Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. Read more
source§

fn clear(&mut self) -> Result<()>

Clears the train descriptor collections.
source§

fn train(&mut self) -> Result<()>

Trains a descriptor matcher Read more
source§

fn match_( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut Vector<DMatch>, masks: &dyn ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn knn_match( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &dyn ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn radius_match( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &dyn ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl DescriptorMatcher for Ptr<dyn DescriptorMatcher>

source§

fn as_raw_mut_DescriptorMatcher(&mut self) -> *mut c_void

source§

fn add(&mut self, descriptors: &dyn ToInputArray) -> Result<()>

Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. Read more
source§

fn clear(&mut self) -> Result<()>

Clears the train descriptor collections.
source§

fn train(&mut self) -> Result<()>

Trains a descriptor matcher Read more
source§

fn match_( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut Vector<DMatch>, masks: &dyn ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn knn_match( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &dyn ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn radius_match( &mut self, query_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &dyn ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl DescriptorMatcherConst for Ptr<BFMatcher>

source§

fn as_raw_DescriptorMatcher(&self) -> *const c_void

source§

fn get_train_descriptors(&self) -> Result<Vector<Mat>>

Returns a constant link to the train descriptor collection trainDescCollection .
source§

fn empty(&self) -> Result<bool>

Returns true if there are no train descriptors in the both collections.
source§

fn is_mask_supported(&self) -> Result<bool>

Returns true if the descriptor matcher supports masking permissible matches.
source§

fn train_match( &self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut Vector<DMatch>, mask: &dyn ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn knn_train_match( &self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &dyn ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn radius_train_match( &self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &dyn ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<dyn DescriptorMatcher>>

Clones the matcher. Read more
source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl DescriptorMatcherConst for Ptr<FlannBasedMatcher>

source§

fn as_raw_DescriptorMatcher(&self) -> *const c_void

source§

fn get_train_descriptors(&self) -> Result<Vector<Mat>>

Returns a constant link to the train descriptor collection trainDescCollection .
source§

fn empty(&self) -> Result<bool>

Returns true if there are no train descriptors in the both collections.
source§

fn is_mask_supported(&self) -> Result<bool>

Returns true if the descriptor matcher supports masking permissible matches.
source§

fn train_match( &self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut Vector<DMatch>, mask: &dyn ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn knn_train_match( &self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &dyn ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn radius_train_match( &self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &dyn ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<dyn DescriptorMatcher>>

Clones the matcher. Read more
source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl DescriptorMatcherConst for Ptr<dyn DescriptorMatcher>

source§

fn as_raw_DescriptorMatcher(&self) -> *const c_void

source§

fn get_train_descriptors(&self) -> Result<Vector<Mat>>

Returns a constant link to the train descriptor collection trainDescCollection .
source§

fn empty(&self) -> Result<bool>

Returns true if there are no train descriptors in the both collections.
source§

fn is_mask_supported(&self) -> Result<bool>

Returns true if the descriptor matcher supports masking permissible matches.
source§

fn train_match( &self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut Vector<DMatch>, mask: &dyn ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn knn_train_match( &self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &dyn ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn radius_train_match( &self, query_descriptors: &dyn ToInputArray, train_descriptors: &dyn ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &dyn ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<dyn DescriptorMatcher>>

Clones the matcher. Read more
source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Detail_AffineBasedEstimatorTrait for Ptr<Detail_AffineBasedEstimator>

source§

impl Detail_AffineBasedEstimatorTraitConst for Ptr<Detail_AffineBasedEstimator>

source§

impl Detail_AffineBestOf2NearestMatcherTrait for Ptr<Detail_AffineBestOf2NearestMatcher>

source§

impl Detail_AffineBestOf2NearestMatcherTraitConst for Ptr<Detail_AffineBestOf2NearestMatcher>

source§

impl Detail_BestOf2NearestMatcherTrait for Ptr<Detail_AffineBestOf2NearestMatcher>

source§

impl Detail_BestOf2NearestMatcherTrait for Ptr<Detail_BestOf2NearestMatcher>

source§

impl Detail_BestOf2NearestMatcherTrait for Ptr<Detail_BestOf2NearestRangeMatcher>

source§

impl Detail_BestOf2NearestMatcherTraitConst for Ptr<Detail_AffineBestOf2NearestMatcher>

source§

impl Detail_BestOf2NearestMatcherTraitConst for Ptr<Detail_BestOf2NearestMatcher>

source§

impl Detail_BestOf2NearestMatcherTraitConst for Ptr<Detail_BestOf2NearestRangeMatcher>

source§

impl Detail_BestOf2NearestRangeMatcherTrait for Ptr<Detail_BestOf2NearestRangeMatcher>

source§

impl Detail_BestOf2NearestRangeMatcherTraitConst for Ptr<Detail_BestOf2NearestRangeMatcher>

source§

impl Detail_BlenderTrait for Ptr<Detail_Blender>

source§

fn as_raw_mut_Detail_Blender(&mut self) -> *mut c_void

source§

fn prepare( &mut self, corners: &Vector<Point>, sizes: &Vector<Size> ) -> Result<()>

Prepares the blender for blending. Read more
source§

fn prepare_1(&mut self, dst_roi: Rect) -> Result<()>

Prepares the blender for blending. Read more
source§

fn feed( &mut self, img: &dyn ToInputArray, mask: &dyn ToInputArray, tl: Point ) -> Result<()>

Processes the image. Read more
source§

fn blend( &mut self, dst: &mut dyn ToInputOutputArray, dst_mask: &mut dyn ToInputOutputArray ) -> Result<()>

Blends and returns the final pano. Read more
source§

impl Detail_BlenderTrait for Ptr<Detail_FeatherBlender>

source§

fn as_raw_mut_Detail_Blender(&mut self) -> *mut c_void

source§

fn prepare( &mut self, corners: &Vector<Point>, sizes: &Vector<Size> ) -> Result<()>

Prepares the blender for blending. Read more
source§

fn prepare_1(&mut self, dst_roi: Rect) -> Result<()>

Prepares the blender for blending. Read more
source§

fn feed( &mut self, img: &dyn ToInputArray, mask: &dyn ToInputArray, tl: Point ) -> Result<()>

Processes the image. Read more
source§

fn blend( &mut self, dst: &mut dyn ToInputOutputArray, dst_mask: &mut dyn ToInputOutputArray ) -> Result<()>

Blends and returns the final pano. Read more
source§

impl Detail_BlenderTrait for Ptr<Detail_MultiBandBlender>

source§

fn as_raw_mut_Detail_Blender(&mut self) -> *mut c_void

source§

fn prepare( &mut self, corners: &Vector<Point>, sizes: &Vector<Size> ) -> Result<()>

Prepares the blender for blending. Read more
source§

fn prepare_1(&mut self, dst_roi: Rect) -> Result<()>

Prepares the blender for blending. Read more
source§

fn feed( &mut self, img: &dyn ToInputArray, mask: &dyn ToInputArray, tl: Point ) -> Result<()>

Processes the image. Read more
source§

fn blend( &mut self, dst: &mut dyn ToInputOutputArray, dst_mask: &mut dyn ToInputOutputArray ) -> Result<()>

Blends and returns the final pano. Read more
source§

impl Detail_BlenderTraitConst for Ptr<Detail_Blender>

source§

impl Detail_BlenderTraitConst for Ptr<Detail_FeatherBlender>

source§

impl Detail_BlenderTraitConst for Ptr<Detail_MultiBandBlender>

source§

impl Detail_BlocksChannelsCompensatorTrait for Ptr<Detail_BlocksChannelsCompensator>

source§

fn as_raw_mut_Detail_BlocksChannelsCompensator(&mut self) -> *mut c_void

source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

source§

impl Detail_BlocksChannelsCompensatorTraitConst for Ptr<Detail_BlocksChannelsCompensator>

source§

impl Detail_BlocksCompensator for Ptr<Detail_BlocksChannelsCompensator>

source§

fn as_raw_mut_Detail_BlocksCompensator(&mut self) -> *mut c_void

source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

source§

fn get_nr_feeds(&mut self) -> Result<i32>

source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

source§

fn set_block_size(&mut self, width: i32, height: i32) -> Result<()>

source§

fn set_block_size_1(&mut self, size: Size) -> Result<()>

source§

fn set_nr_gains_filtering_iterations( &mut self, nr_iterations: i32 ) -> Result<()>

source§

impl Detail_BlocksCompensator for Ptr<Detail_BlocksGainCompensator>

source§

fn as_raw_mut_Detail_BlocksCompensator(&mut self) -> *mut c_void

source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

source§

fn get_nr_feeds(&mut self) -> Result<i32>

source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

source§

fn set_block_size(&mut self, width: i32, height: i32) -> Result<()>

source§

fn set_block_size_1(&mut self, size: Size) -> Result<()>

source§

fn set_nr_gains_filtering_iterations( &mut self, nr_iterations: i32 ) -> Result<()>

source§

impl Detail_BlocksCompensator for Ptr<dyn Detail_BlocksCompensator>

source§

fn as_raw_mut_Detail_BlocksCompensator(&mut self) -> *mut c_void

source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

source§

fn get_nr_feeds(&mut self) -> Result<i32>

source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

source§

fn set_block_size(&mut self, width: i32, height: i32) -> Result<()>

source§

fn set_block_size_1(&mut self, size: Size) -> Result<()>

source§

fn set_nr_gains_filtering_iterations( &mut self, nr_iterations: i32 ) -> Result<()>

source§

impl Detail_BlocksCompensatorConst for Ptr<Detail_BlocksChannelsCompensator>

source§

impl Detail_BlocksCompensatorConst for Ptr<Detail_BlocksGainCompensator>

source§

impl Detail_BlocksCompensatorConst for Ptr<dyn Detail_BlocksCompensator>

source§

impl Detail_BlocksGainCompensatorTrait for Ptr<Detail_BlocksGainCompensator>

source§

fn as_raw_mut_Detail_BlocksGainCompensator(&mut self) -> *mut c_void

source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

impl Detail_BlocksGainCompensatorTraitConst for Ptr<Detail_BlocksGainCompensator>

source§

impl Detail_BundleAdjusterAffinePartialTrait for Ptr<Detail_BundleAdjusterAffinePartial>

source§

impl Detail_BundleAdjusterAffinePartialTraitConst for Ptr<Detail_BundleAdjusterAffinePartial>

source§

impl Detail_BundleAdjusterAffineTrait for Ptr<Detail_BundleAdjusterAffine>

source§

impl Detail_BundleAdjusterAffineTraitConst for Ptr<Detail_BundleAdjusterAffine>

source§

impl Detail_BundleAdjusterBase for Ptr<Detail_BundleAdjusterAffine>

source§

impl Detail_BundleAdjusterBase for Ptr<Detail_BundleAdjusterAffinePartial>

source§

impl Detail_BundleAdjusterBase for Ptr<Detail_BundleAdjusterRay>

source§

impl Detail_BundleAdjusterBase for Ptr<Detail_BundleAdjusterReproj>

source§

impl Detail_BundleAdjusterBase for Ptr<Detail_NoBundleAdjuster>

source§

impl Detail_BundleAdjusterBase for Ptr<dyn Detail_BundleAdjusterBase>

source§

impl Detail_BundleAdjusterBaseConst for Ptr<Detail_BundleAdjusterAffine>

source§

impl Detail_BundleAdjusterBaseConst for Ptr<Detail_BundleAdjusterAffinePartial>

source§

impl Detail_BundleAdjusterBaseConst for Ptr<Detail_BundleAdjusterRay>

source§

impl Detail_BundleAdjusterBaseConst for Ptr<Detail_BundleAdjusterReproj>

source§

impl Detail_BundleAdjusterBaseConst for Ptr<Detail_NoBundleAdjuster>

source§

impl Detail_BundleAdjusterBaseConst for Ptr<dyn Detail_BundleAdjusterBase>

source§

impl Detail_BundleAdjusterRayTrait for Ptr<Detail_BundleAdjusterRay>

source§

impl Detail_BundleAdjusterRayTraitConst for Ptr<Detail_BundleAdjusterRay>

source§

impl Detail_BundleAdjusterReprojTrait for Ptr<Detail_BundleAdjusterReproj>

source§

impl Detail_BundleAdjusterReprojTraitConst for Ptr<Detail_BundleAdjusterReproj>

source§

impl Detail_ChannelsCompensatorTrait for Ptr<Detail_ChannelsCompensator>

source§

fn as_raw_mut_Detail_ChannelsCompensator(&mut self) -> *mut c_void

source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

source§

fn get_nr_feeds(&mut self) -> Result<i32>

source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

source§

impl Detail_ChannelsCompensatorTraitConst for Ptr<Detail_ChannelsCompensator>

source§

impl Detail_DpSeamFinderTrait for Ptr<Detail_DpSeamFinder>

source§

fn as_raw_mut_Detail_DpSeamFinder(&mut self) -> *mut c_void

source§

fn set_cost_function( &mut self, val: Detail_DpSeamFinder_CostFunction ) -> Result<()>

source§

fn set_cost_function_1(&mut self, val: &str) -> Result<()>

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

source§

impl Detail_DpSeamFinderTraitConst for Ptr<Detail_DpSeamFinder>

source§

impl Detail_Estimator for Ptr<Detail_AffineBasedEstimator>

source§

fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void

source§

fn apply( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &Vector<Detail_MatchesInfo>, cameras: &mut Vector<Detail_CameraParams> ) -> Result<bool>

Estimates camera parameters. Read more
source§

impl Detail_Estimator for Ptr<Detail_BundleAdjusterAffine>

source§

fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void

source§

fn apply( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &Vector<Detail_MatchesInfo>, cameras: &mut Vector<Detail_CameraParams> ) -> Result<bool>

Estimates camera parameters. Read more
source§

impl Detail_Estimator for Ptr<Detail_BundleAdjusterAffinePartial>

source§

fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void

source§

fn apply( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &Vector<Detail_MatchesInfo>, cameras: &mut Vector<Detail_CameraParams> ) -> Result<bool>

Estimates camera parameters. Read more
source§

impl Detail_Estimator for Ptr<Detail_BundleAdjusterRay>

source§

fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void

source§

fn apply( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &Vector<Detail_MatchesInfo>, cameras: &mut Vector<Detail_CameraParams> ) -> Result<bool>

Estimates camera parameters. Read more
source§

impl Detail_Estimator for Ptr<Detail_BundleAdjusterReproj>

source§

fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void

source§

fn apply( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &Vector<Detail_MatchesInfo>, cameras: &mut Vector<Detail_CameraParams> ) -> Result<bool>

Estimates camera parameters. Read more
source§

impl Detail_Estimator for Ptr<Detail_HomographyBasedEstimator>

source§

fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void

source§

fn apply( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &Vector<Detail_MatchesInfo>, cameras: &mut Vector<Detail_CameraParams> ) -> Result<bool>

Estimates camera parameters. Read more
source§

impl Detail_Estimator for Ptr<Detail_NoBundleAdjuster>

source§

fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void

source§

fn apply( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &Vector<Detail_MatchesInfo>, cameras: &mut Vector<Detail_CameraParams> ) -> Result<bool>

Estimates camera parameters. Read more
source§

impl Detail_Estimator for Ptr<dyn Detail_BundleAdjusterBase>

source§

fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void

source§

fn apply( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &Vector<Detail_MatchesInfo>, cameras: &mut Vector<Detail_CameraParams> ) -> Result<bool>

Estimates camera parameters. Read more
source§

impl Detail_Estimator for Ptr<dyn Detail_Estimator>

source§

fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void

source§

fn apply( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &Vector<Detail_MatchesInfo>, cameras: &mut Vector<Detail_CameraParams> ) -> Result<bool>

Estimates camera parameters. Read more
source§

impl Detail_EstimatorConst for Ptr<Detail_AffineBasedEstimator>

source§

impl Detail_EstimatorConst for Ptr<Detail_BundleAdjusterAffine>

source§

impl Detail_EstimatorConst for Ptr<Detail_BundleAdjusterAffinePartial>

source§

impl Detail_EstimatorConst for Ptr<Detail_BundleAdjusterRay>

source§

impl Detail_EstimatorConst for Ptr<Detail_BundleAdjusterReproj>

source§

impl Detail_EstimatorConst for Ptr<Detail_HomographyBasedEstimator>

source§

impl Detail_EstimatorConst for Ptr<Detail_NoBundleAdjuster>

source§

impl Detail_EstimatorConst for Ptr<dyn Detail_BundleAdjusterBase>

source§

impl Detail_EstimatorConst for Ptr<dyn Detail_Estimator>

source§

impl Detail_ExposureCompensator for Ptr<Detail_BlocksChannelsCompensator>

source§

fn as_raw_mut_Detail_ExposureCompensator(&mut self) -> *mut c_void

source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat> ) -> Result<()>

Parameters Read more
source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

Parameters Read more
source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensator for Ptr<Detail_BlocksGainCompensator>

source§

fn as_raw_mut_Detail_ExposureCompensator(&mut self) -> *mut c_void

source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat> ) -> Result<()>

Parameters Read more
source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

Parameters Read more
source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensator for Ptr<Detail_ChannelsCompensator>

source§

fn as_raw_mut_Detail_ExposureCompensator(&mut self) -> *mut c_void

source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat> ) -> Result<()>

Parameters Read more
source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

Parameters Read more
source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensator for Ptr<Detail_GainCompensator>

source§

fn as_raw_mut_Detail_ExposureCompensator(&mut self) -> *mut c_void

source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat> ) -> Result<()>

Parameters Read more
source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

Parameters Read more
source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensator for Ptr<Detail_NoExposureCompensator>

source§

fn as_raw_mut_Detail_ExposureCompensator(&mut self) -> *mut c_void

source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat> ) -> Result<()>

Parameters Read more
source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

Parameters Read more
source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensator for Ptr<dyn Detail_BlocksCompensator>

source§

fn as_raw_mut_Detail_ExposureCompensator(&mut self) -> *mut c_void

source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat> ) -> Result<()>

Parameters Read more
source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

Parameters Read more
source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensator for Ptr<dyn Detail_ExposureCompensator>

source§

fn as_raw_mut_Detail_ExposureCompensator(&mut self) -> *mut c_void

source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<UMat> ) -> Result<()>

Parameters Read more
source§

fn feed_1( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

Parameters Read more
source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensatorConst for Ptr<Detail_BlocksChannelsCompensator>

source§

impl Detail_ExposureCompensatorConst for Ptr<Detail_BlocksGainCompensator>

source§

impl Detail_ExposureCompensatorConst for Ptr<Detail_ChannelsCompensator>

source§

impl Detail_ExposureCompensatorConst for Ptr<Detail_GainCompensator>

source§

impl Detail_ExposureCompensatorConst for Ptr<Detail_NoExposureCompensator>

source§

impl Detail_ExposureCompensatorConst for Ptr<dyn Detail_BlocksCompensator>

source§

impl Detail_ExposureCompensatorConst for Ptr<dyn Detail_ExposureCompensator>

source§

impl Detail_FeatherBlenderTrait for Ptr<Detail_FeatherBlender>

source§

fn as_raw_mut_Detail_FeatherBlender(&mut self) -> *mut c_void

source§

fn set_sharpness(&mut self, val: f32) -> Result<()>

source§

fn prepare(&mut self, dst_roi: Rect) -> Result<()>

source§

fn feed( &mut self, img: &dyn ToInputArray, mask: &dyn ToInputArray, tl: Point ) -> Result<()>

source§

fn blend( &mut self, dst: &mut dyn ToInputOutputArray, dst_mask: &mut dyn ToInputOutputArray ) -> Result<()>

source§

fn create_weight_maps( &mut self, masks: &Vector<UMat>, corners: &Vector<Point>, weight_maps: &mut Vector<UMat> ) -> Result<Rect>

Creates weight maps for fixed set of source images by their masks and top-left corners. Final image can be obtained by simple weighting of the source images.
source§

impl Detail_FeatherBlenderTraitConst for Ptr<Detail_FeatherBlender>

source§

impl Detail_FeaturesMatcher for Ptr<Detail_AffineBestOf2NearestMatcher>

source§

fn as_raw_mut_Detail_FeaturesMatcher(&mut self) -> *mut c_void

source§

fn apply( &mut self, features1: &Detail_ImageFeatures, features2: &Detail_ImageFeatures, matches_info: &mut Detail_MatchesInfo ) -> Result<()>

Performs images matching. Read more
source§

fn apply2( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, mask: &UMat ) -> Result<()>

Performs images matching. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Frees unused memory allocated before if there is any.
source§

impl Detail_FeaturesMatcher for Ptr<Detail_BestOf2NearestMatcher>

source§

fn as_raw_mut_Detail_FeaturesMatcher(&mut self) -> *mut c_void

source§

fn apply( &mut self, features1: &Detail_ImageFeatures, features2: &Detail_ImageFeatures, matches_info: &mut Detail_MatchesInfo ) -> Result<()>

Performs images matching. Read more
source§

fn apply2( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, mask: &UMat ) -> Result<()>

Performs images matching. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Frees unused memory allocated before if there is any.
source§

impl Detail_FeaturesMatcher for Ptr<Detail_BestOf2NearestRangeMatcher>

source§

fn as_raw_mut_Detail_FeaturesMatcher(&mut self) -> *mut c_void

source§

fn apply( &mut self, features1: &Detail_ImageFeatures, features2: &Detail_ImageFeatures, matches_info: &mut Detail_MatchesInfo ) -> Result<()>

Performs images matching. Read more
source§

fn apply2( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, mask: &UMat ) -> Result<()>

Performs images matching. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Frees unused memory allocated before if there is any.
source§

impl Detail_FeaturesMatcher for Ptr<dyn Detail_FeaturesMatcher>

source§

fn as_raw_mut_Detail_FeaturesMatcher(&mut self) -> *mut c_void

source§

fn apply( &mut self, features1: &Detail_ImageFeatures, features2: &Detail_ImageFeatures, matches_info: &mut Detail_MatchesInfo ) -> Result<()>

Performs images matching. Read more
source§

fn apply2( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, mask: &UMat ) -> Result<()>

Performs images matching. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Frees unused memory allocated before if there is any.
source§

impl Detail_FeaturesMatcherConst for Ptr<Detail_AffineBestOf2NearestMatcher>

source§

impl Detail_FeaturesMatcherConst for Ptr<Detail_BestOf2NearestMatcher>

source§

impl Detail_FeaturesMatcherConst for Ptr<Detail_BestOf2NearestRangeMatcher>

source§

impl Detail_FeaturesMatcherConst for Ptr<dyn Detail_FeaturesMatcher>

source§

impl Detail_GainCompensatorTrait for Ptr<Detail_GainCompensator>

source§

fn as_raw_mut_Detail_GainCompensator(&mut self) -> *mut c_void

source§

fn feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

source§

fn single_feed( &mut self, corners: &Vector<Point>, images: &Vector<UMat>, masks: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

source§

fn apply( &mut self, index: i32, corner: Point, image: &mut dyn ToInputOutputArray, mask: &dyn ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

source§

fn get_nr_feeds(&mut self) -> Result<i32>

source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

source§

fn prepare_similarity_mask( &mut self, corners: &Vector<Point>, images: &Vector<UMat> ) -> Result<()>

source§

impl Detail_GainCompensatorTraitConst for Ptr<Detail_GainCompensator>

source§

impl Detail_GraphCutSeamFinderBaseTrait for Ptr<Detail_GraphCutSeamFinder>

source§

impl Detail_GraphCutSeamFinderBaseTrait for Ptr<Detail_GraphCutSeamFinderGpu>

source§

impl Detail_GraphCutSeamFinderBaseTraitConst for Ptr<Detail_GraphCutSeamFinder>

source§

impl Detail_GraphCutSeamFinderBaseTraitConst for Ptr<Detail_GraphCutSeamFinderGpu>

source§

impl Detail_GraphCutSeamFinderGpuTrait for Ptr<Detail_GraphCutSeamFinderGpu>

source§

fn as_raw_mut_Detail_GraphCutSeamFinderGpu(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

source§

fn find_in_pair( &mut self, first: size_t, second: size_t, roi: Rect ) -> Result<()>

source§

impl Detail_GraphCutSeamFinderGpuTraitConst for Ptr<Detail_GraphCutSeamFinderGpu>

source§

impl Detail_GraphCutSeamFinderTrait for Ptr<Detail_GraphCutSeamFinder>

source§

fn as_raw_mut_Detail_GraphCutSeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

source§

impl Detail_GraphCutSeamFinderTraitConst for Ptr<Detail_GraphCutSeamFinder>

source§

impl Detail_HomographyBasedEstimatorTrait for Ptr<Detail_HomographyBasedEstimator>

source§

impl Detail_HomographyBasedEstimatorTraitConst for Ptr<Detail_HomographyBasedEstimator>

source§

impl Detail_MultiBandBlenderTrait for Ptr<Detail_MultiBandBlender>

source§

fn as_raw_mut_Detail_MultiBandBlender(&mut self) -> *mut c_void

source§

fn set_num_bands(&mut self, val: i32) -> Result<()>

source§

fn prepare(&mut self, dst_roi: Rect) -> Result<()>

source§

fn feed( &mut self, img: &dyn ToInputArray, mask: &dyn ToInputArray, tl: Point ) -> Result<()>

source§

fn blend( &mut self, dst: &mut dyn ToInputOutputArray, dst_mask: &mut dyn ToInputOutputArray ) -> Result<()>

source§

impl Detail_MultiBandBlenderTraitConst for Ptr<Detail_MultiBandBlender>

source§

impl Detail_NoBundleAdjusterTrait for Ptr<Detail_NoBundleAdjuster>

source§

impl Detail_NoBundleAdjusterTraitConst for Ptr<Detail_NoBundleAdjuster>

source§

impl Detail_NoExposureCompensatorTrait for Ptr<Detail_NoExposureCompensator>

source§

fn as_raw_mut_Detail_NoExposureCompensator(&mut self) -> *mut c_void

source§

fn feed( &mut self, unnamed: &Vector<Point>, unnamed_1: &Vector<UMat>, unnamed_2: &Vector<Tuple<(UMat, u8)>> ) -> Result<()>

source§

fn apply( &mut self, unnamed: i32, unnamed_1: Point, unnamed_2: &mut dyn ToInputOutputArray, unnamed_3: &dyn ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

impl Detail_NoExposureCompensatorTraitConst for Ptr<Detail_NoExposureCompensator>

source§

impl Detail_NoSeamFinderTrait for Ptr<Detail_NoSeamFinder>

source§

fn as_raw_mut_Detail_NoSeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, unnamed: &Vector<UMat>, unnamed_1: &Vector<Point>, unnamed_2: &mut Vector<UMat> ) -> Result<()>

source§

impl Detail_NoSeamFinderTraitConst for Ptr<Detail_NoSeamFinder>

source§

impl Detail_PairwiseSeamFinder for Ptr<Detail_GraphCutSeamFinderGpu>

source§

fn as_raw_mut_Detail_PairwiseSeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

source§

impl Detail_PairwiseSeamFinder for Ptr<Detail_VoronoiSeamFinder>

source§

fn as_raw_mut_Detail_PairwiseSeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

source§

impl Detail_PairwiseSeamFinder for Ptr<dyn Detail_PairwiseSeamFinder>

source§

fn as_raw_mut_Detail_PairwiseSeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

source§

impl Detail_PairwiseSeamFinderConst for Ptr<Detail_GraphCutSeamFinderGpu>

source§

impl Detail_PairwiseSeamFinderConst for Ptr<Detail_VoronoiSeamFinder>

source§

impl Detail_PairwiseSeamFinderConst for Ptr<dyn Detail_PairwiseSeamFinder>

source§

impl Detail_RotationWarper for Ptr<dyn Detail_RotationWarper>

source§

fn as_raw_mut_Detail_RotationWarper(&mut self) -> *mut c_void

source§

fn warp_point( &mut self, pt: Point2f, k: &dyn ToInputArray, r: &dyn ToInputArray ) -> Result<Point2f>

Projects the image point. Read more
source§

fn warp_point_backward( &mut self, pt: Point2f, k: &dyn ToInputArray, r: &dyn ToInputArray ) -> Result<Point2f>

source§

fn build_maps( &mut self, src_size: Size, k: &dyn ToInputArray, r: &dyn ToInputArray, xmap: &mut dyn ToOutputArray, ymap: &mut dyn ToOutputArray ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
source§

fn warp( &mut self, src: &dyn ToInputArray, k: &dyn ToInputArray, r: &dyn ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut dyn ToOutputArray ) -> Result<Point>

Projects the image. Read more
source§

fn warp_backward( &mut self, src: &dyn ToInputArray, k: &dyn ToInputArray, r: &dyn ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut dyn ToOutputArray ) -> Result<()>

Projects the image backward. Read more
source§

fn warp_roi( &mut self, src_size: Size, k: &dyn ToInputArray, r: &dyn ToInputArray ) -> Result<Rect>

Parameters Read more
source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

source§

impl Detail_RotationWarperConst for Ptr<dyn Detail_RotationWarper>

source§

impl Detail_SeamFinder for Ptr<Detail_DpSeamFinder>

source§

fn as_raw_mut_Detail_SeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

Estimates seams. Read more
source§

impl Detail_SeamFinder for Ptr<Detail_GraphCutSeamFinder>

source§

fn as_raw_mut_Detail_SeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

Estimates seams. Read more
source§

impl Detail_SeamFinder for Ptr<Detail_GraphCutSeamFinderGpu>

source§

fn as_raw_mut_Detail_SeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

Estimates seams. Read more
source§

impl Detail_SeamFinder for Ptr<Detail_NoSeamFinder>

source§

fn as_raw_mut_Detail_SeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

Estimates seams. Read more
source§

impl Detail_SeamFinder for Ptr<Detail_VoronoiSeamFinder>

source§

fn as_raw_mut_Detail_SeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

Estimates seams. Read more
source§

impl Detail_SeamFinder for Ptr<dyn Detail_PairwiseSeamFinder>

source§

fn as_raw_mut_Detail_SeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

Estimates seams. Read more
source§

impl Detail_SeamFinder for Ptr<dyn Detail_SeamFinder>

source§

fn as_raw_mut_Detail_SeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

Estimates seams. Read more
source§

impl Detail_SeamFinderConst for Ptr<Detail_DpSeamFinder>

source§

impl Detail_SeamFinderConst for Ptr<Detail_GraphCutSeamFinder>

source§

impl Detail_SeamFinderConst for Ptr<Detail_GraphCutSeamFinderGpu>

source§

impl Detail_SeamFinderConst for Ptr<Detail_NoSeamFinder>

source§

impl Detail_SeamFinderConst for Ptr<Detail_VoronoiSeamFinder>

source§

impl Detail_SeamFinderConst for Ptr<dyn Detail_PairwiseSeamFinder>

source§

impl Detail_SeamFinderConst for Ptr<dyn Detail_SeamFinder>

source§

impl Detail_VoronoiSeamFinderTrait for Ptr<Detail_VoronoiSeamFinder>

source§

fn as_raw_mut_Detail_VoronoiSeamFinder(&mut self) -> *mut c_void

source§

fn find( &mut self, src: &Vector<UMat>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

source§

fn find_1( &mut self, size: &Vector<Size>, corners: &Vector<Point>, masks: &mut Vector<UMat> ) -> Result<()>

source§

impl Detail_VoronoiSeamFinderTraitConst for Ptr<Detail_VoronoiSeamFinder>

source§

impl DetectionBasedTracker_IDetector for Ptr<dyn DetectionBasedTracker_IDetector>

source§

fn as_raw_mut_DetectionBasedTracker_IDetector(&mut self) -> *mut c_void

source§

fn detect(&mut self, image: &Mat, objects: &mut Vector<Rect>) -> Result<()>

source§

fn set_min_object_size(&mut self, min: Size) -> Result<()>

source§

fn set_max_object_size(&mut self, max: Size) -> Result<()>

source§

fn get_scale_factor(&mut self) -> Result<f32>

source§

fn set_scale_factor(&mut self, value: f32) -> Result<()>

source§

fn get_min_neighbours(&mut self) -> Result<i32>

source§

fn set_min_neighbours(&mut self, value: i32) -> Result<()>

source§

impl DetectionBasedTracker_IDetectorConst for Ptr<dyn DetectionBasedTracker_IDetector>

source§

impl DetectionOutputLayerTrait for Ptr<DetectionOutputLayer>

source§

impl DetectionOutputLayerTraitConst for Ptr<DetectionOutputLayer>

source§

impl DetectorParametersTrait for Ptr<DetectorParameters>

source§

fn as_raw_mut_DetectorParameters(&mut self) -> *mut c_void

source§

fn set_adaptive_thresh_win_size_min(&mut self, val: i32)

minimum window size for adaptive thresholding before finding contours (default 3).
source§

fn set_adaptive_thresh_win_size_max(&mut self, val: i32)

maximum window size for adaptive thresholding before finding contours (default 23).
source§

fn set_adaptive_thresh_win_size_step(&mut self, val: i32)

increments from adaptiveThreshWinSizeMin to adaptiveThreshWinSizeMax during the thresholding (default 10).
source§

fn set_adaptive_thresh_constant(&mut self, val: f64)

constant for adaptive thresholding before finding contours (default 7)
source§

fn set_min_marker_perimeter_rate(&mut self, val: f64)

determine minimum perimeter for marker contour to be detected. Read more
source§

fn set_max_marker_perimeter_rate(&mut self, val: f64)

determine maximum perimeter for marker contour to be detected. Read more
source§

fn set_polygonal_approx_accuracy_rate(&mut self, val: f64)

minimum accuracy during the polygonal approximation process to determine which contours are squares. (default 0.03)
source§

fn set_min_corner_distance_rate(&mut self, val: f64)

minimum distance between corners for detected markers relative to its perimeter (default 0.05)
source§

fn set_min_distance_to_border(&mut self, val: i32)

minimum distance of any corner to the image border for detected markers (in pixels) (default 3)
source§

fn set_min_marker_distance_rate(&mut self, val: f64)

minimum mean distance beetween two marker corners to be considered imilar, so that the smaller one is removed. Read more
source§

fn set_corner_refinement_method(&mut self, val: CornerRefineMethod)

default value CORNER_REFINE_NONE
source§

fn set_corner_refinement_win_size(&mut self, val: i32)

window size for the corner refinement process (in pixels) (default 5).
source§

fn set_corner_refinement_max_iterations(&mut self, val: i32)

maximum number of iterations for stop criteria of the corner refinement process (default 30).
source§

fn set_corner_refinement_min_accuracy(&mut self, val: f64)

minimum error for the stop cristeria of the corner refinement process (default: 0.1)
source§

fn set_marker_border_bits(&mut self, val: i32)

number of bits of the marker border, i.e. marker border width (default 1).
source§

fn set_perspective_remove_pixel_per_cell(&mut self, val: i32)

number of bits (per dimension) for each cell of the marker when removing the perspective (default 4).
source§

fn set_perspective_remove_ignored_margin_per_cell(&mut self, val: f64)

width of the margin of pixels on each cell not considered for the determination of the cell bit. Read more
source§

fn set_max_erroneous_bits_in_border_rate(&mut self, val: f64)

maximum number of accepted erroneous bits in the border (i.e. number of allowed white bits in the border). Read more
source§

fn set_min_otsu_std_dev(&mut self, val: f64)

minimun standard deviation in pixels values during the decodification step to apply Otsu thresholding (otherwise, all the bits are set to 0 or 1 depending on mean higher than 128 or not) (default 5.0)
source§

fn set_error_correction_rate(&mut self, val: f64)

error correction rate respect to the maximun error correction capability for each dictionary (default 0.6).
source§

fn set_april_tag_quad_decimate(&mut self, val: f32)

April :: User-configurable parameters. Read more
source§

fn set_april_tag_quad_sigma(&mut self, val: f32)

what Gaussian blur should be applied to the segmented image (used for quad detection?)
source§

fn set_april_tag_min_cluster_pixels(&mut self, val: i32)

reject quads containing too few pixels (default 5).
source§

fn set_april_tag_max_nmaxima(&mut self, val: i32)

how many corner candidates to consider when segmenting a group of pixels into a quad (default 10).
source§

fn set_april_tag_critical_rad(&mut self, val: f32)

reject quads where pairs of edges have angles that are close to straight or close to 180 degrees. Read more
source§

fn set_april_tag_max_line_fit_mse(&mut self, val: f32)

when fitting lines to the contours, what is the maximum mean squared error
source§

fn set_april_tag_min_white_black_diff(&mut self, val: i32)

add an extra check that the white model must be (overall) brighter than the black model. Read more
source§

fn set_april_tag_deglitch(&mut self, val: i32)

should the thresholded image be deglitched? Only useful for very noisy images (default 0).
source§

fn set_detect_inverted_marker(&mut self, val: bool)

to check if there is a white marker. Read more
source§

fn set_use_aruco3_detection(&mut self, val: bool)

enable the new and faster Aruco detection strategy. Read more
source§

fn set_min_side_length_canonical_img(&mut self, val: i32)

minimum side length of a marker in the canonical image. Latter is the binarized image in which contours are searched.
source§

fn set_min_marker_length_ratio_original_img(&mut self, val: f32)

range [0,1], eq (2) from paper. The parameter tau_i has a direct influence on the processing speed.
source§

fn read_detector_parameters(&mut self, fn_: &FileNode) -> Result<bool>

Read a new set of DetectorParameters from FileNode (use FileStorage.root()).
source§

fn write_detector_parameters( &mut self, fs: &mut FileStorage, name: &str ) -> Result<bool>

Write a set of DetectorParameters to FileStorage Read more
source§

impl DetectorParametersTraitConst for Ptr<DetectorParameters>

source§

fn as_raw_DetectorParameters(&self) -> *const c_void

source§

fn adaptive_thresh_win_size_min(&self) -> i32

minimum window size for adaptive thresholding before finding contours (default 3).
source§

fn adaptive_thresh_win_size_max(&self) -> i32

maximum window size for adaptive thresholding before finding contours (default 23).
source§

fn adaptive_thresh_win_size_step(&self) -> i32

increments from adaptiveThreshWinSizeMin to adaptiveThreshWinSizeMax during the thresholding (default 10).
source§

fn adaptive_thresh_constant(&self) -> f64

constant for adaptive thresholding before finding contours (default 7)
source§

fn min_marker_perimeter_rate(&self) -> f64

determine minimum perimeter for marker contour to be detected. Read more
source§

fn max_marker_perimeter_rate(&self) -> f64

determine maximum perimeter for marker contour to be detected. Read more
source§

fn polygonal_approx_accuracy_rate(&self) -> f64

minimum accuracy during the polygonal approximation process to determine which contours are squares. (default 0.03)
source§

fn min_corner_distance_rate(&self) -> f64

minimum distance between corners for detected markers relative to its perimeter (default 0.05)
source§

fn min_distance_to_border(&self) -> i32

minimum distance of any corner to the image border for detected markers (in pixels) (default 3)
source§

fn min_marker_distance_rate(&self) -> f64

minimum mean distance beetween two marker corners to be considered imilar, so that the smaller one is removed. Read more
source§

fn corner_refinement_method(&self) -> CornerRefineMethod

default value CORNER_REFINE_NONE
source§

fn corner_refinement_win_size(&self) -> i32

window size for the corner refinement process (in pixels) (default 5).
source§

fn corner_refinement_max_iterations(&self) -> i32

maximum number of iterations for stop criteria of the corner refinement process (default 30).
source§

fn corner_refinement_min_accuracy(&self) -> f64

minimum error for the stop cristeria of the corner refinement process (default: 0.1)
source§

fn marker_border_bits(&self) -> i32

number of bits of the marker border, i.e. marker border width (default 1).
source§

fn perspective_remove_pixel_per_cell(&self) -> i32

number of bits (per dimension) for each cell of the marker when removing the perspective (default 4).
source§

fn perspective_remove_ignored_margin_per_cell(&self) -> f64

width of the margin of pixels on each cell not considered for the determination of the cell bit. Read more
source§

fn max_erroneous_bits_in_border_rate(&self) -> f64

maximum number of accepted erroneous bits in the border (i.e. number of allowed white bits in the border). Read more
source§

fn min_otsu_std_dev(&self) -> f64

minimun standard deviation in pixels values during the decodification step to apply Otsu thresholding (otherwise, all the bits are set to 0 or 1 depending on mean higher than 128 or not) (default 5.0)
source§

fn error_correction_rate(&self) -> f64

error correction rate respect to the maximun error correction capability for each dictionary (default 0.6).
source§

fn april_tag_quad_decimate(&self) -> f32

April :: User-configurable parameters. Read more
source§

fn april_tag_quad_sigma(&self) -> f32

what Gaussian blur should be applied to the segmented image (used for quad detection?)
source§

fn april_tag_min_cluster_pixels(&self) -> i32

reject quads containing too few pixels (default 5).
source§

fn april_tag_max_nmaxima(&self) -> i32

how many corner candidates to consider when segmenting a group of pixels into a quad (default 10).
source§

fn april_tag_critical_rad(&self) -> f32

reject quads where pairs of edges have angles that are close to straight or close to 180 degrees. Read more
source§

fn april_tag_max_line_fit_mse(&self) -> f32

when fitting lines to the contours, what is the maximum mean squared error
source§

fn april_tag_min_white_black_diff(&self) -> i32

add an extra check that the white model must be (overall) brighter than the black model. Read more
source§

fn april_tag_deglitch(&self) -> i32

should the thresholded image be deglitched? Only useful for very noisy images (default 0).
source§

fn detect_inverted_marker(&self) -> bool

to check if there is a white marker. Read more
source§

fn use_aruco3_detection(&self) -> bool

enable the new and faster Aruco detection strategy. Read more
source§

fn min_side_length_canonical_img(&self) -> i32

minimum side length of a marker in the canonical image. Latter is the binarized image in which contours are searched.
source§

fn min_marker_length_ratio_original_img(&self) -> f32

range [0,1], eq (2) from paper. The parameter tau_i has a direct influence on the processing speed.
source§

impl DictionaryTrait for Ptr<Dictionary>

source§

fn as_raw_mut_Dictionary(&mut self) -> *mut c_void

source§

fn set_bytes_list(&mut self, val: Mat)

source§

fn set_marker_size(&mut self, val: i32)

source§

fn set_max_correction_bits(&mut self, val: i32)

source§

fn read_dictionary(&mut self, fn_: &FileNode) -> Result<bool>

Read a new dictionary from FileNode. Read more
source§

fn write_dictionary(&mut self, fs: &mut FileStorage, name: &str) -> Result<()>

Write a dictionary to FileStorage, format is the same as in readDictionary(). Read more
source§

impl DictionaryTraitConst for Ptr<Dictionary>

source§

fn as_raw_Dictionary(&self) -> *const c_void

source§

fn bytes_list(&self) -> Mat

source§

fn marker_size(&self) -> i32

source§

fn max_correction_bits(&self) -> i32

source§

fn identify( &self, only_bits: &Mat, 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: &dyn ToInputArray, id: i32, all_rotations: bool ) -> Result<i32>

Returns the distance of the input bits to the specific id. Read more
source§

fn generate_image_marker( &self, id: i32, side_pixels: i32, _img: &mut dyn ToOutputArray, border_bits: i32 ) -> Result<()>

Generate a canonical marker image Read more
source§

impl DisparityFilter for Ptr<dyn DisparityWLSFilter>

source§

fn as_raw_mut_DisparityFilter(&mut self) -> *mut c_void

source§

fn filter( &mut self, disparity_map_left: &dyn ToInputArray, left_view: &dyn ToInputArray, filtered_disparity_map: &mut dyn ToOutputArray, disparity_map_right: &dyn ToInputArray, roi: Rect, right_view: &dyn ToInputArray ) -> Result<()>

Apply filtering to the disparity map. Read more
source§

impl DisparityFilterConst for Ptr<dyn DisparityWLSFilter>

source§

impl DisparityWLSFilter for Ptr<dyn DisparityWLSFilter>

source§

fn as_raw_mut_DisparityWLSFilter(&mut self) -> *mut c_void

source§

fn get_lambda(&mut self) -> Result<f64>

Lambda is a parameter defining the amount of regularization during filtering. Larger values force filtered disparity map edges to adhere more to source image edges. Typical value is 8000.
source§

fn set_lambda(&mut self, _lambda: f64) -> Result<()>

See also Read more
source§

fn get_sigma_color(&mut self) -> Result<f64>

SigmaColor is a parameter defining how sensitive the filtering process is to source image edges. Large values can lead to disparity leakage through low-contrast edges. Small values can make the filter too sensitive to noise and textures in the source image. Typical values range from 0.8 to 2.0.
source§

fn set_sigma_color(&mut self, _sigma_color: f64) -> Result<()>

See also Read more
source§

fn get_lr_cthresh(&mut self) -> Result<i32>

LRCthresh is a threshold of disparity difference used in left-right-consistency check during confidence map computation. The default value of 24 (1.5 pixels) is virtually always good enough.
source§

fn set_lr_cthresh(&mut self, _lrc_thresh: i32) -> Result<()>

See also Read more
source§

fn get_depth_discontinuity_radius(&mut self) -> Result<i32>

DepthDiscontinuityRadius is a parameter used in confidence computation. It defines the size of low-confidence regions around depth discontinuities.
source§

fn set_depth_discontinuity_radius(&mut self, _disc_radius: i32) -> Result<()>

See also Read more
source§

fn get_confidence_map(&mut self) -> Result<Mat>

Get the confidence map that was used in the last filter call. It is a CV_32F one-channel image with values ranging from 0.0 (totally untrusted regions of the raw disparity map) to 255.0 (regions containing correct disparity values with a high degree of confidence).
source§

fn get_roi(&mut self) -> Result<Rect>

Get the ROI used in the last filter call
source§

impl DisparityWLSFilterConst for Ptr<dyn DisparityWLSFilter>

source§

impl DnnSuperResImplTrait for Ptr<DnnSuperResImpl>

source§

fn as_raw_mut_DnnSuperResImpl(&mut self) -> *mut c_void

source§

fn read_model(&mut self, path: &str) -> Result<()>

Read the model from the given path Read more
source§

fn read_model_1(&mut self, weights: &str, definition: &str) -> Result<()>

Read the model from the given path Read more
source§

fn set_model(&mut self, algo: &str, scale: i32) -> Result<()>

Set desired model Read more
source§

fn set_preferable_backend(&mut self, backend_id: i32) -> Result<()>

Set computation backend
source§

fn set_preferable_target(&mut self, target_id: i32) -> Result<()>

Set computation target
source§

fn upsample( &mut self, img: &dyn ToInputArray, result: &mut dyn ToOutputArray ) -> Result<()>

Upsample via neural network Read more
source§

fn upsample_multioutput( &mut self, img: &dyn ToInputArray, imgs_new: &mut Vector<Mat>, scale_factors: &Vector<i32>, node_names: &Vector<String> ) -> Result<()>

Upsample via neural network of multiple outputs Read more
source§

fn get_scale(&mut self) -> Result<i32>

Returns the scale factor of the model: Read more
source§

fn get_algorithm(&mut self) -> Result<String>

Returns the scale factor of the model: Read more
source§

impl DnnSuperResImplTraitConst for Ptr<DnnSuperResImpl>

source§

impl DownhillSolver for Ptr<dyn DownhillSolver>

source§

fn as_raw_mut_DownhillSolver(&mut self) -> *mut c_void

source§

fn set_init_step(&mut self, step: &dyn ToInputArray) -> Result<()>

Sets the initial step that will be used in downhill simplex algorithm. Read more
source§

impl DownhillSolverConst for Ptr<dyn DownhillSolver>

source§

fn as_raw_DownhillSolver(&self) -> *const c_void

source§

fn get_init_step(&self, step: &mut dyn ToOutputArray) -> Result<()>

Returns the initial step that will be used in downhill simplex algorithm. Read more
source§

impl<T: ?Sized> Drop for Ptr<T>where Self: PtrExtern,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl DualTVL1OpticalFlow for Ptr<dyn DualTVL1OpticalFlow>

source§

fn as_raw_mut_DualTVL1OpticalFlow(&mut self) -> *mut c_void

source§

fn set_tau(&mut self, val: f64) -> Result<()>

Time step of the numerical scheme Read more
source§

fn set_lambda(&mut self, val: f64) -> Result<()>

Weight parameter for the data term, attachment parameter Read more
source§

fn set_theta(&mut self, val: f64) -> Result<()>

Weight parameter for (u - v)^2, tightness parameter Read more
source§

fn set_gamma(&mut self, val: f64) -> Result<()>

coefficient for additional illumination variation term Read more
source§

fn set_scales_number(&mut self, val: i32) -> Result<()>

Number of scales used to create the pyramid of images Read more
source§

fn set_warpings_number(&mut self, val: i32) -> Result<()>

Number of warpings per scale Read more
source§

fn set_epsilon(&mut self, val: f64) -> Result<()>

Stopping criterion threshold used in the numerical scheme, which is a trade-off between precision and running time Read more
source§

fn set_inner_iterations(&mut self, val: i32) -> Result<()>

Inner iterations (between outlier filtering) used in the numerical scheme Read more
source§

fn set_outer_iterations(&mut self, val: i32) -> Result<()>

Outer iterations (number of inner loops) used in the numerical scheme Read more
source§

fn set_use_initial_flow(&mut self, val: bool) -> Result<()>

Use initial flow Read more
source§

fn set_scale_step(&mut self, val: f64) -> Result<()>

Step between scales (<1) Read more
source§

fn set_median_filtering(&mut self, val: i32) -> Result<()>

Median filter kernel size (1 = no filter) (3 or 5) Read more
source§

impl DualTVL1OpticalFlowConst for Ptr<dyn DualTVL1OpticalFlow>

source§

fn as_raw_DualTVL1OpticalFlow(&self) -> *const c_void

source§

fn get_tau(&self) -> Result<f64>

Time step of the numerical scheme Read more
source§

fn get_lambda(&self) -> Result<f64>

Weight parameter for the data term, attachment parameter Read more
source§

fn get_theta(&self) -> Result<f64>

Weight parameter for (u - v)^2, tightness parameter Read more
source§

fn get_gamma(&self) -> Result<f64>

coefficient for additional illumination variation term Read more
source§

fn get_scales_number(&self) -> Result<i32>

Number of scales used to create the pyramid of images Read more
source§

fn get_warpings_number(&self) -> Result<i32>

Number of warpings per scale Read more
source§

fn get_epsilon(&self) -> Result<f64>

Stopping criterion threshold used in the numerical scheme, which is a trade-off between precision and running time Read more
source§

fn get_inner_iterations(&self) -> Result<i32>

Inner iterations (between outlier filtering) used in the numerical scheme Read more
source§

fn get_outer_iterations(&self) -> Result<i32>

Outer iterations (number of inner loops) used in the numerical scheme Read more
source§

fn get_use_initial_flow(&self) -> Result<bool>

Use initial flow Read more
source§

fn get_scale_step(&self) -> Result<f64>

Step between scales (<1) Read more
source§

fn get_median_filtering(&self) -> Result<i32>

Median filter kernel size (1 = no filter) (3 or 5) Read more
source§

impl Dynafu_DynaFu for Ptr<dyn Dynafu_DynaFu>

source§

fn as_raw_mut_Dynafu_DynaFu(&mut self) -> *mut c_void

source§

fn reset(&mut self) -> Result<()>

Resets the algorithm Read more
source§

fn update(&mut self, depth: &dyn ToInputArray) -> Result<bool>

Process next depth frame Read more
source§

fn render_surface( &mut self, depth_image: &mut dyn ToOutputArray, vert_image: &mut dyn ToOutputArray, norm_image: &mut dyn ToOutputArray, warp: bool ) -> Result<()>

C++ default parameters Read more
source§

impl Dynafu_DynaFuConst for Ptr<dyn Dynafu_DynaFu>

source§

fn as_raw_Dynafu_DynaFu(&self) -> *const c_void

source§

fn get_params(&self) -> Result<Kinfu_Params>

Get current parameters
source§

fn render( &self, image: &mut dyn ToOutputArray, camera_pose: Matx44f ) -> Result<()>

Renders a volume into an image Read more
source§

fn get_cloud( &self, points: &mut dyn ToOutputArray, normals: &mut dyn ToOutputArray ) -> Result<()>

Gets points and normals of current 3d mesh Read more
source§

fn get_points(&self, points: &mut dyn ToOutputArray) -> Result<()>

Gets points of current 3d mesh Read more
source§

fn get_normals( &self, points: &dyn ToInputArray, normals: &mut dyn ToOutputArray ) -> Result<()>

Calculates normals for given points Read more
source§

fn get_pose(&self) -> Result<Affine3f>

Get current pose in voxel space
source§

fn get_nodes_pos(&self) -> Result<Vector<Point3f>>

source§

fn march_cubes( &self, vertices: &mut dyn ToOutputArray, edges: &mut dyn ToOutputArray ) -> Result<()>

source§

impl ELULayerTrait for Ptr<ELULayer>

source§

fn as_raw_mut_ELULayer(&mut self) -> *mut c_void

source§

fn set_alpha(&mut self, val: f32)

source§

impl ELULayerTraitConst for Ptr<ELULayer>

source§

impl EM for Ptr<dyn EM>

source§

fn as_raw_mut_EM(&mut self) -> *mut c_void

source§

fn set_clusters_number(&mut self, val: i32) -> Result<()>

The number of mixture components in the Gaussian mixture model. Default value of the parameter is EM::DEFAULT_NCLUSTERS=5. Some of %EM implementation could determine the optimal number of mixtures within a specified value range, but that is not the case in ML yet. Read more
source§

fn set_covariance_matrix_type(&mut self, val: i32) -> Result<()>

Constraint on covariance matrices which defines type of matrices. See EM::Types. Read more
source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

The termination criteria of the %EM algorithm. The %EM algorithm can be terminated by the number of iterations termCrit.maxCount (number of M-steps) or when relative change of likelihood logarithm is less than termCrit.epsilon. Default maximum number of iterations is EM::DEFAULT_MAX_ITERS=100. Read more
source§

fn train_em( &mut self, samples: &dyn ToInputArray, log_likelihoods: &mut dyn ToOutputArray, labels: &mut dyn ToOutputArray, probs: &mut dyn ToOutputArray ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
source§

fn train_e( &mut self, samples: &dyn ToInputArray, means0: &dyn ToInputArray, covs0: &dyn ToInputArray, weights0: &dyn ToInputArray, log_likelihoods: &mut dyn ToOutputArray, labels: &mut dyn ToOutputArray, probs: &mut dyn ToOutputArray ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
source§

fn train_m( &mut self, samples: &dyn ToInputArray, probs0: &dyn ToInputArray, log_likelihoods: &mut dyn ToOutputArray, labels: &mut dyn ToOutputArray, probs: &mut dyn ToOutputArray ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
source§

impl EMConst for Ptr<dyn EM>

source§

fn as_raw_EM(&self) -> *const c_void

source§

fn get_clusters_number(&self) -> Result<i32>

The number of mixture components in the Gaussian mixture model. Default value of the parameter is EM::DEFAULT_NCLUSTERS=5. Some of %EM implementation could determine the optimal number of mixtures within a specified value range, but that is not the case in ML yet. Read more
source§

fn get_covariance_matrix_type(&self) -> Result<i32>

Constraint on covariance matrices which defines type of matrices. See EM::Types. Read more
source§

fn get_term_criteria(&self) -> Result<TermCriteria>

The termination criteria of the %EM algorithm. The %EM algorithm can be terminated by the number of iterations termCrit.maxCount (number of M-steps) or when relative change of likelihood logarithm is less than termCrit.epsilon. Default maximum number of iterations is EM::DEFAULT_MAX_ITERS=100. Read more
source§

fn get_weights(&self) -> Result<Mat>

Returns weights of the mixtures Read more
source§

fn get_means(&self) -> Result<Mat>

Returns the cluster centers (means of the Gaussian mixture) Read more
source§

fn get_covs(&self, covs: &mut Vector<Mat>) -> Result<()>

Returns covariation matrices Read more
source§

fn predict( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Returns posterior probabilities for the provided samples Read more
source§

fn predict2( &self, sample: &dyn ToInputArray, probs: &mut dyn 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 EMDHistogramCostExtractor for Ptr<dyn EMDHistogramCostExtractor>

source§

impl EMDHistogramCostExtractorConst for Ptr<dyn EMDHistogramCostExtractor>

source§

impl EMDL1HistogramCostExtractor for Ptr<dyn EMDL1HistogramCostExtractor>

source§

impl EMDL1HistogramCostExtractorConst for Ptr<dyn EMDL1HistogramCostExtractor>

source§

impl ERFilter for Ptr<dyn ERFilter>

source§

fn as_raw_mut_ERFilter(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &dyn ToInputArray, regions: &mut Vector<ERStat> ) -> Result<()>

The key method of ERFilter algorithm. Read more
source§

fn set_callback(&mut self, cb: &Ptr<dyn ERFilter_Callback>) -> Result<()>

set/get methods to set the algorithm properties,
source§

fn set_threshold_delta(&mut self, threshold_delta: i32) -> Result<()>

source§

fn set_min_area(&mut self, min_area: f32) -> Result<()>

source§

fn set_max_area(&mut self, max_area: f32) -> Result<()>

source§

fn set_min_probability(&mut self, min_probability: f32) -> Result<()>

source§

fn set_min_probability_diff(&mut self, min_probability_diff: f32) -> Result<()>

source§

fn set_non_max_suppression(&mut self, non_max_suppression: bool) -> Result<()>

source§

impl ERFilterConst for Ptr<dyn ERFilter>

source§

impl ERFilter_Callback for Ptr<dyn ERFilter_Callback>

source§

fn as_raw_mut_ERFilter_Callback(&mut self) -> *mut c_void

source§

fn eval(&mut self, stat: &ERStat) -> Result<f64>

The classifier must return probability measure for the region. Read more
source§

impl ERFilter_CallbackConst for Ptr<dyn ERFilter_Callback>

source§

impl EdgeAwareInterpolator for Ptr<dyn EdgeAwareInterpolator>

source§

fn as_raw_mut_EdgeAwareInterpolator(&mut self) -> *mut c_void

source§

fn set_cost_map(&mut self, _cost_map: &Mat) -> Result<()>

Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term. This implementation is based on a rather simple gradient-based edge map estimation. To used more complex edge map estimator (e.g. StructuredEdgeDetection that has been used in the original publication) that may lead to improved accuracies, the internal edge map estimation can be bypassed here. Read more
source§

fn set_k(&mut self, _k: i32) -> Result<()>

Parameter to tune the approximate size of the superpixel used for oversegmentation. Read more
source§

fn get_k(&mut self) -> Result<i32>

See also Read more
source§

fn set_sigma(&mut self, _sigma: f32) -> Result<()>

Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the output flow.
source§

fn get_sigma(&mut self) -> Result<f32>

See also Read more
source§

fn set_lambda(&mut self, _lambda: f32) -> Result<()>

Lambda is a parameter defining the weight of the edge-aware term in geodesic distance, should be in the range of 0 to 1000.
source§

fn get_lambda(&mut self) -> Result<f32>

See also Read more
source§

fn set_use_post_processing(&mut self, _use_post_proc: bool) -> Result<()>

Sets whether the fastGlobalSmootherFilter() post-processing is employed. It is turned on by default.
source§

fn get_use_post_processing(&mut self) -> Result<bool>

See also Read more
source§

fn set_fgs_lambda(&mut self, _lambda: f32) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter.
source§

fn get_fgs_lambda(&mut self) -> Result<f32>

See also Read more
source§

fn set_fgs_sigma(&mut self, _sigma: f32) -> Result<()>

See also Read more
source§

fn get_fgs_sigma(&mut self) -> Result<f32>

See also Read more
source§

impl EdgeAwareInterpolatorConst for Ptr<dyn EdgeAwareInterpolator>

source§

impl EdgeBoxes for Ptr<dyn EdgeBoxes>

source§

fn as_raw_mut_EdgeBoxes(&mut self) -> *mut c_void

source§

fn get_bounding_boxes( &mut self, edge_map: &dyn ToInputArray, orientation_map: &dyn ToInputArray, boxes: &mut Vector<Rect>, scores: &mut dyn ToOutputArray ) -> Result<()>

Returns array containing proposal boxes. Read more
source§

fn set_alpha(&mut self, value: f32) -> Result<()>

Sets the step size of sliding window search.
source§

fn set_beta(&mut self, value: f32) -> Result<()>

Sets the nms threshold for object proposals.
source§

fn set_eta(&mut self, value: f32) -> Result<()>

Sets the adaptation rate for nms threshold.
source§

fn set_min_score(&mut self, value: f32) -> Result<()>

Sets the min score of boxes to detect.
source§

fn set_max_boxes(&mut self, value: i32) -> Result<()>

Sets max number of boxes to detect.
source§

fn set_edge_min_mag(&mut self, value: f32) -> Result<()>

Sets the edge min magnitude.
source§

fn set_edge_merge_thr(&mut self, value: f32) -> Result<()>

Sets the edge merge threshold.
source§

fn set_cluster_min_mag(&mut self, value: f32) -> Result<()>

Sets the cluster min magnitude.
source§

fn set_max_aspect_ratio(&mut self, value: f32) -> Result<()>

Sets the max aspect ratio of boxes.
source§

fn set_min_box_area(&mut self, value: f32) -> Result<()>

Sets the minimum area of boxes.
source§

fn set_gamma(&mut self, value: f32) -> Result<()>

Sets the affinity sensitivity
source§

fn set_kappa(&mut self, value: f32) -> Result<()>

Sets the scale sensitivity.
source§

impl EdgeBoxesConst for Ptr<dyn EdgeBoxes>

source§

fn as_raw_EdgeBoxes(&self) -> *const c_void

source§

fn get_alpha(&self) -> Result<f32>

Returns the step size of sliding window search.
source§

fn get_beta(&self) -> Result<f32>

Returns the nms threshold for object proposals.
source§

fn get_eta(&self) -> Result<f32>

Returns adaptation rate for nms threshold.
source§

fn get_min_score(&self) -> Result<f32>

Returns the min score of boxes to detect.
source§

fn get_max_boxes(&self) -> Result<i32>

Returns the max number of boxes to detect.
source§

fn get_edge_min_mag(&self) -> Result<f32>

Returns the edge min magnitude.
source§

fn get_edge_merge_thr(&self) -> Result<f32>

Returns the edge merge threshold.
source§

fn get_cluster_min_mag(&self) -> Result<f32>

Returns the cluster min magnitude.
source§

fn get_max_aspect_ratio(&self) -> Result<f32>

Returns the max aspect ratio of boxes.
source§

fn get_min_box_area(&self) -> Result<f32>

Returns the minimum area of boxes.
source§

fn get_gamma(&self) -> Result<f32>

Returns the affinity sensitivity.
source§

fn get_kappa(&self) -> Result<f32>

Returns the scale sensitivity.
source§

impl EdgeDrawing for Ptr<dyn EdgeDrawing>

source§

fn as_raw_mut_EdgeDrawing(&mut self) -> *mut c_void

source§

fn set_params(&mut self, val: EdgeDrawing_Params)

source§

fn detect_edges(&mut self, src: &dyn ToInputArray) -> Result<()>

Detects edges in a grayscale image and prepares them to detect lines and ellipses. Read more
source§

fn get_edge_image(&mut self, dst: &mut dyn ToOutputArray) -> Result<()>

returns Edge Image prepared by detectEdges() function. Read more
source§

fn get_gradient_image(&mut self, dst: &mut dyn ToOutputArray) -> Result<()>

returns Gradient Image prepared by detectEdges() function. Read more
source§

fn get_segments(&mut self) -> Result<Vector<Vector<Point>>>

Returns std::vector<std::vector> of detected edge segments, see detectEdges()
source§

fn detect_lines(&mut self, lines: &mut dyn ToOutputArray) -> Result<()>

Detects lines. Read more
source§

fn detect_ellipses(&mut self, ellipses: &mut dyn ToOutputArray) -> Result<()>

Detects circles and ellipses. Read more
source§

fn set_params_1(&mut self, parameters: EdgeDrawing_Params) -> Result<()>

sets parameters. Read more
source§

impl EdgeDrawingConst for Ptr<dyn EdgeDrawing>

source§

fn as_raw_EdgeDrawing(&self) -> *const c_void

source§

fn params(&self) -> EdgeDrawing_Params

source§

fn get_segment_indices_of_lines(&self) -> Result<Vector<i32>>

Returns for each line found in detectLines() its edge segment index in getSegments()
source§

impl EigenFaceRecognizer for Ptr<dyn EigenFaceRecognizer>

source§

impl EigenFaceRecognizerConst for Ptr<dyn EigenFaceRecognizer>

source§

impl EltwiseLayerInt8Trait for Ptr<EltwiseLayerInt8>

source§

impl EltwiseLayerInt8TraitConst for Ptr<EltwiseLayerInt8>

source§

impl EltwiseLayerTrait for Ptr<EltwiseLayer>

source§

impl EltwiseLayerTraitConst for Ptr<EltwiseLayer>

source§

impl EncoderCallback for Ptr<dyn EncoderCallback>

source§

fn as_raw_mut_EncoderCallback(&mut self) -> *mut c_void

source§

fn on_encoded(&mut self, v_packet: Vector<Vector<u8>>) -> Result<()>

Callback function to signal that the encoded bitstream for one or more frames is ready. Read more
source§

fn on_encoding_finished(&mut self) -> Result<()>

Callback function to that the encoding has finished.
source§

impl EncoderCallbackConst for Ptr<dyn EncoderCallback>

source§

impl ErfLayerTrait for Ptr<ErfLayer>

source§

impl ErfLayerTraitConst for Ptr<ErfLayer>

source§

impl EstimateParametersTrait for Ptr<EstimateParameters>

source§

impl EstimateParametersTraitConst for Ptr<EstimateParameters>

source§

impl ExpLayerTrait for Ptr<ExpLayer>

source§

fn as_raw_mut_ExpLayer(&mut self) -> *mut c_void

source§

fn set_base(&mut self, val: f32)

source§

fn set_scale(&mut self, val: f32)

source§

fn set_shift(&mut self, val: f32)

source§

impl ExpLayerTraitConst for Ptr<ExpLayer>

source§

fn as_raw_ExpLayer(&self) -> *const c_void

source§

fn base(&self) -> f32

source§

fn scale(&self) -> f32

source§

fn shift(&self) -> f32

source§

impl FREAK for Ptr<dyn FREAK>

source§

fn as_raw_mut_FREAK(&mut self) -> *mut c_void

source§

fn set_orientation_normalized( &mut self, orientation_normalized: bool ) -> Result<()>

source§

fn set_scale_normalized(&mut self, scale_normalized: bool) -> Result<()>

source§

fn set_pattern_scale(&mut self, pattern_scale: f64) -> Result<()>

source§

fn set_n_octaves(&mut self, n_octaves: i32) -> Result<()>

source§

impl FREAKConst for Ptr<dyn FREAK>

source§

impl FaceDetectorYN for Ptr<dyn FaceDetectorYN>

source§

fn as_raw_mut_FaceDetectorYN(&mut self) -> *mut c_void

source§

fn set_input_size(&mut self, input_size: Size) -> Result<()>

Set the size for the network input, which overwrites the input size of creating model. Call this method when the size of input image does not match the input size when creating model Read more
source§

fn get_input_size(&mut self) -> Result<Size>

source§

fn set_score_threshold(&mut self, score_threshold: f32) -> Result<()>

Set the score threshold to filter out bounding boxes of score less than the given value Read more
source§

fn get_score_threshold(&mut self) -> Result<f32>

source§

fn set_nms_threshold(&mut self, nms_threshold: f32) -> Result<()>

Set the Non-maximum-suppression threshold to suppress bounding boxes that have IoU greater than the given value Read more
source§

fn get_nms_threshold(&mut self) -> Result<f32>

source§

fn set_top_k(&mut self, top_k: i32) -> Result<()>

Set the number of bounding boxes preserved before NMS Read more
source§

fn get_top_k(&mut self) -> Result<i32>

source§

fn detect( &mut self, image: &dyn ToInputArray, faces: &mut dyn ToOutputArray ) -> Result<i32>

A simple interface to detect face from given image Read more
source§

impl FaceDetectorYNConst for Ptr<dyn FaceDetectorYN>

source§

impl FaceRecognizer for Ptr<dyn EigenFaceRecognizer>

source§

fn as_raw_mut_FaceRecognizer(&mut self) -> *mut c_void

source§

fn train( &mut self, src: &dyn ToInputArray, labels: &dyn ToInputArray ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
source§

fn update( &mut self, src: &dyn ToInputArray, labels: &dyn ToInputArray ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn read_1(&mut self, fn_: &FileNode) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
source§

impl FaceRecognizer for Ptr<dyn FisherFaceRecognizer>

source§

fn as_raw_mut_FaceRecognizer(&mut self) -> *mut c_void

source§

fn train( &mut self, src: &dyn ToInputArray, labels: &dyn ToInputArray ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
source§

fn update( &mut self, src: &dyn ToInputArray, labels: &dyn ToInputArray ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn read_1(&mut self, fn_: &FileNode) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
source§

impl FaceRecognizer for Ptr<dyn LBPHFaceRecognizer>

source§

fn as_raw_mut_FaceRecognizer(&mut self) -> *mut c_void

source§

fn train( &mut self, src: &dyn ToInputArray, labels: &dyn ToInputArray ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
source§

fn update( &mut self, src: &dyn ToInputArray, labels: &dyn ToInputArray ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn read_1(&mut self, fn_: &FileNode) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
source§

impl FaceRecognizerConst for Ptr<dyn EigenFaceRecognizer>

source§

fn as_raw_FaceRecognizer(&self) -> *const c_void

source§

fn predict_label(&self, src: &dyn ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict( &self, src: &dyn 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: &dyn ToInputArray, collector: Ptr<dyn PredictCollector> ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn write_1(&self, fs: &mut FileStorage) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
source§

impl FaceRecognizerConst for Ptr<dyn FisherFaceRecognizer>

source§

fn as_raw_FaceRecognizer(&self) -> *const c_void

source§

fn predict_label(&self, src: &dyn ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict( &self, src: &dyn 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: &dyn ToInputArray, collector: Ptr<dyn PredictCollector> ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn write_1(&self, fs: &mut FileStorage) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
source§

impl FaceRecognizerConst for Ptr<dyn LBPHFaceRecognizer>

source§

fn as_raw_FaceRecognizer(&self) -> *const c_void

source§

fn predict_label(&self, src: &dyn ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict( &self, src: &dyn 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: &dyn ToInputArray, collector: Ptr<dyn PredictCollector> ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn write_1(&self, fs: &mut FileStorage) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
source§

impl FaceRecognizerSF for Ptr<dyn FaceRecognizerSF>

source§

fn as_raw_mut_FaceRecognizerSF(&mut self) -> *mut c_void

source§

fn feature( &mut self, aligned_img: &dyn ToInputArray, face_feature: &mut dyn ToOutputArray ) -> Result<()>

Extracting face feature from aligned image Read more
source§

impl FaceRecognizerSFConst for Ptr<dyn FaceRecognizerSF>

source§

fn as_raw_FaceRecognizerSF(&self) -> *const c_void

source§

fn align_crop( &self, src_img: &dyn ToInputArray, face_box: &dyn ToInputArray, aligned_img: &mut dyn ToOutputArray ) -> Result<()>

Aligning image to put face on the standard position Read more
source§

fn match_( &self, face_feature1: &dyn ToInputArray, face_feature2: &dyn ToInputArray, dis_type: i32 ) -> Result<f64>

Calculating the distance between two face features Read more
source§

impl Facemark for Ptr<dyn Facemark>

source§

fn as_raw_mut_Facemark(&mut self) -> *mut c_void

source§

fn load_model(&mut self, model: &str) -> Result<()>

A function to load the trained model before the fitting process. Read more
source§

fn fit( &mut self, image: &dyn ToInputArray, faces: &dyn ToInputArray, landmarks: &mut dyn ToOutputArray ) -> Result<bool>

Detect facial landmarks from an image. Read more
source§

impl Facemark for Ptr<dyn FacemarkAAM>

source§

fn as_raw_mut_Facemark(&mut self) -> *mut c_void

source§

fn load_model(&mut self, model: &str) -> Result<()>

A function to load the trained model before the fitting process. Read more
source§

fn fit( &mut self, image: &dyn ToInputArray, faces: &dyn ToInputArray, landmarks: &mut dyn ToOutputArray ) -> Result<bool>

Detect facial landmarks from an image. Read more
source§

impl Facemark for Ptr<dyn FacemarkKazemi>

source§

fn as_raw_mut_Facemark(&mut self) -> *mut c_void

source§

fn load_model(&mut self, model: &str) -> Result<()>

A function to load the trained model before the fitting process. Read more
source§

fn fit( &mut self, image: &dyn ToInputArray, faces: &dyn ToInputArray, landmarks: &mut dyn ToOutputArray ) -> Result<bool>

Detect facial landmarks from an image. Read more
source§

impl Facemark for Ptr<dyn FacemarkLBF>

source§

fn as_raw_mut_Facemark(&mut self) -> *mut c_void

source§

fn load_model(&mut self, model: &str) -> Result<()>

A function to load the trained model before the fitting process. Read more
source§

fn fit( &mut self, image: &dyn ToInputArray, faces: &dyn ToInputArray, landmarks: &mut dyn ToOutputArray ) -> Result<bool>

Detect facial landmarks from an image. Read more
source§

impl FacemarkAAM for Ptr<dyn FacemarkAAM>

source§

fn as_raw_mut_FacemarkAAM(&mut self) -> *mut c_void

source§

fn fit_config( &mut self, image: &dyn ToInputArray, roi: &dyn ToInputArray, _landmarks: &mut dyn ToOutputArray, runtime_params: &Vector<FacemarkAAM_Config> ) -> Result<bool>

overload with additional Config structures
source§

impl FacemarkAAMConst for Ptr<dyn FacemarkAAM>

source§

impl FacemarkConst for Ptr<dyn Facemark>

source§

impl FacemarkConst for Ptr<dyn FacemarkAAM>

source§

impl FacemarkConst for Ptr<dyn FacemarkKazemi>

source§

impl FacemarkConst for Ptr<dyn FacemarkLBF>

source§

impl FacemarkKazemi for Ptr<dyn FacemarkKazemi>

source§

fn as_raw_mut_FacemarkKazemi(&mut self) -> *mut c_void

source§

fn training( &mut self, images: &mut Vector<Mat>, landmarks: &mut Vector<Vector<Point2f>>, configfile: &str, scale: Size, model_filename: &str ) -> Result<bool>

This function is used to train the model using gradient boosting to get a cascade of regressors which can then be used to predict shape. Read more
source§

fn set_face_detector( &mut self, f: Option<Box<dyn FnMut(*const c_void, *const c_void) -> bool + Send + Sync + 'static>> ) -> Result<bool>

set the custom face detector
source§

fn get_faces( &mut self, image: &dyn ToInputArray, faces: &mut dyn ToOutputArray ) -> Result<bool>

get faces using the custom detector
source§

impl FacemarkKazemiConst for Ptr<dyn FacemarkKazemi>

source§

impl FacemarkLBF for Ptr<dyn FacemarkLBF>

source§

impl FacemarkLBFConst for Ptr<dyn FacemarkLBF>

source§

impl FacemarkTrain for Ptr<dyn FacemarkAAM>

source§

fn as_raw_mut_FacemarkTrain(&mut self) -> *mut c_void

source§

fn add_training_sample( &mut self, image: &dyn ToInputArray, landmarks: &dyn ToInputArray ) -> Result<bool>

Add one training sample to the trainer. Read more
source§

unsafe fn training(&mut self, parameters: *mut c_void) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
source§

fn set_face_detector(&mut self, detector: FN_FaceDetector) -> Result<bool>

Set a user defined face detector for the Facemark algorithm. Read more
source§

fn get_faces( &mut self, image: &dyn ToInputArray, faces: &mut dyn ToOutputArray ) -> Result<bool>

Detect faces from a given image using default or user defined face detector. Some Algorithm might not provide a default face detector. Read more
source§

unsafe fn get_data(&mut self, items: *mut c_void) -> Result<bool>

Get data from an algorithm Read more
source§

impl FacemarkTrain for Ptr<dyn FacemarkLBF>

source§

fn as_raw_mut_FacemarkTrain(&mut self) -> *mut c_void

source§

fn add_training_sample( &mut self, image: &dyn ToInputArray, landmarks: &dyn ToInputArray ) -> Result<bool>

Add one training sample to the trainer. Read more
source§

unsafe fn training(&mut self, parameters: *mut c_void) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
source§

fn set_face_detector(&mut self, detector: FN_FaceDetector) -> Result<bool>

Set a user defined face detector for the Facemark algorithm. Read more
source§

fn get_faces( &mut self, image: &dyn ToInputArray, faces: &mut dyn ToOutputArray ) -> Result<bool>

Detect faces from a given image using default or user defined face detector. Some Algorithm might not provide a default face detector. Read more
source§

unsafe fn get_data(&mut self, items: *mut c_void) -> Result<bool>

Get data from an algorithm Read more
source§

impl FacemarkTrainConst for Ptr<dyn FacemarkAAM>

source§

impl FacemarkTrainConst for Ptr<dyn FacemarkLBF>

source§

impl FarnebackOpticalFlow for Ptr<dyn FarnebackOpticalFlow>

source§

fn as_raw_mut_FarnebackOpticalFlow(&mut self) -> *mut c_void

source§

fn set_num_levels(&mut self, num_levels: i32) -> Result<()>

source§

fn set_pyr_scale(&mut self, pyr_scale: f64) -> Result<()>

source§

fn set_fast_pyramids(&mut self, fast_pyramids: bool) -> Result<()>

source§

fn set_win_size(&mut self, win_size: i32) -> Result<()>

source§

fn set_num_iters(&mut self, num_iters: i32) -> Result<()>

source§

fn set_poly_n(&mut self, poly_n: i32) -> Result<()>

source§

fn set_poly_sigma(&mut self, poly_sigma: f64) -> Result<()>

source§

fn set_flags(&mut self, flags: i32) -> Result<()>

source§

impl FarnebackOpticalFlowConst for Ptr<dyn FarnebackOpticalFlow>

source§

impl FastBilateralSolverFilter for Ptr<dyn FastBilateralSolverFilter>

source§

fn as_raw_mut_FastBilateralSolverFilter(&mut self) -> *mut c_void

source§

fn filter( &mut self, src: &dyn ToInputArray, confidence: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Apply smoothing operation to the source image. Read more
source§

impl FastBilateralSolverFilterConst for Ptr<dyn FastBilateralSolverFilter>

source§

impl FastFeatureDetector for Ptr<dyn FastFeatureDetector>

source§

impl FastFeatureDetectorConst for Ptr<dyn FastFeatureDetector>

source§

impl FastGlobalSmootherFilter for Ptr<dyn FastGlobalSmootherFilter>

source§

fn as_raw_mut_FastGlobalSmootherFilter(&mut self) -> *mut c_void

source§

fn filter( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Apply smoothing operation to the source image. Read more
source§

impl FastGlobalSmootherFilterConst for Ptr<dyn FastGlobalSmootherFilter>

source§

impl FastICPOdometryTrait for Ptr<FastICPOdometry>

source§

fn as_raw_mut_FastICPOdometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>

source§

fn set_max_dist_diff(&mut self, val: f32) -> Result<()>

source§

fn set_angle_threshold(&mut self, f: f32) -> Result<()>

source§

fn set_sigma_depth(&mut self, f: f32) -> Result<()>

source§

fn set_sigma_spatial(&mut self, f: f32) -> Result<()>

source§

fn set_kernel_size(&mut self, f: i32) -> Result<()>

source§

fn set_iteration_counts(&mut self, val: &Mat) -> Result<()>

source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

source§

impl FastICPOdometryTraitConst for Ptr<FastICPOdometry>

source§

impl FastLineDetector for Ptr<dyn FastLineDetector>

source§

fn as_raw_mut_FastLineDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, lines: &mut dyn ToOutputArray ) -> Result<()>

@example fld_lines.cpp An example using the FastLineDetector Read more
source§

fn draw_segments( &mut self, image: &mut dyn ToInputOutputArray, lines: &dyn ToInputArray, draw_arrow: bool, linecolor: Scalar, linethickness: i32 ) -> Result<()>

Draws the line segments on a given image. Read more
source§

impl FastLineDetectorConst for Ptr<dyn FastLineDetector>

source§

impl Feature2DTrait for Ptr<Feature2D>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<TEBLID>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn AKAZE>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn AffineFeature>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn AffineFeature2D>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn AgastFeatureDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn BEBLID>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn BRISK>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn BoostDesc>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn BriefDescriptorExtractor>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn CUDA_FastFeatureDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn CUDA_ORB>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn DAISY>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn FREAK>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn FastFeatureDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn GFTTDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn HarrisLaplaceFeatureDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn KAZE>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn LATCH>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn LUCID>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn MSDDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn MSER>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn ORB>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn SIFT>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn SURF>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn SimpleBlobDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn StarDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn TBMR>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTrait for Ptr<dyn VGG>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &dyn ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn compute( &mut self, image: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &dyn ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut dyn ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut dyn ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_1(&mut self, unnamed: &FileNode) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<Feature2D>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<TEBLID>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn AKAZE>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn AffineFeature>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn AffineFeature2D>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn AgastFeatureDetector>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn BEBLID>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn BRISK>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn BoostDesc>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn BriefDescriptorExtractor>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn CUDA_FastFeatureDetector>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn CUDA_ORB>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn DAISY>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn FREAK>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn FastFeatureDetector>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn GFTTDetector>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn HarrisLaplaceFeatureDetector>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn KAZE>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn LATCH>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn LUCID>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn MSDDetector>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn MSER>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn ORB>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn SIFT>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn SURF>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn SimpleBlobDetector>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn StarDetector>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn TBMR>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<dyn VGG>

source§

fn as_raw_Feature2D(&self) -> *const c_void

source§

fn descriptor_size(&self) -> Result<i32>

source§

fn descriptor_type(&self) -> Result<i32>

source§

fn default_norm(&self) -> Result<i32>

source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_2(&self, fs: &mut FileStorage, name: &str) -> Result<()>

source§

fn write_3(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

source§

impl FileStorageTrait for Ptr<FileStorage>

source§

fn as_raw_mut_FileStorage(&mut self) -> *mut c_void

source§

fn set_state(&mut self, val: i32)

source§

fn set_elname(&mut self, val: &str)

source§

fn open(&mut self, filename: &str, flags: i32, encoding: &str) -> Result<bool>

Opens a file. Read more
source§

fn release(&mut self) -> Result<()>

Closes the file and releases all the memory buffers. Read more
source§

fn release_and_get_string(&mut self) -> Result<String>

Closes the file and releases all the memory buffers. Read more
source§

fn write_i32(&mut self, name: &str, val: i32) -> Result<()>

Simplified writing API to use with bindings. Read more
source§

fn write_f64(&mut self, name: &str, val: f64) -> Result<()>

Simplified writing API to use with bindings. Read more
source§

fn write_str(&mut self, name: &str, val: &str) -> Result<()>

Simplified writing API to use with bindings. Read more
source§

fn write_mat(&mut self, name: &str, val: &Mat) -> Result<()>

Simplified writing API to use with bindings. Read more
source§

fn write_str_vec(&mut self, name: &str, val: &Vector<String>) -> Result<()>

Simplified writing API to use with bindings. Read more
source§

unsafe fn write_raw( &mut self, fmt: &str, vec: *const c_void, len: size_t ) -> Result<()>

Writes multiple numbers. Read more
source§

fn write_comment(&mut self, comment: &str, append: bool) -> Result<()>

Writes a comment. Read more
source§

fn start_write_struct( &mut self, name: &str, flags: i32, type_name: &str ) -> Result<()>

Starts to write a nested structure (sequence or a mapping). Read more
source§

fn end_write_struct(&mut self) -> Result<()>

Finishes writing nested structure (should pair startWriteStruct())
source§

impl FileStorageTraitConst for Ptr<FileStorage>

source§

fn as_raw_FileStorage(&self) -> *const c_void

source§

fn state(&self) -> i32

source§

fn elname(&self) -> String

source§

fn is_opened(&self) -> Result<bool>

Checks whether the file is opened. Read more
source§

fn get_first_top_level_node(&self) -> Result<FileNode>

Returns the first element of the top-level mapping. Read more
source§

fn root(&self, streamidx: i32) -> Result<FileNode>

Returns the top-level mapping Read more
source§

fn get(&self, nodename: &str) -> Result<FileNode>

Returns the specified element of the top-level mapping. Read more
source§

fn get_node(&self, nodename: &str) -> Result<FileNode>

Returns the specified element of the top-level mapping. Read more
source§

fn get_format(&self) -> Result<i32>

Returns the current format. Read more
source§

impl Filter for Ptr<dyn Filter>

source§

fn as_raw_mut_Filter(&mut self) -> *mut c_void

source§

fn apply( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Applies the specified filter to the image. Read more
source§

impl FilterConst for Ptr<dyn Filter>

source§

impl FisherFaceRecognizer for Ptr<dyn FisherFaceRecognizer>

source§

impl FisherFaceRecognizerConst for Ptr<dyn FisherFaceRecognizer>

source§

impl FisheyeWarperTrait for Ptr<FisheyeWarper>

source§

impl FisheyeWarperTraitConst for Ptr<FisheyeWarper>

source§

impl FlannBasedMatcherTrait for Ptr<FlannBasedMatcher>

source§

fn as_raw_mut_FlannBasedMatcher(&mut self) -> *mut c_void

source§

fn add(&mut self, descriptors: &dyn ToInputArray) -> Result<()>

source§

fn clear(&mut self) -> Result<()>

source§

fn read(&mut self, unnamed: &FileNode) -> Result<()>

source§

fn train(&mut self) -> Result<()>

source§

impl FlannBasedMatcherTraitConst for Ptr<FlannBasedMatcher>

source§

fn as_raw_FlannBasedMatcher(&self) -> *const c_void

source§

fn write(&self, unnamed: &mut FileStorage) -> Result<()>

source§

fn is_mask_supported(&self) -> Result<bool>

source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<dyn DescriptorMatcher>>

C++ default parameters Read more
source§

impl FlattenLayerTrait for Ptr<FlattenLayer>

source§

impl FlattenLayerTraitConst for Ptr<FlattenLayer>

source§

impl FloorLayerTrait for Ptr<FloorLayer>

source§

impl FloorLayerTraitConst for Ptr<FloorLayer>

source§

impl FlowWarpLayerTrait for Ptr<FlowWarpLayer>

source§

impl FlowWarpLayerTraitConst for Ptr<FlowWarpLayer>

source§

impl Formatted for Ptr<dyn Formatted>

source§

fn as_raw_mut_Formatted(&mut self) -> *mut c_void

source§

fn next(&mut self) -> Result<String>

source§

fn reset(&mut self) -> Result<()>

source§

impl FormattedConst for Ptr<dyn Formatted>

source§

impl Formatter for Ptr<dyn Formatter>

source§

fn as_raw_mut_Formatter(&mut self) -> *mut c_void

source§

fn set16f_precision(&mut self, p: i32) -> Result<()>

C++ default parameters Read more
source§

fn set32f_precision(&mut self, p: i32) -> Result<()>

C++ default parameters Read more
source§

fn set64f_precision(&mut self, p: i32) -> Result<()>

C++ default parameters Read more
source§

fn set_multiline(&mut self, ml: bool) -> Result<()>

C++ default parameters Read more
source§

impl FormatterConst for Ptr<dyn Formatter>

source§

impl FreeType2 for Ptr<dyn FreeType2>

source§

fn as_raw_mut_FreeType2(&mut self) -> *mut c_void

source§

fn load_font_data(&mut self, font_file_name: &str, idx: i32) -> Result<()>

Load font data. Read more
source§

fn set_split_number(&mut self, num: i32) -> Result<()>

Set Split Number from Bezier-curve to line Read more
source§

fn put_text( &mut self, img: &mut dyn ToInputOutputArray, text: &str, org: Point, font_height: i32, color: Scalar, thickness: i32, line_type: i32, bottom_left_origin: bool ) -> Result<()>

Draws a text string. Read more
source§

fn get_text_size( &mut self, text: &str, font_height: i32, thickness: i32, base_line: &mut i32 ) -> Result<Size>

Calculates the width and height of a text string. Read more
source§

impl FreeType2Const for Ptr<dyn FreeType2>

source§

impl From<Ptr<AffineWarper>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfAffineWarper) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ColorAverageInpainter>> for Ptr<dyn InpainterBase>

source§

fn from(s: PtrOfColorAverageInpainter) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ColorInpainter>> for Ptr<dyn InpainterBase>

source§

fn from(s: PtrOfColorInpainter) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CompressedRectilinearPortraitWarper>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfCompressedRectilinearPortraitWarper) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CompressedRectilinearWarper>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfCompressedRectilinearWarper) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConsistentMosaicInpainter>> for Ptr<dyn InpainterBase>

source§

fn from(s: PtrOfConsistentMosaicInpainter) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CylindricalWarper>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfCylindricalWarper) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CylindricalWarperGpu>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfCylindricalWarperGpu) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DensePyrLkOptFlowEstimatorGpu>> for Ptr<dyn IDenseOptFlowEstimator>

source§

fn from(s: PtrOfDensePyrLkOptFlowEstimatorGpu) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_AffineBasedEstimator>> for Ptr<dyn Detail_Estimator>

source§

fn from(s: PtrOfDetail_AffineBasedEstimator) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_AffineBestOf2NearestMatcher>> for Ptr<Detail_BestOf2NearestMatcher>

source§

fn from(s: PtrOfDetail_AffineBestOf2NearestMatcher) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_AffineBestOf2NearestMatcher>> for Ptr<dyn Detail_FeaturesMatcher>

source§

fn from(s: PtrOfDetail_AffineBestOf2NearestMatcher) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BestOf2NearestMatcher>> for Ptr<dyn Detail_FeaturesMatcher>

source§

fn from(s: PtrOfDetail_BestOf2NearestMatcher) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BestOf2NearestRangeMatcher>> for Ptr<Detail_BestOf2NearestMatcher>

source§

fn from(s: PtrOfDetail_BestOf2NearestRangeMatcher) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BestOf2NearestRangeMatcher>> for Ptr<dyn Detail_FeaturesMatcher>

source§

fn from(s: PtrOfDetail_BestOf2NearestRangeMatcher) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BlocksChannelsCompensator>> for Ptr<dyn Detail_BlocksCompensator>

source§

fn from(s: PtrOfDetail_BlocksChannelsCompensator) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BlocksChannelsCompensator>> for Ptr<dyn Detail_ExposureCompensator>

source§

fn from(s: PtrOfDetail_BlocksChannelsCompensator) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BlocksGainCompensator>> for Ptr<dyn Detail_BlocksCompensator>

source§

fn from(s: PtrOfDetail_BlocksGainCompensator) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BlocksGainCompensator>> for Ptr<dyn Detail_ExposureCompensator>

source§

fn from(s: PtrOfDetail_BlocksGainCompensator) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterAffine>> for Ptr<dyn Detail_BundleAdjusterBase>

source§

fn from(s: PtrOfDetail_BundleAdjusterAffine) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterAffine>> for Ptr<dyn Detail_Estimator>

source§

fn from(s: PtrOfDetail_BundleAdjusterAffine) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterAffinePartial>> for Ptr<dyn Detail_BundleAdjusterBase>

source§

fn from(s: PtrOfDetail_BundleAdjusterAffinePartial) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterAffinePartial>> for Ptr<dyn Detail_Estimator>

source§

fn from(s: PtrOfDetail_BundleAdjusterAffinePartial) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterRay>> for Ptr<dyn Detail_BundleAdjusterBase>

source§

fn from(s: PtrOfDetail_BundleAdjusterRay) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterRay>> for Ptr<dyn Detail_Estimator>

source§

fn from(s: PtrOfDetail_BundleAdjusterRay) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterReproj>> for Ptr<dyn Detail_BundleAdjusterBase>

source§

fn from(s: PtrOfDetail_BundleAdjusterReproj) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterReproj>> for Ptr<dyn Detail_Estimator>

source§

fn from(s: PtrOfDetail_BundleAdjusterReproj) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_ChannelsCompensator>> for Ptr<dyn Detail_ExposureCompensator>

source§

fn from(s: PtrOfDetail_ChannelsCompensator) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_DpSeamFinder>> for Ptr<dyn Detail_SeamFinder>

source§

fn from(s: PtrOfDetail_DpSeamFinder) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_FeatherBlender>> for Ptr<Detail_Blender>

source§

fn from(s: PtrOfDetail_FeatherBlender) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_GainCompensator>> for Ptr<dyn Detail_ExposureCompensator>

source§

fn from(s: PtrOfDetail_GainCompensator) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_GraphCutSeamFinder>> for Ptr<dyn Detail_SeamFinder>

source§

fn from(s: PtrOfDetail_GraphCutSeamFinder) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_GraphCutSeamFinderGpu>> for Ptr<dyn Detail_PairwiseSeamFinder>

source§

fn from(s: PtrOfDetail_GraphCutSeamFinderGpu) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_GraphCutSeamFinderGpu>> for Ptr<dyn Detail_SeamFinder>

source§

fn from(s: PtrOfDetail_GraphCutSeamFinderGpu) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_HomographyBasedEstimator>> for Ptr<dyn Detail_Estimator>

source§

fn from(s: PtrOfDetail_HomographyBasedEstimator) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_MultiBandBlender>> for Ptr<Detail_Blender>

source§

fn from(s: PtrOfDetail_MultiBandBlender) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_NoBundleAdjuster>> for Ptr<dyn Detail_BundleAdjusterBase>

source§

fn from(s: PtrOfDetail_NoBundleAdjuster) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_NoBundleAdjuster>> for Ptr<dyn Detail_Estimator>

source§

fn from(s: PtrOfDetail_NoBundleAdjuster) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_NoExposureCompensator>> for Ptr<dyn Detail_ExposureCompensator>

source§

fn from(s: PtrOfDetail_NoExposureCompensator) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_NoSeamFinder>> for Ptr<dyn Detail_SeamFinder>

source§

fn from(s: PtrOfDetail_NoSeamFinder) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_VoronoiSeamFinder>> for Ptr<dyn Detail_PairwiseSeamFinder>

source§

fn from(s: PtrOfDetail_VoronoiSeamFinder) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_VoronoiSeamFinder>> for Ptr<dyn Detail_SeamFinder>

source§

fn from(s: PtrOfDetail_VoronoiSeamFinder) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FisheyeWarper>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfFisheyeWarper) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FromFileMotionReader>> for Ptr<dyn ImageMotionEstimatorBase>

source§

fn from(s: PtrOfFromFileMotionReader) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GaussianMotionFilter>> for Ptr<dyn IMotionStabilizer>

source§

fn from(s: PtrOfGaussianMotionFilter) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GaussianMotionFilter>> for Ptr<dyn MotionFilterBase>

source§

fn from(s: PtrOfGaussianMotionFilter) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<InpaintingPipeline>> for Ptr<dyn InpainterBase>

source§

fn from(s: PtrOfInpaintingPipeline) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<KeypointBasedMotionEstimator>> for Ptr<dyn ImageMotionEstimatorBase>

source§

fn from(s: PtrOfKeypointBasedMotionEstimator) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<KeypointBasedMotionEstimatorGpu>> for Ptr<dyn ImageMotionEstimatorBase>

source§

fn from(s: PtrOfKeypointBasedMotionEstimatorGpu) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LogToStdout>> for Ptr<dyn ILog>

source§

fn from(s: PtrOfLogToStdout) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LpMotionStabilizer>> for Ptr<dyn IMotionStabilizer>

source§

fn from(s: PtrOfLpMotionStabilizer) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MaskFrameSource>> for Ptr<dyn IFrameSource>

source§

fn from(s: PtrOfMaskFrameSource) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MercatorWarper>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfMercatorWarper) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MoreAccurateMotionWobbleSuppressor>> for Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>

source§

fn from(s: PtrOfMoreAccurateMotionWobbleSuppressor) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MoreAccurateMotionWobbleSuppressor>> for Ptr<dyn WobbleSuppressorBase>

source§

fn from(s: PtrOfMoreAccurateMotionWobbleSuppressor) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MoreAccurateMotionWobbleSuppressorGpu>> for Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>

source§

fn from(s: PtrOfMoreAccurateMotionWobbleSuppressorGpu) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MoreAccurateMotionWobbleSuppressorGpu>> for Ptr<dyn WobbleSuppressorBase>

source§

fn from(s: PtrOfMoreAccurateMotionWobbleSuppressorGpu) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionEstimatorL1>> for Ptr<dyn MotionEstimatorBase>

source§

fn from(s: PtrOfMotionEstimatorL1) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionEstimatorRansacL2>> for Ptr<dyn MotionEstimatorBase>

source§

fn from(s: PtrOfMotionEstimatorRansacL2) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionInpainter>> for Ptr<dyn InpainterBase>

source§

fn from(s: PtrOfMotionInpainter) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionStabilizationPipeline>> for Ptr<dyn IMotionStabilizer>

source§

fn from(s: PtrOfMotionStabilizationPipeline) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NullDeblurer>> for Ptr<dyn DeblurerBase>

source§

fn from(s: PtrOfNullDeblurer) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NullFrameSource>> for Ptr<dyn IFrameSource>

source§

fn from(s: PtrOfNullFrameSource) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NullInpainter>> for Ptr<dyn InpainterBase>

source§

fn from(s: PtrOfNullInpainter) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NullLog>> for Ptr<dyn ILog>

source§

fn from(s: PtrOfNullLog) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NullOutlierRejector>> for Ptr<dyn IOutlierRejector>

source§

fn from(s: PtrOfNullOutlierRejector) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NullWobbleSuppressor>> for Ptr<dyn WobbleSuppressorBase>

source§

fn from(s: PtrOfNullWobbleSuppressor) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<OnePassStabilizer>> for Ptr<dyn IFrameSource>

source§

fn from(s: PtrOfOnePassStabilizer) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PaniniPortraitWarper>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfPaniniPortraitWarper) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PaniniWarper>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfPaniniWarper) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PlaneWarper>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfPlaneWarper) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PlaneWarperGpu>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfPlaneWarperGpu) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SparsePyrLkOptFlowEstimator>> for Ptr<dyn ISparseOptFlowEstimator>

source§

fn from(s: PtrOfSparsePyrLkOptFlowEstimator) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SparsePyrLkOptFlowEstimatorGpu>> for Ptr<dyn ISparseOptFlowEstimator>

source§

fn from(s: PtrOfSparsePyrLkOptFlowEstimatorGpu) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SphericalWarper>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfSphericalWarper) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SphericalWarperGpu>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfSphericalWarperGpu) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StandardCollector>> for Ptr<dyn PredictCollector>

source§

fn from(s: PtrOfStandardCollector) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StereographicWarper>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfStereographicWarper) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TEBLID>> for Ptr<Feature2D>

source§

fn from(s: PtrOfTEBLID) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ToFileMotionWriter>> for Ptr<dyn ImageMotionEstimatorBase>

source§

fn from(s: PtrOfToFileMotionWriter) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TranslationBasedLocalOutlierRejector>> for Ptr<dyn IOutlierRejector>

source§

fn from(s: PtrOfTranslationBasedLocalOutlierRejector) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TransverseMercatorWarper>> for Ptr<dyn WarperCreator>

source§

fn from(s: PtrOfTransverseMercatorWarper) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TwoPassStabilizer>> for Ptr<dyn IFrameSource>

source§

fn from(s: PtrOfTwoPassStabilizer) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<VideoFileSource>> for Ptr<dyn IFrameSource>

source§

fn from(s: PtrOfVideoFileSource) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<WeightingDeblurer>> for Ptr<dyn DeblurerBase>

source§

fn from(s: PtrOfWeightingDeblurer) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn AKAZE + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfAKAZE) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn AffineFeature + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfAffineFeature) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn AffineFeature2D + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfAffineFeature2D) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn AffineTransformer + 'static>> for Ptr<dyn ShapeTransformer>

source§

fn from(s: PtrOfAffineTransformer) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn AgastFeatureDetector + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfAgastFeatureDetector) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn BEBLID + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfBEBLID) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn BRISK + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfBRISK) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn BoostDesc + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfBoostDesc) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn BriefDescriptorExtractor + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfBriefDescriptorExtractor) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn ChiHistogramCostExtractor + 'static>> for Ptr<dyn HistogramCostExtractor>

source§

fn from(s: PtrOfChiHistogramCostExtractor) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn DAISY + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfDAISY) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn Detail_BlocksCompensator + 'static>> for Ptr<dyn Detail_ExposureCompensator>

source§

fn from(s: PtrOfDetail_BlocksCompensator) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn Detail_BundleAdjusterBase + 'static>> for Ptr<dyn Detail_Estimator>

source§

fn from(s: PtrOfDetail_BundleAdjusterBase) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn Detail_PairwiseSeamFinder + 'static>> for Ptr<dyn Detail_SeamFinder>

source§

fn from(s: PtrOfDetail_PairwiseSeamFinder) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn EMDHistogramCostExtractor + 'static>> for Ptr<dyn HistogramCostExtractor>

source§

fn from(s: PtrOfEMDHistogramCostExtractor) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn EMDL1HistogramCostExtractor + 'static>> for Ptr<dyn HistogramCostExtractor>

source§

fn from(s: PtrOfEMDL1HistogramCostExtractor) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn FREAK + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfFREAK) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn FastFeatureDetector + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfFastFeatureDetector) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn GFTTDetector + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfGFTTDetector) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn HarrisLaplaceFeatureDetector + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfHarrisLaplaceFeatureDetector) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn KAZE + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfKAZE) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn LATCH + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfLATCH) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn LUCID + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfLUCID) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn MSDDetector + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfMSDDetector) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn MSER + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfMSER) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn MoreAccurateMotionWobbleSuppressorBase + 'static>> for Ptr<dyn WobbleSuppressorBase>

source§

fn from(s: PtrOfMoreAccurateMotionWobbleSuppressorBase) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn MotionFilterBase + 'static>> for Ptr<dyn IMotionStabilizer>

source§

fn from(s: PtrOfMotionFilterBase) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn NormHistogramCostExtractor + 'static>> for Ptr<dyn HistogramCostExtractor>

source§

fn from(s: PtrOfNormHistogramCostExtractor) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn ORB + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfORB) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn SIFT + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfSIFT) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn SURF + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfSURF) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn SelectiveSearchSegmentationStrategyColor + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>

source§

fn from(s: PtrOfSelectiveSearchSegmentationStrategyColor) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn SelectiveSearchSegmentationStrategyFill + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>

source§

fn from(s: PtrOfSelectiveSearchSegmentationStrategyFill) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn SelectiveSearchSegmentationStrategyMultiple + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>

source§

fn from(s: PtrOfSelectiveSearchSegmentationStrategyMultiple) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn SelectiveSearchSegmentationStrategySize + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>

source§

fn from(s: PtrOfSelectiveSearchSegmentationStrategySize) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn SelectiveSearchSegmentationStrategyTexture + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>

source§

fn from(s: PtrOfSelectiveSearchSegmentationStrategyTexture) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn SimpleBlobDetector + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfSimpleBlobDetector) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn StarDetector + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfStarDetector) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn TBMR + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfTBMR) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn ThinPlateSplineShapeTransformer + 'static>> for Ptr<dyn ShapeTransformer>

source§

fn from(s: PtrOfThinPlateSplineShapeTransformer) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<dyn VGG + 'static>> for Ptr<Feature2D>

source§

fn from(s: PtrOfVGG) -> Self

Converts to this type from the input type.
source§

impl FromFileMotionReaderTrait for Ptr<FromFileMotionReader>

source§

fn as_raw_mut_FromFileMotionReader(&mut self) -> *mut c_void

source§

fn estimate(&mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool) -> Result<Mat>

C++ default parameters Read more
source§

impl FromFileMotionReaderTraitConst for Ptr<FromFileMotionReader>

source§

impl GFTTDetector for Ptr<dyn GFTTDetector>

source§

fn as_raw_mut_GFTTDetector(&mut self) -> *mut c_void

source§

fn set_max_features(&mut self, max_features: i32) -> Result<()>

source§

fn set_quality_level(&mut self, qlevel: f64) -> Result<()>

source§

fn set_min_distance(&mut self, min_distance: f64) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_gradient_size(&mut self, gradient_size_: i32) -> Result<()>

source§

fn get_gradient_size(&mut self) -> Result<i32>

source§

fn set_harris_detector(&mut self, val: bool) -> Result<()>

source§

fn set_k(&mut self, k: f64) -> Result<()>

source§

impl GFTTDetectorConst for Ptr<dyn GFTTDetector>

source§

impl GPCTrainingSamplesTrait for Ptr<GPCTrainingSamples>

source§

impl GPCTrainingSamplesTraitConst for Ptr<GPCTrainingSamples>

source§

impl GPCTreeTrait for Ptr<GPCTree>

source§

fn as_raw_mut_GPCTree(&mut self) -> *mut c_void

source§

fn train( &mut self, samples: &mut GPCTrainingSamples, params: GPCTrainingParams ) -> Result<()>

C++ default parameters Read more
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

source§

impl GPCTreeTraitConst for Ptr<GPCTree>

source§

impl GRULayerTrait for Ptr<GRULayer>

source§

impl GRULayerTraitConst for Ptr<GRULayer>

source§

impl GatherLayerTrait for Ptr<GatherLayer>

source§

impl GatherLayerTraitConst for Ptr<GatherLayer>

source§

impl GaussianMotionFilterTrait for Ptr<GaussianMotionFilter>

source§

fn as_raw_mut_GaussianMotionFilter(&mut self) -> *mut c_void

source§

fn set_params(&mut self, radius: i32, stdev: f32) -> Result<()>

C++ default parameters Read more
source§

fn stabilize( &mut self, idx: i32, motions: &Vector<Mat>, range: &Range ) -> Result<Mat>

source§

impl GaussianMotionFilterTraitConst for Ptr<GaussianMotionFilter>

source§

impl GeneralizedHough for Ptr<dyn GeneralizedHoughBallard>

source§

fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void

source§

fn set_template( &mut self, templ: &dyn ToInputArray, templ_center: Point ) -> Result<()>

set template to search Read more
source§

fn set_template_1( &mut self, edges: &dyn ToInputArray, dx: &dyn ToInputArray, dy: &dyn ToInputArray, templ_center: Point ) -> Result<()>

C++ default parameters Read more
source§

fn detect( &mut self, image: &dyn ToInputArray, positions: &mut dyn ToOutputArray, votes: &mut dyn ToOutputArray ) -> Result<()>

find template on image Read more
source§

fn detect_with_edges( &mut self, edges: &dyn ToInputArray, dx: &dyn ToInputArray, dy: &dyn ToInputArray, positions: &mut dyn ToOutputArray, votes: &mut dyn ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()>

Canny low threshold.
source§

fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>

Canny high threshold.
source§

fn set_min_dist(&mut self, min_dist: f64) -> Result<()>

Minimum distance between the centers of the detected objects.
source§

fn set_dp(&mut self, dp: f64) -> Result<()>

Inverse ratio of the accumulator resolution to the image resolution.
source§

fn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()>

Maximal size of inner buffers.
source§

impl GeneralizedHough for Ptr<dyn GeneralizedHoughGuil>

source§

fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void

source§

fn set_template( &mut self, templ: &dyn ToInputArray, templ_center: Point ) -> Result<()>

set template to search Read more
source§

fn set_template_1( &mut self, edges: &dyn ToInputArray, dx: &dyn ToInputArray, dy: &dyn ToInputArray, templ_center: Point ) -> Result<()>

C++ default parameters Read more
source§

fn detect( &mut self, image: &dyn ToInputArray, positions: &mut dyn ToOutputArray, votes: &mut dyn ToOutputArray ) -> Result<()>

find template on image Read more
source§

fn detect_with_edges( &mut self, edges: &dyn ToInputArray, dx: &dyn ToInputArray, dy: &dyn ToInputArray, positions: &mut dyn ToOutputArray, votes: &mut dyn ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()>

Canny low threshold.
source§

fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>

Canny high threshold.
source§

fn set_min_dist(&mut self, min_dist: f64) -> Result<()>

Minimum distance between the centers of the detected objects.
source§

fn set_dp(&mut self, dp: f64) -> Result<()>

Inverse ratio of the accumulator resolution to the image resolution.
source§

fn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()>

Maximal size of inner buffers.
source§

impl GeneralizedHoughBallard for Ptr<dyn GeneralizedHoughBallard>

source§

fn as_raw_mut_GeneralizedHoughBallard(&mut self) -> *mut c_void

source§

fn set_levels(&mut self, levels: i32) -> Result<()>

R-Table levels.
source§

fn set_votes_threshold(&mut self, votes_threshold: i32) -> Result<()>

The accumulator threshold for the template centers at the detection stage. The smaller it is, the more false positions may be detected.
source§

impl GeneralizedHoughBallardConst for Ptr<dyn GeneralizedHoughBallard>

source§

impl GeneralizedHoughConst for Ptr<dyn GeneralizedHoughBallard>

source§

impl GeneralizedHoughConst for Ptr<dyn GeneralizedHoughGuil>

source§

impl GeneralizedHoughGuil for Ptr<dyn GeneralizedHoughGuil>

source§

fn as_raw_mut_GeneralizedHoughGuil(&mut self) -> *mut c_void

source§

fn set_xi(&mut self, xi: f64) -> Result<()>

Angle difference in degrees between two points in feature.
source§

fn set_levels(&mut self, levels: i32) -> Result<()>

Feature table levels.
source§

fn set_angle_epsilon(&mut self, angle_epsilon: f64) -> Result<()>

Maximal difference between angles that treated as equal.
source§

fn set_min_angle(&mut self, min_angle: f64) -> Result<()>

Minimal rotation angle to detect in degrees.
source§

fn set_max_angle(&mut self, max_angle: f64) -> Result<()>

Maximal rotation angle to detect in degrees.
source§

fn set_angle_step(&mut self, angle_step: f64) -> Result<()>

Angle step in degrees.
source§

fn set_angle_thresh(&mut self, angle_thresh: i32) -> Result<()>

Angle votes threshold.
source§

fn set_min_scale(&mut self, min_scale: f64) -> Result<()>

Minimal scale to detect.
source§

fn set_max_scale(&mut self, max_scale: f64) -> Result<()>

Maximal scale to detect.
source§

fn set_scale_step(&mut self, scale_step: f64) -> Result<()>

Scale step.
source§

fn set_scale_thresh(&mut self, scale_thresh: i32) -> Result<()>

Scale votes threshold.
source§

fn set_pos_thresh(&mut self, pos_thresh: i32) -> Result<()>

Position votes threshold.
source§

impl GeneralizedHoughGuilConst for Ptr<dyn GeneralizedHoughGuil>

source§

impl GpuMat_Allocator for Ptr<dyn GpuMat_Allocator>

source§

fn as_raw_mut_GpuMat_Allocator(&mut self) -> *mut c_void

source§

fn allocate( &mut self, mat: &mut GpuMat, rows: i32, cols: i32, elem_size: size_t ) -> Result<bool>

source§

fn free(&mut self, mat: &mut GpuMat) -> Result<()>

source§

impl GpuMat_AllocatorConst for Ptr<dyn GpuMat_Allocator>

source§

impl GraphSegmentation for Ptr<dyn GraphSegmentation>

source§

fn as_raw_mut_GraphSegmentation(&mut self) -> *mut c_void

source§

fn process_image( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Segment an image and store output in dst Read more
source§

fn set_sigma(&mut self, sigma: f64) -> Result<()>

source§

fn get_sigma(&mut self) -> Result<f64>

source§

fn set_k(&mut self, k: f32) -> Result<()>

source§

fn get_k(&mut self) -> Result<f32>

source§

fn set_min_size(&mut self, min_size: i32) -> Result<()>

source§

fn get_min_size(&mut self) -> Result<i32>

source§

impl GraphSegmentationConst for Ptr<dyn GraphSegmentation>

source§

impl GrayCodePattern for Ptr<dyn GrayCodePattern>

source§

fn as_raw_mut_GrayCodePattern(&mut self) -> *mut c_void

source§

fn set_white_threshold(&mut self, value: size_t) -> Result<()>

Sets the value for white threshold, needed for decoding. Read more
source§

fn set_black_threshold(&mut self, value: size_t) -> Result<()>

Sets the value for black threshold, needed for decoding (shadowsmasks computation). Read more
source§

impl GrayCodePatternConst for Ptr<dyn GrayCodePattern>

source§

fn as_raw_GrayCodePattern(&self) -> *const c_void

source§

fn get_number_of_pattern_images(&self) -> Result<size_t>

Get the number of pattern images needed for the graycode pattern. Read more
source§

fn get_images_for_shadow_masks( &self, black_image: &mut dyn ToInputOutputArray, white_image: &mut dyn ToInputOutputArray ) -> Result<()>

Generates the all-black and all-white images needed for shadowMasks computation. Read more
source§

fn get_proj_pixel( &self, pattern_images: &dyn 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 GrayworldWB for Ptr<dyn GrayworldWB>

source§

fn as_raw_mut_GrayworldWB(&mut self) -> *mut c_void

source§

fn set_saturation_threshold(&mut self, val: f32) -> Result<()>

Maximum saturation for a pixel to be included in the gray-world assumption Read more
source§

impl GrayworldWBConst for Ptr<dyn GrayworldWB>

source§

fn as_raw_GrayworldWB(&self) -> *const c_void

source§

fn get_saturation_threshold(&self) -> Result<f32>

Maximum saturation for a pixel to be included in the gray-world assumption Read more
source§

impl GuidedFilter for Ptr<dyn GuidedFilter>

source§

fn as_raw_mut_GuidedFilter(&mut self) -> *mut c_void

source§

fn filter( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, d_depth: i32 ) -> Result<()>

Apply Guided Filter to the filtering image. Read more
source§

impl GuidedFilterConst for Ptr<dyn GuidedFilter>

source§

impl HDF5 for Ptr<dyn HDF5>

source§

fn as_raw_mut_HDF5(&mut self) -> *mut c_void

source§

fn close(&mut self) -> Result<()>

Close and release hdf5 object.
source§

fn grcreate(&mut self, grlabel: &str) -> Result<()>

Create a group. Read more
source§

fn atdelete(&mut self, atlabel: &str) -> Result<()>

Delete an attribute from the root group. Read more
source§

fn atwrite(&mut self, value: i32, atlabel: &str) -> Result<()>

Write an attribute inside the root group. Read more
source§

fn atread(&mut self, value: &mut i32, atlabel: &str) -> Result<()>

Read an attribute from the root group. Read more
source§

fn atwrite_1(&mut self, value: f64, atlabel: &str) -> Result<()>

Write an attribute inside the root group. Read more
source§

fn atread_1(&mut self, value: &mut f64, atlabel: &str) -> Result<()>

Read an attribute from the root group. Read more
source§

fn atwrite_2(&mut self, value: &str, atlabel: &str) -> Result<()>

Write an attribute inside the root group. Read more
source§

fn atread_2(&mut self, value: &mut String, atlabel: &str) -> Result<()>

Read an attribute from the root group. Read more
source§

fn atwrite_3(&mut self, value: &dyn ToInputArray, atlabel: &str) -> Result<()>

Write an attribute into the root group. Read more
source§

fn atread_3( &mut self, value: &mut dyn ToOutputArray, atlabel: &str ) -> Result<()>

Read an attribute from the root group. Read more
source§

impl HDF5Const for Ptr<dyn HDF5>

source§

fn as_raw_HDF5(&self) -> *const c_void

source§

fn hlexists(&self, label: &str) -> Result<bool>

Check if label exists or not. Read more
source§

fn atexists(&self, atlabel: &str) -> Result<bool>

Check whether a given attribute exits or not in the root group. Read more
source§

fn dscreate(&self, rows: i32, cols: i32, typ: i32, dslabel: &str) -> Result<()>

Create and allocate storage for two dimensional single or multi channel dataset. Read more
source§

fn dscreate_1( &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_2( &self, rows: i32, cols: i32, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &Vector<i32> ) -> Result<()>

Create and allocate storage for two dimensional single or multi channel dataset. Read more
source§

fn dscreate_3( &self, rows: i32, cols: i32, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &i32 ) -> Result<()>

Create and allocate storage for two dimensional single or multi channel dataset. Read more
source§

fn dscreate_4( &self, n_dims: i32, sizes: &i32, typ: i32, dslabel: &str ) -> Result<()>

source§

fn dscreate_5( &self, n_dims: i32, sizes: &i32, typ: i32, dslabel: &str, compresslevel: i32 ) -> Result<()>

source§

fn dscreate_6( &self, sizes: &Vector<i32>, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &Vector<i32> ) -> Result<()>

C++ default parameters Read more
source§

fn dscreate_7( &self, n_dims: i32, sizes: &i32, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &i32 ) -> Result<()>

Create and allocate storage for n-dimensional dataset, single or multichannel type. Read more
source§

fn dsgetsize(&self, dslabel: &str, dims_flag: i32) -> Result<Vector<i32>>

Fetch dataset sizes Read more
source§

fn dsgettype(&self, dslabel: &str) -> Result<i32>

Fetch dataset type Read more
source§

fn dswrite(&self, array: &dyn ToInputArray, dslabel: &str) -> Result<()>

source§

fn dswrite_1( &self, array: &dyn ToInputArray, dslabel: &str, dims_offset: &i32 ) -> Result<()>

source§

fn dswrite_2( &self, array: &dyn ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32> ) -> Result<()>

C++ default parameters Read more
source§

fn dswrite_3( &self, array: &dyn ToInputArray, dslabel: &str, dims_offset: &i32, dims_counts: &i32 ) -> Result<()>

Write or overwrite a Mat object into specified dataset of hdf5 file. Read more
source§

fn dsinsert(&self, array: &dyn ToInputArray, dslabel: &str) -> Result<()>

source§

fn dsinsert_1( &self, array: &dyn ToInputArray, dslabel: &str, dims_offset: &i32 ) -> Result<()>

source§

fn dsinsert_2( &self, array: &dyn ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32> ) -> Result<()>

C++ default parameters Read more
source§

fn dsinsert_3( &self, array: &dyn ToInputArray, dslabel: &str, dims_offset: &i32, dims_counts: &i32 ) -> Result<()>

Insert or overwrite a Mat object into specified dataset and auto expand dataset size if unlimited property allows. Read more
source§

fn dsread(&self, array: &mut dyn ToOutputArray, dslabel: &str) -> Result<()>

source§

fn dsread_1( &self, array: &mut dyn ToOutputArray, dslabel: &str, dims_offset: &i32 ) -> Result<()>

source§

fn dsread_2( &self, array: &mut dyn ToOutputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32> ) -> Result<()>

C++ default parameters Read more
source§

fn dsread_3( &self, array: &mut dyn ToOutputArray, dslabel: &str, dims_offset: &i32, dims_counts: &i32 ) -> Result<()>

Read specific dataset from hdf5 file into Mat object. Read more
source§

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<()>

Create and allocate special storage for cv::KeyPoint dataset. Read more
source§

fn kpwrite( &self, keypoints: Vector<KeyPoint>, kplabel: &str, offset: i32, counts: i32 ) -> Result<()>

Write or overwrite list of KeyPoint into specified dataset of hdf5 file. Read more
source§

fn 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 kpread( &self, keypoints: &mut Vector<KeyPoint>, kplabel: &str, offset: i32, counts: i32 ) -> Result<()>

Read specific keypoint dataset from hdf5 file into vector object. Read more
source§

impl HOG for Ptr<dyn HOG>

source§

fn as_raw_mut_HOG(&mut self) -> *mut c_void

source§

fn set_win_sigma(&mut self, win_sigma: f64) -> Result<()>

Gaussian smoothing window parameter.
source§

fn set_l2_hys_threshold(&mut self, threshold_l2hys: f64) -> Result<()>

L2-Hys normalization method shrinkage.
source§

fn set_gamma_correction(&mut self, gamma_correction: bool) -> Result<()>

Flag to specify whether the gamma correction preprocessing is required or not.
source§

fn set_num_levels(&mut self, nlevels: i32) -> Result<()>

Maximum number of detection window increases.
source§

fn set_hit_threshold(&mut self, hit_threshold: f64) -> Result<()>

Threshold for the distance between features and SVM classifying plane. Usually it is 0 and should be specified in the detector coefficients (as the last free coefficient). But if the free coefficient is omitted (which is allowed), you can specify it manually here.
source§

fn set_win_stride(&mut self, win_stride: Size) -> Result<()>

Window stride. It must be a multiple of block stride.
source§

fn set_scale_factor(&mut self, scale0: f64) -> Result<()>

Coefficient of the detection window increase.
source§

fn set_group_threshold(&mut self, group_threshold: i32) -> Result<()>

Coefficient to regulate the similarity threshold. When detected, some objects can be covered by many rectangles. 0 means not to perform grouping. See groupRectangles.
source§

fn set_descriptor_format( &mut self, descr_format: HOGDescriptor_DescriptorStorageFormat ) -> Result<()>

Descriptor storage format: Read more
source§

fn set_svm_detector(&mut self, detector: &dyn ToInputArray) -> Result<()>

Sets coefficients for the linear SVM classifier.
source§

fn detect( &mut self, img: &dyn ToInputArray, found_locations: &mut Vector<Point>, confidences: &mut Vector<f64> ) -> Result<()>

Performs object detection without a multi-scale window. Read more
source§

fn detect_1( &mut self, img: &dyn ToInputArray, found_locations: &mut Vector<Point>, confidences: &mut Vector<f64> ) -> Result<()>

source§

fn detect_without_conf( &mut self, img: &dyn ToInputArray, found_locations: &mut Vector<Point> ) -> Result<()>

Performs object detection without a multi-scale window. Read more
source§

fn detect_multi_scale( &mut self, img: &dyn ToInputArray, found_locations: &mut Vector<Rect>, confidences: &mut Vector<f64> ) -> Result<()>

Performs object detection with a multi-scale window. Read more
source§

fn detect_multi_scale_1( &mut self, img: &dyn ToInputArray, found_locations: &mut Vector<Rect>, confidences: &mut Vector<f64> ) -> Result<()>

source§

fn detect_multi_scale_without_conf( &mut self, img: &dyn ToInputArray, found_locations: &mut Vector<Rect> ) -> Result<()>

Performs object detection with a multi-scale window. Read more
source§

fn compute( &mut self, img: &dyn ToInputArray, descriptors: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Returns block descriptors computed for the whole image. Read more
source§

impl HOGConst for Ptr<dyn HOG>

source§

fn as_raw_HOG(&self) -> *const c_void

source§

fn get_win_sigma(&self) -> Result<f64>

source§

fn get_l2_hys_threshold(&self) -> Result<f64>

source§

fn get_gamma_correction(&self) -> Result<bool>

source§

fn get_num_levels(&self) -> Result<i32>

source§

fn get_hit_threshold(&self) -> Result<f64>

source§

fn get_win_stride(&self) -> Result<Size>

source§

fn get_scale_factor(&self) -> Result<f64>

source§

fn get_group_threshold(&self) -> Result<i32>

source§

fn get_descriptor_format(&self) -> Result<HOGDescriptor_DescriptorStorageFormat>

source§

fn get_descriptor_size(&self) -> Result<size_t>

Returns the number of coefficients required for the classification.
source§

fn get_block_histogram_size(&self) -> Result<size_t>

Returns the block histogram size.
source§

fn get_default_people_detector(&self) -> Result<Mat>

Returns coefficients of the classifier trained for people detection.
source§

impl HardSigmoidLayerTrait for Ptr<HardSigmoidLayer>

source§

fn as_raw_mut_HardSigmoidLayer(&mut self) -> *mut c_void

source§

fn set_alpha(&mut self, val: f32)

source§

fn set_beta(&mut self, val: f32)

source§

impl HardSigmoidLayerTraitConst for Ptr<HardSigmoidLayer>

source§

impl HardSwishLayerTrait for Ptr<HardSwishLayer>

source§

impl HardSwishLayerTraitConst for Ptr<HardSwishLayer>

source§

impl HarrisLaplaceFeatureDetector for Ptr<dyn HarrisLaplaceFeatureDetector>

source§

fn as_raw_mut_HarrisLaplaceFeatureDetector(&mut self) -> *mut c_void

source§

fn set_num_octaves(&mut self, num_octaves_: i32) -> Result<()>

source§

fn set_corn_thresh(&mut self, corn_thresh_: f32) -> Result<()>

source§

fn set_dog_thresh(&mut self, dog_thresh_: f32) -> Result<()>

source§

fn set_max_corners(&mut self, max_corners_: i32) -> Result<()>

source§

fn set_num_layers(&mut self, num_layers_: i32) -> Result<()>

source§

impl HarrisLaplaceFeatureDetectorConst for Ptr<dyn HarrisLaplaceFeatureDetector>

source§

impl HausdorffDistanceExtractor for Ptr<dyn HausdorffDistanceExtractor>

source§

fn as_raw_mut_HausdorffDistanceExtractor(&mut self) -> *mut c_void

source§

fn set_distance_flag(&mut self, distance_flag: i32) -> Result<()>

Set the norm used to compute the Hausdorff value between two shapes. It can be L1 or L2 norm. Read more
source§

fn set_rank_proportion(&mut self, rank_proportion: f32) -> Result<()>

This method sets the rank proportion (or fractional value) that establish the Kth ranked value of the partial Hausdorff distance. Experimentally had been shown that 0.6 is a good value to compare shapes. Read more
source§

impl HausdorffDistanceExtractorConst for Ptr<dyn HausdorffDistanceExtractor>

source§

impl HfsSegment for Ptr<dyn HfsSegment>

source§

fn as_raw_mut_HfsSegment(&mut self) -> *mut c_void

source§

fn set_seg_egb_threshold_i(&mut self, c: f32) -> Result<()>

set and get the parameter segEgbThresholdI. This parameter is used in the second stage mentioned above. It is a constant used to threshold weights of the edge when merging adjacent nodes when applying EGB algorithm. The segmentation result tends to have more regions remained if this value is large and vice versa.
source§

fn get_seg_egb_threshold_i(&mut self) -> Result<f32>

source§

fn set_min_region_size_i(&mut self, n: i32) -> Result<()>

set and get the parameter minRegionSizeI. This parameter is used in the second stage mentioned above. After the EGB segmentation, regions that have fewer pixels then this parameter will be merged into it’s adjacent region.
source§

fn get_min_region_size_i(&mut self) -> Result<i32>

source§

fn set_seg_egb_threshold_ii(&mut self, c: f32) -> Result<()>

set and get the parameter segEgbThresholdII. This parameter is used in the third stage mentioned above. It serves the same purpose as segEgbThresholdI. The segmentation result tends to have more regions remained if this value is large and vice versa.
source§

fn get_seg_egb_threshold_ii(&mut self) -> Result<f32>

source§

fn set_min_region_size_ii(&mut self, n: i32) -> Result<()>

set and get the parameter minRegionSizeII. This parameter is used in the third stage mentioned above. It serves the same purpose as minRegionSizeI
source§

fn get_min_region_size_ii(&mut self) -> Result<i32>

source§

fn set_spatial_weight(&mut self, w: f32) -> Result<()>

set and get the parameter spatialWeight. This parameter is used in the first stage mentioned above(the SLIC stage). It describes how important is the role of position when calculating the distance between each pixel and it’s center. The exact formula to calculate the distance is inline formula. The segmentation result tends to have more local consistency if this value is larger. Read more
source§

fn get_spatial_weight(&mut self) -> Result<f32>

source§

fn set_slic_spixel_size(&mut self, n: i32) -> Result<()>

set and get the parameter slicSpixelSize. This parameter is used in the first stage mentioned above(the SLIC stage). It describes the size of each superpixel when initializing SLIC. Every superpixel approximately has inline formula pixels in the beginning. Read more
source§

fn get_slic_spixel_size(&mut self) -> Result<i32>

source§

fn set_num_slic_iter(&mut self, n: i32) -> Result<()>

set and get the parameter numSlicIter. This parameter is used in the first stage. It describes how many iteration to perform when executing SLIC.
source§

fn get_num_slic_iter(&mut self) -> Result<i32>

source§

fn perform_segment_gpu( &mut self, src: &dyn ToInputArray, if_draw: bool ) -> Result<Mat>

do segmentation gpu Read more
source§

fn perform_segment_cpu( &mut self, src: &dyn ToInputArray, if_draw: bool ) -> Result<Mat>

do segmentation with cpu This method is only implemented for reference. It is highly NOT recommanded to use it. Read more
source§

impl HfsSegmentConst for Ptr<dyn HfsSegment>

source§

impl HistogramCostExtractor for Ptr<dyn ChiHistogramCostExtractor>

source§

fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void

source§

fn build_cost_matrix( &mut self, descriptors1: &dyn ToInputArray, descriptors2: &dyn ToInputArray, cost_matrix: &mut dyn ToOutputArray ) -> Result<()>

source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

source§

impl HistogramCostExtractor for Ptr<dyn EMDHistogramCostExtractor>

source§

fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void

source§

fn build_cost_matrix( &mut self, descriptors1: &dyn ToInputArray, descriptors2: &dyn ToInputArray, cost_matrix: &mut dyn ToOutputArray ) -> Result<()>

source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

source§

impl HistogramCostExtractor for Ptr<dyn EMDL1HistogramCostExtractor>

source§

fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void

source§

fn build_cost_matrix( &mut self, descriptors1: &dyn ToInputArray, descriptors2: &dyn ToInputArray, cost_matrix: &mut dyn ToOutputArray ) -> Result<()>

source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

source§

impl HistogramCostExtractor for Ptr<dyn HistogramCostExtractor>

source§

fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void

source§

fn build_cost_matrix( &mut self, descriptors1: &dyn ToInputArray, descriptors2: &dyn ToInputArray, cost_matrix: &mut dyn ToOutputArray ) -> Result<()>

source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

source§

impl HistogramCostExtractor for Ptr<dyn NormHistogramCostExtractor>

source§

fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void

source§

fn build_cost_matrix( &mut self, descriptors1: &dyn ToInputArray, descriptors2: &dyn ToInputArray, cost_matrix: &mut dyn ToOutputArray ) -> Result<()>

source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

source§

impl HistogramCostExtractorConst for Ptr<dyn ChiHistogramCostExtractor>

source§

impl HistogramCostExtractorConst for Ptr<dyn EMDHistogramCostExtractor>

source§

impl HistogramCostExtractorConst for Ptr<dyn EMDL1HistogramCostExtractor>

source§

impl HistogramCostExtractorConst for Ptr<dyn HistogramCostExtractor>

source§

impl HistogramCostExtractorConst for Ptr<dyn NormHistogramCostExtractor>

source§

impl HistogramPhaseUnwrapping for Ptr<dyn HistogramPhaseUnwrapping>

source§

fn as_raw_mut_HistogramPhaseUnwrapping(&mut self) -> *mut c_void

source§

fn get_inverse_reliability_map( &mut self, reliability_map: &mut dyn ToOutputArray ) -> Result<()>

Get the reliability map computed from the wrapped phase map. Read more
source§

impl HistogramPhaseUnwrappingConst for Ptr<dyn HistogramPhaseUnwrapping>

source§

impl ICPOdometryTrait for Ptr<ICPOdometry>

source§

fn as_raw_mut_ICPOdometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>

source§

fn set_min_depth(&mut self, val: f64) -> Result<()>

source§

fn set_max_depth(&mut self, val: f64) -> Result<()>

source§

fn set_max_depth_diff(&mut self, val: f64) -> Result<()>

source§

fn set_iteration_counts(&mut self, val: &Mat) -> Result<()>

source§

fn set_max_points_part(&mut self, val: f64) -> Result<()>

source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

source§

fn set_max_translation(&mut self, val: f64) -> Result<()>

source§

fn set_max_rotation(&mut self, val: f64) -> Result<()>

source§

impl ICPOdometryTraitConst for Ptr<ICPOdometry>

source§

impl IDenseOptFlowEstimator for Ptr<DensePyrLkOptFlowEstimatorGpu>

source§

fn as_raw_mut_IDenseOptFlowEstimator(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, flow_x: &mut dyn ToInputOutputArray, flow_y: &mut dyn ToInputOutputArray, errors: &mut dyn ToOutputArray ) -> Result<()>

source§

impl IDenseOptFlowEstimator for Ptr<dyn IDenseOptFlowEstimator>

source§

fn as_raw_mut_IDenseOptFlowEstimator(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, flow_x: &mut dyn ToInputOutputArray, flow_y: &mut dyn ToInputOutputArray, errors: &mut dyn ToOutputArray ) -> Result<()>

source§

impl IDenseOptFlowEstimatorConst for Ptr<DensePyrLkOptFlowEstimatorGpu>

source§

impl IDenseOptFlowEstimatorConst for Ptr<dyn IDenseOptFlowEstimator>

source§

impl IFrameSource for Ptr<MaskFrameSource>

source§

impl IFrameSource for Ptr<NullFrameSource>

source§

impl IFrameSource for Ptr<OnePassStabilizer>

source§

impl IFrameSource for Ptr<TwoPassStabilizer>

source§

impl IFrameSource for Ptr<VideoFileSource>

source§

impl IFrameSource for Ptr<dyn IFrameSource>

source§

impl IFrameSourceConst for Ptr<MaskFrameSource>

source§

impl IFrameSourceConst for Ptr<NullFrameSource>

source§

impl IFrameSourceConst for Ptr<OnePassStabilizer>

source§

impl IFrameSourceConst for Ptr<TwoPassStabilizer>

source§

impl IFrameSourceConst for Ptr<VideoFileSource>

source§

impl IFrameSourceConst for Ptr<dyn IFrameSource>

source§

impl ILog for Ptr<LogToStdout>

source§

fn as_raw_mut_ILog(&mut self) -> *mut c_void

source§

fn print(&mut self, format: &str) -> Result<()>

source§

impl ILog for Ptr<NullLog>

source§

fn as_raw_mut_ILog(&mut self) -> *mut c_void

source§

fn print(&mut self, format: &str) -> Result<()>

source§

impl ILog for Ptr<dyn ILog>

source§

fn as_raw_mut_ILog(&mut self) -> *mut c_void

source§

fn print(&mut self, format: &str) -> Result<()>

source§

impl ILogConst for Ptr<LogToStdout>

source§

impl ILogConst for Ptr<NullLog>

source§

impl ILogConst for Ptr<dyn ILog>

source§

impl IMotionStabilizer for Ptr<GaussianMotionFilter>

source§

fn as_raw_mut_IMotionStabilizer(&mut self) -> *mut c_void

source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &Range, stabilization_motions: &mut Mat ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
source§

impl IMotionStabilizer for Ptr<LpMotionStabilizer>

source§

fn as_raw_mut_IMotionStabilizer(&mut self) -> *mut c_void

source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &Range, stabilization_motions: &mut Mat ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
source§

impl IMotionStabilizer for Ptr<MotionStabilizationPipeline>

source§

fn as_raw_mut_IMotionStabilizer(&mut self) -> *mut c_void

source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &Range, stabilization_motions: &mut Mat ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
source§

impl IMotionStabilizer for Ptr<dyn IMotionStabilizer>

source§

fn as_raw_mut_IMotionStabilizer(&mut self) -> *mut c_void

source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &Range, stabilization_motions: &mut Mat ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
source§

impl IMotionStabilizer for Ptr<dyn MotionFilterBase>

source§

fn as_raw_mut_IMotionStabilizer(&mut self) -> *mut c_void

source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &Range, stabilization_motions: &mut Mat ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
source§

impl IMotionStabilizerConst for Ptr<GaussianMotionFilter>

source§

impl IMotionStabilizerConst for Ptr<LpMotionStabilizer>

source§

impl IMotionStabilizerConst for Ptr<MotionStabilizationPipeline>

source§

impl IMotionStabilizerConst for Ptr<dyn IMotionStabilizer>

source§

impl IMotionStabilizerConst for Ptr<dyn MotionFilterBase>

source§

impl IOutlierRejector for Ptr<NullOutlierRejector>

source§

fn as_raw_mut_IOutlierRejector(&mut self) -> *mut c_void

source§

fn process( &mut self, frame_size: Size, points0: &dyn ToInputArray, points1: &dyn ToInputArray, mask: &mut dyn ToOutputArray ) -> Result<()>

source§

impl IOutlierRejector for Ptr<TranslationBasedLocalOutlierRejector>

source§

fn as_raw_mut_IOutlierRejector(&mut self) -> *mut c_void

source§

fn process( &mut self, frame_size: Size, points0: &dyn ToInputArray, points1: &dyn ToInputArray, mask: &mut dyn ToOutputArray ) -> Result<()>

source§

impl IOutlierRejector for Ptr<dyn IOutlierRejector>

source§

fn as_raw_mut_IOutlierRejector(&mut self) -> *mut c_void

source§

fn process( &mut self, frame_size: Size, points0: &dyn ToInputArray, points1: &dyn ToInputArray, mask: &mut dyn ToOutputArray ) -> Result<()>

source§

impl IOutlierRejectorConst for Ptr<NullOutlierRejector>

source§

impl IOutlierRejectorConst for Ptr<TranslationBasedLocalOutlierRejector>

source§

impl IOutlierRejectorConst for Ptr<dyn IOutlierRejector>

source§

impl ISparseOptFlowEstimator for Ptr<SparsePyrLkOptFlowEstimator>

source§

fn as_raw_mut_ISparseOptFlowEstimator(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, points0: &dyn ToInputArray, points1: &mut dyn ToInputOutputArray, status: &mut dyn ToOutputArray, errors: &mut dyn ToOutputArray ) -> Result<()>

source§

impl ISparseOptFlowEstimator for Ptr<SparsePyrLkOptFlowEstimatorGpu>

source§

fn as_raw_mut_ISparseOptFlowEstimator(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, points0: &dyn ToInputArray, points1: &mut dyn ToInputOutputArray, status: &mut dyn ToOutputArray, errors: &mut dyn ToOutputArray ) -> Result<()>

source§

impl ISparseOptFlowEstimator for Ptr<dyn ISparseOptFlowEstimator>

source§

fn as_raw_mut_ISparseOptFlowEstimator(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, points0: &dyn ToInputArray, points1: &mut dyn ToInputOutputArray, status: &mut dyn ToOutputArray, errors: &mut dyn ToOutputArray ) -> Result<()>

source§

impl ISparseOptFlowEstimatorConst for Ptr<SparsePyrLkOptFlowEstimator>

source§

impl ISparseOptFlowEstimatorConst for Ptr<SparsePyrLkOptFlowEstimatorGpu>

source§

impl ISparseOptFlowEstimatorConst for Ptr<dyn ISparseOptFlowEstimator>

source§

impl ImageMotionEstimatorBase for Ptr<FromFileMotionReader>

source§

fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>

source§

fn estimate(&mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool) -> Result<Mat>

C++ default parameters Read more
source§

impl ImageMotionEstimatorBase for Ptr<KeypointBasedMotionEstimator>

source§

fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>

source§

fn estimate(&mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool) -> Result<Mat>

C++ default parameters Read more
source§

impl ImageMotionEstimatorBase for Ptr<KeypointBasedMotionEstimatorGpu>

source§

fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>

source§

fn estimate(&mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool) -> Result<Mat>

C++ default parameters Read more
source§

impl ImageMotionEstimatorBase for Ptr<ToFileMotionWriter>

source§

fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>

source§

fn estimate(&mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool) -> Result<Mat>

C++ default parameters Read more
source§

impl ImageMotionEstimatorBase for Ptr<dyn ImageMotionEstimatorBase>

source§

fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>

source§

fn estimate(&mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool) -> Result<Mat>

C++ default parameters Read more
source§

impl ImageMotionEstimatorBaseConst for Ptr<FromFileMotionReader>

source§

impl ImageMotionEstimatorBaseConst for Ptr<KeypointBasedMotionEstimator>

source§

impl ImageMotionEstimatorBaseConst for Ptr<KeypointBasedMotionEstimatorGpu>

source§

impl ImageMotionEstimatorBaseConst for Ptr<ToFileMotionWriter>

source§

impl ImageMotionEstimatorBaseConst for Ptr<dyn ImageMotionEstimatorBase>

source§

impl ImgHashBaseTrait for Ptr<AverageHash>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &dyn ToInputArray, output_arr: &mut dyn ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTrait for Ptr<BlockMeanHash>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &dyn ToInputArray, output_arr: &mut dyn ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTrait for Ptr<ColorMomentHash>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &dyn ToInputArray, output_arr: &mut dyn ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTrait for Ptr<MarrHildrethHash>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &dyn ToInputArray, output_arr: &mut dyn ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTrait for Ptr<PHash>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &dyn ToInputArray, output_arr: &mut dyn ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTrait for Ptr<RadialVarianceHash>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &dyn ToInputArray, output_arr: &mut dyn ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTraitConst for Ptr<AverageHash>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &dyn ToInputArray, hash_two: &dyn ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl ImgHashBaseTraitConst for Ptr<BlockMeanHash>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &dyn ToInputArray, hash_two: &dyn ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl ImgHashBaseTraitConst for Ptr<ColorMomentHash>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &dyn ToInputArray, hash_two: &dyn ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl ImgHashBaseTraitConst for Ptr<MarrHildrethHash>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &dyn ToInputArray, hash_two: &dyn ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl ImgHashBaseTraitConst for Ptr<PHash>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &dyn ToInputArray, hash_two: &dyn ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl ImgHashBaseTraitConst for Ptr<RadialVarianceHash>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &dyn ToInputArray, hash_two: &dyn ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl IndexParamsTrait for Ptr<IndexParams>

source§

fn as_raw_mut_IndexParams(&mut self) -> *mut c_void

source§

fn params(&mut self) -> *mut c_void

source§

unsafe fn set_params(&mut self, val: *mut c_void)

source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

source§

impl IndexParamsTrait for Ptr<SearchParams>

source§

fn as_raw_mut_IndexParams(&mut self) -> *mut c_void

source§

fn params(&mut self) -> *mut c_void

source§

unsafe fn set_params(&mut self, val: *mut c_void)

source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

source§

impl IndexParamsTraitConst for Ptr<IndexParams>

source§

fn as_raw_IndexParams(&self) -> *const c_void

source§

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>

C++ default parameters Read more
source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64> ) -> Result<()>

source§

impl IndexParamsTraitConst for Ptr<SearchParams>

source§

fn as_raw_IndexParams(&self) -> *const c_void

source§

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>

C++ default parameters Read more
source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64> ) -> Result<()>

source§

impl InnerProductLayerInt8Trait for Ptr<InnerProductLayerInt8>

source§

fn as_raw_mut_InnerProductLayerInt8(&mut self) -> *mut c_void

source§

fn set_input_zp(&mut self, val: i32)

source§

fn set_output_zp(&mut self, val: i32)

source§

fn set_input_sc(&mut self, val: f32)

source§

fn set_output_sc(&mut self, val: f32)

source§

fn set_per_channel(&mut self, val: bool)

source§

impl InnerProductLayerInt8TraitConst for Ptr<InnerProductLayerInt8>

source§

impl InnerProductLayerTrait for Ptr<InnerProductLayer>

source§

impl InnerProductLayerTrait for Ptr<InnerProductLayerInt8>

source§

impl InnerProductLayerTraitConst for Ptr<InnerProductLayer>

source§

impl InnerProductLayerTraitConst for Ptr<InnerProductLayerInt8>

source§

impl InpainterBase for Ptr<ColorAverageInpainter>

source§

fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBase for Ptr<ColorInpainter>

source§

fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBase for Ptr<ConsistentMosaicInpainter>

source§

fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBase for Ptr<InpaintingPipeline>

source§

fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBase for Ptr<MotionInpainter>

source§

fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBase for Ptr<NullInpainter>

source§

fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBase for Ptr<dyn InpainterBase>

source§

fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBaseConst for Ptr<ColorAverageInpainter>

source§

impl InpainterBaseConst for Ptr<ColorInpainter>

source§

impl InpainterBaseConst for Ptr<ConsistentMosaicInpainter>

source§

impl InpainterBaseConst for Ptr<InpaintingPipeline>

source§

impl InpainterBaseConst for Ptr<MotionInpainter>

source§

impl InpainterBaseConst for Ptr<NullInpainter>

source§

impl InpainterBaseConst for Ptr<dyn InpainterBase>

source§

impl InpaintingPipelineTrait for Ptr<InpaintingPipeline>

source§

fn as_raw_mut_InpaintingPipeline(&mut self) -> *mut c_void

source§

fn push_back(&mut self, inpainter: Ptr<dyn InpainterBase>) -> Result<()>

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>

source§

impl InpaintingPipelineTraitConst for Ptr<InpaintingPipeline>

source§

impl KAZE for Ptr<dyn KAZE>

source§

fn as_raw_mut_KAZE(&mut self) -> *mut c_void

source§

fn set_extended(&mut self, extended: bool) -> Result<()>

source§

fn set_upright(&mut self, upright: bool) -> Result<()>

source§

fn set_threshold(&mut self, threshold: f64) -> Result<()>

source§

fn set_n_octaves(&mut self, octaves: i32) -> Result<()>

source§

fn set_n_octave_layers(&mut self, octave_layers: i32) -> Result<()>

source§

fn set_diffusivity(&mut self, diff: KAZE_DiffusivityType) -> Result<()>

source§

impl KAZEConst for Ptr<dyn KAZE>

source§

impl KNearest for Ptr<dyn KNearest>

source§

fn as_raw_mut_KNearest(&mut self) -> *mut c_void

source§

fn set_default_k(&mut self, val: i32) -> Result<()>

Default number of neighbors to use in predict method. Read more
source§

fn set_is_classifier(&mut self, val: bool) -> Result<()>

Whether classification or regression model should be trained. Read more
source§

fn set_emax(&mut self, val: i32) -> Result<()>

Parameter for KDTree implementation. Read more
source§

fn set_algorithm_type(&mut self, val: i32) -> Result<()>

%Algorithm type, one of KNearest::Types. Read more
source§

impl KNearestConst for Ptr<dyn KNearest>

source§

fn as_raw_KNearest(&self) -> *const c_void

source§

fn get_default_k(&self) -> Result<i32>

Default number of neighbors to use in predict method. Read more
source§

fn get_is_classifier(&self) -> Result<bool>

Whether classification or regression model should be trained. Read more
source§

fn get_emax(&self) -> Result<i32>

Parameter for KDTree implementation. Read more
source§

fn get_algorithm_type(&self) -> Result<i32>

%Algorithm type, one of KNearest::Types. Read more
source§

fn find_nearest( &self, samples: &dyn ToInputArray, k: i32, results: &mut dyn ToOutputArray, neighbor_responses: &mut dyn ToOutputArray, dist: &mut dyn ToOutputArray ) -> Result<f32>

Finds the neighbors and predicts responses for input vectors. Read more
source§

impl KeypointBasedMotionEstimatorGpuTrait for Ptr<KeypointBasedMotionEstimatorGpu>

source§

fn as_raw_mut_KeypointBasedMotionEstimatorGpu(&mut self) -> *mut c_void

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn set_outlier_rejector(&mut self, val: Ptr<dyn IOutlierRejector>) -> Result<()>

source§

fn estimate(&mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_1( &mut self, frame0: &GpuMat, frame1: &GpuMat, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

impl KeypointBasedMotionEstimatorGpuTraitConst for Ptr<KeypointBasedMotionEstimatorGpu>

source§

impl KeypointBasedMotionEstimatorTrait for Ptr<KeypointBasedMotionEstimator>

source§

fn as_raw_mut_KeypointBasedMotionEstimator(&mut self) -> *mut c_void

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn set_detector(&mut self, val: Ptr<Feature2D>) -> Result<()>

source§

fn set_optical_flow_estimator( &mut self, val: Ptr<dyn ISparseOptFlowEstimator> ) -> Result<()>

source§

fn set_outlier_rejector(&mut self, val: Ptr<dyn IOutlierRejector>) -> Result<()>

source§

fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>

source§

fn estimate_mat( &mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

impl KeypointBasedMotionEstimatorTraitConst for Ptr<KeypointBasedMotionEstimator>

source§

impl Kinfu_Detail_PoseGraph for Ptr<dyn Kinfu_Detail_PoseGraph>

source§

fn as_raw_mut_Kinfu_Detail_PoseGraph(&mut self) -> *mut c_void

source§

fn add_node( &mut self, _node_id: size_t, _pose: Affine3d, fixed: bool ) -> Result<()>

source§

fn set_node_fixed(&mut self, node_id: size_t, fixed: bool) -> Result<bool>

source§

fn add_edge( &mut self, _source_node_id: size_t, _target_node_id: size_t, _transformation: Affine3f, _information: Matx66f ) -> Result<()>

C++ default parameters Read more
source§

fn optimize(&mut self, tc: TermCriteria) -> Result<i32>

C++ default parameters Read more
source§

impl Kinfu_Detail_PoseGraphConst for Ptr<dyn Kinfu_Detail_PoseGraph>

source§

impl Kinfu_KinFu for Ptr<dyn Kinfu_KinFu>

source§

fn as_raw_mut_Kinfu_KinFu(&mut self) -> *mut c_void

source§

fn reset(&mut self) -> Result<()>

Resets the algorithm Read more
source§

fn update(&mut self, depth: &dyn ToInputArray) -> Result<bool>

Process next depth frame Read more
source§

impl Kinfu_KinFuConst for Ptr<dyn Kinfu_KinFu>

source§

fn as_raw_Kinfu_KinFu(&self) -> *const c_void

source§

fn get_params(&self) -> Result<Kinfu_Params>

Get current parameters
source§

fn render(&self, image: &mut dyn ToOutputArray) -> Result<()>

Renders a volume into an image Read more
source§

fn render_1( &self, image: &mut dyn ToOutputArray, camera_pose: Matx44f ) -> Result<()>

Renders a volume into an image Read more
source§

fn get_cloud( &self, points: &mut dyn ToOutputArray, normals: &mut dyn ToOutputArray ) -> Result<()>

Gets points and normals of current 3d mesh Read more
source§

fn get_points(&self, points: &mut dyn ToOutputArray) -> Result<()>

Gets points of current 3d mesh Read more
source§

fn get_normals( &self, points: &dyn ToInputArray, normals: &mut dyn ToOutputArray ) -> Result<()>

Calculates normals for given points Read more
source§

fn get_pose(&self) -> Result<Affine3f>

Get current pose in voxel space
source§

impl Kinfu_ParamsTrait for Ptr<Kinfu_Params>

source§

fn as_raw_mut_Kinfu_Params(&mut self) -> *mut c_void

source§

fn set_frame_size(&mut self, val: Size)

frame size in pixels
source§

fn set_volume_type(&mut self, val: Kinfu_VolumeType)

rgb frame size in pixels
source§

fn set_intr(&mut self, val: Matx33f)

camera intrinsics
source§

fn set_rgb_intr(&mut self, val: Matx33f)

rgb camera intrinsics
source§

fn set_depth_factor(&mut self, val: f32)

pre-scale per 1 meter for input values Read more
source§

fn set_bilateral_sigma_depth(&mut self, val: f32)

Depth sigma in meters for bilateral smooth
source§

fn set_bilateral_sigma_spatial(&mut self, val: f32)

Spatial sigma in pixels for bilateral smooth
source§

fn set_bilateral_kernel_size(&mut self, val: i32)

Kernel size in pixels for bilateral smooth
source§

fn set_pyramid_levels(&mut self, val: i32)

Number of pyramid levels for ICP
source§

fn set_volume_dims(&mut self, val: Vec3i)

Resolution of voxel space Read more
source§

fn set_voxel_size(&mut self, val: f32)

Size of voxel in meters
source§

fn set_tsdf_min_camera_movement(&mut self, val: f32)

Minimal camera movement in meters Read more
source§

fn set_volume_pose(&mut self, val: Affine3f)

initial volume pose in meters
source§

fn set_tsdf_trunc_dist(&mut self, val: f32)

distance to truncate in meters Read more
source§

fn set_tsdf_max_weight(&mut self, val: i32)

max number of frames per voxel Read more
source§

fn set_raycast_step_factor(&mut self, val: f32)

A length of one raycast step Read more
source§

fn set_light_pose(&mut self, val: Vec3f)

light pose for rendering in meters
source§

fn set_icp_dist_thresh(&mut self, val: f32)

distance theshold for ICP in meters
source§

fn set_icp_angle_thresh(&mut self, val: f32)

angle threshold for ICP in radians
source§

fn set_icp_iterations(&mut self, val: Vector<i32>)

number of ICP iterations for each pyramid level
source§

fn set_truncate_threshold(&mut self, val: f32)

Threshold for depth truncation in meters Read more
source§

fn set_initial_volume_pose(&mut self, r: Matx33f, t: Vec3f) -> Result<()>

Set Initial Volume Pose Sets the initial pose of the TSDF volume. Read more
source§

fn set_initial_volume_pose_1(&mut self, homogen_tf: Matx44f) -> Result<()>

Set Initial Volume Pose Sets the initial pose of the TSDF volume. Read more
source§

impl Kinfu_ParamsTraitConst for Ptr<Kinfu_Params>

source§

fn as_raw_Kinfu_Params(&self) -> *const c_void

source§

fn frame_size(&self) -> Size

frame size in pixels
source§

fn volume_type(&self) -> Kinfu_VolumeType

rgb frame size in pixels
source§

fn intr(&self) -> Matx33f

camera intrinsics
source§

fn rgb_intr(&self) -> Matx33f

rgb camera intrinsics
source§

fn depth_factor(&self) -> f32

pre-scale per 1 meter for input values Read more
source§

fn bilateral_sigma_depth(&self) -> f32

Depth sigma in meters for bilateral smooth
source§

fn bilateral_sigma_spatial(&self) -> f32

Spatial sigma in pixels for bilateral smooth
source§

fn bilateral_kernel_size(&self) -> i32

Kernel size in pixels for bilateral smooth
source§

fn pyramid_levels(&self) -> i32

Number of pyramid levels for ICP
source§

fn volume_dims(&self) -> Vec3i

Resolution of voxel space Read more
source§

fn voxel_size(&self) -> f32

Size of voxel in meters
source§

fn tsdf_min_camera_movement(&self) -> f32

Minimal camera movement in meters Read more
source§

fn volume_pose(&self) -> Affine3f

initial volume pose in meters
source§

fn tsdf_trunc_dist(&self) -> f32

distance to truncate in meters Read more
source§

fn tsdf_max_weight(&self) -> i32

max number of frames per voxel Read more
source§

fn raycast_step_factor(&self) -> f32

A length of one raycast step Read more
source§

fn light_pose(&self) -> Vec3f

light pose for rendering in meters
source§

fn icp_dist_thresh(&self) -> f32

distance theshold for ICP in meters
source§

fn icp_angle_thresh(&self) -> f32

angle threshold for ICP in radians
source§

fn icp_iterations(&self) -> Vector<i32>

number of ICP iterations for each pyramid level
source§

fn truncate_threshold(&self) -> f32

Threshold for depth truncation in meters Read more
source§

impl Kinfu_Volume for Ptr<dyn Kinfu_Volume>

source§

fn as_raw_mut_Kinfu_Volume(&mut self) -> *mut c_void

source§

fn integrate( &mut self, _depth: &dyn ToInputArray, depth_factor: f32, camera_pose: Matx44f, intrinsics: Kinfu_Intr, frame_id: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn integrate_1( &mut self, _depth: &dyn ToInputArray, _rgb: &dyn ToInputArray, depth_factor: f32, camera_pose: Matx44f, intrinsics: Kinfu_Intr, rgb_intrinsics: Kinfu_Intr, frame_id: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn reset(&mut self) -> Result<()>

source§

impl Kinfu_VolumeConst for Ptr<dyn Kinfu_Volume>

source§

fn as_raw_Kinfu_Volume(&self) -> *const c_void

source§

fn voxel_size(&self) -> f32

source§

fn voxel_size_inv(&self) -> f32

source§

fn pose(&self) -> Affine3f

source§

fn raycast_step_factor(&self) -> f32

source§

fn raycast( &self, camera_pose: Matx44f, intrinsics: Kinfu_Intr, frame_size: Size, points: &mut dyn ToOutputArray, normals: &mut dyn ToOutputArray ) -> Result<()>

source§

fn raycast_1( &self, camera_pose: Matx44f, intrinsics: Kinfu_Intr, frame_size: Size, points: &mut dyn ToOutputArray, normals: &mut dyn ToOutputArray, colors: &mut dyn ToOutputArray ) -> Result<()>

source§

fn fetch_normals( &self, points: &dyn ToInputArray, _normals: &mut dyn ToOutputArray ) -> Result<()>

source§

fn fetch_points_normals( &self, points: &mut dyn ToOutputArray, normals: &mut dyn ToOutputArray ) -> Result<()>

source§

fn fetch_points_normals_colors( &self, unnamed: &mut dyn ToOutputArray, unnamed_1: &mut dyn ToOutputArray, unnamed_2: &mut dyn ToOutputArray ) -> Result<()>

source§

impl Kinfu_VolumeParamsTrait for Ptr<Kinfu_VolumeParams>

source§

fn as_raw_mut_Kinfu_VolumeParams(&mut self) -> *mut c_void

source§

fn set_type(&mut self, val: Kinfu_VolumeType)

Type of Volume Values can be TSDF (single volume) or HASHTSDF (hashtable of volume units)
source§

fn set_resolution(&mut self, val: Vec3i)

Resolution of voxel space Number of voxels in each dimension. Applicable only for TSDF Volume. HashTSDF volume only supports equal resolution in all three dimensions
source§

fn set_unit_resolution(&mut self, val: i32)

Resolution of volumeUnit in voxel space Number of voxels in each dimension for volumeUnit Applicable only for hashTSDF. Read more
source§

fn set_pose(&mut self, val: Affine3f)

Initial pose of the volume in meters
source§

fn set_voxel_size(&mut self, val: f32)

Length of voxels in meters
source§

fn set_tsdf_trunc_dist(&mut self, val: f32)

TSDF truncation distance Distances greater than value from surface will be truncated to 1.0
source§

fn set_max_weight(&mut self, val: i32)

Max number of frames to integrate per voxel Represents the max number of frames over which a running average of the TSDF is calculated for a voxel
source§

fn set_depth_trunc_threshold(&mut self, val: f32)

Threshold for depth truncation in meters Truncates the depth greater than threshold to 0
source§

fn set_raycast_step_factor(&mut self, val: f32)

Length of single raycast step Describes the percentage of voxel length that is skipped per march
source§

impl Kinfu_VolumeParamsTraitConst for Ptr<Kinfu_VolumeParams>

source§

fn as_raw_Kinfu_VolumeParams(&self) -> *const c_void

source§

fn typ(&self) -> Kinfu_VolumeType

Type of Volume Values can be TSDF (single volume) or HASHTSDF (hashtable of volume units)
source§

fn resolution(&self) -> Vec3i

Resolution of voxel space Number of voxels in each dimension. Applicable only for TSDF Volume. HashTSDF volume only supports equal resolution in all three dimensions
source§

fn unit_resolution(&self) -> i32

Resolution of volumeUnit in voxel space Number of voxels in each dimension for volumeUnit Applicable only for hashTSDF.
source§

fn pose(&self) -> Affine3f

Initial pose of the volume in meters
source§

fn voxel_size(&self) -> f32

Length of voxels in meters
source§

fn tsdf_trunc_dist(&self) -> f32

TSDF truncation distance Distances greater than value from surface will be truncated to 1.0
source§

fn max_weight(&self) -> i32

Max number of frames to integrate per voxel Represents the max number of frames over which a running average of the TSDF is calculated for a voxel
source§

fn depth_trunc_threshold(&self) -> f32

Threshold for depth truncation in meters Truncates the depth greater than threshold to 0
source§

fn raycast_step_factor(&self) -> f32

Length of single raycast step Describes the percentage of voxel length that is skipped per march
source§

impl LATCH for Ptr<dyn LATCH>

source§

fn as_raw_mut_LATCH(&mut self) -> *mut c_void

source§

fn set_bytes(&mut self, bytes: i32) -> Result<()>

source§

fn set_rotation_invariance(&mut self, rotation_invariance: bool) -> Result<()>

source§

fn set_half_ss_dsize(&mut self, half_ssd_size: i32) -> Result<()>

source§

fn set_sigma(&mut self, sigma: f64) -> Result<()>

source§

impl LATCHConst for Ptr<dyn LATCH>

source§

impl LBPHFaceRecognizer for Ptr<dyn LBPHFaceRecognizer>

source§

fn as_raw_mut_LBPHFaceRecognizer(&mut self) -> *mut c_void

source§

fn set_grid_x(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_grid_y(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_radius(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_neighbors(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_threshold(&mut self, val: f64) -> Result<()>

See also Read more
source§

impl LBPHFaceRecognizerConst for Ptr<dyn LBPHFaceRecognizer>

source§

impl LMSolver for Ptr<dyn LMSolver>

source§

fn as_raw_mut_LMSolver(&mut self) -> *mut c_void

source§

fn set_max_iters(&mut self, max_iters: i32) -> Result<()>

Sets the maximum number of iterations Read more
source§

impl LMSolverConst for Ptr<dyn LMSolver>

source§

fn as_raw_LMSolver(&self) -> *const c_void

source§

fn run(&self, param: &mut dyn ToInputOutputArray) -> Result<i32>

Runs Levenberg-Marquardt algorithm using the passed vector of parameters as the start point. The final vector of parameters (whether the algorithm converged or not) is stored at the same vector. The method returns the number of iterations used. If it’s equal to the previously specified maxIters, there is a big chance the algorithm did not converge. Read more
source§

fn get_max_iters(&self) -> Result<i32>

Retrieves the current maximum number of iterations
source§

impl LMSolver_Callback for Ptr<dyn LMSolver_Callback>

source§

impl LMSolver_CallbackConst for Ptr<dyn LMSolver_Callback>

source§

fn as_raw_LMSolver_Callback(&self) -> *const c_void

source§

fn compute( &self, param: &dyn ToInputArray, err: &mut dyn ToOutputArray, j: &mut dyn ToOutputArray ) -> Result<bool>

computes error and Jacobian for the specified vector of parameters Read more
source§

impl LRNLayerTrait for Ptr<LRNLayer>

source§

fn as_raw_mut_LRNLayer(&mut self) -> *mut c_void

source§

fn set_type(&mut self, val: i32)

source§

fn set_size(&mut self, val: i32)

source§

fn set_alpha(&mut self, val: f32)

source§

fn set_beta(&mut self, val: f32)

source§

fn set_bias(&mut self, val: f32)

source§

fn set_norm_by_size(&mut self, val: bool)

source§

impl LRNLayerTraitConst for Ptr<LRNLayer>

source§

fn as_raw_LRNLayer(&self) -> *const c_void

source§

fn typ(&self) -> i32

source§

fn size(&self) -> i32

source§

fn alpha(&self) -> f32

source§

fn beta(&self) -> f32

source§

fn bias(&self) -> f32

source§

fn norm_by_size(&self) -> bool

source§

impl LSDDetectorTrait for Ptr<LSDDetector>

source§

fn as_raw_mut_LSDDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &Mat, keypoints: &mut Vector<KeyLine>, scale: i32, num_octaves: i32, mask: &Mat ) -> Result<()>

Detect lines inside an image. Read more
source§

impl LSDDetectorTraitConst for Ptr<LSDDetector>

source§

fn as_raw_LSDDetector(&self) -> *const c_void

source§

fn detect_multiple( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, scale: i32, num_octaves: i32, masks: &Vector<Mat> ) -> Result<()>

Detect lines inside an image. Read more
source§

impl LSTMLayer for Ptr<dyn LSTMLayer>

source§

fn as_raw_mut_LSTMLayer(&mut self) -> *mut c_void

source§

fn set_weights(&mut self, wh: &Mat, wx: &Mat, b: &Mat) -> Result<()>

👎Deprecated: Use LayerParams::blobs instead.
Deprecated: Use LayerParams::blobs instead. Set trained weights for LSTM layer. Read more
source§

fn set_out_shape(&mut self, out_tail_shape: &MatShape) -> Result<()>

Specifies shape of output blob which will be [[T], N] + @p outTailShape. @details If this parameter is empty or unset then @p outTailShape = [Wh.size(0)] will be used, where Wh is parameter from setWeights(). Read more
source§

fn set_use_timstamps_dim(&mut self, use_: bool) -> Result<()>

👎Deprecated: Use flag produce_cell_output in LayerParams.
Deprecated: Use flag produce_cell_output in LayerParams. Specifies either interpret first dimension of input blob as timestamp dimension either as sample. Read more
source§

fn set_produce_cell_output(&mut self, produce: bool) -> Result<()>

👎Deprecated: Use flag use_timestamp_dim in LayerParams.
Deprecated: Use flag use_timestamp_dim in LayerParams. If this flag is set to true then layer will produce @f$ c_t @f$ as second output. @details Shape of the second output is the same as first output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

source§

impl LSTMLayerConst for Ptr<dyn LSTMLayer>

source§

impl LUCID for Ptr<dyn LUCID>

source§

fn as_raw_mut_LUCID(&mut self) -> *mut c_void

source§

fn set_lucid_kernel(&mut self, lucid_kernel: i32) -> Result<()>

source§

fn set_blur_kernel(&mut self, blur_kernel: i32) -> Result<()>

source§

impl LUCIDConst for Ptr<dyn LUCID>

source§

impl LargeKinfu for Ptr<dyn LargeKinfu>

source§

fn as_raw_mut_LargeKinfu(&mut self) -> *mut c_void

source§

fn reset(&mut self) -> Result<()>

source§

fn update(&mut self, depth: &dyn ToInputArray) -> Result<bool>

source§

impl LargeKinfuConst for Ptr<dyn LargeKinfu>

source§

fn as_raw_LargeKinfu(&self) -> *const c_void

source§

fn get_params(&self) -> Result<Params>

source§

fn render(&self, image: &mut dyn ToOutputArray) -> Result<()>

source§

fn render_1( &self, image: &mut dyn ToOutputArray, camera_pose: Matx44f ) -> Result<()>

source§

fn get_cloud( &self, points: &mut dyn ToOutputArray, normals: &mut dyn ToOutputArray ) -> Result<()>

source§

fn get_points(&self, points: &mut dyn ToOutputArray) -> Result<()>

source§

fn get_normals( &self, points: &dyn ToInputArray, normals: &mut dyn ToOutputArray ) -> Result<()>

source§

fn get_pose(&self) -> Result<Affine3f>

source§

impl LayerTrait for Ptr<AbsLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<AccumLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<AcosLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<AcoshLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ActivationLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ActivationLayerInt8>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ArgLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<AsinLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<AsinhLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<AtanLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<AtanhLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<BNLLLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<BaseConvolutionLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<BatchNormLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<BatchNormLayerInt8>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<CeilLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<CeluLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ConcatLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<CorrelationLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<CosLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<CoshLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<CumSumLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<DataAugmentationLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<DequantizeLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<DetectionOutputLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ELULayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<EltwiseLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<EltwiseLayerInt8>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ErfLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ExpLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<FlattenLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<FloorLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<FlowWarpLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<GRULayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<GatherLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<HardSigmoidLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<HardSwishLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<InnerProductLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<InnerProductLayerInt8>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<LRNLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<Layer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<LogLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<MVNLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<MaxUnpoolLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<MishLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<NaryEltwiseLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<NormalizeBBoxLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<NotLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<PaddingLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<PermuteLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<PoolingLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<PoolingLayerInt8>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<PowerLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<PriorBoxLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ProposalLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<QuantizeLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ReLU6Layer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ReLULayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ReciprocalLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ReduceLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ReduceLayerInt8>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<RegionLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ReorgLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<RequantizeLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ReshapeLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ResizeLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<RoundLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ScaleLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ScaleLayerInt8>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ScatterLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ScatterNDLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SeluLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ShrinkLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SigmoidLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SignLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SinLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SinhLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SliceLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SoftmaxLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SoftmaxLayerInt8>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SoftplusLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SoftsignLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SplitLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SqrtLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<SwishLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<TanHLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<TanLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<ThresholdedReluLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<TileLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<dyn LSTMLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTrait for Ptr<dyn RNNLayer>

source§

fn as_raw_mut_Layer(&mut self) -> *mut c_void

source§

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn set_name(&mut self, val: &str)

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn set_type(&mut self, val: &str)

Type name which was used for creating layer by layer factory.
source§

fn set_preferable_target(&mut self, val: i32)

prefer target for layer forwarding
source§

fn finalize( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut LayerParams ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, internals: &mut dyn ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<dyn BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<dyn BackendWrapper>>, outputs: &Vector<Ptr<dyn BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>, index: i32, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &LayerParams) -> Result<()>

source§

impl LayerTraitConst for Ptr<AbsLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<AccumLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<AcosLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<AcoshLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ActivationLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ActivationLayerInt8>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ArgLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<AsinLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<AsinhLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<AtanLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<AtanhLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<BNLLLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<BaseConvolutionLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<BatchNormLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<BatchNormLayerInt8>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<CeilLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<CeluLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ConcatLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<CorrelationLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<CosLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<CoshLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<CumSumLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<DataAugmentationLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<DequantizeLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<DetectionOutputLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ELULayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<EltwiseLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<EltwiseLayerInt8>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ErfLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ExpLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<FlattenLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<FloorLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<FlowWarpLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<GRULayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<GatherLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<HardSigmoidLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<HardSwishLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<InnerProductLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<InnerProductLayerInt8>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<LRNLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<Layer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<LogLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<MVNLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<MaxUnpoolLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<MishLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<NaryEltwiseLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<NormalizeBBoxLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<NotLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<PaddingLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<PermuteLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<PoolingLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<PoolingLayerInt8>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<PowerLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<PriorBoxLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ProposalLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<QuantizeLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ReLU6Layer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ReLULayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ReciprocalLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ReduceLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ReduceLayerInt8>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<RegionLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ReorgLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<RequantizeLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ReshapeLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ResizeLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<RoundLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ScaleLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ScaleLayerInt8>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ScatterLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ScatterNDLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SeluLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ShrinkLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SigmoidLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SignLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SinLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SinhLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SliceLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SoftmaxLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SoftmaxLayerInt8>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SoftplusLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SoftsignLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SplitLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SqrtLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<SwishLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<TanHLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<TanLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ThresholdedReluLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<TileLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<dyn LSTMLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<dyn RNNLayer>

source§

fn as_raw_Layer(&self) -> *const c_void

source§

fn blobs(&self) -> Vector<Mat>

List of learned parameters must be stored here to allow read them by using Net::getParam().
source§

fn name(&self) -> String

Name of the layer instance, can be used for logging or other internal purposes.
source§

fn typ(&self) -> String

Type name which was used for creating layer by layer factory.
source§

fn preferable_target(&self) -> i32

prefer target for layer forwarding
source§

fn apply_halide_scheduler( &self, node: &mut Ptr<BackendNode>, inputs: &Vector<Mat>, outputs: &Vector<Mat>, target_id: i32 ) -> Result<()>

Automatic Halide scheduling based on layer hyper-parameters. Read more
source§

fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LearningBasedWB for Ptr<dyn LearningBasedWB>

source§

fn as_raw_mut_LearningBasedWB(&mut self) -> *mut c_void

source§

fn extract_simple_features( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Implements the feature extraction part of the algorithm. Read more
source§

fn set_range_max_val(&mut self, val: i32) -> Result<()>

Maximum possible value of the input image (e.g. 255 for 8 bit images, 4095 for 12 bit images) Read more
source§

fn set_saturation_threshold(&mut self, val: f32) -> Result<()>

Threshold that is used to determine saturated pixels, i.e. pixels where at least one of the channels exceeds inline formula are ignored. Read more
source§

fn set_hist_bin_num(&mut self, val: i32) -> Result<()>

Defines the size of one dimension of a three-dimensional RGB histogram that is used internally by the algorithm. It often makes sense to increase the number of bins for images with higher bit depth (e.g. 256 bins for a 12 bit image). Read more
source§

impl LearningBasedWBConst for Ptr<dyn LearningBasedWB>

source§

fn as_raw_LearningBasedWB(&self) -> *const c_void

source§

fn get_range_max_val(&self) -> Result<i32>

Maximum possible value of the input image (e.g. 255 for 8 bit images, 4095 for 12 bit images) Read more
source§

fn get_saturation_threshold(&self) -> Result<f32>

Threshold that is used to determine saturated pixels, i.e. pixels where at least one of the channels exceeds inline formula are ignored. Read more
source§

fn get_hist_bin_num(&self) -> Result<i32>

Defines the size of one dimension of a three-dimensional RGB histogram that is used internally by the algorithm. It often makes sense to increase the number of bins for images with higher bit depth (e.g. 256 bins for a 12 bit image). Read more
source§

impl LineSegmentDetector for Ptr<dyn LineSegmentDetector>

source§

fn as_raw_mut_LineSegmentDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &dyn ToInputArray, lines: &mut dyn ToOutputArray, width: &mut dyn ToOutputArray, prec: &mut dyn ToOutputArray, nfa: &mut dyn ToOutputArray ) -> Result<()>

Finds lines in the input image. Read more
source§

fn draw_segments( &mut self, image: &mut dyn ToInputOutputArray, lines: &dyn ToInputArray ) -> Result<()>

Draws the line segments on a given image. Read more
source§

fn compare_segments( &mut self, size: Size, lines1: &dyn ToInputArray, lines2: &dyn ToInputArray, image: &mut dyn ToInputOutputArray ) -> Result<i32>

Draws two groups of lines in blue and red, counting the non overlapping (mismatching) pixels. Read more
source§

impl LineSegmentDetectorConst for Ptr<dyn LineSegmentDetector>

source§

impl Linemod_ColorGradientTrait for Ptr<Linemod_ColorGradient>

source§

impl Linemod_ColorGradientTraitConst for Ptr<Linemod_ColorGradient>

source§

impl Linemod_DepthNormalTrait for Ptr<Linemod_DepthNormal>

source§

impl Linemod_DepthNormalTraitConst for Ptr<Linemod_DepthNormal>

source§

impl Linemod_DetectorTrait for Ptr<Linemod_Detector>

source§

fn as_raw_mut_Linemod_Detector(&mut self) -> *mut c_void

source§

fn add_template( &mut self, sources: &Vector<Mat>, class_id: &str, object_mask: &Mat, bounding_box: &mut Rect ) -> Result<i32>

\brief Add new object template. Read more
source§

fn add_synthetic_template( &mut self, templates: &Vector<Linemod_Template>, class_id: &str ) -> Result<i32>

\brief Add a new object template computed by external means.
source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

source§

fn read_class( &mut self, fn_: &FileNode, class_id_override: &str ) -> Result<String>

C++ default parameters Read more
source§

fn read_classes( &mut self, class_ids: &Vector<String>, format: &str ) -> Result<()>

C++ default parameters Read more
source§

impl Linemod_DetectorTraitConst for Ptr<Linemod_Detector>

source§

fn as_raw_Linemod_Detector(&self) -> *const c_void

source§

fn match_( &self, sources: &Vector<Mat>, threshold: f32, matches: &mut Vector<Linemod_Match>, class_ids: &Vector<String>, quantized_images: &mut dyn ToOutputArray, masks: &Vector<Mat> ) -> Result<()>

\brief Detect objects by template matching. Read more
source§

fn get_modalities(&self) -> Result<Vector<Ptr<dyn Linemod_Modality>>>

\brief Get the modalities used by this detector. Read more
source§

fn get_t(&self, pyramid_level: i32) -> Result<i32>

\brief Get sampling step T at pyramid_level.
source§

fn pyramid_levels(&self) -> Result<i32>

\brief Get number of pyramid levels used by this detector.
source§

fn get_templates( &self, class_id: &str, template_id: i32 ) -> Result<Vector<Linemod_Template>>

\brief Get the template pyramid identified by template_id. Read more
source§

fn num_templates(&self) -> Result<i32>

source§

fn num_templates_1(&self, class_id: &str) -> Result<i32>

source§

fn num_classes(&self) -> Result<i32>

source§

fn class_ids(&self) -> Result<Vector<String>>

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

source§

fn write_class(&self, class_id: &str, fs: &mut FileStorage) -> Result<()>

source§

fn write_classes(&self, format: &str) -> Result<()>

C++ default parameters Read more
source§

impl Linemod_Modality for Ptr<Linemod_ColorGradient>

source§

impl Linemod_Modality for Ptr<Linemod_DepthNormal>

source§

impl Linemod_Modality for Ptr<dyn Linemod_Modality>

source§

impl Linemod_ModalityConst for Ptr<Linemod_ColorGradient>

source§

fn as_raw_Linemod_Modality(&self) -> *const c_void

source§

fn process( &self, src: &Mat, mask: &Mat ) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
source§

fn name(&self) -> Result<String>

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

source§

impl Linemod_ModalityConst for Ptr<Linemod_DepthNormal>

source§

fn as_raw_Linemod_Modality(&self) -> *const c_void

source§

fn process( &self, src: &Mat, mask: &Mat ) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
source§

fn name(&self) -> Result<String>

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

source§

impl Linemod_ModalityConst for Ptr<dyn Linemod_Modality>

source§

fn as_raw_Linemod_Modality(&self) -> *const c_void

source§

fn process( &self, src: &Mat, mask: &Mat ) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
source§

fn name(&self) -> Result<String>

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

source§

impl Linemod_QuantizedPyramid for Ptr<dyn Linemod_QuantizedPyramid>

source§

fn as_raw_mut_Linemod_QuantizedPyramid(&mut self) -> *mut c_void

source§

fn pyr_down(&mut self) -> Result<()>

\brief Go to the next pyramid level. Read more
source§

impl Linemod_QuantizedPyramidConst for Ptr<dyn Linemod_QuantizedPyramid>

source§

fn as_raw_Linemod_QuantizedPyramid(&self) -> *const c_void

source§

fn quantize(&self, dst: &mut Mat) -> Result<()>

\brief Compute quantized image at current pyramid level for online detection. Read more
source§

fn extract_template(&self, templ: &mut Linemod_Template) -> Result<bool>

\brief Extract most discriminant features at current pyramid level to form a new template. Read more
source§

impl LogLayerTrait for Ptr<LogLayer>

source§

impl LogLayerTraitConst for Ptr<LogLayer>

source§

impl LogToStdoutTrait for Ptr<LogToStdout>

source§

fn as_raw_mut_LogToStdout(&mut self) -> *mut c_void

source§

fn print(&mut self, format: &str) -> Result<()>

source§

impl LogToStdoutTraitConst for Ptr<LogToStdout>

source§

impl LogisticRegression for Ptr<dyn LogisticRegression>

source§

fn as_raw_mut_LogisticRegression(&mut self) -> *mut c_void

source§

fn set_learning_rate(&mut self, val: f64) -> Result<()>

Learning rate. Read more
source§

fn set_iterations(&mut self, val: i32) -> Result<()>

Number of iterations. Read more
source§

fn set_regularization(&mut self, val: i32) -> Result<()>

Kind of regularization to be applied. See LogisticRegression::RegKinds. Read more
source§

fn set_train_method(&mut self, val: i32) -> Result<()>

Kind of training method used. See LogisticRegression::Methods. Read more
source§

fn set_mini_batch_size(&mut self, val: i32) -> Result<()>

Specifies the number of training samples taken in each step of Mini-Batch Gradient Descent. Will only be used if using LogisticRegression::MINI_BATCH training algorithm. It has to take values less than the total number of training samples. Read more
source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

Termination criteria of the algorithm. Read more
source§

impl LogisticRegressionConst for Ptr<dyn LogisticRegression>

source§

fn as_raw_LogisticRegression(&self) -> *const c_void

source§

fn get_learning_rate(&self) -> Result<f64>

Learning rate. Read more
source§

fn get_iterations(&self) -> Result<i32>

Number of iterations. Read more
source§

fn get_regularization(&self) -> Result<i32>

Kind of regularization to be applied. See LogisticRegression::RegKinds. Read more
source§

fn get_train_method(&self) -> Result<i32>

Kind of training method used. See LogisticRegression::Methods. Read more
source§

fn get_mini_batch_size(&self) -> Result<i32>

Specifies the number of training samples taken in each step of Mini-Batch Gradient Descent. Will only be used if using LogisticRegression::MINI_BATCH training algorithm. It has to take values less than the total number of training samples. Read more
source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Termination criteria of the algorithm. Read more
source§

fn predict( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Predicts responses for input samples and returns a float type. Read more
source§

fn get_learnt_thetas(&self) -> Result<Mat>

This function returns the trained parameters arranged across rows. Read more
source§

impl LookUpTable for Ptr<dyn LookUpTable>

source§

fn as_raw_mut_LookUpTable(&mut self) -> *mut c_void

source§

fn transform( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, stream: &mut Stream ) -> Result<()>

Transforms the source matrix into the destination matrix using the given look-up table: dst(I) = lut(src(I)) . Read more
source§

impl LookUpTableConst for Ptr<dyn LookUpTable>

source§

impl LpMotionStabilizerTrait for Ptr<LpMotionStabilizer>

source§

fn as_raw_mut_LpMotionStabilizer(&mut self) -> *mut c_void

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn set_frame_size(&mut self, val: Size) -> Result<()>

source§

fn set_trim_ratio(&mut self, val: f32) -> Result<()>

source§

fn set_weight1(&mut self, val: f32) -> Result<()>

source§

fn set_weight2(&mut self, val: f32) -> Result<()>

source§

fn set_weight3(&mut self, val: f32) -> Result<()>

source§

fn set_weight4(&mut self, val: f32) -> Result<()>

source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &Range, stabilization_motions: &mut Mat ) -> Result<()>

source§

impl LpMotionStabilizerTraitConst for Ptr<LpMotionStabilizer>

source§

impl MACE for Ptr<dyn MACE>

source§

fn as_raw_mut_MACE(&mut self) -> *mut c_void

source§

fn salt(&mut self, passphrase: &str) -> Result<()>

optionally encrypt images with random convolution Read more
source§

fn train(&mut self, images: &dyn ToInputArray) -> Result<()>

train it on positive features compute the mace filter: h = D(-1) * X * (X(+) * D(-1) * X)(-1) * C also calculate a minimal threshold for this class, the smallest self-similarity from the train images Read more
source§

impl MACEConst for Ptr<dyn MACE>

source§

fn as_raw_MACE(&self) -> *const c_void

source§

fn same(&self, query: &dyn ToInputArray) -> Result<bool>

correlate query img and threshold to min class value Read more
source§

impl MCC_CChecker for Ptr<dyn MCC_CChecker>

source§

fn as_raw_mut_MCC_CChecker(&mut self) -> *mut c_void

source§

fn set_target(&mut self, _target: MCC_TYPECHART) -> Result<()>

source§

fn set_box(&mut self, _box: Vector<Point2f>) -> Result<()>

source§

fn set_charts_rgb(&mut self, _charts_rgb: Mat) -> Result<()>

source§

fn set_charts_y_cb_cr(&mut self, _charts_y_cb_cr: Mat) -> Result<()>

source§

fn set_cost(&mut self, _cost: f32) -> Result<()>

source§

fn set_center(&mut self, _center: Point2f) -> Result<()>

source§

fn get_target(&mut self) -> Result<MCC_TYPECHART>

source§

fn get_box(&mut self) -> Result<Vector<Point2f>>

source§

fn get_charts_rgb(&mut self) -> Result<Mat>

source§

fn get_charts_y_cb_cr(&mut self) -> Result<Mat>

source§

fn get_cost(&mut self) -> Result<f32>

source§

fn get_center(&mut self) -> Result<Point2f>

source§

impl MCC_CCheckerConst for Ptr<dyn MCC_CChecker>

source§

impl MCC_CCheckerDetector for Ptr<dyn MCC_CCheckerDetector>

source§

fn as_raw_mut_MCC_CCheckerDetector(&mut self) -> *mut c_void

source§

fn set_net(&mut self, net: Net) -> Result<bool>

\brief Set the net which will be used to find the approximate bounding boxes for the color charts. Read more
source§

fn process_with_roi( &mut self, image: &dyn ToInputArray, chart_type: MCC_TYPECHART, regions_of_interest: &Vector<Rect>, nc: i32, use_net: bool, params: &Ptr<MCC_DetectorParameters> ) -> Result<bool>

\brief Find the ColorCharts in the given image. Read more
source§

fn process( &mut self, image: &dyn ToInputArray, chart_type: MCC_TYPECHART, nc: i32, use_net: bool, params: &Ptr<MCC_DetectorParameters> ) -> Result<bool>

\brief Find the ColorCharts in the given image. Read more
source§

fn get_best_color_checker(&mut self) -> Result<Ptr<dyn MCC_CChecker>>

\brief Get the best color checker. By the best it means the one detected with the highest confidence. \return checker A single colorchecker, if atleast one colorchecker was detected, ‘nullptr’ otherwise.
source§

fn get_list_color_checker(&mut self) -> Result<Vector<Ptr<dyn MCC_CChecker>>>

\brief Get the list of all detected colorcheckers \return checkers vector of colorcheckers
source§

impl MCC_CCheckerDetectorConst for Ptr<dyn MCC_CCheckerDetector>

source§

impl MCC_CCheckerDraw for Ptr<dyn MCC_CCheckerDraw>

source§

fn as_raw_mut_MCC_CCheckerDraw(&mut self) -> *mut c_void

source§

fn draw(&mut self, img: &mut dyn ToInputOutputArray) -> Result<()>

\brief Draws the checker to the given image. \param img image in color space BGR \return void
source§

impl MCC_CCheckerDrawConst for Ptr<dyn MCC_CCheckerDraw>

source§

impl MCC_DetectorParametersTrait for Ptr<MCC_DetectorParameters>

source§

impl MCC_DetectorParametersTraitConst for Ptr<MCC_DetectorParameters>

source§

impl MSDDetector for Ptr<dyn MSDDetector>

source§

fn as_raw_mut_MSDDetector(&mut self) -> *mut c_void

source§

fn set_patch_radius(&mut self, patch_radius: i32) -> Result<()>

source§

fn set_search_area_radius(&mut self, use_orientation: i32) -> Result<()>

source§

fn set_nms_radius(&mut self, nms_radius: i32) -> Result<()>

source§

fn set_nms_scale_radius(&mut self, nms_scale_radius: i32) -> Result<()>

source§

fn set_th_saliency(&mut self, th_saliency: f32) -> Result<()>

source§

fn set_knn(&mut self, k_nn: i32) -> Result<()>

source§

fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>

source§

fn set_n_scales(&mut self, use_orientation: i32) -> Result<()>

source§

fn set_compute_orientation(&mut self, compute_orientation: bool) -> Result<()>

source§

impl MSDDetectorConst for Ptr<dyn MSDDetector>

source§

impl MSER for Ptr<dyn MSER>

source§

fn as_raw_mut_MSER(&mut self) -> *mut c_void

source§

fn detect_regions( &mut self, image: &dyn ToInputArray, msers: &mut Vector<Vector<Point>>, bboxes: &mut Vector<Rect> ) -> Result<()>

Detect %MSER regions Read more
source§

fn set_delta(&mut self, delta: i32) -> Result<()>

source§

fn set_min_area(&mut self, min_area: i32) -> Result<()>

source§

fn set_max_area(&mut self, max_area: i32) -> Result<()>

source§

fn set_max_variation(&mut self, max_variation: f64) -> Result<()>

source§

fn set_min_diversity(&mut self, min_diversity: f64) -> Result<()>

source§

fn set_max_evolution(&mut self, max_evolution: i32) -> Result<()>

source§

fn set_area_threshold(&mut self, area_threshold: f64) -> Result<()>

source§

fn set_min_margin(&mut self, min_margin: f64) -> Result<()>

source§

fn set_edge_blur_size(&mut self, edge_blur_size: i32) -> Result<()>

source§

fn set_pass2_only(&mut self, f: bool) -> Result<()>

source§

impl MSERConst for Ptr<dyn MSER>

source§

impl MVNLayerTrait for Ptr<MVNLayer>

source§

fn as_raw_mut_MVNLayer(&mut self) -> *mut c_void

source§

fn set_eps(&mut self, val: f32)

source§

fn set_norm_variance(&mut self, val: bool)

source§

fn set_across_channels(&mut self, val: bool)

source§

impl MVNLayerTraitConst for Ptr<MVNLayer>

source§

impl MarrHildrethHashTrait for Ptr<MarrHildrethHash>

source§

fn as_raw_mut_MarrHildrethHash(&mut self) -> *mut c_void

source§

fn set_kernel_param(&mut self, alpha: f32, scale: f32) -> Result<()>

Set Mh kernel parameters Read more
source§

impl MarrHildrethHashTraitConst for Ptr<MarrHildrethHash>

source§

fn as_raw_MarrHildrethHash(&self) -> *const c_void

source§

fn get_alpha(&self) -> Result<f32>

self explain
source§

fn get_scale(&self) -> Result<f32>

self explain
source§

impl MaskFrameSourceTrait for Ptr<MaskFrameSource>

source§

impl MaskFrameSourceTraitConst for Ptr<MaskFrameSource>

source§

impl MaxUnpoolLayerTrait for Ptr<MaxUnpoolLayer>

source§

impl MaxUnpoolLayerTraitConst for Ptr<MaxUnpoolLayer>

source§

impl MercatorWarperTrait for Ptr<MercatorWarper>

source§

impl MercatorWarperTraitConst for Ptr<MercatorWarper>

source§

impl MergeDebevec for Ptr<dyn MergeDebevec>

source§

fn as_raw_mut_MergeDebevec(&mut self) -> *mut c_void

source§

fn process_with_response( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, times: &dyn ToInputArray, response: &dyn ToInputArray ) -> Result<()>

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, times: &dyn ToInputArray ) -> Result<()>

source§

impl MergeDebevecConst for Ptr<dyn MergeDebevec>

source§

impl MergeExposures for Ptr<dyn MergeDebevec>

source§

fn as_raw_mut_MergeExposures(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, times: &dyn ToInputArray, response: &dyn ToInputArray ) -> Result<()>

Merges images. Read more
source§

impl MergeExposures for Ptr<dyn MergeMertens>

source§

fn as_raw_mut_MergeExposures(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, times: &dyn ToInputArray, response: &dyn ToInputArray ) -> Result<()>

Merges images. Read more
source§

impl MergeExposures for Ptr<dyn MergeRobertson>

source§

fn as_raw_mut_MergeExposures(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, times: &dyn ToInputArray, response: &dyn ToInputArray ) -> Result<()>

Merges images. Read more
source§

impl MergeExposuresConst for Ptr<dyn MergeDebevec>

source§

impl MergeExposuresConst for Ptr<dyn MergeMertens>

source§

impl MergeExposuresConst for Ptr<dyn MergeRobertson>

source§

impl MergeMertens for Ptr<dyn MergeMertens>

source§

fn as_raw_mut_MergeMertens(&mut self) -> *mut c_void

source§

fn process_with_response( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, times: &dyn ToInputArray, response: &dyn ToInputArray ) -> Result<()>

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Short version of process, that doesn’t take extra arguments. Read more
source§

fn set_contrast_weight(&mut self, contrast_weiht: f32) -> Result<()>

source§

fn set_saturation_weight(&mut self, saturation_weight: f32) -> Result<()>

source§

fn set_exposure_weight(&mut self, exposure_weight: f32) -> Result<()>

source§

impl MergeMertensConst for Ptr<dyn MergeMertens>

source§

impl MergeRobertson for Ptr<dyn MergeRobertson>

source§

fn as_raw_mut_MergeRobertson(&mut self) -> *mut c_void

source§

fn process_with_response( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, times: &dyn ToInputArray, response: &dyn ToInputArray ) -> Result<()>

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray, times: &dyn ToInputArray ) -> Result<()>

source§

impl MergeRobertsonConst for Ptr<dyn MergeRobertson>

source§

impl MinProblemSolver for Ptr<dyn ConjGradSolver>

source§

fn as_raw_mut_MinProblemSolver(&mut self) -> *mut c_void

source§

fn set_function(&mut self, f: &Ptr<dyn MinProblemSolver_Function>) -> Result<()>

Setter for the optimized function. Read more
source§

fn set_term_criteria(&mut self, termcrit: TermCriteria) -> Result<()>

Set terminal criteria for solver. Read more
source§

fn minimize(&mut self, x: &mut dyn ToInputOutputArray) -> Result<f64>

actually runs the algorithm and performs the minimization. Read more
source§

impl MinProblemSolver for Ptr<dyn DownhillSolver>

source§

fn as_raw_mut_MinProblemSolver(&mut self) -> *mut c_void

source§

fn set_function(&mut self, f: &Ptr<dyn MinProblemSolver_Function>) -> Result<()>

Setter for the optimized function. Read more
source§

fn set_term_criteria(&mut self, termcrit: TermCriteria) -> Result<()>

Set terminal criteria for solver. Read more
source§

fn minimize(&mut self, x: &mut dyn ToInputOutputArray) -> Result<f64>

actually runs the algorithm and performs the minimization. Read more
source§

impl MinProblemSolverConst for Ptr<dyn ConjGradSolver>

source§

fn as_raw_MinProblemSolver(&self) -> *const c_void

source§

fn get_function(&self) -> Result<Ptr<dyn MinProblemSolver_Function>>

Getter for the optimized function. Read more
source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Getter for the previously set terminal criteria for this algorithm. Read more
source§

impl MinProblemSolverConst for Ptr<dyn DownhillSolver>

source§

fn as_raw_MinProblemSolver(&self) -> *const c_void

source§

fn get_function(&self) -> Result<Ptr<dyn MinProblemSolver_Function>>

Getter for the optimized function. Read more
source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Getter for the previously set terminal criteria for this algorithm. Read more
source§

impl MinProblemSolver_Function for Ptr<dyn MinProblemSolver_Function>

source§

impl MinProblemSolver_FunctionConst for Ptr<dyn MinProblemSolver_Function>

source§

impl MishLayerTrait for Ptr<MishLayer>

source§

impl MishLayerTraitConst for Ptr<MishLayer>

source§

impl MoreAccurateMotionWobbleSuppressorBase for Ptr<MoreAccurateMotionWobbleSuppressor>

source§

impl MoreAccurateMotionWobbleSuppressorBase for Ptr<MoreAccurateMotionWobbleSuppressorGpu>

source§

impl MoreAccurateMotionWobbleSuppressorBase for Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>

source§

impl MoreAccurateMotionWobbleSuppressorBaseConst for Ptr<MoreAccurateMotionWobbleSuppressor>

source§

impl MoreAccurateMotionWobbleSuppressorBaseConst for Ptr<MoreAccurateMotionWobbleSuppressorGpu>

source§

impl MoreAccurateMotionWobbleSuppressorBaseConst for Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>

source§

impl MoreAccurateMotionWobbleSuppressorGpuTrait for Ptr<MoreAccurateMotionWobbleSuppressorGpu>

source§

fn as_raw_mut_MoreAccurateMotionWobbleSuppressorGpu(&mut self) -> *mut c_void

source§

fn suppress( &mut self, idx: i32, frame: &GpuMat, result: &mut GpuMat ) -> Result<()>

source§

fn suppress_1(&mut self, idx: i32, frame: &Mat, result: &mut Mat) -> Result<()>

source§

impl MoreAccurateMotionWobbleSuppressorGpuTraitConst for Ptr<MoreAccurateMotionWobbleSuppressorGpu>

source§

impl MoreAccurateMotionWobbleSuppressorTrait for Ptr<MoreAccurateMotionWobbleSuppressor>

source§

fn as_raw_mut_MoreAccurateMotionWobbleSuppressor(&mut self) -> *mut c_void

source§

fn suppress(&mut self, idx: i32, frame: &Mat, result: &mut Mat) -> Result<()>

source§

impl MoreAccurateMotionWobbleSuppressorTraitConst for Ptr<MoreAccurateMotionWobbleSuppressor>

source§

impl MotionEstimatorBase for Ptr<MotionEstimatorL1>

source§

fn as_raw_mut_MotionEstimatorBase(&mut self) -> *mut c_void

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Sets motion model. Read more
source§

fn estimate( &mut self, points0: &dyn ToInputArray, points1: &dyn ToInputArray, ok: &mut bool ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
source§

impl MotionEstimatorBase for Ptr<MotionEstimatorRansacL2>

source§

fn as_raw_mut_MotionEstimatorBase(&mut self) -> *mut c_void

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Sets motion model. Read more
source§

fn estimate( &mut self, points0: &dyn ToInputArray, points1: &dyn ToInputArray, ok: &mut bool ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
source§

impl MotionEstimatorBase for Ptr<dyn MotionEstimatorBase>

source§

fn as_raw_mut_MotionEstimatorBase(&mut self) -> *mut c_void

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

Sets motion model. Read more
source§

fn estimate( &mut self, points0: &dyn ToInputArray, points1: &dyn ToInputArray, ok: &mut bool ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
source§

impl MotionEstimatorBaseConst for Ptr<MotionEstimatorL1>

source§

impl MotionEstimatorBaseConst for Ptr<MotionEstimatorRansacL2>

source§

impl MotionEstimatorBaseConst for Ptr<dyn MotionEstimatorBase>

source§

impl MotionEstimatorL1Trait for Ptr<MotionEstimatorL1>

source§

fn as_raw_mut_MotionEstimatorL1(&mut self) -> *mut c_void

source§

fn estimate( &mut self, points0: &dyn ToInputArray, points1: &dyn ToInputArray, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

impl MotionEstimatorL1TraitConst for Ptr<MotionEstimatorL1>

source§

impl MotionEstimatorRansacL2Trait for Ptr<MotionEstimatorRansacL2>

source§

fn as_raw_mut_MotionEstimatorRansacL2(&mut self) -> *mut c_void

source§

fn set_ransac_params(&mut self, val: &RansacParams) -> Result<()>

source§

fn set_min_inlier_ratio(&mut self, val: f32) -> Result<()>

source§

fn estimate( &mut self, points0: &dyn ToInputArray, points1: &dyn ToInputArray, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

impl MotionEstimatorRansacL2TraitConst for Ptr<MotionEstimatorRansacL2>

source§

impl MotionFilterBase for Ptr<GaussianMotionFilter>

source§

fn as_raw_mut_MotionFilterBase(&mut self) -> *mut c_void

source§

fn stabilize( &mut self, idx: i32, motions: &Vector<Mat>, range: &Range ) -> Result<Mat>

source§

fn stabilize_1( &mut self, size: i32, motions: &Vector<Mat>, range: &Range, stabilization_motions: &mut Mat ) -> Result<()>

source§

impl MotionFilterBase for Ptr<dyn MotionFilterBase>

source§

fn as_raw_mut_MotionFilterBase(&mut self) -> *mut c_void

source§

fn stabilize( &mut self, idx: i32, motions: &Vector<Mat>, range: &Range ) -> Result<Mat>

source§

fn stabilize_1( &mut self, size: i32, motions: &Vector<Mat>, range: &Range, stabilization_motions: &mut Mat ) -> Result<()>

source§

impl MotionFilterBaseConst for Ptr<GaussianMotionFilter>

source§

impl MotionFilterBaseConst for Ptr<dyn MotionFilterBase>

source§

impl MotionInpainterTrait for Ptr<MotionInpainter>

source§

fn as_raw_mut_MotionInpainter(&mut self) -> *mut c_void

source§

fn set_opt_flow_estimator( &mut self, val: Ptr<dyn IDenseOptFlowEstimator> ) -> Result<()>

source§

fn set_flow_error_threshold(&mut self, val: f32) -> Result<()>

source§

fn set_dist_threshold(&mut self, val: f32) -> Result<()>

source§

fn set_border_mode(&mut self, val: i32) -> Result<()>

source§

fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>

source§

impl MotionInpainterTraitConst for Ptr<MotionInpainter>

source§

impl MotionSaliency for Ptr<MotionSaliencyBinWangApr2014>

source§

impl MotionSaliencyBinWangApr2014Trait for Ptr<MotionSaliencyBinWangApr2014>

source§

fn as_raw_mut_MotionSaliencyBinWangApr2014(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &dyn ToInputArray, saliency_map: &mut dyn ToOutputArray ) -> Result<bool>

source§

fn set_imagesize(&mut self, w: i32, h: i32) -> Result<()>

This is a utility function that allows to set the correct size (taken from the input image) in the corresponding variables that will be used to size the data structures of the algorithm. Read more
source§

fn init(&mut self) -> Result<bool>

This function allows the correct initialization of all data structures that will be used by the algorithm.
source§

fn set_image_width(&mut self, val: i32) -> Result<()>

source§

fn set_image_height(&mut self, val: i32) -> Result<()>

source§

impl MotionSaliencyBinWangApr2014TraitConst for Ptr<MotionSaliencyBinWangApr2014>

source§

impl MotionSaliencyConst for Ptr<MotionSaliencyBinWangApr2014>

source§

impl MotionStabilizationPipelineTrait for Ptr<MotionStabilizationPipeline>

source§

fn as_raw_mut_MotionStabilizationPipeline(&mut self) -> *mut c_void

source§

fn push_back(&mut self, stabilizer: Ptr<dyn IMotionStabilizer>) -> Result<()>

source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &Range, stabilization_motions: &mut Mat ) -> Result<()>

source§

impl MotionStabilizationPipelineTraitConst for Ptr<MotionStabilizationPipeline>

source§

impl NaryEltwiseLayerTrait for Ptr<NaryEltwiseLayer>

source§

impl NaryEltwiseLayerTraitConst for Ptr<NaryEltwiseLayer>

source§

impl NormHistogramCostExtractor for Ptr<dyn NormHistogramCostExtractor>

source§

impl NormHistogramCostExtractorConst for Ptr<dyn NormHistogramCostExtractor>

source§

impl NormalBayesClassifier for Ptr<dyn NormalBayesClassifier>

source§

impl NormalBayesClassifierConst for Ptr<dyn NormalBayesClassifier>

source§

fn as_raw_NormalBayesClassifier(&self) -> *const c_void

source§

fn predict_prob( &self, inputs: &dyn ToInputArray, outputs: &mut dyn ToOutputArray, output_probs: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Predicts the response for sample(s). Read more
source§

impl NormalizeBBoxLayerTrait for Ptr<NormalizeBBoxLayer>

source§

fn as_raw_mut_NormalizeBBoxLayer(&mut self) -> *mut c_void

source§

fn set_pnorm(&mut self, val: f32)

source§

fn set_epsilon(&mut self, val: f32)

source§

fn set_across_spatial(&mut self, val: bool)

source§

impl NormalizeBBoxLayerTraitConst for Ptr<NormalizeBBoxLayer>

source§

impl NotLayerTrait for Ptr<NotLayer>

source§

impl NotLayerTraitConst for Ptr<NotLayer>

source§

impl NullDeblurerTrait for Ptr<NullDeblurer>

source§

fn as_raw_mut_NullDeblurer(&mut self) -> *mut c_void

source§

fn deblur( &mut self, unnamed: i32, unnamed_1: &mut Mat, unnamed_2: &Range ) -> Result<()>

source§

impl NullDeblurerTraitConst for Ptr<NullDeblurer>

source§

impl NullFrameSourceTrait for Ptr<NullFrameSource>

source§

impl NullFrameSourceTraitConst for Ptr<NullFrameSource>

source§

impl NullInpainterTrait for Ptr<NullInpainter>

source§

fn as_raw_mut_NullInpainter(&mut self) -> *mut c_void

source§

fn inpaint( &mut self, unnamed: i32, unnamed_1: &mut Mat, unnamed_2: &mut Mat ) -> Result<()>

source§

impl NullInpainterTraitConst for Ptr<NullInpainter>

source§

impl NullLogTrait for Ptr<NullLog>

source§

fn as_raw_mut_NullLog(&mut self) -> *mut c_void

source§

fn print(&mut self, unnamed: &str) -> Result<()>

source§

impl NullLogTraitConst for Ptr<NullLog>

source§

impl NullOutlierRejectorTrait for Ptr<NullOutlierRejector>

source§

fn as_raw_mut_NullOutlierRejector(&mut self) -> *mut c_void

source§

fn process( &mut self, frame_size: Size, points0: &dyn ToInputArray, points1: &dyn ToInputArray, mask: &mut dyn ToOutputArray ) -> Result<()>

source§

impl NullOutlierRejectorTraitConst for Ptr<NullOutlierRejector>

source§

impl NullWobbleSuppressorTrait for Ptr<NullWobbleSuppressor>

source§

fn as_raw_mut_NullWobbleSuppressor(&mut self) -> *mut c_void

source§

fn suppress(&mut self, idx: i32, frame: &Mat, result: &mut Mat) -> Result<()>

source§

impl NullWobbleSuppressorTraitConst for Ptr<NullWobbleSuppressor>

source§

impl OCRBeamSearchDecoderTrait for Ptr<OCRBeamSearchDecoder>

source§

fn as_raw_mut_OCRBeamSearchDecoder(&mut self) -> *mut c_void

source§

fn run_multiple( &mut self, image: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

Recognize text using Beam Search. Read more
source§

fn run_multiple_mask( &mut self, image: &mut Mat, mask: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run( &mut self, image: &dyn ToInputArray, min_confidence: i32, component_level: i32 ) -> Result<String>

C++ default parameters Read more
source§

fn run_mask( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, min_confidence: i32, component_level: i32 ) -> Result<String>

C++ default parameters Read more
source§

impl OCRBeamSearchDecoderTraitConst for Ptr<OCRBeamSearchDecoder>

source§

impl OCRBeamSearchDecoder_ClassifierCallbackTrait for Ptr<OCRBeamSearchDecoder_ClassifierCallback>

source§

fn as_raw_mut_OCRBeamSearchDecoder_ClassifierCallback(&mut self) -> *mut c_void

source§

fn eval( &mut self, image: &dyn ToInputArray, recognition_probabilities: &mut Vector<Vector<f64>>, oversegmentation: &mut Vector<i32> ) -> Result<()>

The character classifier must return a (ranked list of) class(es) id(’s) Read more
source§

fn get_window_size(&mut self) -> Result<i32>

source§

fn get_step_size(&mut self) -> Result<i32>

source§

impl OCRBeamSearchDecoder_ClassifierCallbackTraitConst for Ptr<OCRBeamSearchDecoder_ClassifierCallback>

source§

impl OCRHMMDecoderTrait for Ptr<OCRHMMDecoder>

source§

fn as_raw_mut_OCRHMMDecoder(&mut self) -> *mut c_void

source§

fn run_multiple( &mut self, image: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

Recognize text using HMM. Read more
source§

fn run_multiple_mask( &mut self, image: &mut Mat, mask: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

Recognize text using HMM. Read more
source§

fn run( &mut self, image: &dyn ToInputArray, min_confidence: i32, component_level: i32 ) -> Result<String>

C++ default parameters Read more
source§

fn run_mask( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, min_confidence: i32, component_level: i32 ) -> Result<String>

C++ default parameters Read more
source§

impl OCRHMMDecoderTraitConst for Ptr<OCRHMMDecoder>

source§

impl OCRHMMDecoder_ClassifierCallbackTrait for Ptr<OCRHMMDecoder_ClassifierCallback>

source§

fn as_raw_mut_OCRHMMDecoder_ClassifierCallback(&mut self) -> *mut c_void

source§

fn eval( &mut self, image: &dyn ToInputArray, out_class: &mut Vector<i32>, out_confidence: &mut Vector<f64> ) -> Result<()>

The character classifier must return a (ranked list of) class(es) id(’s) Read more
source§

impl OCRHMMDecoder_ClassifierCallbackTraitConst for Ptr<OCRHMMDecoder_ClassifierCallback>

source§

impl OCRHolisticWordRecognizer for Ptr<dyn OCRHolisticWordRecognizer>

source§

fn as_raw_mut_OCRHolisticWordRecognizer(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_mask( &mut self, image: &mut Mat, mask: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

Recognize text using a segmentation based word-spotting/classifier cnn. Read more
source§

impl OCRHolisticWordRecognizerConst for Ptr<dyn OCRHolisticWordRecognizer>

source§

impl OCRTesseract for Ptr<dyn OCRTesseract>

source§

fn as_raw_mut_OCRTesseract(&mut self) -> *mut c_void

source§

fn run_multiple( &mut self, image: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

Recognize text using the tesseract-ocr API. Read more
source§

fn run_multiple_mask( &mut self, image: &mut Mat, mask: &mut Mat, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run( &mut self, image: &dyn ToInputArray, min_confidence: i32, component_level: i32 ) -> Result<String>

C++ default parameters Read more
source§

fn run_mask( &mut self, image: &dyn ToInputArray, mask: &dyn ToInputArray, min_confidence: i32, component_level: i32 ) -> Result<String>

C++ default parameters Read more
source§

fn set_white_list(&mut self, char_whitelist: &str) -> Result<()>

source§

impl OCRTesseractConst for Ptr<dyn OCRTesseract>

source§

impl OLSTracker for Ptr<dyn OLSTracker>

source§

impl OLSTrackerConst for Ptr<dyn OLSTracker>

source§

impl ORB for Ptr<dyn ORB>

source§

fn as_raw_mut_ORB(&mut self) -> *mut c_void

source§

fn set_max_features(&mut self, max_features: i32) -> Result<()>

source§

fn set_scale_factor(&mut self, scale_factor: f64) -> Result<()>

source§

fn set_n_levels(&mut self, nlevels: i32) -> Result<()>

source§

fn set_edge_threshold(&mut self, edge_threshold: i32) -> Result<()>

source§

fn set_first_level(&mut self, first_level: i32) -> Result<()>

source§

fn set_wta_k(&mut self, wta_k: i32) -> Result<()>

source§

fn set_score_type(&mut self, score_type: ORB_ScoreType) -> Result<()>

source§

fn set_patch_size(&mut self, patch_size: i32) -> Result<()>

source§

fn set_fast_threshold(&mut self, fast_threshold: i32) -> Result<()>

source§

impl ORBConst for Ptr<dyn ORB>

source§

impl Objectness for Ptr<ObjectnessBING>

source§

impl ObjectnessBINGTrait for Ptr<ObjectnessBING>

source§

fn as_raw_mut_ObjectnessBING(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &dyn ToInputArray, saliency_map: &mut dyn ToOutputArray ) -> Result<bool>

source§

fn read(&mut self) -> Result<()>

source§

fn getobjectness_values(&mut self) -> Result<Vector<f32>>

Return the list of the rectangles’ objectness value, Read more
source§

fn set_training_path(&mut self, training_path: &str) -> Result<()>

This is a utility function that allows to set the correct path from which the algorithm will load the trained model. Read more
source§

fn set_bb_res_dir(&mut self, results_dir: &str) -> Result<()>

This is a utility function that allows to set an arbitrary path in which the algorithm will save the optional results Read more
source§

fn set_base(&mut self, val: f64) -> Result<()>

source§

fn set_nss(&mut self, val: i32) -> Result<()>

source§

fn set_w(&mut self, val: i32) -> Result<()>

source§

impl ObjectnessBINGTraitConst for Ptr<ObjectnessBING>

source§

impl ObjectnessConst for Ptr<ObjectnessBING>

source§

impl Odometry for Ptr<FastICPOdometry>

source§

fn as_raw_mut_Odometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>

See also Read more
source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
source§

impl Odometry for Ptr<ICPOdometry>

source§

fn as_raw_mut_Odometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>

See also Read more
source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
source§

impl Odometry for Ptr<RgbdICPOdometry>

source§

fn as_raw_mut_Odometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>

See also Read more
source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
source§

impl Odometry for Ptr<RgbdOdometry>

source§

fn as_raw_mut_Odometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>

See also Read more
source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
source§

impl Odometry for Ptr<dyn Odometry>

source§

fn as_raw_mut_Odometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>

See also Read more
source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
source§

impl OdometryConst for Ptr<FastICPOdometry>

source§

fn as_raw_Odometry(&self) -> *const c_void

source§

fn compute( &self, src_image: &Mat, src_depth: &Mat, src_mask: &Mat, dst_image: &Mat, dst_depth: &Mat, dst_mask: &Mat, rt: &mut dyn ToOutputArray, init_rt: &Mat ) -> 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 dyn ToOutputArray, init_rt: &Mat ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32 ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
source§

impl OdometryConst for Ptr<ICPOdometry>

source§

fn as_raw_Odometry(&self) -> *const c_void

source§

fn compute( &self, src_image: &Mat, src_depth: &Mat, src_mask: &Mat, dst_image: &Mat, dst_depth: &Mat, dst_mask: &Mat, rt: &mut dyn ToOutputArray, init_rt: &Mat ) -> 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 dyn ToOutputArray, init_rt: &Mat ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32 ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
source§

impl OdometryConst for Ptr<RgbdICPOdometry>

source§

fn as_raw_Odometry(&self) -> *const c_void

source§

fn compute( &self, src_image: &Mat, src_depth: &Mat, src_mask: &Mat, dst_image: &Mat, dst_depth: &Mat, dst_mask: &Mat, rt: &mut dyn ToOutputArray, init_rt: &Mat ) -> 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 dyn ToOutputArray, init_rt: &Mat ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32 ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
source§

impl OdometryConst for Ptr<RgbdOdometry>

source§

fn as_raw_Odometry(&self) -> *const c_void

source§

fn compute( &self, src_image: &Mat, src_depth: &Mat, src_mask: &Mat, dst_image: &Mat, dst_depth: &Mat, dst_mask: &Mat, rt: &mut dyn ToOutputArray, init_rt: &Mat ) -> 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 dyn ToOutputArray, init_rt: &Mat ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32 ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
source§

impl OdometryConst for Ptr<dyn Odometry>

source§

fn as_raw_Odometry(&self) -> *const c_void

source§

fn compute( &self, src_image: &Mat, src_depth: &Mat, src_mask: &Mat, dst_image: &Mat, dst_depth: &Mat, dst_mask: &Mat, rt: &mut dyn ToOutputArray, init_rt: &Mat ) -> 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 dyn ToOutputArray, init_rt: &Mat ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32 ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
source§

impl OdometryFrameTrait for Ptr<OdometryFrame>

source§

impl OdometryFrameTraitConst for Ptr<OdometryFrame>

source§

impl OnePassStabilizerTrait for Ptr<OnePassStabilizer>

source§

impl OnePassStabilizerTraitConst for Ptr<OnePassStabilizer>

source§

impl OriginalClassNameTrait for Ptr<OriginalClassName>

source§

impl OriginalClassNameTraitConst for Ptr<OriginalClassName>

source§

impl PCAPriorTrait for Ptr<PCAPrior>

source§

impl PCAPriorTraitConst for Ptr<PCAPrior>

source§

fn as_raw_PCAPrior(&self) -> *const c_void

source§

fn get_padding(&self) -> Result<i32>

source§

fn get_basis_size(&self) -> Result<i32>

source§

fn fill_constraints( &self, a1: &mut f32, a2: &mut f32, b1: &mut f32, b2: &mut f32 ) -> Result<()>

source§

impl PCTSignatures for Ptr<dyn PCTSignatures>

source§

fn as_raw_mut_PCTSignatures(&mut self) -> *mut c_void

source§

fn set_grayscale_bits(&mut self, grayscale_bits: i32) -> Result<()>

Color resolution of the greyscale bitmap represented in allocated bits (i.e., value 4 means that 16 shades of grey are used). The greyscale bitmap is used for computing contrast and entropy values.
source§

fn set_window_radius(&mut self, radius: i32) -> Result<()>

Size of the texture sampling window used to compute contrast and entropy (center of the window is always in the pixel selected by x,y coordinates of the corresponding feature sample).
source§

fn set_weight_x(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn set_weight_y(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn set_weight_l(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn set_weight_a(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn set_weight_b(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn set_weight_contrast(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn set_weight_entropy(&mut self, weight: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn set_weight(&mut self, idx: i32, value: f32) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space. Read more
source§

fn set_weights(&mut self, weights: &Vector<f32>) -> Result<()>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space. Read more
source§

fn set_translation(&mut self, idx: i32, value: f32) -> Result<()>

Translations of the individual axes of the feature space. Read more
source§

fn set_translations(&mut self, translations: &Vector<f32>) -> Result<()>

Translations of the individual axes of the feature space. Read more
source§

fn set_sampling_points( &mut self, sampling_points: Vector<Point2f> ) -> Result<()>

Sets sampling points used to sample the input image. Read more
source§

fn set_init_seed_indexes( &mut self, init_seed_indexes: Vector<i32> ) -> Result<()>

Initial seed indexes for the k-means algorithm.
source§

fn set_iteration_count(&mut self, iteration_count: i32) -> Result<()>

Number of iterations of the k-means clustering. We use fixed number of iterations, since the modified clustering is pruning clusters (not iteratively refining k clusters).
source§

fn set_max_clusters_count(&mut self, max_clusters_count: i32) -> Result<()>

Maximal number of generated clusters. If the number is exceeded, the clusters are sorted by their weights and the smallest clusters are cropped.
source§

fn set_cluster_min_size(&mut self, cluster_min_size: i32) -> Result<()>

This parameter multiplied by the index of iteration gives lower limit for cluster size. Clusters containing fewer points than specified by the limit have their centroid dismissed and points are reassigned.
source§

fn set_joining_distance(&mut self, joining_distance: f32) -> Result<()>

Threshold euclidean distance between two centroids. If two cluster centers are closer than this distance, one of the centroid is dismissed and points are reassigned.
source§

fn set_drop_threshold(&mut self, drop_threshold: f32) -> Result<()>

Remove centroids in k-means whose weight is lesser or equal to given threshold.
source§

fn set_distance_function(&mut self, distance_function: i32) -> Result<()>

Distance function selector used for measuring distance between two points in k-means. Available: L0_25, L0_5, L1, L2, L2SQUARED, L5, L_INFINITY.
source§

impl PCTSignaturesConst for Ptr<dyn PCTSignatures>

source§

fn as_raw_PCTSignatures(&self) -> *const c_void

source§

fn compute_signature( &self, image: &dyn ToInputArray, signature: &mut dyn ToOutputArray ) -> Result<()>

Computes signature of given image. Read more
source§

fn compute_signatures( &self, images: &Vector<Mat>, signatures: &mut Vector<Mat> ) -> Result<()>

Computes signatures for multiple images in parallel. Read more
source§

fn get_sample_count(&self) -> Result<i32>

Number of initial samples taken from the image.
source§

fn get_grayscale_bits(&self) -> Result<i32>

Color resolution of the greyscale bitmap represented in allocated bits (i.e., value 4 means that 16 shades of grey are used). The greyscale bitmap is used for computing contrast and entropy values.
source§

fn get_window_radius(&self) -> Result<i32>

Size of the texture sampling window used to compute contrast and entropy (center of the window is always in the pixel selected by x,y coordinates of the corresponding feature sample).
source§

fn get_weight_x(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_weight_y(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_weight_l(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_weight_a(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_weight_b(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_weight_contrast(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_weight_entropy(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_sampling_points(&self) -> Result<Vector<Point2f>>

Initial samples taken from the image. These sampled features become the input for clustering.
source§

fn get_init_seed_indexes(&self) -> Result<Vector<i32>>

** clusterizer *** Read more
source§

fn get_init_seed_count(&self) -> Result<i32>

Number of initial seeds (initial number of clusters) for the k-means algorithm.
source§

fn get_iteration_count(&self) -> Result<i32>

Number of iterations of the k-means clustering. We use fixed number of iterations, since the modified clustering is pruning clusters (not iteratively refining k clusters).
source§

fn get_max_clusters_count(&self) -> Result<i32>

Maximal number of generated clusters. If the number is exceeded, the clusters are sorted by their weights and the smallest clusters are cropped.
source§

fn get_cluster_min_size(&self) -> Result<i32>

This parameter multiplied by the index of iteration gives lower limit for cluster size. Clusters containing fewer points than specified by the limit have their centroid dismissed and points are reassigned.
source§

fn get_joining_distance(&self) -> Result<f32>

Threshold euclidean distance between two centroids. If two cluster centers are closer than this distance, one of the centroid is dismissed and points are reassigned.
source§

fn get_drop_threshold(&self) -> Result<f32>

Remove centroids in k-means whose weight is lesser or equal to given threshold.
source§

fn get_distance_function(&self) -> Result<i32>

Distance function selector used for measuring distance between two points in k-means.
source§

impl PCTSignaturesSQFD for Ptr<dyn PCTSignaturesSQFD>

source§

impl PCTSignaturesSQFDConst for Ptr<dyn PCTSignaturesSQFD>

source§

fn as_raw_PCTSignaturesSQFD(&self) -> *const c_void

source§

fn compute_quadratic_form_distance( &self, _signature0: &dyn ToInputArray, _signature1: &dyn ToInputArray ) -> Result<f32>

Computes Signature Quadratic Form Distance of two signatures. Read more
source§

fn compute_quadratic_form_distances( &self, source_signature: &Mat, image_signatures: &Vector<Mat>, distances: &mut Vector<f32> ) -> Result<()>

Computes Signature Quadratic Form Distance between the reference signature and each of the other image signatures. Read more
source§

impl PHashTrait for Ptr<PHash>

source§

impl PHashTraitConst for Ptr<PHash>

source§

impl PaddingLayerTrait for Ptr<PaddingLayer>

source§

impl PaddingLayerTraitConst for Ptr<PaddingLayer>

source§

impl PaniniPortraitWarperTrait for Ptr<PaniniPortraitWarper>

source§

impl PaniniPortraitWarperTraitConst for Ptr<PaniniPortraitWarper>

source§

impl PaniniWarperTrait for Ptr<PaniniWarper>

source§

impl PaniniWarperTraitConst for Ptr<PaniniWarper>

source§

impl ParamGridTrait for Ptr<ParamGrid>

source§

fn as_raw_mut_ParamGrid(&mut self) -> *mut c_void

source§

fn set_min_val(&mut self, val: f64)

Minimum value of the statmodel parameter. Default value is 0.
source§

fn set_max_val(&mut self, val: f64)

Maximum value of the statmodel parameter. Default value is 0.
source§

fn set_log_step(&mut self, val: f64)

Logarithmic step for iterating the statmodel parameter. Read more
source§

impl ParamGridTraitConst for Ptr<ParamGrid>

source§

fn as_raw_ParamGrid(&self) -> *const c_void

source§

fn min_val(&self) -> f64

Minimum value of the statmodel parameter. Default value is 0.
source§

fn max_val(&self) -> f64

Maximum value of the statmodel parameter. Default value is 0.
source§

fn log_step(&self) -> f64

Logarithmic step for iterating the statmodel parameter. Read more
source§

impl ParamsTrait for Ptr<Params>

source§

fn as_raw_mut_Params(&mut self) -> *mut c_void

source§

fn set_frame_size(&mut self, val: Size)

frame size in pixels
source§

fn set_intr(&mut self, val: Matx33f)

camera intrinsics
source§

fn set_rgb_intr(&mut self, val: Matx33f)

rgb camera intrinsics
source§

fn set_depth_factor(&mut self, val: f32)

pre-scale per 1 meter for input values Typical values are: * 5000 per 1 meter for the 16-bit PNG files of TUM database * 1000 per 1 meter for Kinect 2 device * 1 per 1 meter for the 32-bit float images in the ROS bag files
source§

fn set_bilateral_sigma_depth(&mut self, val: f32)

Depth sigma in meters for bilateral smooth
source§

fn set_bilateral_sigma_spatial(&mut self, val: f32)

Spatial sigma in pixels for bilateral smooth
source§

fn set_bilateral_kernel_size(&mut self, val: i32)

Kernel size in pixels for bilateral smooth
source§

fn set_pyramid_levels(&mut self, val: i32)

Number of pyramid levels for ICP
source§

fn set_tsdf_min_camera_movement(&mut self, val: f32)

Minimal camera movement in meters Integrate new depth frame only if camera movement exceeds this value.
source§

fn set_light_pose(&mut self, val: Vec3f)

light pose for rendering in meters
source§

fn set_icp_dist_thresh(&mut self, val: f32)

distance theshold for ICP in meters
source§

fn set_icp_angle_thresh(&mut self, val: f32)

angle threshold for ICP in radians
source§

fn set_icp_iterations(&mut self, val: Vector<i32>)

number of ICP iterations for each pyramid level
source§

fn set_truncate_threshold(&mut self, val: f32)

Threshold for depth truncation in meters All depth values beyond this threshold will be set to zero
source§

fn set_volume_params(&mut self, val: Kinfu_VolumeParams)

Volume parameters
source§

impl ParamsTraitConst for Ptr<Params>

source§

fn as_raw_Params(&self) -> *const c_void

source§

fn frame_size(&self) -> Size

frame size in pixels
source§

fn intr(&self) -> Matx33f

camera intrinsics
source§

fn rgb_intr(&self) -> Matx33f

rgb camera intrinsics
source§

fn depth_factor(&self) -> f32

pre-scale per 1 meter for input values Typical values are: * 5000 per 1 meter for the 16-bit PNG files of TUM database * 1000 per 1 meter for Kinect 2 device * 1 per 1 meter for the 32-bit float images in the ROS bag files
source§

fn bilateral_sigma_depth(&self) -> f32

Depth sigma in meters for bilateral smooth
source§

fn bilateral_sigma_spatial(&self) -> f32

Spatial sigma in pixels for bilateral smooth
source§

fn bilateral_kernel_size(&self) -> i32

Kernel size in pixels for bilateral smooth
source§

fn pyramid_levels(&self) -> i32

Number of pyramid levels for ICP
source§

fn tsdf_min_camera_movement(&self) -> f32

Minimal camera movement in meters Integrate new depth frame only if camera movement exceeds this value.
source§

fn light_pose(&self) -> Vec3f

light pose for rendering in meters
source§

fn icp_dist_thresh(&self) -> f32

distance theshold for ICP in meters
source§

fn icp_angle_thresh(&self) -> f32

angle threshold for ICP in radians
source§

fn icp_iterations(&self) -> Vector<i32>

number of ICP iterations for each pyramid level
source§

fn truncate_threshold(&self) -> f32

Threshold for depth truncation in meters All depth values beyond this threshold will be set to zero
source§

fn volume_params(&self) -> Kinfu_VolumeParams

Volume parameters
source§

impl PermuteLayerTrait for Ptr<PermuteLayer>

source§

impl PermuteLayerTraitConst for Ptr<PermuteLayer>

source§

impl PhaseUnwrapping for Ptr<dyn HistogramPhaseUnwrapping>

source§

fn as_raw_mut_PhaseUnwrapping(&mut self) -> *mut c_void

source§

fn unwrap_phase_map( &mut self, wrapped_phase_map: &dyn ToInputArray, unwrapped_phase_map: &mut dyn ToOutputArray, shadow_mask: &dyn ToInputArray ) -> Result<()>

Unwraps a 2D phase map. Read more
source§

impl PhaseUnwrappingConst for Ptr<dyn HistogramPhaseUnwrapping>

source§

impl PlaneWarperGpuTrait for Ptr<PlaneWarperGpu>

source§

impl PlaneWarperGpuTraitConst for Ptr<PlaneWarperGpu>

source§

impl PlaneWarperTrait for Ptr<PlaneWarper>

source§

impl PlaneWarperTraitConst for Ptr<PlaneWarper>

source§

impl Plot2d for Ptr<dyn Plot2d>

source§

fn as_raw_mut_Plot2d(&mut self) -> *mut c_void

source§

fn set_min_x(&mut self, _plot_min_x: f64) -> Result<()>

source§

fn set_min_y(&mut self, _plot_min_y: f64) -> Result<()>

source§

fn set_max_x(&mut self, _plot_max_x: f64) -> Result<()>

source§

fn set_max_y(&mut self, _plot_max_y: f64) -> Result<()>

source§

fn set_plot_line_width(&mut self, _plot_line_width: i32) -> Result<()>

source§

fn set_need_plot_line(&mut self, _need_plot_line: bool) -> Result<()>

Switches data visualization mode Read more
source§

fn set_plot_line_color(&mut self, _plot_line_color: Scalar) -> Result<()>

source§

fn set_plot_background_color( &mut self, _plot_background_color: Scalar ) -> Result<()>

source§

fn set_plot_axis_color(&mut self, _plot_axis_color: Scalar) -> Result<()>

source§

fn set_plot_grid_color(&mut self, _plot_grid_color: Scalar) -> Result<()>

source§

fn set_plot_text_color(&mut self, _plot_text_color: Scalar) -> Result<()>

source§

fn set_plot_size( &mut self, _plot_size_width: i32, _plot_size_height: i32 ) -> Result<()>

source§

fn set_show_grid(&mut self, need_show_grid: bool) -> Result<()>

source§

fn set_show_text(&mut self, need_show_text: bool) -> Result<()>

source§

fn set_grid_lines_number(&mut self, grid_lines_number: i32) -> Result<()>

source§

fn set_invert_orientation(&mut self, _invert_orientation: bool) -> Result<()>

source§

fn set_point_idx_to_print(&mut self, point_idx: i32) -> Result<()>

Sets the index of a point which coordinates will be printed on the top left corner of the plot (if ShowText flag is true). Read more
source§

fn render(&mut self, _plot_result: &mut dyn ToOutputArray) -> Result<()>

source§

impl Plot2dConst for Ptr<dyn Plot2d>

source§

impl PoolingLayerInt8Trait for Ptr<PoolingLayerInt8>

source§

fn as_raw_mut_PoolingLayerInt8(&mut self) -> *mut c_void

source§

fn set_input_zp(&mut self, val: i32)

source§

fn set_output_zp(&mut self, val: i32)

source§

fn set_input_sc(&mut self, val: f32)

source§

fn set_output_sc(&mut self, val: f32)

source§

impl PoolingLayerInt8TraitConst for Ptr<PoolingLayerInt8>

source§

impl PoolingLayerTrait for Ptr<PoolingLayer>

source§

fn as_raw_mut_PoolingLayer(&mut self) -> *mut c_void

source§

fn set_type(&mut self, val: i32)

source§

fn set_kernel_size(&mut self, val: Vector<size_t>)

source§

fn set_strides(&mut self, val: Vector<size_t>)

source§

fn set_pads_begin(&mut self, val: Vector<size_t>)

source§

fn set_pads_end(&mut self, val: Vector<size_t>)

source§

fn set_global_pooling(&mut self, val: bool)

Flag is true if at least one of the axes is global pooled.
source§

fn set_is_global_pooling(&mut self, val: Vector<bool>)

source§

fn set_compute_max_idx(&mut self, val: bool)

source§

fn set_pad_mode(&mut self, val: &str)

source§

fn set_ceil_mode(&mut self, val: bool)

source§

fn set_ave_pool_padded_area(&mut self, val: bool)

source§

fn set_pooled_size(&mut self, val: Size)

source§

fn set_spatial_scale(&mut self, val: f32)

source§

fn set_ps_roi_out_channels(&mut self, val: i32)

source§

impl PoolingLayerTrait for Ptr<PoolingLayerInt8>

source§

fn as_raw_mut_PoolingLayer(&mut self) -> *mut c_void

source§

fn set_type(&mut self, val: i32)

source§

fn set_kernel_size(&mut self, val: Vector<size_t>)

source§

fn set_strides(&mut self, val: Vector<size_t>)

source§

fn set_pads_begin(&mut self, val: Vector<size_t>)

source§

fn set_pads_end(&mut self, val: Vector<size_t>)

source§

fn set_global_pooling(&mut self, val: bool)

Flag is true if at least one of the axes is global pooled.
source§

fn set_is_global_pooling(&mut self, val: Vector<bool>)

source§

fn set_compute_max_idx(&mut self, val: bool)

source§

fn set_pad_mode(&mut self, val: &str)

source§

fn set_ceil_mode(&mut self, val: bool)

source§

fn set_ave_pool_padded_area(&mut self, val: bool)

source§

fn set_pooled_size(&mut self, val: Size)

source§

fn set_spatial_scale(&mut self, val: f32)

source§

fn set_ps_roi_out_channels(&mut self, val: i32)

source§

impl PoolingLayerTraitConst for Ptr<PoolingLayer>

source§

fn as_raw_PoolingLayer(&self) -> *const c_void

source§

fn typ(&self) -> i32

source§

fn kernel_size(&self) -> Vector<size_t>

source§

fn strides(&self) -> Vector<size_t>

source§

fn pads_begin(&self) -> Vector<size_t>

source§

fn pads_end(&self) -> Vector<size_t>

source§

fn global_pooling(&self) -> bool

Flag is true if at least one of the axes is global pooled.
source§

fn is_global_pooling(&self) -> Vector<bool>

source§

fn compute_max_idx(&self) -> bool

source§

fn pad_mode(&self) -> String

source§

fn ceil_mode(&self) -> bool

source§

fn ave_pool_padded_area(&self) -> bool

source§

fn pooled_size(&self) -> Size

source§

fn spatial_scale(&self) -> f32

source§

fn ps_roi_out_channels(&self) -> i32

source§

impl PoolingLayerTraitConst for Ptr<PoolingLayerInt8>

source§

fn as_raw_PoolingLayer(&self) -> *const c_void

source§

fn typ(&self) -> i32

source§

fn kernel_size(&self) -> Vector<size_t>

source§

fn strides(&self) -> Vector<size_t>

source§

fn pads_begin(&self) -> Vector<size_t>

source§

fn pads_end(&self) -> Vector<size_t>

source§

fn global_pooling(&self) -> bool

Flag is true if at least one of the axes is global pooled.
source§

fn is_global_pooling(&self) -> Vector<bool>

source§

fn compute_max_idx(&self) -> bool

source§

fn pad_mode(&self) -> String

source§

fn ceil_mode(&self) -> bool

source§

fn ave_pool_padded_area(&self) -> bool

source§

fn pooled_size(&self) -> Size

source§

fn spatial_scale(&self) -> f32

source§

fn ps_roi_out_channels(&self) -> i32

source§

impl Pose3DTrait for Ptr<Pose3D>

source§

fn as_raw_mut_Pose3D(&mut self) -> *mut c_void

source§

fn set_alpha(&mut self, val: f64)

source§

fn set_residual(&mut self, val: f64)

source§

fn set_model_index(&mut self, val: size_t)

source§

fn set_num_votes(&mut self, val: size_t)

source§

fn set_pose(&mut self, val: Matx44d)

source§

fn set_angle(&mut self, val: f64)

source§

fn set_t(&mut self, val: Vec3d)

source§

fn set_q(&mut self, val: Vec4d)

source§

fn update_pose(&mut self, new_pose: &mut Matx44d) -> Result<()>

\brief Updates the pose with the new one \param [in] NewPose New pose to overwrite
source§

fn update_pose_1( &mut self, new_r: &mut Matx33d, new_t: &mut Vec3d ) -> Result<()>

\brief Updates the pose with the new one
source§

fn update_pose_quat(&mut self, q: &mut Vec4d, new_t: &mut Vec3d) -> Result<()>

\brief Updates the pose with the new one, but this time using quaternions to represent rotation
source§

fn append_pose(&mut self, incremental_pose: &mut Matx44d) -> Result<()>

\brief Left multiplies the existing pose in order to update the transformation \param [in] IncrementalPose New pose to apply
source§

fn print_pose(&mut self) -> Result<()>

source§

fn clone(&mut self) -> Result<Ptr<Pose3D>>

source§

fn write_pose(&mut self, file_name: &str) -> Result<i32>

source§

fn read_pose(&mut self, file_name: &str) -> Result<i32>

source§

impl Pose3DTraitConst for Ptr<Pose3D>

source§

fn as_raw_Pose3D(&self) -> *const c_void

source§

fn alpha(&self) -> f64

source§

fn residual(&self) -> f64

source§

fn model_index(&self) -> size_t

source§

fn num_votes(&self) -> size_t

source§

fn pose(&self) -> Matx44d

source§

fn angle(&self) -> f64

source§

fn t(&self) -> Vec3d

source§

fn q(&self) -> Vec4d

source§

impl PoseCluster3DTrait for Ptr<PoseCluster3D>

source§

fn as_raw_mut_PoseCluster3D(&mut self) -> *mut c_void

source§

fn set_pose_list(&mut self, val: Vector<Pose3DPtr>)

source§

fn set_num_votes(&mut self, val: size_t)

source§

fn set_id(&mut self, val: i32)

source§

fn add_pose(&mut self, new_pose: Pose3DPtr) -> Result<()>

\brief Adds a new pose to the cluster. The pose should be “close” to the mean poses in order to preserve the consistency \param [in] newPose Pose to add to the cluster
source§

fn write_pose_cluster(&mut self, file_name: &str) -> Result<i32>

source§

fn read_pose_cluster(&mut self, file_name: &str) -> Result<i32>

source§

impl PoseCluster3DTraitConst for Ptr<PoseCluster3D>

source§

impl PowerLayerTrait for Ptr<PowerLayer>

source§

fn as_raw_mut_PowerLayer(&mut self) -> *mut c_void

source§

fn set_power(&mut self, val: f32)

source§

fn set_scale(&mut self, val: f32)

source§

fn set_shift(&mut self, val: f32)

source§

impl PowerLayerTraitConst for Ptr<PowerLayer>

source§

impl PredictCollector for Ptr<StandardCollector>

source§

fn as_raw_mut_PredictCollector(&mut self) -> *mut c_void

source§

fn init(&mut self, size: size_t) -> Result<()>

Interface method called by face recognizer before results processing Read more
source§

fn collect(&mut self, label: i32, dist: f64) -> Result<bool>

Interface method called by face recognizer for each result Read more
source§

impl PredictCollector for Ptr<dyn PredictCollector>

source§

fn as_raw_mut_PredictCollector(&mut self) -> *mut c_void

source§

fn init(&mut self, size: size_t) -> Result<()>

Interface method called by face recognizer before results processing Read more
source§

fn collect(&mut self, label: i32, dist: f64) -> Result<bool>

Interface method called by face recognizer for each result Read more
source§

impl PredictCollectorConst for Ptr<StandardCollector>

source§

impl PredictCollectorConst for Ptr<dyn PredictCollector>

source§

impl PriorBoxLayerTrait for Ptr<PriorBoxLayer>

source§

impl PriorBoxLayerTraitConst for Ptr<PriorBoxLayer>

source§

impl ProposalLayerTrait for Ptr<ProposalLayer>

source§

impl ProposalLayerTraitConst for Ptr<ProposalLayer>

source§

impl PyrLkOptFlowEstimatorBaseTrait for Ptr<DensePyrLkOptFlowEstimatorGpu>

source§

impl PyrLkOptFlowEstimatorBaseTrait for Ptr<SparsePyrLkOptFlowEstimator>

source§

impl PyrLkOptFlowEstimatorBaseTrait for Ptr<SparsePyrLkOptFlowEstimatorGpu>

source§

impl PyrLkOptFlowEstimatorBaseTraitConst for Ptr<DensePyrLkOptFlowEstimatorGpu>

source§

impl PyrLkOptFlowEstimatorBaseTraitConst for Ptr<SparsePyrLkOptFlowEstimator>

source§

impl PyrLkOptFlowEstimatorBaseTraitConst for Ptr<SparsePyrLkOptFlowEstimatorGpu>

source§

impl QRCodeEncoder for Ptr<dyn QRCodeEncoder>

source§

fn as_raw_mut_QRCodeEncoder(&mut self) -> *mut c_void

source§

fn encode( &mut self, encoded_info: &str, qrcode: &mut dyn ToOutputArray ) -> Result<()>

Generates QR code from input string. Read more
source§

fn encode_structured_append( &mut self, encoded_info: &str, qrcodes: &mut dyn ToOutputArray ) -> Result<()>

Generates QR code from input string in Structured Append mode. The encoded message is splitting over a number of QR codes. Read more
source§

impl QRCodeEncoderConst for Ptr<dyn QRCodeEncoder>

source§

impl QualityBRISQUETrait for Ptr<QualityBRISQUE>

source§

fn as_raw_mut_QualityBRISQUE(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &dyn ToInputArray) -> Result<Scalar>

Computes BRISQUE quality score for input image Read more
source§

impl QualityBRISQUETraitConst for Ptr<QualityBRISQUE>

source§

impl QualityBase for Ptr<QualityBRISQUE>

source§

fn as_raw_mut_QualityBase(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &dyn ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityBase for Ptr<QualityGMSD>

source§

fn as_raw_mut_QualityBase(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &dyn ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityBase for Ptr<QualityMSE>

source§

fn as_raw_mut_QualityBase(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &dyn ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityBase for Ptr<QualityPSNR>

source§

fn as_raw_mut_QualityBase(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &dyn ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityBase for Ptr<QualitySSIM>

source§

fn as_raw_mut_QualityBase(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &dyn ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityBaseConst for Ptr<QualityBRISQUE>

source§

fn as_raw_QualityBase(&self) -> *const c_void

source§

fn get_quality_map(&self, dst: &mut dyn ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityBaseConst for Ptr<QualityGMSD>

source§

fn as_raw_QualityBase(&self) -> *const c_void

source§

fn get_quality_map(&self, dst: &mut dyn ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityBaseConst for Ptr<QualityMSE>

source§

fn as_raw_QualityBase(&self) -> *const c_void

source§

fn get_quality_map(&self, dst: &mut dyn ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityBaseConst for Ptr<QualityPSNR>

source§

fn as_raw_QualityBase(&self) -> *const c_void

source§

fn get_quality_map(&self, dst: &mut dyn ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityBaseConst for Ptr<QualitySSIM>

source§

fn as_raw_QualityBase(&self) -> *const c_void

source§

fn get_quality_map(&self, dst: &mut dyn ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityGMSDTrait for Ptr<QualityGMSD>

source§

fn as_raw_mut_QualityGMSD(&mut self) -> *mut c_void

source§

fn compute(&mut self, cmp: &dyn ToInputArray) -> Result<Scalar>

Compute GMSD Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityGMSDTraitConst for Ptr<QualityGMSD>

source§

fn as_raw_QualityGMSD(&self) -> *const c_void

source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityMSETrait for Ptr<QualityMSE>

source§

fn as_raw_mut_QualityMSE(&mut self) -> *mut c_void

source§

fn compute(&mut self, cmp_imgs: &dyn ToInputArray) -> Result<Scalar>

Computes MSE for reference images supplied in class constructor and provided comparison images Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityMSETraitConst for Ptr<QualityMSE>

source§

fn as_raw_QualityMSE(&self) -> *const c_void

source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityPSNRTrait for Ptr<QualityPSNR>

source§

fn as_raw_mut_QualityPSNR(&mut self) -> *mut c_void

source§

fn compute(&mut self, cmp: &dyn ToInputArray) -> Result<Scalar>

Compute the PSNR Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

fn set_max_pixel_value(&mut self, val: f64) -> Result<()>

sets the maximum pixel value used for PSNR computation Read more
source§

impl QualityPSNRTraitConst for Ptr<QualityPSNR>

source§

fn as_raw_QualityPSNR(&self) -> *const c_void

source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

fn get_max_pixel_value(&self) -> Result<f64>

return the maximum pixel value used for PSNR computation
source§

impl QualitySSIMTrait for Ptr<QualitySSIM>

source§

fn as_raw_mut_QualitySSIM(&mut self) -> *mut c_void

source§

fn compute(&mut self, cmp: &dyn ToInputArray) -> Result<Scalar>

Computes SSIM Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualitySSIMTraitConst for Ptr<QualitySSIM>

source§

fn as_raw_QualitySSIM(&self) -> *const c_void

source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QuantizeLayerTrait for Ptr<QuantizeLayer>

source§

impl QuantizeLayerTraitConst for Ptr<QuantizeLayer>

source§

impl QuasiDenseStereo for Ptr<dyn QuasiDenseStereo>

source§

fn as_raw_mut_QuasiDenseStereo(&mut self) -> *mut c_void

source§

fn set_param(&mut self, val: PropagationParameters)

source§

fn load_parameters(&mut self, filepath: &str) -> Result<i32>

Load a file containing the configuration parameters of the class. Read more
source§

fn save_parameters(&mut self, filepath: &str) -> Result<i32>

Save a file containing all the configuration parameters the class is currently set to. Read more
source§

fn get_sparse_matches( &mut self, s_matches: &mut Vector<MatchQuasiDense> ) -> Result<()>

Get The sparse corresponding points. Read more
source§

fn get_dense_matches( &mut self, dense_matches: &mut Vector<MatchQuasiDense> ) -> Result<()>

Get The dense corresponding points. Read more
source§

fn process(&mut self, img_left: &Mat, img_right: &Mat) -> Result<()>

Main process of the algorithm. This method computes the sparse seeds and then densifies them. Read more
source§

fn get_match(&mut self, x: i32, y: i32) -> Result<Point2f>

Specify pixel coordinates in the left image and get its corresponding location in the right image. Read more
source§

fn get_disparity(&mut self) -> Result<Mat>

Compute and return the disparity map based on the correspondences found in the “process” method. Read more
source§

impl QuasiDenseStereoConst for Ptr<dyn QuasiDenseStereo>

source§

impl RFFeatureGetter for Ptr<dyn RFFeatureGetter>

source§

impl RFFeatureGetterConst for Ptr<dyn RFFeatureGetter>

source§

fn as_raw_RFFeatureGetter(&self) -> *const c_void

source§

fn get_features( &self, src: &Mat, features: &mut Mat, gnrm_rad: i32, gsmth_rad: i32, shrink: i32, out_num: i32, grad_num: i32 ) -> Result<()>

source§

impl RICInterpolator for Ptr<dyn RICInterpolator>

source§

fn as_raw_mut_RICInterpolator(&mut self) -> *mut c_void

source§

fn set_k(&mut self, k: i32) -> Result<()>

K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of Hu2017 uses 32. Read more
source§

fn set_cost_map(&mut self, cost_map: &Mat) -> Result<()>

Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term. This implementation is based on a rather simple gradient-based edge map estimation. To used more complex edge map estimator (e.g. StructuredEdgeDetection that has been used in the original publication) that may lead to improved accuracies, the internal edge map estimation can be bypassed here. Read more
source§

fn set_superpixel_size(&mut self, sp_size: i32) -> Result<()>

Get the internal cost, i.e. edge map, used for estimating the edge-aware term. Read more
source§

fn set_superpixel_nn_cnt(&mut self, sp_nn: i32) -> Result<()>

Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. Read more
source§

fn set_superpixel_ruler(&mut self, ruler: f32) -> Result<()>

Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. Read more
source§

fn set_superpixel_mode(&mut self, mode: i32) -> Result<()>

Parameter to choose superpixel algorithm variant to use: Read more
source§

fn set_alpha(&mut self, alpha: f32) -> Result<()>

Alpha is a parameter defining a global weight for transforming geodesic distance into weight. Read more
source§

fn set_model_iter(&mut self, model_iter: i32) -> Result<()>

Parameter defining the number of iterations for piece-wise affine model estimation. Read more
source§

fn set_refine_models(&mut self, refine_modles: bool) -> Result<()>

Parameter to choose wether additional refinement of the piece-wise affine models is employed. Read more
source§

fn set_max_flow(&mut self, max_flow: f32) -> Result<()>

MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. Read more
source§

fn set_use_variational_refinement( &mut self, use_variational_refinement: bool ) -> Result<()>

Parameter to choose wether the VariationalRefinement post-processing is employed. Read more
source§

fn set_use_global_smoother_filter(&mut self, use_fgs: bool) -> Result<()>

Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more
source§

fn set_fgs_lambda(&mut self, lambda: f32) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
source§

fn set_fgs_sigma(&mut self, sigma: f32) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
source§

impl RICInterpolatorConst for Ptr<dyn RICInterpolator>

source§

fn as_raw_RICInterpolator(&self) -> *const c_void

source§

fn get_k(&self) -> Result<i32>

K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of Hu2017 uses 32. * see also: setK
source§

fn get_superpixel_size(&self) -> Result<i32>

Get the internal cost, i.e. edge map, used for estimating the edge-aware term. Read more
source§

fn get_superpixel_nn_cnt(&self) -> Result<i32>

Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. * see also: setSuperpixelNNCnt
source§

fn get_superpixel_ruler(&self) -> Result<f32>

Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. Read more
source§

fn get_superpixel_mode(&self) -> Result<i32>

Parameter to choose superpixel algorithm variant to use: Read more
source§

fn get_alpha(&self) -> Result<f32>

Alpha is a parameter defining a global weight for transforming geodesic distance into weight. Read more
source§

fn get_model_iter(&self) -> Result<i32>

Parameter defining the number of iterations for piece-wise affine model estimation. Read more
source§

fn get_refine_models(&self) -> Result<bool>

Parameter to choose wether additional refinement of the piece-wise affine models is employed. Read more
source§

fn get_max_flow(&self) -> Result<f32>

MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. * see also: setMaxFlow
source§

fn get_use_variational_refinement(&self) -> Result<bool>

Parameter to choose wether the VariationalRefinement post-processing is employed. Read more
source§

fn get_use_global_smoother_filter(&self) -> Result<bool>

Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more
source§

fn get_fgs_lambda(&self) -> Result<f32>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
source§

fn get_fgs_sigma(&self) -> Result<f32>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
source§

impl RLOFOpticalFlowParameterTrait for Ptr<RLOFOpticalFlowParameter>

source§

fn as_raw_mut_RLOFOpticalFlowParameter(&mut self) -> *mut c_void

source§

fn set_solver_type(&mut self, val: SolverType)

source§

fn set_support_region_type(&mut self, val: SupportRegionType)

source§

fn set_norm_sigma0(&mut self, val: f32)

source§

fn set_norm_sigma1(&mut self, val: f32)

source§

fn set_small_win_size(&mut self, val: i32)

source§

fn set_large_win_size(&mut self, val: i32)

source§

fn set_cross_segmentation_threshold(&mut self, val: i32)

source§

fn set_max_level(&mut self, val: i32)

source§

fn set_use_initial_flow(&mut self, val: bool)

source§

fn set_use_illumination_model(&mut self, val: bool)

source§

fn set_use_global_motion_prior(&mut self, val: bool)

source§

fn set_max_iteration(&mut self, val: i32)

source§

fn set_min_eigen_value(&mut self, val: f32)

source§

fn set_global_motion_ransac_threshold(&mut self, val: f32)

source§

fn set_use_m_estimator(&mut self, val: bool) -> Result<()>

Enable M-estimator or disable and use least-square estimator. Enables M-estimator by setting sigma parameters to (3.2, 7.0). Disabling M-estimator can reduce * runtime, while enabling can improve the accuracy. Read more
source§

fn set_solver_type_1(&mut self, val: SolverType) -> Result<()>

source§

fn set_support_region_type_1(&mut self, val: SupportRegionType) -> Result<()>

source§

fn set_norm_sigma0_1(&mut self, val: f32) -> Result<()>

source§

fn set_norm_sigma1_1(&mut self, val: f32) -> Result<()>

source§

fn set_small_win_size_1(&mut self, val: i32) -> Result<()>

source§

fn set_large_win_size_1(&mut self, val: i32) -> Result<()>

source§

fn set_cross_segmentation_threshold_1(&mut self, val: i32) -> Result<()>

source§

fn set_max_level_1(&mut self, val: i32) -> Result<()>

source§

fn set_use_initial_flow_1(&mut self, val: bool) -> Result<()>

source§

fn set_use_illumination_model_1(&mut self, val: bool) -> Result<()>

source§

fn set_use_global_motion_prior_1(&mut self, val: bool) -> Result<()>

source§

fn set_max_iteration_1(&mut self, val: i32) -> Result<()>

source§

fn set_min_eigen_value_1(&mut self, val: f32) -> Result<()>

source§

fn set_global_motion_ransac_threshold_1(&mut self, val: f32) -> Result<()>

source§

impl RLOFOpticalFlowParameterTraitConst for Ptr<RLOFOpticalFlowParameter>

source§

impl RNNLayer for Ptr<dyn RNNLayer>

source§

fn as_raw_mut_RNNLayer(&mut self) -> *mut c_void

source§

fn set_weights( &mut self, wxh: &Mat, bh: &Mat, whh: &Mat, who: &Mat, bo: &Mat ) -> Result<()>

Setups learned weights. Read more
source§

fn set_produce_hidden_output(&mut self, produce: bool) -> Result<()>

If this flag is set to true then layer will produce @f$ h_t @f$ as second output. @details Shape of the second output is the same as first output. Read more
source§

impl RNNLayerConst for Ptr<dyn RNNLayer>

source§

impl RTrees for Ptr<dyn RTrees>

source§

fn as_raw_mut_RTrees(&mut self) -> *mut c_void

source§

fn set_calculate_var_importance(&mut self, val: bool) -> Result<()>

If true then variable importance will be calculated and then it can be retrieved by RTrees::getVarImportance. Default value is false. Read more
source§

fn set_active_var_count(&mut self, val: i32) -> Result<()>

The size of the randomly selected subset of features at each tree node and that are used to find the best split(s). If you set it to 0 then the size will be set to the square root of the total number of features. Default value is 0. Read more
source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

The termination criteria that specifies when the training algorithm stops. Either when the specified number of trees is trained and added to the ensemble or when sufficient accuracy (measured as OOB error) is achieved. Typically the more trees you have the better the accuracy. However, the improvement in accuracy generally diminishes and asymptotes pass a certain number of trees. Also to keep in mind, the number of tree increases the prediction time linearly. Default value is TermCriteria(TermCriteria::MAX_ITERS + TermCriteria::EPS, 50, 0.1) Read more
source§

impl RTreesConst for Ptr<dyn RTrees>

source§

fn as_raw_RTrees(&self) -> *const c_void

source§

fn get_calculate_var_importance(&self) -> Result<bool>

If true then variable importance will be calculated and then it can be retrieved by RTrees::getVarImportance. Default value is false. Read more
source§

fn get_active_var_count(&self) -> Result<i32>

The size of the randomly selected subset of features at each tree node and that are used to find the best split(s). If you set it to 0 then the size will be set to the square root of the total number of features. Default value is 0. Read more
source§

fn get_term_criteria(&self) -> Result<TermCriteria>

The termination criteria that specifies when the training algorithm stops. Either when the specified number of trees is trained and added to the ensemble or when sufficient accuracy (measured as OOB error) is achieved. Typically the more trees you have the better the accuracy. However, the improvement in accuracy generally diminishes and asymptotes pass a certain number of trees. Also to keep in mind, the number of tree increases the prediction time linearly. Default value is TermCriteria(TermCriteria::MAX_ITERS + TermCriteria::EPS, 50, 0.1) Read more
source§

fn get_var_importance(&self) -> Result<Mat>

Returns the variable importance array. The method returns the variable importance vector, computed at the training stage when CalculateVarImportance is set to true. If this flag was set to false, the empty matrix is returned.
source§

fn get_votes( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<()>

Returns the result of each individual tree in the forest. In case the model is a regression problem, the method will return each of the trees’ results for each of the sample cases. If the model is a classifier, it will return a Mat with samples + 1 rows, where the first row gives the class number and the following rows return the votes each class had for each sample. Read more
source§

fn get_oob_error(&self) -> Result<f64>

source§

impl RadialVarianceHashTrait for Ptr<RadialVarianceHash>

source§

fn as_raw_mut_RadialVarianceHash(&mut self) -> *mut c_void

source§

fn set_num_of_angle_line(&mut self, value: i32) -> Result<()>

source§

fn set_sigma(&mut self, value: f64) -> Result<()>

source§

fn get_features(&mut self) -> Result<Vector<f64>>

source§

fn get_hash(&mut self) -> Result<Mat>

source§

fn get_pix_per_line(&mut self, input: &Mat) -> Result<Mat>

source§

fn get_projection(&mut self) -> Result<Mat>

source§

impl RadialVarianceHashTraitConst for Ptr<RadialVarianceHash>

source§

impl Rapid for Ptr<dyn Rapid>

source§

impl RapidConst for Ptr<dyn Rapid>

source§

impl RawVideoSource for Ptr<dyn RawVideoSource>

source§

fn as_raw_mut_RawVideoSource(&mut self) -> *mut c_void

source§

fn get_next_packet( &mut self, data: &mut &mut u8, size: &mut size_t ) -> Result<bool>

Returns next packet with RAW video frame. Read more
source§

fn update_format(&mut self, video_format: FormatInfo) -> Result<()>

Updates the coded width and height inside format.
source§

impl RawVideoSourceConst for Ptr<dyn RawVideoSource>

source§

fn as_raw_RawVideoSource(&self) -> *const c_void

source§

fn last_packet_contains_key_frame(&self) -> Result<bool>

Returns true if the last packet contained a key frame.
source§

fn format(&self) -> Result<FormatInfo>

Returns information about video file format.
source§

fn get_extra_data(&self, extra_data: &mut Mat) -> Result<()>

Returns any extra data associated with the video source. Read more
source§

fn get(&self, property_id: i32, property_val: &mut f64) -> Result<bool>

Retrieves the specified property used by the VideoSource. Read more
source§

impl ReLU6LayerTrait for Ptr<ReLU6Layer>

source§

fn as_raw_mut_ReLU6Layer(&mut self) -> *mut c_void

source§

fn set_min_value(&mut self, val: f32)

source§

fn set_max_value(&mut self, val: f32)

source§

impl ReLU6LayerTraitConst for Ptr<ReLU6Layer>

source§

impl ReLULayerTrait for Ptr<ReLULayer>

source§

impl ReLULayerTraitConst for Ptr<ReLULayer>

source§

impl ReciprocalLayerTrait for Ptr<ReciprocalLayer>

source§

impl ReciprocalLayerTraitConst for Ptr<ReciprocalLayer>

source§

impl ReduceLayerInt8Trait for Ptr<ReduceLayerInt8>

source§

impl ReduceLayerInt8TraitConst for Ptr<ReduceLayerInt8>

source§

impl ReduceLayerTrait for Ptr<ReduceLayer>

source§

impl ReduceLayerTrait for Ptr<ReduceLayerInt8>

source§

impl ReduceLayerTraitConst for Ptr<ReduceLayer>

source§

impl ReduceLayerTraitConst for Ptr<ReduceLayerInt8>

source§

impl RegionLayerTrait for Ptr<RegionLayer>

source§

impl RegionLayerTraitConst for Ptr<RegionLayer>

source§

impl ReorgLayerTrait for Ptr<ReorgLayer>

source§

impl ReorgLayerTraitConst for Ptr<ReorgLayer>

source§

impl RequantizeLayerTrait for Ptr<RequantizeLayer>

source§

fn as_raw_mut_RequantizeLayer(&mut self) -> *mut c_void

source§

fn set_scale(&mut self, val: f32)

source§

fn set_shift(&mut self, val: f32)

source§

impl RequantizeLayerTraitConst for Ptr<RequantizeLayer>

source§

impl ReshapeLayerTrait for Ptr<ReshapeLayer>

source§

impl ReshapeLayerTraitConst for Ptr<ReshapeLayer>

source§

impl ResizeLayerTrait for Ptr<ResizeLayer>

source§

impl ResizeLayerTraitConst for Ptr<ResizeLayer>

source§

impl Retina for Ptr<dyn Retina>

source§

fn as_raw_mut_Retina(&mut self) -> *mut c_void

source§

fn get_input_size(&mut self) -> Result<Size>

Retreive retina input buffer size Read more
source§

fn get_output_size(&mut self) -> Result<Size>

Retreive retina output buffer size that can be different from the input if a spatial log transformation is applied Read more
source§

fn setup_from_file( &mut self, retina_parameter_file: &str, apply_default_setup_on_failure: bool ) -> Result<()>

Try to open an XML retina parameters file to adjust current retina instance setup Read more
source§

fn setup_from_storage( &mut self, fs: &mut FileStorage, apply_default_setup_on_failure: bool ) -> Result<()>

Try to open an XML retina parameters file to adjust current retina instance setup Read more
source§

fn setup(&mut self, new_parameters: RetinaParameters) -> Result<()>

Try to open an XML retina parameters file to adjust current retina instance setup Read more
source§

fn get_parameters(&mut self) -> Result<RetinaParameters>

Returns Read more
source§

fn print_setup(&mut self) -> Result<String>

Outputs a string showing the used parameters setup Read more
source§

fn setup_op_land_ipl_parvo_channel( &mut self, color_mode: bool, normalise_output: bool, photoreceptors_local_adaptation_sensitivity: f32, photoreceptors_temporal_constant: f32, photoreceptors_spatial_constant: f32, horizontal_cells_gain: f32, hcells_temporal_constant: f32, hcells_spatial_constant: f32, ganglion_cells_sensitivity: f32 ) -> Result<()>

Setup the OPL and IPL parvo channels (see biologocal model) Read more
source§

fn setup_ipl_magno_channel( &mut self, normalise_output: bool, parasol_cells_beta: f32, parasol_cells_tau: f32, parasol_cells_k: f32, amacrin_cells_temporal_cut_frequency: f32, v0_compression_parameter: f32, local_adaptintegration_tau: f32, local_adaptintegration_k: f32 ) -> Result<()>

Set parameters values for the Inner Plexiform Layer (IPL) magnocellular channel Read more
source§

fn run(&mut self, input_image: &dyn ToInputArray) -> Result<()>

Method which allows retina to be applied on an input image, Read more
source§

fn apply_fast_tone_mapping( &mut self, input_image: &dyn ToInputArray, output_tone_mapped_image: &mut dyn ToOutputArray ) -> Result<()>

Method which processes an image in the aim to correct its luminance correct backlight problems, enhance details in shadows. Read more
source§

fn get_parvo( &mut self, retina_output_parvo: &mut dyn ToOutputArray ) -> Result<()>

Accessor of the details channel of the retina (models foveal vision). Read more
source§

fn get_parvo_raw_to( &mut self, retina_output_parvo: &mut dyn ToOutputArray ) -> Result<()>

Accessor of the details channel of the retina (models foveal vision). Read more
source§

fn get_magno( &mut self, retina_output_magno: &mut dyn ToOutputArray ) -> Result<()>

Accessor of the motion channel of the retina (models peripheral vision). Read more
source§

fn get_magno_raw_to( &mut self, retina_output_magno: &mut dyn ToOutputArray ) -> Result<()>

Accessor of the motion channel of the retina (models peripheral vision). Read more
source§

fn set_color_saturation( &mut self, saturate_colors: bool, color_saturation_value: f32 ) -> Result<()>

Activate color saturation as the final step of the color demultiplexing process -> this saturation is a sigmoide function applied to each channel of the demultiplexed image. Read more
source§

fn clear_buffers(&mut self) -> Result<()>

Clears all retina buffers Read more
source§

fn activate_moving_contours_processing(&mut self, activate: bool) -> Result<()>

Activate/desactivate the Magnocellular pathway processing (motion information extraction), by default, it is activated Read more
source§

fn activate_contours_processing(&mut self, activate: bool) -> Result<()>

Activate/desactivate the Parvocellular pathway processing (contours information extraction), by default, it is activated Read more
source§

impl RetinaConst for Ptr<dyn Retina>

source§

fn as_raw_Retina(&self) -> *const c_void

source§

fn write(&self, fs: &str) -> Result<()>

Write xml/yml formated parameters information Read more
source§

fn write_to_storage(&self, fs: &mut FileStorage) -> Result<()>

Write xml/yml formated parameters information Read more
source§

fn get_magno_raw(&self) -> Result<Mat>

Accessor of the motion channel of the retina (models peripheral vision). Read more
source§

fn get_parvo_raw(&self) -> Result<Mat>

Accessor of the details channel of the retina (models foveal vision). Read more
source§

impl RetinaFastToneMapping for Ptr<dyn RetinaFastToneMapping>

source§

fn as_raw_mut_RetinaFastToneMapping(&mut self) -> *mut c_void

source§

fn apply_fast_tone_mapping( &mut self, input_image: &dyn ToInputArray, output_tone_mapped_image: &mut dyn ToOutputArray ) -> Result<()>

applies a luminance correction (initially High Dynamic Range (HDR) tone mapping) Read more
source§

fn setup( &mut self, photoreceptors_neighborhood_radius: f32, ganglioncells_neighborhood_radius: f32, mean_luminance_modulator_k: f32 ) -> Result<()>

updates tone mapping behaviors by adjusing the local luminance computation area Read more
source§

impl RetinaFastToneMappingConst for Ptr<dyn RetinaFastToneMapping>

source§

impl RgbdFrameTrait for Ptr<OdometryFrame>

source§

fn as_raw_mut_RgbdFrame(&mut self) -> *mut c_void

source§

fn set_id(&mut self, val: i32)

source§

fn set_image(&mut self, val: Mat)

source§

fn set_depth(&mut self, val: Mat)

source§

fn set_mask(&mut self, val: Mat)

source§

fn set_normals(&mut self, val: Mat)

source§

fn release(&mut self) -> Result<()>

source§

impl RgbdFrameTrait for Ptr<RgbdFrame>

source§

fn as_raw_mut_RgbdFrame(&mut self) -> *mut c_void

source§

fn set_id(&mut self, val: i32)

source§

fn set_image(&mut self, val: Mat)

source§

fn set_depth(&mut self, val: Mat)

source§

fn set_mask(&mut self, val: Mat)

source§

fn set_normals(&mut self, val: Mat)

source§

fn release(&mut self) -> Result<()>

source§

impl RgbdFrameTraitConst for Ptr<OdometryFrame>

source§

fn as_raw_RgbdFrame(&self) -> *const c_void

source§

fn id(&self) -> i32

source§

fn image(&self) -> Mat

source§

fn depth(&self) -> Mat

source§

fn mask(&self) -> Mat

source§

fn normals(&self) -> Mat

source§

impl RgbdFrameTraitConst for Ptr<RgbdFrame>

source§

fn as_raw_RgbdFrame(&self) -> *const c_void

source§

fn id(&self) -> i32

source§

fn image(&self) -> Mat

source§

fn depth(&self) -> Mat

source§

fn mask(&self) -> Mat

source§

fn normals(&self) -> Mat

source§

impl RgbdICPOdometryTrait for Ptr<RgbdICPOdometry>

source§

fn as_raw_mut_RgbdICPOdometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>

source§

fn set_min_depth(&mut self, val: f64) -> Result<()>

source§

fn set_max_depth(&mut self, val: f64) -> Result<()>

source§

fn set_max_depth_diff(&mut self, val: f64) -> Result<()>

source§

fn set_max_points_part(&mut self, val: f64) -> Result<()>

source§

fn set_iteration_counts(&mut self, val: &Mat) -> Result<()>

source§

fn set_min_gradient_magnitudes(&mut self, val: &Mat) -> Result<()>

source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

source§

fn set_max_translation(&mut self, val: f64) -> Result<()>

source§

fn set_max_rotation(&mut self, val: f64) -> Result<()>

source§

impl RgbdICPOdometryTraitConst for Ptr<RgbdICPOdometry>

source§

impl RgbdNormalsTrait for Ptr<RgbdNormals>

source§

fn as_raw_mut_RgbdNormals(&mut self) -> *mut c_void

source§

fn set_rows(&mut self, val: i32) -> Result<()>

source§

fn set_cols(&mut self, val: i32) -> Result<()>

source§

fn set_window_size(&mut self, val: i32) -> Result<()>

source§

fn set_depth(&mut self, val: i32) -> Result<()>

source§

fn set_k(&mut self, val: &Mat) -> Result<()>

source§

fn set_method(&mut self, val: i32) -> Result<()>

source§

impl RgbdNormalsTraitConst for Ptr<RgbdNormals>

source§

fn as_raw_RgbdNormals(&self) -> *const c_void

source§

fn apply( &self, points: &dyn ToInputArray, normals: &mut dyn ToOutputArray ) -> Result<()>

Given a set of 3d points in a depth image, compute the normals at each point. Read more
source§

fn initialize(&self) -> Result<()>

Initializes some data that is cached for later computation If that function is not called, it will be called the first time normals are computed
source§

fn get_rows(&self) -> Result<i32>

source§

fn get_cols(&self) -> Result<i32>

source§

fn get_window_size(&self) -> Result<i32>

source§

fn get_depth(&self) -> Result<i32>

source§

fn get_k(&self) -> Result<Mat>

source§

fn get_method(&self) -> Result<i32>

source§

impl RgbdOdometryTrait for Ptr<RgbdOdometry>

source§

fn as_raw_mut_RgbdOdometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>

source§

fn set_min_depth(&mut self, val: f64) -> Result<()>

source§

fn set_max_depth(&mut self, val: f64) -> Result<()>

source§

fn set_max_depth_diff(&mut self, val: f64) -> Result<()>

source§

fn set_iteration_counts(&mut self, val: &Mat) -> Result<()>

source§

fn set_min_gradient_magnitudes(&mut self, val: &Mat) -> Result<()>

source§

fn set_max_points_part(&mut self, val: f64) -> Result<()>

source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

source§

fn set_max_translation(&mut self, val: f64) -> Result<()>

source§

fn set_max_rotation(&mut self, val: f64) -> Result<()>

source§

impl RgbdOdometryTraitConst for Ptr<RgbdOdometry>

source§

impl RgbdPlaneTrait for Ptr<RgbdPlane>

source§

fn as_raw_mut_RgbdPlane(&mut self) -> *mut c_void

source§

fn apply( &mut self, points3d: &dyn ToInputArray, normals: &dyn ToInputArray, mask: &mut dyn ToOutputArray, plane_coefficients: &mut dyn ToOutputArray ) -> Result<()>

Find The planes in a depth image Read more
source§

fn apply_1( &mut self, points3d: &dyn ToInputArray, mask: &mut dyn ToOutputArray, plane_coefficients: &mut dyn ToOutputArray ) -> Result<()>

Find The planes in a depth image but without doing a normal check, which is faster but less accurate Read more
source§

fn set_block_size(&mut self, val: i32) -> Result<()>

source§

fn set_min_size(&mut self, val: i32) -> Result<()>

source§

fn set_method(&mut self, val: i32) -> Result<()>

source§

fn set_threshold(&mut self, val: f64) -> Result<()>

source§

fn set_sensor_error_a(&mut self, val: f64) -> Result<()>

source§

fn set_sensor_error_b(&mut self, val: f64) -> Result<()>

source§

fn set_sensor_error_c(&mut self, val: f64) -> Result<()>

source§

impl RgbdPlaneTraitConst for Ptr<RgbdPlane>

source§

impl RidgeDetectionFilter for Ptr<dyn RidgeDetectionFilter>

source§

fn as_raw_mut_RidgeDetectionFilter(&mut self) -> *mut c_void

source§

fn get_ridge_filtered_image( &mut self, _img: &dyn ToInputArray, out: &mut dyn ToOutputArray ) -> Result<()>

Apply Ridge detection filter on input image. Read more
source§

impl RidgeDetectionFilterConst for Ptr<dyn RidgeDetectionFilter>

source§

impl RoundLayerTrait for Ptr<RoundLayer>

source§

impl RoundLayerTraitConst for Ptr<RoundLayer>

source§

impl SFMLibmvEuclideanReconstruction for Ptr<dyn SFMLibmvEuclideanReconstruction>

source§

fn as_raw_mut_SFMLibmvEuclideanReconstruction(&mut self) -> *mut c_void

source§

fn run(&mut self, points2d: &dyn ToInputArray) -> Result<()>

Calls the pipeline in order to perform Eclidean reconstruction. Read more
source§

fn run_1( &mut self, points2d: &dyn ToInputArray, k: &mut dyn ToInputOutputArray, rs: &mut dyn ToOutputArray, ts: &mut dyn ToOutputArray, points3d: &mut dyn ToOutputArray ) -> Result<()>

Calls the pipeline in order to perform Eclidean reconstruction. Read more
source§

fn run_2(&mut self, images: &Vector<String>) -> Result<()>

Calls the pipeline in order to perform Eclidean reconstruction. Read more
source§

fn run_3( &mut self, images: &Vector<String>, k: &mut dyn ToInputOutputArray, rs: &mut dyn ToOutputArray, ts: &mut dyn ToOutputArray, points3d: &mut dyn ToOutputArray ) -> Result<()>

Calls the pipeline in order to perform Eclidean reconstruction. Read more
source§

fn get_points(&mut self, points3d: &mut dyn ToOutputArray) -> Result<()>

Returns the estimated 3d points. Read more
source§

fn get_cameras( &mut self, rs: &mut dyn ToOutputArray, ts: &mut dyn ToOutputArray ) -> Result<()>

Returns the estimated camera extrinsic parameters. Read more
source§

fn set_reconstruction_options( &mut self, libmv_reconstruction_options: libmv_ReconstructionOptions ) -> Result<()>

Setter method for reconstruction options. Read more
source§

fn set_camera_intrinsic_options( &mut self, libmv_camera_intrinsics_options: libmv_CameraIntrinsicsOptions ) -> Result<()>

Setter method for camera intrinsic options. Read more
source§

impl SFMLibmvEuclideanReconstructionConst for Ptr<dyn SFMLibmvEuclideanReconstruction>

source§

fn as_raw_SFMLibmvEuclideanReconstruction(&self) -> *const c_void

source§

fn get_error(&self) -> Result<f64>

Returns the computed reprojection error.
source§

fn get_intrinsics(&self) -> Result<Mat>

Returns the refined camera calibration matrix.
source§

impl SIFT for Ptr<dyn SIFT>

source§

fn as_raw_mut_SIFT(&mut self) -> *mut c_void

source§

fn set_n_features(&mut self, max_features: i32) -> Result<()>

source§

fn set_n_octave_layers(&mut self, n_octave_layers: i32) -> Result<()>

source§

fn set_contrast_threshold(&mut self, contrast_threshold: f64) -> Result<()>

source§

fn set_edge_threshold(&mut self, edge_threshold: f64) -> Result<()>

source§

fn set_sigma(&mut self, sigma: f64) -> Result<()>

source§

impl SIFTConst for Ptr<dyn SIFT>

source§

impl SURF for Ptr<dyn SURF>

source§

fn as_raw_mut_SURF(&mut self) -> *mut c_void

source§

fn set_hessian_threshold(&mut self, hessian_threshold: f64) -> Result<()>

source§

fn set_n_octaves(&mut self, n_octaves: i32) -> Result<()>

source§

fn set_n_octave_layers(&mut self, n_octave_layers: i32) -> Result<()>

source§

fn set_extended(&mut self, extended: bool) -> Result<()>

source§

fn set_upright(&mut self, upright: bool) -> Result<()>

source§

impl SURFConst for Ptr<dyn SURF>

source§

impl SURF_CUDATrait for Ptr<SURF_CUDA>

source§

fn as_raw_mut_SURF_CUDA(&mut self) -> *mut c_void

source§

fn set_hessian_threshold(&mut self, val: f64)

source§

fn set_n_octaves(&mut self, val: i32)

source§

fn set_n_octave_layers(&mut self, val: i32)

source§

fn set_extended(&mut self, val: bool)

source§

fn set_upright(&mut self, val: bool)

source§

fn set_keypoints_ratio(&mut self, val: f32)

max keypoints = min(keypointsRatio * img.size().area(), 65535)
source§

fn set_sum(&mut self, val: GpuMat)

source§

fn set_mask1(&mut self, val: GpuMat)

source§

fn set_mask_sum(&mut self, val: GpuMat)

source§

fn set_det(&mut self, val: GpuMat)

source§

fn set_trace(&mut self, val: GpuMat)

source§

fn set_max_pos_buffer(&mut self, val: GpuMat)

source§

fn upload_keypoints( &mut self, keypoints: &Vector<KeyPoint>, keypoints_gpu: &mut GpuMat ) -> Result<()>

upload host keypoints to device memory
source§

fn download_keypoints( &mut self, keypoints_gpu: &GpuMat, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

download keypoints from device to host memory
source§

fn download_descriptors( &mut self, descriptors_gpu: &GpuMat, descriptors: &mut Vector<f32> ) -> Result<()>

download descriptors from device to host memory
source§

fn apply( &mut self, img: &GpuMat, mask: &GpuMat, keypoints: &mut GpuMat ) -> Result<()>

finds the keypoints using fast hessian detector used in SURF supports CV_8UC1 images keypoints will have nFeature cols and 6 rows keypoints.ptr(X_ROW)[i] will contain x coordinate of i’th feature keypoints.ptr(Y_ROW)[i] will contain y coordinate of i’th feature keypoints.ptr(LAPLACIAN_ROW)[i] will contain laplacian sign of i’th feature keypoints.ptr(OCTAVE_ROW)[i] will contain octave of i’th feature keypoints.ptr(SIZE_ROW)[i] will contain size of i’th feature keypoints.ptr(ANGLE_ROW)[i] will contain orientation of i’th feature keypoints.ptr(HESSIAN_ROW)[i] will contain response of i’th feature
source§

fn apply_1( &mut self, img: &GpuMat, mask: &GpuMat, keypoints: &mut GpuMat, descriptors: &mut GpuMat, use_provided_keypoints: bool ) -> Result<()>

finds the keypoints and computes their descriptors. Optionally it can compute descriptors for the user-provided keypoints and recompute keypoints direction Read more
source§

fn detect( &mut self, img: &GpuMat, mask: &GpuMat, keypoints: &mut GpuMat ) -> Result<()>

Finds the keypoints using fast hessian detector used in SURF Read more
source§

fn apply_2( &mut self, img: &GpuMat, mask: &GpuMat, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

source§

fn apply_3( &mut self, img: &GpuMat, mask: &GpuMat, keypoints: &mut Vector<KeyPoint>, descriptors: &mut GpuMat, use_provided_keypoints: bool ) -> Result<()>

C++ default parameters Read more
source§

fn detect_with_descriptors( &mut self, img: &GpuMat, mask: &GpuMat, keypoints: &mut GpuMat, descriptors: &mut GpuMat, use_provided_keypoints: bool ) -> Result<()>

Finds the keypoints and computes their descriptors using fast hessian detector used in SURF Read more
source§

fn apply_4( &mut self, img: &GpuMat, mask: &GpuMat, keypoints: &mut Vector<KeyPoint>, descriptors: &mut Vector<f32>, use_provided_keypoints: bool ) -> Result<()>

C++ default parameters Read more
source§

fn release_memory(&mut self) -> Result<()>

source§

impl SURF_CUDATraitConst for Ptr<SURF_CUDA>

source§

fn as_raw_SURF_CUDA(&self) -> *const c_void

source§

fn hessian_threshold(&self) -> f64

source§

fn n_octaves(&self) -> i32

source§

fn n_octave_layers(&self) -> i32

source§

fn extended(&self) -> bool

source§

fn upright(&self) -> bool

source§

fn keypoints_ratio(&self) -> f32

max keypoints = min(keypointsRatio * img.size().area(), 65535)
source§

fn sum(&self) -> GpuMat

source§

fn mask1(&self) -> GpuMat

source§

fn mask_sum(&self) -> GpuMat

source§

fn det(&self) -> GpuMat

source§

fn trace(&self) -> GpuMat

source§

fn max_pos_buffer(&self) -> GpuMat

source§

fn descriptor_size(&self) -> Result<i32>

returns the descriptor size in float’s (64 or 128)
source§

fn default_norm(&self) -> Result<i32>

returns the default norm type
source§

impl SVM for Ptr<dyn SVM>

source§

fn as_raw_mut_SVM(&mut self) -> *mut c_void

source§

fn set_type(&mut self, val: i32) -> Result<()>

Type of a %SVM formulation. See SVM::Types. Default value is SVM::C_SVC. Read more
source§

fn set_gamma(&mut self, val: f64) -> Result<()>

Parameter inline formula of a kernel function. For SVM::POLY, SVM::RBF, SVM::SIGMOID or SVM::CHI2. Default value is 1. Read more
source§

fn set_coef0(&mut self, val: f64) -> Result<()>

Parameter coef0 of a kernel function. For SVM::POLY or SVM::SIGMOID. Default value is 0. Read more
source§

fn set_degree(&mut self, val: f64) -> Result<()>

Parameter degree of a kernel function. For SVM::POLY. Default value is 0. Read more
source§

fn set_c(&mut self, val: f64) -> Result<()>

Parameter C of a %SVM optimization problem. For SVM::C_SVC, SVM::EPS_SVR or SVM::NU_SVR. Default value is 0. Read more
source§

fn set_nu(&mut self, val: f64) -> Result<()>

Parameter inline formula of a %SVM optimization problem. For SVM::NU_SVC, SVM::ONE_CLASS or SVM::NU_SVR. Default value is 0. Read more
source§

fn set_p(&mut self, val: f64) -> Result<()>

Parameter inline formula of a %SVM optimization problem. For SVM::EPS_SVR. Default value is 0. Read more
source§

fn set_class_weights(&mut self, val: &Mat) -> Result<()>

Optional weights in the SVM::C_SVC problem, assigned to particular classes. They are multiplied by C so the parameter C of class i becomes classWeights(i) * C. Thus these weights affect the misclassification penalty for different classes. The larger weight, the larger penalty on misclassification of data from the corresponding class. Default value is empty Mat. Read more
source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

Termination criteria of the iterative %SVM training procedure which solves a partial case of constrained quadratic optimization problem. You can specify tolerance and/or the maximum number of iterations. Default value is TermCriteria( TermCriteria::MAX_ITER + TermCriteria::EPS, 1000, FLT_EPSILON ); Read more
source§

fn set_kernel(&mut self, kernel_type: i32) -> Result<()>

Initialize with one of predefined kernels. See SVM::KernelTypes.
source§

fn set_custom_kernel(&mut self, _kernel: &Ptr<dyn SVM_Kernel>) -> Result<()>

Initialize with custom kernel. See SVM::Kernel class for implementation details
source§

fn train_auto( &mut self, data: &Ptr<dyn TrainData>, k_fold: i32, cgrid: ParamGrid, gamma_grid: ParamGrid, p_grid: ParamGrid, nu_grid: ParamGrid, coeff_grid: ParamGrid, degree_grid: ParamGrid, balanced: bool ) -> Result<bool>

Trains an %SVM with optimal parameters. Read more
source§

fn train_auto_with_data( &mut self, samples: &dyn ToInputArray, layout: i32, responses: &dyn ToInputArray, k_fold: i32, cgrid: Ptr<ParamGrid>, gamma_grid: Ptr<ParamGrid>, p_grid: Ptr<ParamGrid>, nu_grid: Ptr<ParamGrid>, coeff_grid: Ptr<ParamGrid>, degree_grid: Ptr<ParamGrid>, balanced: bool ) -> Result<bool>

Trains an %SVM with optimal parameters Read more
source§

impl SVMConst for Ptr<dyn SVM>

source§

fn as_raw_SVM(&self) -> *const c_void

source§

fn get_type(&self) -> Result<i32>

Type of a %SVM formulation. See SVM::Types. Default value is SVM::C_SVC. Read more
source§

fn get_gamma(&self) -> Result<f64>

Parameter inline formula of a kernel function. For SVM::POLY, SVM::RBF, SVM::SIGMOID or SVM::CHI2. Default value is 1. Read more
source§

fn get_coef0(&self) -> Result<f64>

Parameter coef0 of a kernel function. For SVM::POLY or SVM::SIGMOID. Default value is 0. Read more
source§

fn get_degree(&self) -> Result<f64>

Parameter degree of a kernel function. For SVM::POLY. Default value is 0. Read more
source§

fn get_c(&self) -> Result<f64>

Parameter C of a %SVM optimization problem. For SVM::C_SVC, SVM::EPS_SVR or SVM::NU_SVR. Default value is 0. Read more
source§

fn get_nu(&self) -> Result<f64>

Parameter inline formula of a %SVM optimization problem. For SVM::NU_SVC, SVM::ONE_CLASS or SVM::NU_SVR. Default value is 0. Read more
source§

fn get_p(&self) -> Result<f64>

Parameter inline formula of a %SVM optimization problem. For SVM::EPS_SVR. Default value is 0. Read more
source§

fn get_class_weights(&self) -> Result<Mat>

Optional weights in the SVM::C_SVC problem, assigned to particular classes. They are multiplied by C so the parameter C of class i becomes classWeights(i) * C. Thus these weights affect the misclassification penalty for different classes. The larger weight, the larger penalty on misclassification of data from the corresponding class. Default value is empty Mat. Read more
source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Termination criteria of the iterative %SVM training procedure which solves a partial case of constrained quadratic optimization problem. You can specify tolerance and/or the maximum number of iterations. Default value is TermCriteria( TermCriteria::MAX_ITER + TermCriteria::EPS, 1000, FLT_EPSILON ); Read more
source§

fn get_kernel_type(&self) -> Result<i32>

Type of a %SVM kernel. See SVM::KernelTypes. Default value is SVM::RBF.
source§

fn get_support_vectors(&self) -> Result<Mat>

Retrieves all the support vectors Read more
source§

fn get_uncompressed_support_vectors(&self) -> Result<Mat>

Retrieves all the uncompressed support vectors of a linear %SVM Read more
source§

fn get_decision_function( &self, i: i32, alpha: &mut dyn ToOutputArray, svidx: &mut dyn ToOutputArray ) -> Result<f64>

Retrieves the decision function Read more
source§

impl SVMSGD for Ptr<dyn SVMSGD>

source§

fn as_raw_mut_SVMSGD(&mut self) -> *mut c_void

source§

fn get_weights(&mut self) -> Result<Mat>

Returns Read more
source§

fn get_shift(&mut self) -> Result<f32>

Returns Read more
source§

fn set_optimal_parameters( &mut self, svmsgd_type: i32, margin_type: i32 ) -> Result<()>

Function sets optimal parameters values for chosen SVM SGD model. Read more
source§

fn set_svmsgd_type(&mut self, svmsgd_type: i32) -> Result<()>

%Algorithm type, one of SVMSGD::SvmsgdType. Read more
source§

fn set_margin_type(&mut self, margin_type: i32) -> Result<()>

%Margin type, one of SVMSGD::MarginType. Read more
source§

fn set_margin_regularization( &mut self, margin_regularization: f32 ) -> Result<()>

Parameter marginRegularization of a %SVMSGD optimization problem. Read more
source§

fn set_initial_step_size(&mut self, initial_step_size: f32) -> Result<()>

Parameter initialStepSize of a %SVMSGD optimization problem. Read more
source§

fn set_step_decreasing_power( &mut self, step_decreasing_power: f32 ) -> Result<()>

Parameter stepDecreasingPower of a %SVMSGD optimization problem. Read more
source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

Termination criteria of the training algorithm. You can specify the maximum number of iterations (maxCount) and/or how much the error could change between the iterations to make the algorithm continue (epsilon). Read more
source§

impl SVMSGDConst for Ptr<dyn SVMSGD>

source§

fn as_raw_SVMSGD(&self) -> *const c_void

source§

fn get_svmsgd_type(&self) -> Result<i32>

%Algorithm type, one of SVMSGD::SvmsgdType. Read more
source§

fn get_margin_type(&self) -> Result<i32>

%Margin type, one of SVMSGD::MarginType. Read more
source§

fn get_margin_regularization(&self) -> Result<f32>

Parameter marginRegularization of a %SVMSGD optimization problem. Read more
source§

fn get_initial_step_size(&self) -> Result<f32>

Parameter initialStepSize of a %SVMSGD optimization problem. Read more
source§

fn get_step_decreasing_power(&self) -> Result<f32>

Parameter stepDecreasingPower of a %SVMSGD optimization problem. Read more
source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Termination criteria of the training algorithm. You can specify the maximum number of iterations (maxCount) and/or how much the error could change between the iterations to make the algorithm continue (epsilon). Read more
source§

impl SVM_Kernel for Ptr<dyn SVM_Kernel>

source§

fn as_raw_mut_SVM_Kernel(&mut self) -> *mut c_void

source§

fn calc( &mut self, vcount: i32, n: i32, vecs: &f32, another: &f32, results: &mut f32 ) -> Result<()>

source§

impl SVM_KernelConst for Ptr<dyn SVM_Kernel>

source§

impl Saliency for Ptr<MotionSaliencyBinWangApr2014>

source§

fn as_raw_mut_Saliency(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &dyn ToInputArray, saliency_map: &mut dyn ToOutputArray ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
source§

impl Saliency for Ptr<ObjectnessBING>

source§

fn as_raw_mut_Saliency(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &dyn ToInputArray, saliency_map: &mut dyn ToOutputArray ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
source§

impl Saliency for Ptr<StaticSaliencyFineGrained>

source§

fn as_raw_mut_Saliency(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &dyn ToInputArray, saliency_map: &mut dyn ToOutputArray ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
source§

impl Saliency for Ptr<StaticSaliencySpectralResidual>

source§

fn as_raw_mut_Saliency(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &dyn ToInputArray, saliency_map: &mut dyn ToOutputArray ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
source§

impl SaliencyConst for Ptr<MotionSaliencyBinWangApr2014>

source§

impl SaliencyConst for Ptr<ObjectnessBING>

source§

impl SaliencyConst for Ptr<StaticSaliencyFineGrained>

source§

impl SaliencyConst for Ptr<StaticSaliencySpectralResidual>

source§

impl ScaleLayerInt8Trait for Ptr<ScaleLayerInt8>

source§

impl ScaleLayerInt8TraitConst for Ptr<ScaleLayerInt8>

source§

impl ScaleLayerTrait for Ptr<ScaleLayer>

source§

fn as_raw_mut_ScaleLayer(&mut self) -> *mut c_void

source§

fn set_has_bias(&mut self, val: bool)

source§

fn set_axis(&mut self, val: i32)

source§

fn set_mode(&mut self, val: &str)

source§

impl ScaleLayerTrait for Ptr<ScaleLayerInt8>

source§

fn as_raw_mut_ScaleLayer(&mut self) -> *mut c_void

source§

fn set_has_bias(&mut self, val: bool)

source§

fn set_axis(&mut self, val: i32)

source§

fn set_mode(&mut self, val: &str)

source§

impl ScaleLayerTraitConst for Ptr<ScaleLayer>

source§

impl ScaleLayerTraitConst for Ptr<ScaleLayerInt8>

source§

impl ScanSegment for Ptr<dyn ScanSegment>

source§

fn as_raw_mut_ScanSegment(&mut self) -> *mut c_void

source§

fn get_number_of_superpixels(&mut self) -> Result<i32>

Returns the actual superpixel segmentation from the last image processed using iterate. Read more
source§

fn iterate(&mut self, img: &dyn ToInputArray) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the ScanSegment object. Read more
source§

fn get_labels(&mut self, labels_out: &mut dyn ToOutputArray) -> Result<()>

Returns the segmentation labeling of the image. Read more
source§

fn get_label_contour_mask( &mut self, image: &mut dyn ToOutputArray, thick_line: bool ) -> Result<()>

Returns the mask of the superpixel segmentation stored in the ScanSegment object. Read more
source§

impl ScanSegmentConst for Ptr<dyn ScanSegment>

source§

impl ScatterLayerTrait for Ptr<ScatterLayer>

source§

impl ScatterLayerTraitConst for Ptr<ScatterLayer>

source§

impl ScatterNDLayerTrait for Ptr<ScatterNDLayer>

source§

impl ScatterNDLayerTraitConst for Ptr<ScatterNDLayer>

source§

impl SearchParamsTrait for Ptr<SearchParams>

source§

impl SearchParamsTraitConst for Ptr<SearchParams>

source§

impl SelectiveSearchSegmentation for Ptr<dyn SelectiveSearchSegmentation>

source§

fn as_raw_mut_SelectiveSearchSegmentation(&mut self) -> *mut c_void

source§

fn set_base_image(&mut self, img: &dyn ToInputArray) -> Result<()>

Set a image used by switch* functions to initialize the class Read more
source§

fn switch_to_single_strategy(&mut self, k: i32, sigma: f32) -> Result<()>

Initialize the class with the ‘Single stragegy’ parameters describled in uijlings2013selective. Read more
source§

fn switch_to_selective_search_fast( &mut self, base_k: i32, inc_k: i32, sigma: f32 ) -> Result<()>

Initialize the class with the ‘Selective search fast’ parameters describled in uijlings2013selective. Read more
source§

fn switch_to_selective_search_quality( &mut self, base_k: i32, inc_k: i32, sigma: f32 ) -> Result<()>

Initialize the class with the ‘Selective search fast’ parameters describled in uijlings2013selective. Read more
source§

fn add_image(&mut self, img: &dyn ToInputArray) -> Result<()>

Add a new image in the list of images to process. Read more
source§

fn clear_images(&mut self) -> Result<()>

Clear the list of images to process
source§

fn add_graph_segmentation( &mut self, g: Ptr<dyn GraphSegmentation> ) -> Result<()>

Add a new graph segmentation in the list of graph segementations to process. Read more
source§

fn clear_graph_segmentations(&mut self) -> Result<()>

Clear the list of graph segmentations to process;
source§

fn add_strategy( &mut self, s: Ptr<dyn SelectiveSearchSegmentationStrategy> ) -> Result<()>

Add a new strategy in the list of strategy to process. Read more
source§

fn clear_strategies(&mut self) -> Result<()>

Clear the list of strategy to process;
source§

fn process(&mut self, rects: &mut Vector<Rect>) -> Result<()>

Based on all images, graph segmentations and stragies, computes all possible rects and return them Read more
source§

impl SelectiveSearchSegmentationConst for Ptr<dyn SelectiveSearchSegmentation>

source§

impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategy>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void

source§

fn set_image( &mut self, img: &dyn ToInputArray, regions: &dyn ToInputArray, sizes: &dyn ToInputArray, image_id: i32 ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
source§

impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategyColor>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void

source§

fn set_image( &mut self, img: &dyn ToInputArray, regions: &dyn ToInputArray, sizes: &dyn ToInputArray, image_id: i32 ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
source§

impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategyFill>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void

source§

fn set_image( &mut self, img: &dyn ToInputArray, regions: &dyn ToInputArray, sizes: &dyn ToInputArray, image_id: i32 ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
source§

impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void

source§

fn set_image( &mut self, img: &dyn ToInputArray, regions: &dyn ToInputArray, sizes: &dyn ToInputArray, image_id: i32 ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
source§

impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategySize>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void

source§

fn set_image( &mut self, img: &dyn ToInputArray, regions: &dyn ToInputArray, sizes: &dyn ToInputArray, image_id: i32 ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
source§

impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void

source§

fn set_image( &mut self, img: &dyn ToInputArray, regions: &dyn ToInputArray, sizes: &dyn ToInputArray, image_id: i32 ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
source§

impl SelectiveSearchSegmentationStrategyColor for Ptr<dyn SelectiveSearchSegmentationStrategyColor>

source§

impl SelectiveSearchSegmentationStrategyColorConst for Ptr<dyn SelectiveSearchSegmentationStrategyColor>

source§

impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategy>

source§

impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategyColor>

source§

impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategyFill>

source§

impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>

source§

impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategySize>

source§

impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>

source§

impl SelectiveSearchSegmentationStrategyFill for Ptr<dyn SelectiveSearchSegmentationStrategyFill>

source§

impl SelectiveSearchSegmentationStrategyFillConst for Ptr<dyn SelectiveSearchSegmentationStrategyFill>

source§

impl SelectiveSearchSegmentationStrategyMultiple for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategyMultiple( &mut self ) -> *mut c_void

source§

fn add_strategy( &mut self, g: Ptr<dyn SelectiveSearchSegmentationStrategy>, weight: f32 ) -> Result<()>

Add a new sub-strategy Read more
source§

fn clear_strategies(&mut self) -> Result<()>

Remove all sub-strategies
source§

impl SelectiveSearchSegmentationStrategyMultipleConst for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>

source§

impl SelectiveSearchSegmentationStrategySize for Ptr<dyn SelectiveSearchSegmentationStrategySize>

source§

impl SelectiveSearchSegmentationStrategySizeConst for Ptr<dyn SelectiveSearchSegmentationStrategySize>

source§

impl SelectiveSearchSegmentationStrategyTexture for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>

source§

impl SelectiveSearchSegmentationStrategyTextureConst for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>

source§

impl SeluLayerTrait for Ptr<SeluLayer>

source§

fn as_raw_mut_SeluLayer(&mut self) -> *mut c_void

source§

fn set_alpha(&mut self, val: f32)

source§

fn set_gamma(&mut self, val: f32)

source§

impl SeluLayerTraitConst for Ptr<SeluLayer>

source§

impl ShapeContextDistanceExtractor for Ptr<dyn ShapeContextDistanceExtractor>

source§

fn as_raw_mut_ShapeContextDistanceExtractor(&mut self) -> *mut c_void

source§

fn set_angular_bins(&mut self, n_angular_bins: i32) -> Result<()>

Establish the number of angular bins for the Shape Context Descriptor used in the shape matching pipeline. Read more
source§

fn set_radial_bins(&mut self, n_radial_bins: i32) -> Result<()>

Establish the number of radial bins for the Shape Context Descriptor used in the shape matching pipeline. Read more
source§

fn set_inner_radius(&mut self, inner_radius: f32) -> Result<()>

Set the inner radius of the shape context descriptor. Read more
source§

fn set_outer_radius(&mut self, outer_radius: f32) -> Result<()>

Set the outer radius of the shape context descriptor. Read more
source§

fn set_rotation_invariant(&mut self, rotation_invariant: bool) -> Result<()>

source§

fn set_shape_context_weight(&mut self, shape_context_weight: f32) -> Result<()>

Set the weight of the shape context distance in the final value of the shape distance. The shape context distance between two shapes is defined as the symmetric sum of shape context matching costs over best matching points. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. Read more
source§

fn set_image_appearance_weight( &mut self, image_appearance_weight: f32 ) -> Result<()>

Set the weight of the Image Appearance cost in the final value of the shape distance. The image appearance cost is defined as the sum of squared brightness differences in Gaussian windows around corresponding image points. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. If this value is set to a number different from 0, is mandatory to set the images that correspond to each shape. Read more
source§

fn set_bending_energy_weight( &mut self, bending_energy_weight: f32 ) -> Result<()>

Set the weight of the Bending Energy in the final value of the shape distance. The bending energy definition depends on what transformation is being used to align the shapes. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. Read more
source§

fn set_images( &mut self, image1: &dyn ToInputArray, image2: &dyn ToInputArray ) -> Result<()>

Set the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost. Read more
source§

fn set_iterations(&mut self, iterations: i32) -> Result<()>

source§

fn set_cost_extractor( &mut self, comparer: Ptr<dyn HistogramCostExtractor> ) -> Result<()>

Set the algorithm used for building the shape context descriptor cost matrix. Read more
source§

fn set_std_dev(&mut self, sigma: f32) -> Result<()>

Set the value of the standard deviation for the Gaussian window for the image appearance cost. Read more
source§

fn set_transform_algorithm( &mut self, transformer: Ptr<dyn ShapeTransformer> ) -> Result<()>

Set the algorithm used for aligning the shapes. Read more
source§

impl ShapeContextDistanceExtractorConst for Ptr<dyn ShapeContextDistanceExtractor>

source§

impl ShapeDistanceExtractor for Ptr<dyn HausdorffDistanceExtractor>

source§

fn as_raw_mut_ShapeDistanceExtractor(&mut self) -> *mut c_void

source§

fn compute_distance( &mut self, contour1: &dyn ToInputArray, contour2: &dyn ToInputArray ) -> Result<f32>

Compute the shape distance between two shapes defined by its contours. Read more
source§

impl ShapeDistanceExtractor for Ptr<dyn ShapeContextDistanceExtractor>

source§

fn as_raw_mut_ShapeDistanceExtractor(&mut self) -> *mut c_void

source§

fn compute_distance( &mut self, contour1: &dyn ToInputArray, contour2: &dyn ToInputArray ) -> Result<f32>

Compute the shape distance between two shapes defined by its contours. Read more
source§

impl ShapeDistanceExtractorConst for Ptr<dyn HausdorffDistanceExtractor>

source§

impl ShapeDistanceExtractorConst for Ptr<dyn ShapeContextDistanceExtractor>

source§

impl ShapeTransformer for Ptr<dyn AffineTransformer>

source§

fn as_raw_mut_ShapeTransformer(&mut self) -> *mut c_void

source§

fn estimate_transformation( &mut self, transforming_shape: &dyn ToInputArray, target_shape: &dyn ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more
source§

fn apply_transformation( &mut self, input: &dyn ToInputArray, output: &mut dyn ToOutputArray ) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
source§

impl ShapeTransformer for Ptr<dyn ShapeTransformer>

source§

fn as_raw_mut_ShapeTransformer(&mut self) -> *mut c_void

source§

fn estimate_transformation( &mut self, transforming_shape: &dyn ToInputArray, target_shape: &dyn ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more
source§

fn apply_transformation( &mut self, input: &dyn ToInputArray, output: &mut dyn ToOutputArray ) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
source§

impl ShapeTransformer for Ptr<dyn ThinPlateSplineShapeTransformer>

source§

fn as_raw_mut_ShapeTransformer(&mut self) -> *mut c_void

source§

fn estimate_transformation( &mut self, transforming_shape: &dyn ToInputArray, target_shape: &dyn ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more
source§

fn apply_transformation( &mut self, input: &dyn ToInputArray, output: &mut dyn ToOutputArray ) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
source§

impl ShapeTransformerConst for Ptr<dyn AffineTransformer>

source§

fn as_raw_ShapeTransformer(&self) -> *const c_void

source§

fn warp_image( &self, transforming_image: &dyn ToInputArray, output: &mut dyn 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§

impl ShapeTransformerConst for Ptr<dyn ShapeTransformer>

source§

fn as_raw_ShapeTransformer(&self) -> *const c_void

source§

fn warp_image( &self, transforming_image: &dyn ToInputArray, output: &mut dyn 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§

impl ShapeTransformerConst for Ptr<dyn ThinPlateSplineShapeTransformer>

source§

fn as_raw_ShapeTransformer(&self) -> *const c_void

source§

fn warp_image( &self, transforming_image: &dyn ToInputArray, output: &mut dyn 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§

impl ShrinkLayerTrait for Ptr<ShrinkLayer>

source§

fn as_raw_mut_ShrinkLayer(&mut self) -> *mut c_void

source§

fn set_bias(&mut self, val: f32)

source§

fn set_lambd(&mut self, val: f32)

source§

impl ShrinkLayerTraitConst for Ptr<ShrinkLayer>

source§

impl SigmoidLayerTrait for Ptr<SigmoidLayer>

source§

impl SigmoidLayerTraitConst for Ptr<SigmoidLayer>

source§

impl SignLayerTrait for Ptr<SignLayer>

source§

impl SignLayerTraitConst for Ptr<SignLayer>

source§

impl SimpleBlobDetector for Ptr<dyn SimpleBlobDetector>

source§

impl SimpleBlobDetectorConst for Ptr<dyn SimpleBlobDetector>

source§

impl SimpleWB for Ptr<dyn SimpleWB>

source§

fn as_raw_mut_SimpleWB(&mut self) -> *mut c_void

source§

fn set_input_min(&mut self, val: f32) -> Result<()>

Input image range minimum value Read more
source§

fn set_input_max(&mut self, val: f32) -> Result<()>

Input image range maximum value Read more
source§

fn set_output_min(&mut self, val: f32) -> Result<()>

Output image range minimum value Read more
source§

fn set_output_max(&mut self, val: f32) -> Result<()>

Output image range maximum value Read more
source§

fn set_p(&mut self, val: f32) -> Result<()>

Percent of top/bottom values to ignore Read more
source§

impl SimpleWBConst for Ptr<dyn SimpleWB>

source§

fn as_raw_SimpleWB(&self) -> *const c_void

source§

fn get_input_min(&self) -> Result<f32>

Input image range minimum value Read more
source§

fn get_input_max(&self) -> Result<f32>

Input image range maximum value Read more
source§

fn get_output_min(&self) -> Result<f32>

Output image range minimum value Read more
source§

fn get_output_max(&self) -> Result<f32>

Output image range maximum value Read more
source§

fn get_p(&self) -> Result<f32>

Percent of top/bottom values to ignore Read more
source§

impl SinLayerTrait for Ptr<SinLayer>

source§

impl SinLayerTraitConst for Ptr<SinLayer>

source§

impl SinhLayerTrait for Ptr<SinhLayer>

source§

impl SinhLayerTraitConst for Ptr<SinhLayer>

source§

impl SinusoidalPattern for Ptr<dyn SinusoidalPattern>

source§

fn as_raw_mut_SinusoidalPattern(&mut self) -> *mut c_void

source§

fn compute_phase_map( &mut self, pattern_images: &dyn ToInputArray, wrapped_phase_map: &mut dyn ToOutputArray, shadow_mask: &mut dyn ToOutputArray, fundamental: &dyn ToInputArray ) -> Result<()>

Compute a wrapped phase map from sinusoidal patterns. Read more
source§

fn unwrap_phase_map( &mut self, wrapped_phase_map: &dyn ToInputArray, unwrapped_phase_map: &mut dyn ToOutputArray, cam_size: Size, shadow_mask: &dyn ToInputArray ) -> Result<()>

Unwrap the wrapped phase map to remove phase ambiguities. Read more
source§

fn find_pro_cam_matches( &mut self, proj_unwrapped_phase_map: &dyn ToInputArray, cam_unwrapped_phase_map: &dyn ToInputArray, matches: &mut dyn ToOutputArray ) -> Result<()>

Find correspondences between the two devices thanks to unwrapped phase maps. Read more
source§

fn compute_data_modulation_term( &mut self, pattern_images: &dyn ToInputArray, data_modulation_term: &mut dyn ToOutputArray, shadow_mask: &dyn ToInputArray ) -> Result<()>

compute the data modulation term. Read more
source§

impl SinusoidalPatternConst for Ptr<dyn SinusoidalPattern>

source§

impl SinusoidalPattern_ParamsTrait for Ptr<SinusoidalPattern_Params>

source§

fn as_raw_mut_SinusoidalPattern_Params(&mut self) -> *mut c_void

source§

fn set_width(&mut self, val: i32)

source§

fn set_height(&mut self, val: i32)

source§

fn set_nbr_of_periods(&mut self, val: i32)

source§

fn set_shift_value(&mut self, val: f32)

source§

fn set_method_id(&mut self, val: i32)

source§

fn set_nbr_of_pixels_between_markers(&mut self, val: i32)

source§

fn set_horizontal(&mut self, val: bool)

source§

fn set_set_markers(&mut self, val: bool)

source§

fn set_markers_location(&mut self, val: Vector<Point2f>)

source§

impl SinusoidalPattern_ParamsTraitConst for Ptr<SinusoidalPattern_Params>

source§

impl SliceLayerTrait for Ptr<SliceLayer>

source§

fn as_raw_mut_SliceLayer(&mut self) -> *mut c_void

source§

fn set_slice_ranges(&mut self, val: Vector<Vector<Range>>)

Vector of slice ranges. Read more
source§

fn set_slice_steps(&mut self, val: Vector<Vector<i32>>)

source§

fn set_axis(&mut self, val: i32)

source§

fn set_num_split(&mut self, val: i32)

source§

impl SliceLayerTraitConst for Ptr<SliceLayer>

source§

fn as_raw_SliceLayer(&self) -> *const c_void

source§

fn slice_ranges(&self) -> Vector<Vector<Range>>

Vector of slice ranges. Read more
source§

fn slice_steps(&self) -> Vector<Vector<i32>>

source§

fn axis(&self) -> i32

source§

fn num_split(&self) -> i32

source§

impl SoftmaxLayerInt8Trait for Ptr<SoftmaxLayerInt8>

source§

impl SoftmaxLayerInt8TraitConst for Ptr<SoftmaxLayerInt8>

source§

impl SoftmaxLayerTrait for Ptr<SoftmaxLayer>

source§

impl SoftmaxLayerTrait for Ptr<SoftmaxLayerInt8>

source§

impl SoftmaxLayerTraitConst for Ptr<SoftmaxLayer>

source§

impl SoftmaxLayerTraitConst for Ptr<SoftmaxLayerInt8>

source§

impl SoftplusLayerTrait for Ptr<SoftplusLayer>

source§

impl SoftplusLayerTraitConst for Ptr<SoftplusLayer>

source§

impl SoftsignLayerTrait for Ptr<SoftsignLayer>

source§

impl SoftsignLayerTraitConst for Ptr<SoftsignLayer>

source§

impl SparseMatchInterpolator for Ptr<dyn EdgeAwareInterpolator>

source§

fn as_raw_mut_SparseMatchInterpolator(&mut self) -> *mut c_void

source§

fn interpolate( &mut self, from_image: &dyn ToInputArray, from_points: &dyn ToInputArray, to_image: &dyn ToInputArray, to_points: &dyn ToInputArray, dense_flow: &mut dyn ToOutputArray ) -> Result<()>

Interpolate input sparse matches. Read more
source§

impl SparseMatchInterpolator for Ptr<dyn RICInterpolator>

source§

fn as_raw_mut_SparseMatchInterpolator(&mut self) -> *mut c_void

source§

fn interpolate( &mut self, from_image: &dyn ToInputArray, from_points: &dyn ToInputArray, to_image: &dyn ToInputArray, to_points: &dyn ToInputArray, dense_flow: &mut dyn ToOutputArray ) -> Result<()>

Interpolate input sparse matches. Read more
source§

impl SparseMatchInterpolatorConst for Ptr<dyn EdgeAwareInterpolator>

source§

impl SparseMatchInterpolatorConst for Ptr<dyn RICInterpolator>

source§

impl SparseOpticalFlow for Ptr<dyn SparseOpticalFlow>

source§

fn as_raw_mut_SparseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, prev_img: &dyn ToInputArray, next_img: &dyn ToInputArray, prev_pts: &dyn ToInputArray, next_pts: &mut dyn ToInputOutputArray, status: &mut dyn ToOutputArray, err: &mut dyn ToOutputArray ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

impl SparseOpticalFlow for Ptr<dyn SparsePyrLKOpticalFlow>

source§

fn as_raw_mut_SparseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, prev_img: &dyn ToInputArray, next_img: &dyn ToInputArray, prev_pts: &dyn ToInputArray, next_pts: &mut dyn ToInputOutputArray, status: &mut dyn ToOutputArray, err: &mut dyn ToOutputArray ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

impl SparseOpticalFlow for Ptr<dyn SparseRLOFOpticalFlow>

source§

fn as_raw_mut_SparseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, prev_img: &dyn ToInputArray, next_img: &dyn ToInputArray, prev_pts: &dyn ToInputArray, next_pts: &mut dyn ToInputOutputArray, status: &mut dyn ToOutputArray, err: &mut dyn ToOutputArray ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

impl SparseOpticalFlowConst for Ptr<dyn SparseOpticalFlow>

source§

impl SparseOpticalFlowConst for Ptr<dyn SparsePyrLKOpticalFlow>

source§

impl SparseOpticalFlowConst for Ptr<dyn SparseRLOFOpticalFlow>

source§

impl SparsePyrLKOpticalFlow for Ptr<dyn SparsePyrLKOpticalFlow>

source§

fn as_raw_mut_SparsePyrLKOpticalFlow(&mut self) -> *mut c_void

source§

fn set_win_size(&mut self, win_size: Size) -> Result<()>

source§

fn set_max_level(&mut self, max_level: i32) -> Result<()>

source§

fn set_term_criteria(&mut self, crit: &mut TermCriteria) -> Result<()>

source§

fn set_flags(&mut self, flags: i32) -> Result<()>

source§

fn set_min_eig_threshold(&mut self, min_eig_threshold: f64) -> Result<()>

source§

impl SparsePyrLKOpticalFlowConst for Ptr<dyn SparsePyrLKOpticalFlow>

source§

impl SparsePyrLkOptFlowEstimatorGpuTrait for Ptr<SparsePyrLkOptFlowEstimatorGpu>

source§

fn as_raw_mut_SparsePyrLkOptFlowEstimatorGpu(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, points0: &dyn ToInputArray, points1: &mut dyn ToInputOutputArray, status: &mut dyn ToOutputArray, errors: &mut dyn ToOutputArray ) -> Result<()>

source§

fn run_1( &mut self, frame0: &GpuMat, frame1: &GpuMat, points0: &GpuMat, points1: &mut GpuMat, status: &mut GpuMat, errors: &mut GpuMat ) -> Result<()>

source§

fn run_2( &mut self, frame0: &GpuMat, frame1: &GpuMat, points0: &GpuMat, points1: &mut GpuMat, status: &mut GpuMat ) -> Result<()>

source§

impl SparsePyrLkOptFlowEstimatorGpuTraitConst for Ptr<SparsePyrLkOptFlowEstimatorGpu>

source§

impl SparsePyrLkOptFlowEstimatorTrait for Ptr<SparsePyrLkOptFlowEstimator>

source§

fn as_raw_mut_SparsePyrLkOptFlowEstimator(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, points0: &dyn ToInputArray, points1: &mut dyn ToInputOutputArray, status: &mut dyn ToOutputArray, errors: &mut dyn ToOutputArray ) -> Result<()>

source§

impl SparsePyrLkOptFlowEstimatorTraitConst for Ptr<SparsePyrLkOptFlowEstimator>

source§

impl SparseRLOFOpticalFlow for Ptr<dyn SparseRLOFOpticalFlow>

source§

fn as_raw_mut_SparseRLOFOpticalFlow(&mut self) -> *mut c_void

source§

fn set_rlof_optical_flow_parameter( &mut self, val: Ptr<RLOFOpticalFlowParameter> ) -> Result<()>

@copydoc DenseRLOFOpticalFlow::setRLOFOpticalFlowParameter
source§

fn set_forward_backward(&mut self, val: f32) -> Result<()>

Threshold for the forward backward confidence check For each feature point a motion vector inline formula is computed. * If the forward backward error block formula * is larger than threshold given by this function then the status will not be used by the following * vector field interpolation. inline formula denotes the backward flow. Note, the forward backward test * will only be applied if the threshold > 0. This may results into a doubled runtime for the motion estimation. * see also: setForwardBackward Read more
source§

impl SparseRLOFOpticalFlowConst for Ptr<dyn SparseRLOFOpticalFlow>

source§

fn as_raw_SparseRLOFOpticalFlow(&self) -> *const c_void

source§

fn get_rlof_optical_flow_parameter( &self ) -> Result<Ptr<RLOFOpticalFlowParameter>>

@copydoc DenseRLOFOpticalFlow::setRLOFOpticalFlowParameter Read more
source§

fn get_forward_backward(&self) -> Result<f32>

Threshold for the forward backward confidence check For each feature point a motion vector inline formula is computed. * If the forward backward error block formula * is larger than threshold given by this function then the status will not be used by the following * vector field interpolation. inline formula denotes the backward flow. Note, the forward backward test * will only be applied if the threshold > 0. This may results into a doubled runtime for the motion estimation. * see also: setForwardBackward * see also: setForwardBackward Read more
source§

impl SphericalWarperGpuTrait for Ptr<SphericalWarperGpu>

source§

impl SphericalWarperGpuTraitConst for Ptr<SphericalWarperGpu>

source§

impl SphericalWarperTrait for Ptr<SphericalWarper>

source§

impl SphericalWarperTraitConst for Ptr<SphericalWarper>

source§

impl SplitLayerTrait for Ptr<SplitLayer>

source§

fn as_raw_mut_SplitLayer(&mut self) -> *mut c_void

source§

fn set_outputs_count(&mut self, val: i32)

Number of copies that will be produced (is ignored when negative).
source§

impl SplitLayerTraitConst for Ptr<SplitLayer>

source§

fn as_raw_SplitLayer(&self) -> *const c_void

source§

fn outputs_count(&self) -> i32

Number of copies that will be produced (is ignored when negative).
source§

impl SqrtLayerTrait for Ptr<SqrtLayer>

source§

impl SqrtLayerTraitConst for Ptr<SqrtLayer>

source§

impl StabilizerBase for Ptr<OnePassStabilizer>

source§

fn as_raw_mut_StabilizerBase(&mut self) -> *mut c_void

source§

fn set_log(&mut self, ilog: Ptr<dyn ILog>) -> Result<()>

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn set_frame_source(&mut self, val: Ptr<dyn IFrameSource>) -> Result<()>

source§

fn set_mask_source(&mut self, val: &Ptr<dyn IFrameSource>) -> Result<()>

source§

fn set_motion_estimator( &mut self, val: Ptr<dyn ImageMotionEstimatorBase> ) -> Result<()>

source§

fn set_deblurer(&mut self, val: Ptr<dyn DeblurerBase>) -> Result<()>

source§

fn set_trim_ratio(&mut self, val: f32) -> Result<()>

source§

fn set_correction_for_inclusion(&mut self, val: bool) -> Result<()>

source§

fn set_border_mode(&mut self, val: i32) -> Result<()>

source§

fn set_inpainter(&mut self, val: Ptr<dyn InpainterBase>) -> Result<()>

source§

impl StabilizerBase for Ptr<TwoPassStabilizer>

source§

fn as_raw_mut_StabilizerBase(&mut self) -> *mut c_void

source§

fn set_log(&mut self, ilog: Ptr<dyn ILog>) -> Result<()>

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn set_frame_source(&mut self, val: Ptr<dyn IFrameSource>) -> Result<()>

source§

fn set_mask_source(&mut self, val: &Ptr<dyn IFrameSource>) -> Result<()>

source§

fn set_motion_estimator( &mut self, val: Ptr<dyn ImageMotionEstimatorBase> ) -> Result<()>

source§

fn set_deblurer(&mut self, val: Ptr<dyn DeblurerBase>) -> Result<()>

source§

fn set_trim_ratio(&mut self, val: f32) -> Result<()>

source§

fn set_correction_for_inclusion(&mut self, val: bool) -> Result<()>

source§

fn set_border_mode(&mut self, val: i32) -> Result<()>

source§

fn set_inpainter(&mut self, val: Ptr<dyn InpainterBase>) -> Result<()>

source§

impl StabilizerBaseConst for Ptr<OnePassStabilizer>

source§

impl StabilizerBaseConst for Ptr<TwoPassStabilizer>

source§

impl StandardCollectorTrait for Ptr<StandardCollector>

source§

fn as_raw_mut_StandardCollector(&mut self) -> *mut c_void

source§

fn init(&mut self, size: size_t) -> Result<()>

overloaded interface method
source§

fn collect(&mut self, label: i32, dist: f64) -> Result<bool>

overloaded interface method
source§

impl StandardCollectorTraitConst for Ptr<StandardCollector>

source§

fn as_raw_StandardCollector(&self) -> *const c_void

source§

fn get_min_label(&self) -> Result<i32>

Returns label with minimal distance
source§

fn get_min_dist(&self) -> Result<f64>

Returns minimal distance value
source§

fn get_results(&self, sorted: bool) -> Result<Vector<Tuple<(i32, f64)>>>

Return results as vector Read more
source§

impl StarDetector for Ptr<dyn StarDetector>

source§

fn as_raw_mut_StarDetector(&mut self) -> *mut c_void

source§

fn set_max_size(&mut self, _max_size: i32) -> Result<()>

source§

fn set_response_threshold(&mut self, _response_threshold: i32) -> Result<()>

source§

fn set_line_threshold_projected( &mut self, _line_threshold_projected: i32 ) -> Result<()>

source§

fn set_line_threshold_binarized( &mut self, _line_threshold_binarized: i32 ) -> Result<()>

source§

fn set_suppress_nonmax_size(&mut self, _suppress_nonmax_size: i32) -> Result<()>

source§

impl StarDetectorConst for Ptr<dyn StarDetector>

source§

impl StatModel for Ptr<dyn ANN_MLP>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<dyn TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &dyn ToInputArray, layout: i32, responses: &dyn ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModel for Ptr<dyn Boost>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<dyn TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &dyn ToInputArray, layout: i32, responses: &dyn ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModel for Ptr<dyn DTrees>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<dyn TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &dyn ToInputArray, layout: i32, responses: &dyn ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModel for Ptr<dyn EM>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<dyn TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &dyn ToInputArray, layout: i32, responses: &dyn ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModel for Ptr<dyn KNearest>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<dyn TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &dyn ToInputArray, layout: i32, responses: &dyn ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModel for Ptr<dyn LogisticRegression>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<dyn TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &dyn ToInputArray, layout: i32, responses: &dyn ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModel for Ptr<dyn NormalBayesClassifier>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<dyn TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &dyn ToInputArray, layout: i32, responses: &dyn ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModel for Ptr<dyn RTrees>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<dyn TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &dyn ToInputArray, layout: i32, responses: &dyn ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModel for Ptr<dyn SVM>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<dyn TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &dyn ToInputArray, layout: i32, responses: &dyn ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModel for Ptr<dyn SVMSGD>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<dyn TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &dyn ToInputArray, layout: i32, responses: &dyn ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModelConst for Ptr<dyn ANN_MLP>

source§

fn as_raw_StatModel(&self) -> *const c_void

source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
source§

fn empty(&self) -> Result<bool>

source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
source§

fn calc_error( &self, data: &Ptr<dyn TrainData>, test: bool, resp: &mut dyn ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelConst for Ptr<dyn Boost>

source§

fn as_raw_StatModel(&self) -> *const c_void

source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
source§

fn empty(&self) -> Result<bool>

source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
source§

fn calc_error( &self, data: &Ptr<dyn TrainData>, test: bool, resp: &mut dyn ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelConst for Ptr<dyn DTrees>

source§

fn as_raw_StatModel(&self) -> *const c_void

source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
source§

fn empty(&self) -> Result<bool>

source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
source§

fn calc_error( &self, data: &Ptr<dyn TrainData>, test: bool, resp: &mut dyn ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelConst for Ptr<dyn EM>

source§

fn as_raw_StatModel(&self) -> *const c_void

source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
source§

fn empty(&self) -> Result<bool>

source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
source§

fn calc_error( &self, data: &Ptr<dyn TrainData>, test: bool, resp: &mut dyn ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelConst for Ptr<dyn KNearest>

source§

fn as_raw_StatModel(&self) -> *const c_void

source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
source§

fn empty(&self) -> Result<bool>

source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
source§

fn calc_error( &self, data: &Ptr<dyn TrainData>, test: bool, resp: &mut dyn ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelConst for Ptr<dyn LogisticRegression>

source§

fn as_raw_StatModel(&self) -> *const c_void

source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
source§

fn empty(&self) -> Result<bool>

source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
source§

fn calc_error( &self, data: &Ptr<dyn TrainData>, test: bool, resp: &mut dyn ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelConst for Ptr<dyn NormalBayesClassifier>

source§

fn as_raw_StatModel(&self) -> *const c_void

source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
source§

fn empty(&self) -> Result<bool>

source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
source§

fn calc_error( &self, data: &Ptr<dyn TrainData>, test: bool, resp: &mut dyn ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelConst for Ptr<dyn RTrees>

source§

fn as_raw_StatModel(&self) -> *const c_void

source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
source§

fn empty(&self) -> Result<bool>

source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
source§

fn calc_error( &self, data: &Ptr<dyn TrainData>, test: bool, resp: &mut dyn ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelConst for Ptr<dyn SVM>

source§

fn as_raw_StatModel(&self) -> *const c_void

source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
source§

fn empty(&self) -> Result<bool>

source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
source§

fn calc_error( &self, data: &Ptr<dyn TrainData>, test: bool, resp: &mut dyn ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelConst for Ptr<dyn SVMSGD>

source§

fn as_raw_StatModel(&self) -> *const c_void

source§

fn get_var_count(&self) -> Result<i32>

Returns the number of variables in training samples
source§

fn empty(&self) -> Result<bool>

source§

fn is_trained(&self) -> Result<bool>

Returns true if the model is trained
source§

fn is_classifier(&self) -> Result<bool>

Returns true if the model is classifier
source§

fn calc_error( &self, data: &Ptr<dyn TrainData>, test: bool, resp: &mut dyn ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &dyn ToInputArray, results: &mut dyn ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StaticSaliency for Ptr<StaticSaliencyFineGrained>

source§

fn as_raw_mut_StaticSaliency(&mut self) -> *mut c_void

source§

fn compute_binary_map( &mut self, _saliency_map: &dyn ToInputArray, _binary_map: &mut dyn ToOutputArray ) -> Result<bool>

This function perform a binary map of given saliency map. This is obtained in this way: Read more
source§

impl StaticSaliency for Ptr<StaticSaliencySpectralResidual>

source§

fn as_raw_mut_StaticSaliency(&mut self) -> *mut c_void

source§

fn compute_binary_map( &mut self, _saliency_map: &dyn ToInputArray, _binary_map: &mut dyn ToOutputArray ) -> Result<bool>

This function perform a binary map of given saliency map. This is obtained in this way: Read more
source§

impl StaticSaliencyConst for Ptr<StaticSaliencyFineGrained>

source§

impl StaticSaliencyConst for Ptr<StaticSaliencySpectralResidual>

source§

impl StaticSaliencyFineGrainedTrait for Ptr<StaticSaliencyFineGrained>

source§

fn as_raw_mut_StaticSaliencyFineGrained(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &dyn ToInputArray, saliency_map: &mut dyn ToOutputArray ) -> Result<bool>

source§

impl StaticSaliencyFineGrainedTraitConst for Ptr<StaticSaliencyFineGrained>

source§

impl StaticSaliencySpectralResidualTrait for Ptr<StaticSaliencySpectralResidual>

source§

fn as_raw_mut_StaticSaliencySpectralResidual(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &dyn ToInputArray, saliency_map: &mut dyn ToOutputArray ) -> Result<bool>

source§

fn read(&mut self, fn_: &FileNode) -> Result<()>

source§

fn set_image_width(&mut self, val: i32) -> Result<()>

source§

fn set_image_height(&mut self, val: i32) -> Result<()>

source§

impl StaticSaliencySpectralResidualTraitConst for Ptr<StaticSaliencySpectralResidual>

source§

impl StereoBM for Ptr<dyn CUDA_StereoBM>

source§

fn as_raw_mut_StereoBM(&mut self) -> *mut c_void

source§

fn set_pre_filter_type(&mut self, pre_filter_type: i32) -> Result<()>

source§

fn set_pre_filter_size(&mut self, pre_filter_size: i32) -> Result<()>

source§

fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>

source§

fn set_texture_threshold(&mut self, texture_threshold: i32) -> Result<()>

source§

fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>

source§

fn set_smaller_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_roi1(&mut self, roi1: Rect) -> Result<()>

source§

fn set_roi2(&mut self, roi2: Rect) -> Result<()>

source§

impl StereoBM for Ptr<dyn StereoBM>

source§

fn as_raw_mut_StereoBM(&mut self) -> *mut c_void

source§

fn set_pre_filter_type(&mut self, pre_filter_type: i32) -> Result<()>

source§

fn set_pre_filter_size(&mut self, pre_filter_size: i32) -> Result<()>

source§

fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>

source§

fn set_texture_threshold(&mut self, texture_threshold: i32) -> Result<()>

source§

fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>

source§

fn set_smaller_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_roi1(&mut self, roi1: Rect) -> Result<()>

source§

fn set_roi2(&mut self, roi2: Rect) -> Result<()>

source§

impl StereoBMConst for Ptr<dyn CUDA_StereoBM>

source§

impl StereoBMConst for Ptr<dyn StereoBM>

source§

impl StereoMatcher for Ptr<dyn CUDA_StereoBM>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &dyn ToInputArray, right: &dyn ToInputArray, disparity: &mut dyn ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcher for Ptr<dyn CUDA_StereoBeliefPropagation>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &dyn ToInputArray, right: &dyn ToInputArray, disparity: &mut dyn ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcher for Ptr<dyn CUDA_StereoConstantSpaceBP>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &dyn ToInputArray, right: &dyn ToInputArray, disparity: &mut dyn ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcher for Ptr<dyn CUDA_StereoSGM>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &dyn ToInputArray, right: &dyn ToInputArray, disparity: &mut dyn ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcher for Ptr<dyn StereoBM>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &dyn ToInputArray, right: &dyn ToInputArray, disparity: &mut dyn ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcher for Ptr<dyn StereoMatcher>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &dyn ToInputArray, right: &dyn ToInputArray, disparity: &mut dyn ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcher for Ptr<dyn StereoSGBM>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &dyn ToInputArray, right: &dyn ToInputArray, disparity: &mut dyn ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcherConst for Ptr<dyn CUDA_StereoBM>

source§

impl StereoMatcherConst for Ptr<dyn CUDA_StereoBeliefPropagation>

source§

impl StereoMatcherConst for Ptr<dyn CUDA_StereoConstantSpaceBP>

source§

impl StereoMatcherConst for Ptr<dyn CUDA_StereoSGM>

source§

impl StereoMatcherConst for Ptr<dyn StereoBM>

source§

impl StereoMatcherConst for Ptr<dyn StereoMatcher>

source§

impl StereoMatcherConst for Ptr<dyn StereoSGBM>

source§

impl StereoSGBM for Ptr<dyn CUDA_StereoSGM>

source§

fn as_raw_mut_StereoSGBM(&mut self) -> *mut c_void

source§

fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>

source§

fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>

source§

fn set_p1(&mut self, p1: i32) -> Result<()>

source§

fn set_p2(&mut self, p2: i32) -> Result<()>

source§

fn set_mode(&mut self, mode: i32) -> Result<()>

source§

impl StereoSGBM for Ptr<dyn StereoSGBM>

source§

fn as_raw_mut_StereoSGBM(&mut self) -> *mut c_void

source§

fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>

source§

fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>

source§

fn set_p1(&mut self, p1: i32) -> Result<()>

source§

fn set_p2(&mut self, p2: i32) -> Result<()>

source§

fn set_mode(&mut self, mode: i32) -> Result<()>

source§

impl StereoSGBMConst for Ptr<dyn CUDA_StereoSGM>

source§

impl StereoSGBMConst for Ptr<dyn StereoSGBM>

source§

impl StereographicWarperTrait for Ptr<StereographicWarper>

source§

impl StereographicWarperTraitConst for Ptr<StereographicWarper>

source§

impl StitcherTrait for Ptr<Stitcher>

source§

fn as_raw_mut_Stitcher(&mut self) -> *mut c_void

source§

fn set_registration_resol(&mut self, resol_mpx: f64) -> Result<()>

source§

fn set_seam_estimation_resol(&mut self, resol_mpx: f64) -> Result<()>

source§

fn set_compositing_resol(&mut self, resol_mpx: f64) -> Result<()>

source§

fn set_pano_confidence_thresh(&mut self, conf_thresh: f64) -> Result<()>

source§

fn set_wave_correction(&mut self, flag: bool) -> Result<()>

source§

fn set_interpolation_flags( &mut self, interp_flags: InterpolationFlags ) -> Result<()>

source§

fn set_wave_correct_kind(&mut self, kind: Detail_WaveCorrectKind) -> Result<()>

source§

fn features_finder_1(&mut self) -> Result<Ptr<Feature2D>>

source§

fn set_features_finder(&mut self, features_finder: Ptr<Feature2D>) -> Result<()>

source§

fn features_matcher_1(&mut self) -> Result<Ptr<dyn Detail_FeaturesMatcher>>

source§

fn set_features_matcher( &mut self, features_matcher: Ptr<dyn Detail_FeaturesMatcher> ) -> Result<()>

source§

fn set_matching_mask(&mut self, mask: &UMat) -> Result<()>

source§

fn bundle_adjuster_1(&mut self) -> Result<Ptr<dyn Detail_BundleAdjusterBase>>

source§

fn set_bundle_adjuster( &mut self, bundle_adjuster: Ptr<dyn Detail_BundleAdjusterBase> ) -> Result<()>

source§

fn estimator_1(&mut self) -> Result<Ptr<dyn Detail_Estimator>>

source§

fn set_estimator(&mut self, estimator: Ptr<dyn Detail_Estimator>) -> Result<()>

source§

fn warper_1(&mut self) -> Result<Ptr<dyn WarperCreator>>

source§

fn set_warper(&mut self, creator: Ptr<dyn WarperCreator>) -> Result<()>

source§

fn exposure_compensator_1( &mut self ) -> Result<Ptr<dyn Detail_ExposureCompensator>>

source§

fn set_exposure_compensator( &mut self, exposure_comp: Ptr<dyn Detail_ExposureCompensator> ) -> Result<()>

source§

fn seam_finder_1(&mut self) -> Result<Ptr<dyn Detail_SeamFinder>>

source§

fn set_seam_finder( &mut self, seam_finder: Ptr<dyn Detail_SeamFinder> ) -> Result<()>

source§

fn blender_1(&mut self) -> Result<Ptr<Detail_Blender>>

source§

fn set_blender(&mut self, b: Ptr<Detail_Blender>) -> Result<()>

source§

fn estimate_transform( &mut self, images: &dyn ToInputArray, masks: &dyn ToInputArray ) -> Result<Stitcher_Status>

These functions try to match the given images and to estimate rotations of each camera. Read more
source§

fn set_transform( &mut self, images: &dyn ToInputArray, cameras: &Vector<Detail_CameraParams>, component: &Vector<i32> ) -> Result<Stitcher_Status>

These function restors camera rotation and camera intrinsics of each camera that can be got with Stitcher::cameras call Read more
source§

fn set_transform_1( &mut self, images: &dyn ToInputArray, cameras: &Vector<Detail_CameraParams> ) -> Result<Stitcher_Status>

These function restors camera rotation and camera intrinsics of each camera that can be got with Stitcher::cameras call Read more
source§

fn compose_panorama( &mut self, pano: &mut dyn ToOutputArray ) -> Result<Stitcher_Status>

These functions try to compose the given images (or images stored internally from the other function calls) into the final pano under the assumption that the image transformations were estimated before. Read more
source§

fn compose_panorama_images( &mut self, images: &dyn ToInputArray, pano: &mut dyn ToOutputArray ) -> Result<Stitcher_Status>

These functions try to compose the given images (or images stored internally from the other function calls) into the final pano under the assumption that the image transformations were estimated before. Read more
source§

fn stitch( &mut self, images: &dyn ToInputArray, pano: &mut dyn ToOutputArray ) -> Result<Stitcher_Status>

These functions try to stitch the given images. Read more
source§

fn stitch_mask( &mut self, images: &dyn ToInputArray, masks: &dyn ToInputArray, pano: &mut dyn ToOutputArray ) -> Result<Stitcher_Status>

These functions try to stitch the given images. Read more
source§

impl StitcherTraitConst for Ptr<Stitcher>

source§

impl StructuredEdgeDetection for Ptr<dyn StructuredEdgeDetection>

source§

impl StructuredEdgeDetectionConst for Ptr<dyn StructuredEdgeDetection>

source§

fn as_raw_StructuredEdgeDetection(&self) -> *const c_void

source§

fn detect_edges( &self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

The function detects edges in src and draw them to dst. Read more
source§

fn compute_orientation( &self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

The function computes orientation from edge image. Read more
source§

fn edges_nms( &self, edge_image: &dyn ToInputArray, orientation_image: &dyn ToInputArray, dst: &mut dyn 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§

impl StructuredLightPattern for Ptr<dyn GrayCodePattern>

source§

fn as_raw_mut_StructuredLightPattern(&mut self) -> *mut c_void

source§

fn generate(&mut self, pattern_images: &mut dyn ToOutputArray) -> Result<bool>

Generates the structured light pattern to project. Read more
source§

impl StructuredLightPattern for Ptr<dyn SinusoidalPattern>

source§

fn as_raw_mut_StructuredLightPattern(&mut self) -> *mut c_void

source§

fn generate(&mut self, pattern_images: &mut dyn ToOutputArray) -> Result<bool>

Generates the structured light pattern to project. Read more
source§

impl StructuredLightPatternConst for Ptr<dyn GrayCodePattern>

source§

fn as_raw_StructuredLightPattern(&self) -> *const c_void

source§

fn decode( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut dyn ToOutputArray, black_images: &dyn ToInputArray, white_images: &dyn ToInputArray, flags: i32 ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
source§

impl StructuredLightPatternConst for Ptr<dyn SinusoidalPattern>

source§

fn as_raw_StructuredLightPattern(&self) -> *const c_void

source§

fn decode( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut dyn ToOutputArray, black_images: &dyn ToInputArray, white_images: &dyn ToInputArray, flags: i32 ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
source§

impl SuperpixelLSC for Ptr<dyn SuperpixelLSC>

source§

fn as_raw_mut_SuperpixelLSC(&mut self) -> *mut c_void

source§

fn iterate(&mut self, num_iterations: i32) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelLSC object. Read more
source§

fn enforce_label_connectivity(&mut self, min_element_size: i32) -> Result<()>

Enforce label connectivity. Read more
source§

impl SuperpixelLSCConst for Ptr<dyn SuperpixelLSC>

source§

fn as_raw_SuperpixelLSC(&self) -> *const c_void

source§

fn get_number_of_superpixels(&self) -> Result<i32>

Calculates the actual amount of superpixels on a given segmentation computed and stored in SuperpixelLSC object.
source§

fn get_labels(&self, labels_out: &mut dyn ToOutputArray) -> Result<()>

Returns the segmentation labeling of the image. Read more
source§

fn get_label_contour_mask( &self, image: &mut dyn ToOutputArray, thick_line: bool ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelLSC object. Read more
source§

impl SuperpixelSEEDS for Ptr<dyn SuperpixelSEEDS>

source§

fn as_raw_mut_SuperpixelSEEDS(&mut self) -> *mut c_void

source§

fn get_number_of_superpixels(&mut self) -> Result<i32>

Calculates the superpixel segmentation on a given image stored in SuperpixelSEEDS object. Read more
source§

fn iterate(&mut self, img: &dyn ToInputArray, num_iterations: i32) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelSEEDS object. Read more
source§

fn get_labels(&mut self, labels_out: &mut dyn ToOutputArray) -> Result<()>

Returns the segmentation labeling of the image. Read more
source§

fn get_label_contour_mask( &mut self, image: &mut dyn ToOutputArray, thick_line: bool ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelSEEDS object. Read more
source§

impl SuperpixelSEEDSConst for Ptr<dyn SuperpixelSEEDS>

source§

impl SuperpixelSLIC for Ptr<dyn SuperpixelSLIC>

source§

fn as_raw_mut_SuperpixelSLIC(&mut self) -> *mut c_void

source§

fn iterate(&mut self, num_iterations: i32) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelSLIC object. Read more
source§

fn enforce_label_connectivity(&mut self, min_element_size: i32) -> Result<()>

Enforce label connectivity. Read more
source§

impl SuperpixelSLICConst for Ptr<dyn SuperpixelSLIC>

source§

fn as_raw_SuperpixelSLIC(&self) -> *const c_void

source§

fn get_number_of_superpixels(&self) -> Result<i32>

Calculates the actual amount of superpixels on a given segmentation computed and stored in SuperpixelSLIC object.
source§

fn get_labels(&self, labels_out: &mut dyn ToOutputArray) -> Result<()>

Returns the segmentation labeling of the image. Read more
source§

fn get_label_contour_mask( &self, image: &mut dyn ToOutputArray, thick_line: bool ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelSLIC object. Read more
source§

impl Superres_BroxOpticalFlow for Ptr<dyn Superres_BroxOpticalFlow>

source§

fn as_raw_mut_Superres_BroxOpticalFlow(&mut self) -> *mut c_void

source§

fn set_alpha(&mut self, val: f64) -> Result<()>

Flow smoothness Read more
source§

fn set_gamma(&mut self, val: f64) -> Result<()>

Gradient constancy importance Read more
source§

fn set_scale_factor(&mut self, val: f64) -> Result<()>

Pyramid scale factor Read more
source§

fn set_inner_iterations(&mut self, val: i32) -> Result<()>

Number of lagged non-linearity iterations (inner loop) Read more
source§

fn set_outer_iterations(&mut self, val: i32) -> Result<()>

Number of warping iterations (number of pyramid levels) Read more
source§

fn set_solver_iterations(&mut self, val: i32) -> Result<()>

Number of linear system solver iterations Read more
source§

impl Superres_BroxOpticalFlowConst for Ptr<dyn Superres_BroxOpticalFlow>

source§

fn as_raw_Superres_BroxOpticalFlow(&self) -> *const c_void

source§

fn get_alpha(&self) -> Result<f64>

Flow smoothness Read more
source§

fn get_gamma(&self) -> Result<f64>

Gradient constancy importance Read more
source§

fn get_scale_factor(&self) -> Result<f64>

Pyramid scale factor Read more
source§

fn get_inner_iterations(&self) -> Result<i32>

Number of lagged non-linearity iterations (inner loop) Read more
source§

fn get_outer_iterations(&self) -> Result<i32>

Number of warping iterations (number of pyramid levels) Read more
source§

fn get_solver_iterations(&self) -> Result<i32>

Number of linear system solver iterations Read more
source§

impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_BroxOpticalFlow>

source§

fn as_raw_mut_Superres_DenseOpticalFlowExt(&mut self) -> *mut c_void

source§

fn calc( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, flow1: &mut dyn ToOutputArray, flow2: &mut dyn ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_DenseOpticalFlowExt>

source§

fn as_raw_mut_Superres_DenseOpticalFlowExt(&mut self) -> *mut c_void

source§

fn calc( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, flow1: &mut dyn ToOutputArray, flow2: &mut dyn ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_DualTVL1OpticalFlow>

source§

fn as_raw_mut_Superres_DenseOpticalFlowExt(&mut self) -> *mut c_void

source§

fn calc( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, flow1: &mut dyn ToOutputArray, flow2: &mut dyn ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_FarnebackOpticalFlow>

source§

fn as_raw_mut_Superres_DenseOpticalFlowExt(&mut self) -> *mut c_void

source§

fn calc( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, flow1: &mut dyn ToOutputArray, flow2: &mut dyn ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_PyrLKOpticalFlow>

source§

fn as_raw_mut_Superres_DenseOpticalFlowExt(&mut self) -> *mut c_void

source§

fn calc( &mut self, frame0: &dyn ToInputArray, frame1: &dyn ToInputArray, flow1: &mut dyn ToOutputArray, flow2: &mut dyn ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_BroxOpticalFlow>

source§

impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_DenseOpticalFlowExt>

source§

impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_DualTVL1OpticalFlow>

source§

impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_FarnebackOpticalFlow>

source§

impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_PyrLKOpticalFlow>

source§

impl Superres_DualTVL1OpticalFlow for Ptr<dyn Superres_DualTVL1OpticalFlow>

source§

fn as_raw_mut_Superres_DualTVL1OpticalFlow(&mut self) -> *mut c_void

source§

fn set_tau(&mut self, val: f64) -> Result<()>

See also Read more
source§

fn set_lambda(&mut self, val: f64) -> Result<()>

See also Read more
source§

fn set_theta(&mut self, val: f64) -> Result<()>

See also Read more
source§

fn set_scales_number(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_warpings_number(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_epsilon(&mut self, val: f64) -> Result<()>

See also Read more
source§

fn set_iterations(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_use_initial_flow(&mut self, val: bool) -> Result<()>

See also Read more
source§

impl Superres_DualTVL1OpticalFlowConst for Ptr<dyn Superres_DualTVL1OpticalFlow>

source§

impl Superres_FarnebackOpticalFlow for Ptr<dyn Superres_FarnebackOpticalFlow>

source§

fn as_raw_mut_Superres_FarnebackOpticalFlow(&mut self) -> *mut c_void

source§

fn set_pyr_scale(&mut self, val: f64) -> Result<()>

See also Read more
source§

fn set_levels_number(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_window_size(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_iterations(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_poly_n(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_poly_sigma(&mut self, val: f64) -> Result<()>

See also Read more
source§

fn set_flags(&mut self, val: i32) -> Result<()>

See also Read more
source§

impl Superres_FarnebackOpticalFlowConst for Ptr<dyn Superres_FarnebackOpticalFlow>

source§

impl Superres_FrameSource for Ptr<dyn Superres_FrameSource>

source§

fn as_raw_mut_Superres_FrameSource(&mut self) -> *mut c_void

source§

fn next_frame(&mut self, frame: &mut dyn ToOutputArray) -> Result<()>

source§

fn reset(&mut self) -> Result<()>

source§

impl Superres_FrameSource for Ptr<dyn Superres_SuperResolution>

source§

fn as_raw_mut_Superres_FrameSource(&mut self) -> *mut c_void

source§

fn next_frame(&mut self, frame: &mut dyn ToOutputArray) -> Result<()>

source§

fn reset(&mut self) -> Result<()>

source§

impl Superres_FrameSourceConst for Ptr<dyn Superres_FrameSource>

source§

impl Superres_FrameSourceConst for Ptr<dyn Superres_SuperResolution>

source§

impl Superres_PyrLKOpticalFlow for Ptr<dyn Superres_PyrLKOpticalFlow>

source§

fn as_raw_mut_Superres_PyrLKOpticalFlow(&mut self) -> *mut c_void

source§

fn set_window_size(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_max_level(&mut self, val: i32) -> Result<()>

See also Read more
source§

fn set_iterations(&mut self, val: i32) -> Result<()>

See also Read more
source§

impl Superres_PyrLKOpticalFlowConst for Ptr<dyn Superres_PyrLKOpticalFlow>

source§

impl Superres_SuperResolution for Ptr<dyn Superres_SuperResolution>

source§

fn as_raw_mut_Superres_SuperResolution(&mut self) -> *mut c_void

source§

fn set_input( &mut self, frame_source: &Ptr<dyn Superres_FrameSource> ) -> Result<()>

Set input frame source for Super Resolution algorithm. Read more
source§

fn next_frame(&mut self, frame: &mut dyn ToOutputArray) -> Result<()>

Process next frame from input and return output result. Read more
source§

fn reset(&mut self) -> Result<()>

source§

fn collect_garbage(&mut self) -> Result<()>

Clear all inner buffers.
source§

fn set_scale(&mut self, val: i32) -> Result<()>

Scale factor Read more
source§

fn set_iterations(&mut self, val: i32) -> Result<()>

Iterations count Read more
source§

fn set_tau(&mut self, val: f64) -> Result<()>

Asymptotic value of steepest descent method Read more
source§

fn set_lambda(&mut self, val: f64) -> Result<()>

Weight parameter to balance data term and smoothness term Read more
source§

fn set_alpha(&mut self, val: f64) -> Result<()>

Parameter of spacial distribution in Bilateral-TV Read more
source§

fn set_kernel_size(&mut self, val: i32) -> Result<()>

Kernel size of Bilateral-TV filter Read more
source§

fn set_blur_kernel_size(&mut self, val: i32) -> Result<()>

Gaussian blur kernel size Read more
source§

fn set_blur_sigma(&mut self, val: f64) -> Result<()>

Gaussian blur sigma Read more
source§

fn set_temporal_area_radius(&mut self, val: i32) -> Result<()>

Radius of the temporal search area Read more
source§

fn set_optical_flow( &mut self, val: &Ptr<dyn Superres_DenseOpticalFlowExt> ) -> Result<()>

Dense optical flow algorithm Read more
source§

impl Superres_SuperResolutionConst for Ptr<dyn Superres_SuperResolution>

source§

fn as_raw_Superres_SuperResolution(&self) -> *const c_void

source§

fn get_scale(&self) -> Result<i32>

Scale factor Read more
source§

fn get_iterations(&self) -> Result<i32>

Iterations count Read more
source§

fn get_tau(&self) -> Result<f64>

Asymptotic value of steepest descent method Read more
source§

fn get_lambda(&self) -> Result<f64>

Weight parameter to balance data term and smoothness term Read more
source§

fn get_alpha(&self) -> Result<f64>

Parameter of spacial distribution in Bilateral-TV Read more
source§

fn get_kernel_size(&self) -> Result<i32>

Kernel size of Bilateral-TV filter Read more
source§

fn get_blur_kernel_size(&self) -> Result<i32>

Gaussian blur kernel size Read more
source§

fn get_blur_sigma(&self) -> Result<f64>

Gaussian blur sigma Read more
source§

fn get_temporal_area_radius(&self) -> Result<i32>

Radius of the temporal search area Read more
source§

fn get_optical_flow(&self) -> Result<Ptr<dyn Superres_DenseOpticalFlowExt>>

Dense optical flow algorithm Read more
source§

impl SwishLayerTrait for Ptr<SwishLayer>

source§

impl SwishLayerTraitConst for Ptr<SwishLayer>

source§

impl SyntheticSequenceGeneratorTrait for Ptr<SyntheticSequenceGenerator>

source§

fn as_raw_mut_SyntheticSequenceGenerator(&mut self) -> *mut c_void

source§

fn get_next_frame( &mut self, frame: &mut dyn ToOutputArray, gt_mask: &mut dyn ToOutputArray ) -> Result<()>

Obtain the next frame in the sequence. Read more
source§

impl SyntheticSequenceGeneratorTraitConst for Ptr<SyntheticSequenceGenerator>

source§

impl TBMR for Ptr<dyn TBMR>

source§

fn as_raw_mut_TBMR(&mut self) -> *mut c_void

source§

fn set_min_area(&mut self, min_area: i32) -> Result<()>

source§

fn set_max_area_relative(&mut self, max_area: f32) -> Result<()>

source§

fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>

source§

fn set_n_scales(&mut self, n_scales: i32) -> Result<()>

source§

impl TBMRConst for Ptr<dyn TBMR>

source§

impl TEBLIDTrait for Ptr<TEBLID>

source§

impl TEBLIDTraitConst for Ptr<TEBLID>

source§

impl TanHLayerTrait for Ptr<TanHLayer>

source§

impl TanHLayerTraitConst for Ptr<TanHLayer>

source§

impl TanLayerTrait for Ptr<TanLayer>

source§

impl TanLayerTraitConst for Ptr<TanLayer>

source§

impl TextDetector for Ptr<dyn TextDetectorCNN>

source§

fn as_raw_mut_TextDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, input_image: &dyn ToInputArray, bbox: &mut Vector<Rect>, confidence: &mut Vector<f32> ) -> Result<()>

Method that provides a quick and simple interface to detect text inside an image Read more
source§

impl TextDetectorCNN for Ptr<dyn TextDetectorCNN>

source§

fn as_raw_mut_TextDetectorCNN(&mut self) -> *mut c_void

source§

fn detect( &mut self, input_image: &dyn ToInputArray, bbox: &mut Vector<Rect>, confidence: &mut Vector<f32> ) -> Result<()>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
source§

impl TextDetectorCNNConst for Ptr<dyn TextDetectorCNN>

source§

impl TextDetectorConst for Ptr<dyn TextDetectorCNN>

source§

impl ThinPlateSplineShapeTransformer for Ptr<dyn ThinPlateSplineShapeTransformer>

source§

fn as_raw_mut_ThinPlateSplineShapeTransformer(&mut self) -> *mut c_void

source§

fn set_regularization_parameter(&mut self, beta: f64) -> Result<()>

Set the regularization parameter for relaxing the exact interpolation requirements of the TPS algorithm. Read more
source§

impl ThinPlateSplineShapeTransformerConst for Ptr<dyn ThinPlateSplineShapeTransformer>

source§

impl ThresholdedReluLayerTrait for Ptr<ThresholdedReluLayer>

source§

impl ThresholdedReluLayerTraitConst for Ptr<ThresholdedReluLayer>

source§

impl TileLayerTrait for Ptr<TileLayer>

source§

impl TileLayerTraitConst for Ptr<TileLayer>

source§

impl ToFileMotionWriterTrait for Ptr<ToFileMotionWriter>

source§

fn as_raw_mut_ToFileMotionWriter(&mut self) -> *mut c_void

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>

source§

fn estimate(&mut self, frame0: &Mat, frame1: &Mat, ok: &mut bool) -> Result<Mat>

C++ default parameters Read more
source§

impl ToFileMotionWriterTraitConst for Ptr<ToFileMotionWriter>

source§

impl Tonemap for Ptr<dyn Tonemap>

source§

fn as_raw_mut_Tonemap(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Tonemaps image Read more
source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

source§

impl Tonemap for Ptr<dyn TonemapDrago>

source§

fn as_raw_mut_Tonemap(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Tonemaps image Read more
source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

source§

impl Tonemap for Ptr<dyn TonemapDurand>

source§

fn as_raw_mut_Tonemap(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Tonemaps image Read more
source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

source§

impl Tonemap for Ptr<dyn TonemapMantiuk>

source§

fn as_raw_mut_Tonemap(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Tonemaps image Read more
source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

source§

impl Tonemap for Ptr<dyn TonemapReinhard>

source§

fn as_raw_mut_Tonemap(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Tonemaps image Read more
source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

source§

impl TonemapConst for Ptr<dyn Tonemap>

source§

impl TonemapConst for Ptr<dyn TonemapDrago>

source§

impl TonemapConst for Ptr<dyn TonemapDurand>

source§

impl TonemapConst for Ptr<dyn TonemapMantiuk>

source§

impl TonemapConst for Ptr<dyn TonemapReinhard>

source§

impl TonemapDrago for Ptr<dyn TonemapDrago>

source§

fn as_raw_mut_TonemapDrago(&mut self) -> *mut c_void

source§

fn set_saturation(&mut self, saturation: f32) -> Result<()>

source§

fn set_bias(&mut self, bias: f32) -> Result<()>

source§

impl TonemapDragoConst for Ptr<dyn TonemapDrago>

source§

impl TonemapDurand for Ptr<dyn TonemapDurand>

source§

fn as_raw_mut_TonemapDurand(&mut self) -> *mut c_void

source§

fn set_saturation(&mut self, saturation: f32) -> Result<()>

source§

fn set_contrast(&mut self, contrast: f32) -> Result<()>

source§

fn set_sigma_space(&mut self, sigma_space: f32) -> Result<()>

source§

fn set_sigma_color(&mut self, sigma_color: f32) -> Result<()>

source§

impl TonemapDurandConst for Ptr<dyn TonemapDurand>

source§

impl TonemapMantiuk for Ptr<dyn TonemapMantiuk>

source§

fn as_raw_mut_TonemapMantiuk(&mut self) -> *mut c_void

source§

fn set_scale(&mut self, scale: f32) -> Result<()>

source§

fn set_saturation(&mut self, saturation: f32) -> Result<()>

source§

impl TonemapMantiukConst for Ptr<dyn TonemapMantiuk>

source§

impl TonemapReinhard for Ptr<dyn TonemapReinhard>

source§

fn as_raw_mut_TonemapReinhard(&mut self) -> *mut c_void

source§

fn set_intensity(&mut self, intensity: f32) -> Result<()>

source§

fn set_light_adaptation(&mut self, light_adapt: f32) -> Result<()>

source§

fn set_color_adaptation(&mut self, color_adapt: f32) -> Result<()>

source§

impl TonemapReinhardConst for Ptr<dyn TonemapReinhard>

source§

impl Tracker for Ptr<dyn OLSTracker>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn compute( &mut self, img: &dyn ToInputArray, num: i32, len: i32, k: &dyn ToInputArray, rvec: &mut dyn ToInputOutputArray, tvec: &mut dyn ToInputOutputArray, termcrit: TermCriteria ) -> Result<f32>

C++ default parameters Read more
source§

fn clear_state(&mut self) -> Result<()>

source§

impl Tracker for Ptr<dyn Rapid>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn compute( &mut self, img: &dyn ToInputArray, num: i32, len: i32, k: &dyn ToInputArray, rvec: &mut dyn ToInputOutputArray, tvec: &mut dyn ToInputOutputArray, termcrit: TermCriteria ) -> Result<f32>

C++ default parameters Read more
source§

fn clear_state(&mut self) -> Result<()>

source§

impl Tracker for Ptr<dyn TrackerCSRT>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &dyn ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &dyn ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl Tracker for Ptr<dyn TrackerDaSiamRPN>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &dyn ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &dyn ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl Tracker for Ptr<dyn TrackerGOTURN>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &dyn ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &dyn ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl Tracker for Ptr<dyn TrackerKCF>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &dyn ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &dyn ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl Tracker for Ptr<dyn TrackerMIL>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &dyn ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &dyn ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl Tracker for Ptr<dyn TrackerNano>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &dyn ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &dyn ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl TrackerCSRT for Ptr<dyn TrackerCSRT>

source§

impl TrackerCSRTConst for Ptr<dyn TrackerCSRT>

source§

impl TrackerConst for Ptr<dyn OLSTracker>

source§

impl TrackerConst for Ptr<dyn Rapid>

source§

impl TrackerConst for Ptr<dyn TrackerCSRT>

source§

impl TrackerConst for Ptr<dyn TrackerDaSiamRPN>

source§

impl TrackerConst for Ptr<dyn TrackerGOTURN>

source§

impl TrackerConst for Ptr<dyn TrackerKCF>

source§

impl TrackerConst for Ptr<dyn TrackerMIL>

source§

impl TrackerConst for Ptr<dyn TrackerNano>

source§

impl TrackerDaSiamRPN for Ptr<dyn TrackerDaSiamRPN>

source§

fn as_raw_mut_TrackerDaSiamRPN(&mut self) -> *mut c_void

source§

fn get_tracking_score(&mut self) -> Result<f32>

Return tracking score
source§

impl TrackerDaSiamRPNConst for Ptr<dyn TrackerDaSiamRPN>

source§

impl TrackerGOTURN for Ptr<dyn TrackerGOTURN>

source§

impl TrackerGOTURNConst for Ptr<dyn TrackerGOTURN>

source§

impl TrackerKCF for Ptr<dyn TrackerKCF>

source§

fn as_raw_mut_TrackerKCF(&mut self) -> *mut c_void

source§

fn set_feature_extractor( &mut self, callback: TrackerKCF_FeatureExtractorCallbackFN, pca_func: bool ) -> Result<()>

C++ default parameters Read more
source§

impl TrackerKCFConst for Ptr<dyn TrackerKCF>

source§

impl TrackerMIL for Ptr<dyn TrackerMIL>

source§

impl TrackerMILConst for Ptr<dyn TrackerMIL>

source§

impl TrackerNano for Ptr<dyn TrackerNano>

source§

fn as_raw_mut_TrackerNano(&mut self) -> *mut c_void

source§

fn get_tracking_score(&mut self) -> Result<f32>

Return tracking score
source§

impl TrackerNanoConst for Ptr<dyn TrackerNano>

source§

impl TrainData for Ptr<dyn TrainData>

source§

fn as_raw_mut_TrainData(&mut self) -> *mut c_void

source§

fn set_train_test_split(&mut self, count: i32, shuffle: bool) -> Result<()>

Splits the training data into the training and test parts Read more
source§

fn set_train_test_split_ratio( &mut self, ratio: f64, shuffle: bool ) -> Result<()>

Splits the training data into the training and test parts Read more
source§

fn shuffle_train_test(&mut self) -> Result<()>

source§

impl TrainDataConst for Ptr<dyn TrainData>

source§

fn as_raw_TrainData(&self) -> *const c_void

source§

fn get_layout(&self) -> Result<i32>

source§

fn get_n_train_samples(&self) -> Result<i32>

source§

fn get_n_test_samples(&self) -> Result<i32>

source§

fn get_n_samples(&self) -> Result<i32>

source§

fn get_n_vars(&self) -> Result<i32>

source§

fn get_n_all_vars(&self) -> Result<i32>

source§

fn get_sample( &self, var_idx: &dyn ToInputArray, sidx: i32, buf: &mut f32 ) -> Result<()>

source§

fn get_samples(&self) -> Result<Mat>

source§

fn get_missing(&self) -> Result<Mat>

source§

fn get_train_samples( &self, layout: i32, compress_samples: bool, compress_vars: bool ) -> Result<Mat>

Returns matrix of train samples Read more
source§

fn get_train_responses(&self) -> Result<Mat>

Returns the vector of responses Read more
source§

fn get_train_norm_cat_responses(&self) -> Result<Mat>

Returns the vector of normalized categorical responses Read more
source§

fn get_test_responses(&self) -> Result<Mat>

source§

fn get_test_norm_cat_responses(&self) -> Result<Mat>

source§

fn get_responses(&self) -> Result<Mat>

source§

fn get_norm_cat_responses(&self) -> Result<Mat>

source§

fn get_sample_weights(&self) -> Result<Mat>

source§

fn get_train_sample_weights(&self) -> Result<Mat>

source§

fn get_test_sample_weights(&self) -> Result<Mat>

source§

fn get_var_idx(&self) -> Result<Mat>

source§

fn get_var_type(&self) -> Result<Mat>

source§

fn get_var_symbol_flags(&self) -> Result<Mat>

source§

fn get_response_type(&self) -> Result<i32>

source§

fn get_train_sample_idx(&self) -> Result<Mat>

source§

fn get_test_sample_idx(&self) -> Result<Mat>

source§

fn get_values( &self, vi: i32, sidx: &dyn ToInputArray, values: &mut f32 ) -> Result<()>

source§

fn get_norm_cat_values( &self, vi: i32, sidx: &dyn ToInputArray, values: &mut i32 ) -> Result<()>

source§

fn get_default_subst_values(&self) -> Result<Mat>

source§

fn get_cat_count(&self, vi: i32) -> Result<i32>

source§

fn get_class_labels(&self) -> Result<Mat>

Returns the vector of class labels Read more
source§

fn get_cat_ofs(&self) -> Result<Mat>

source§

fn get_cat_map(&self) -> Result<Mat>

source§

fn get_test_samples(&self) -> Result<Mat>

Returns matrix of test samples
source§

fn get_names(&self, names: &mut Vector<String>) -> Result<()>

Returns vector of symbolic names captured in loadFromCSV()
source§

impl TransientAreasSegmentationModule for Ptr<dyn TransientAreasSegmentationModule>

source§

fn as_raw_mut_TransientAreasSegmentationModule(&mut self) -> *mut c_void

source§

fn get_size(&mut self) -> Result<Size>

return the sze of the manage input and output images
source§

fn setup_from_file( &mut self, segmentation_parameter_file: &str, apply_default_setup_on_failure: bool ) -> Result<()>

try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
source§

fn setup_from_storage( &mut self, fs: &mut FileStorage, apply_default_setup_on_failure: bool ) -> Result<()>

try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
source§

fn setup(&mut self, new_parameters: SegmentationParameters) -> Result<()>

try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
source§

fn get_parameters(&mut self) -> Result<SegmentationParameters>

return the current parameters setup
source§

fn print_setup(&mut self) -> Result<String>

parameters setup display method Read more
source§

fn run( &mut self, input_to_segment: &dyn ToInputArray, channel_index: i32 ) -> Result<()>

main processing method, get result using methods getSegmentationPicture() Read more
source§

fn get_segmentation_picture( &mut self, transient_areas: &mut dyn ToOutputArray ) -> Result<()>

access function return the last segmentation result: a boolean picture which is resampled between 0 and 255 for a display purpose
source§

fn clear_all_buffers(&mut self) -> Result<()>

cleans all the buffers of the instance
source§

impl TransientAreasSegmentationModuleConst for Ptr<dyn TransientAreasSegmentationModule>

source§

fn as_raw_TransientAreasSegmentationModule(&self) -> *const c_void

source§

fn write(&self, fs: &str) -> Result<()>

write xml/yml formated parameters information Read more
source§

fn write_to_storage(&self, fs: &mut FileStorage) -> Result<()>

write xml/yml formated parameters information Read more
source§

impl TranslationBasedLocalOutlierRejectorTrait for Ptr<TranslationBasedLocalOutlierRejector>

source§

fn as_raw_mut_TranslationBasedLocalOutlierRejector(&mut self) -> *mut c_void

source§

fn set_cell_size(&mut self, val: Size) -> Result<()>

source§

fn set_ransac_params(&mut self, val: RansacParams) -> Result<()>

source§

fn process( &mut self, frame_size: Size, points0: &dyn ToInputArray, points1: &dyn ToInputArray, mask: &mut dyn ToOutputArray ) -> Result<()>

source§

impl TranslationBasedLocalOutlierRejectorTraitConst for Ptr<TranslationBasedLocalOutlierRejector>

source§

impl TransverseMercatorWarperTrait for Ptr<TransverseMercatorWarper>

source§

impl TransverseMercatorWarperTraitConst for Ptr<TransverseMercatorWarper>

source§

impl TwoPassStabilizerTrait for Ptr<TwoPassStabilizer>

source§

impl TwoPassStabilizerTraitConst for Ptr<TwoPassStabilizer>

source§

impl VGG for Ptr<dyn VGG>

source§

fn as_raw_mut_VGG(&mut self) -> *mut c_void

source§

fn set_sigma(&mut self, isigma: f32) -> Result<()>

source§

fn set_use_normalize_image(&mut self, img_normalize: bool) -> Result<()>

source§

fn set_use_scale_orientation( &mut self, use_scale_orientation: bool ) -> Result<()>

source§

fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>

source§

fn set_use_normalize_descriptor(&mut self, dsc_normalize: bool) -> Result<()>

source§

impl VGGConst for Ptr<dyn VGG>

source§

impl VariationalRefinement for Ptr<dyn VariationalRefinement>

source§

fn as_raw_mut_VariationalRefinement(&mut self) -> *mut c_void

source§

fn calc_uv( &mut self, i0: &dyn ToInputArray, i1: &dyn ToInputArray, flow_u: &mut dyn ToInputOutputArray, flow_v: &mut dyn ToInputOutputArray ) -> Result<()>

[calc] function overload to handle separate horizontal (u) and vertical (v) flow components (to avoid extra splits/merges)
source§

fn set_fixed_point_iterations(&mut self, val: i32) -> Result<()>

Number of outer (fixed-point) iterations in the minimization procedure. Read more
source§

fn set_sor_iterations(&mut self, val: i32) -> Result<()>

Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system. Read more
source§

fn set_omega(&mut self, val: f32) -> Result<()>

Relaxation factor in SOR Read more
source§

fn set_alpha(&mut self, val: f32) -> Result<()>

Weight of the smoothness term Read more
source§

fn set_delta(&mut self, val: f32) -> Result<()>

Weight of the color constancy term Read more
source§

fn set_gamma(&mut self, val: f32) -> Result<()>

Weight of the gradient constancy term Read more
source§

impl VariationalRefinementConst for Ptr<dyn VariationalRefinement>

source§

fn as_raw_VariationalRefinement(&self) -> *const c_void

source§

fn get_fixed_point_iterations(&self) -> Result<i32>

Number of outer (fixed-point) iterations in the minimization procedure. Read more
source§

fn get_sor_iterations(&self) -> Result<i32>

Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system. Read more
source§

fn get_omega(&self) -> Result<f32>

Relaxation factor in SOR Read more
source§

fn get_alpha(&self) -> Result<f32>

Weight of the smoothness term Read more
source§

fn get_delta(&self) -> Result<f32>

Weight of the color constancy term Read more
source§

fn get_gamma(&self) -> Result<f32>

Weight of the gradient constancy term Read more
source§

impl VideoFileSourceTrait for Ptr<VideoFileSource>

source§

fn as_raw_mut_VideoFileSource(&mut self) -> *mut c_void

source§

fn reset(&mut self) -> Result<()>

source§

fn next_frame(&mut self) -> Result<Mat>

source§

fn width(&mut self) -> Result<i32>

source§

fn height(&mut self) -> Result<i32>

source§

fn count(&mut self) -> Result<i32>

source§

fn fps(&mut self) -> Result<f64>

source§

impl VideoFileSourceTraitConst for Ptr<VideoFileSource>

source§

impl VideoReader for Ptr<dyn VideoReader>

source§

fn as_raw_mut_VideoReader(&mut self) -> *mut c_void

source§

fn next_frame( &mut self, frame: &mut GpuMat, stream: &mut Stream ) -> Result<bool>

Grabs, decodes and returns the next video frame. Read more
source§

fn grab(&mut self, stream: &mut Stream) -> Result<bool>

Grabs the next frame from the video source. Read more
source§

fn set( &mut self, property_id: VideoReaderProps, property_val: f64 ) -> Result<bool>

Sets a property in the VideoReader. Read more
source§

fn set_video_reader_props( &mut self, property_id: VideoReaderProps, property_val: f64 ) -> Result<bool>

source§

fn set_1(&mut self, color_format: ColorFormat) -> Result<bool>

Set the desired ColorFormat for the frame returned by nextFrame()/retrieve(). Read more
source§

impl VideoReaderConst for Ptr<dyn VideoReader>

source§

fn as_raw_VideoReader(&self) -> *const c_void

source§

fn format(&self) -> Result<FormatInfo>

Returns information about video file format.
source§

fn retrieve(&self, frame: &mut dyn ToOutputArray, idx: size_t) -> Result<bool>

Returns previously grabbed video data. Read more
source§

fn retrieve_1(&self, frame: &mut Mat, idx: size_t) -> Result<bool>

Returns previously grabbed encoded video data. Read more
source§

fn retrieve_2(&self, frame: &mut GpuMat) -> Result<bool>

Returns the next video frame. Read more
source§

fn get( &self, property_id: VideoReaderProps, property_val: &mut f64 ) -> Result<bool>

Returns the specified VideoReader property Read more
source§

fn get_video_reader_props( &self, property_id: VideoReaderProps, property_val_out: &mut f64, property_val_in: f64 ) -> Result<bool>

C++ default parameters Read more
source§

fn get_1(&self, property_id: i32, property_val: &mut f64) -> Result<bool>

Retrieves the specified property used by the VideoSource. Read more
source§

impl VideoWriter for Ptr<dyn VideoWriter>

source§

fn as_raw_mut_VideoWriter(&mut self) -> *mut c_void

source§

fn write(&mut self, frame: &dyn ToInputArray) -> Result<()>

Writes the next video frame. Read more
source§

fn release(&mut self) -> Result<()>

Waits until the encoding process has finished before calling EncoderCallback::onEncodingFinished().
source§

impl VideoWriterConst for Ptr<dyn VideoWriter>

source§

fn as_raw_VideoWriter(&self) -> *const c_void

source§

fn get_encoder_params(&self) -> Result<EncoderParams>

Retrieve the encoding parameters.
source§

impl WBDetector for Ptr<dyn WBDetector>

source§

fn as_raw_mut_WBDetector(&mut self) -> *mut c_void

source§

fn read(&mut self, node: &FileNode) -> Result<()>

Read detector from FileNode. Read more
source§

fn train(&mut self, pos_samples: &str, neg_imgs: &str) -> Result<()>

Train WaldBoost detector Read more
source§

fn detect( &mut self, img: &Mat, bboxes: &mut Vector<Rect>, confidences: &mut Vector<f64> ) -> Result<()>

Detect objects on image using WaldBoost detector Read more
source§

impl WBDetectorConst for Ptr<dyn WBDetector>

source§

fn as_raw_WBDetector(&self) -> *const c_void

source§

fn write(&self, fs: &mut FileStorage) -> Result<()>

Write detector to FileStorage. Read more
source§

impl WarperCreator for Ptr<AffineWarper>

source§

impl WarperCreator for Ptr<CompressedRectilinearPortraitWarper>

source§

impl WarperCreator for Ptr<CompressedRectilinearWarper>

source§

impl WarperCreator for Ptr<CylindricalWarper>

source§

impl WarperCreator for Ptr<CylindricalWarperGpu>

source§

impl WarperCreator for Ptr<FisheyeWarper>

source§

impl WarperCreator for Ptr<MercatorWarper>

source§

impl WarperCreator for Ptr<PaniniPortraitWarper>

source§

impl WarperCreator for Ptr<PaniniWarper>

source§

impl WarperCreator for Ptr<PlaneWarper>

source§

impl WarperCreator for Ptr<PlaneWarperGpu>

source§

impl WarperCreator for Ptr<SphericalWarper>

source§

impl WarperCreator for Ptr<SphericalWarperGpu>

source§

impl WarperCreator for Ptr<StereographicWarper>

source§

impl WarperCreator for Ptr<TransverseMercatorWarper>

source§

impl WarperCreator for Ptr<dyn WarperCreator>

source§

impl WarperCreatorConst for Ptr<AffineWarper>

source§

impl WarperCreatorConst for Ptr<CompressedRectilinearPortraitWarper>

source§

impl WarperCreatorConst for Ptr<CompressedRectilinearWarper>

source§

impl WarperCreatorConst for Ptr<CylindricalWarper>

source§

impl WarperCreatorConst for Ptr<CylindricalWarperGpu>

source§

impl WarperCreatorConst for Ptr<FisheyeWarper>

source§

impl WarperCreatorConst for Ptr<MercatorWarper>

source§

impl WarperCreatorConst for Ptr<PaniniPortraitWarper>

source§

impl WarperCreatorConst for Ptr<PaniniWarper>

source§

impl WarperCreatorConst for Ptr<PlaneWarper>

source§

impl WarperCreatorConst for Ptr<PlaneWarperGpu>

source§

impl WarperCreatorConst for Ptr<SphericalWarper>

source§

impl WarperCreatorConst for Ptr<SphericalWarperGpu>

source§

impl WarperCreatorConst for Ptr<StereographicWarper>

source§

impl WarperCreatorConst for Ptr<TransverseMercatorWarper>

source§

impl WarperCreatorConst for Ptr<dyn WarperCreator>

source§

impl WeightingDeblurerTrait for Ptr<WeightingDeblurer>

source§

fn as_raw_mut_WeightingDeblurer(&mut self) -> *mut c_void

source§

fn set_sensitivity(&mut self, val: f32) -> Result<()>

source§

fn deblur(&mut self, idx: i32, frame: &mut Mat, range: &Range) -> Result<()>

source§

impl WeightingDeblurerTraitConst for Ptr<WeightingDeblurer>

source§

impl WhiteBalancer for Ptr<dyn GrayworldWB>

source§

fn as_raw_mut_WhiteBalancer(&mut self) -> *mut c_void

source§

fn balance_white( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Applies white balancing to the input image Read more
source§

impl WhiteBalancer for Ptr<dyn LearningBasedWB>

source§

fn as_raw_mut_WhiteBalancer(&mut self) -> *mut c_void

source§

fn balance_white( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Applies white balancing to the input image Read more
source§

impl WhiteBalancer for Ptr<dyn SimpleWB>

source§

fn as_raw_mut_WhiteBalancer(&mut self) -> *mut c_void

source§

fn balance_white( &mut self, src: &dyn ToInputArray, dst: &mut dyn ToOutputArray ) -> Result<()>

Applies white balancing to the input image Read more
source§

impl WhiteBalancerConst for Ptr<dyn GrayworldWB>

source§

impl WhiteBalancerConst for Ptr<dyn LearningBasedWB>

source§

impl WhiteBalancerConst for Ptr<dyn SimpleWB>

source§

impl WindowScene for Ptr<dyn WindowScene>

source§

fn as_raw_mut_WindowScene(&mut self) -> *mut c_void

source§

fn set_background(&mut self, image: &dyn ToInputArray) -> Result<()>

set window background to custom image/ color Read more
source§

fn set_background_color(&mut self, color: Scalar) -> Result<()>

set window background to custom image/ color Read more
source§

fn set_compositors(&mut self, names: &Vector<String>) -> Result<()>

enable an ordered chain of full-screen post processing effects Read more
source§

fn create_entity( &mut self, name: &str, meshname: &str, tvec: &dyn ToInputArray, rot: &dyn ToInputArray ) -> Result<()>

place an entity of a mesh in the scene Read more
source§

fn remove_entity(&mut self, name: &str) -> Result<()>

remove an entity from the scene Read more
source§

fn set_entity_property( &mut self, name: &str, prop: i32, value: &str, sub_entity_idx: i32 ) -> Result<()>

set the property of an entity to the given value Read more
source§

fn set_entity_property_1( &mut self, name: &str, prop: i32, value: Scalar ) -> Result<()>

set the property of an entity to the given value Read more
source§

fn get_entity_property( &mut self, name: &str, prop: i32, value: &mut dyn ToOutputArray ) -> Result<()>

get the property of an entity Read more
source§

fn create_camera_entity( &mut self, name: &str, k: &dyn ToInputArray, imsize: Size, z_far: f32, tvec: &dyn ToInputArray, rot: &dyn ToInputArray, color: Scalar ) -> Result<Rect2d>

convenience method to visualize a camera position Read more
source§

fn create_light_entity( &mut self, name: &str, tvec: &dyn ToInputArray, rot: &dyn ToInputArray, diffuse_color: Scalar, specular_color: Scalar ) -> Result<()>

creates a point light in the scene Read more
source§

fn update_entity_pose( &mut self, name: &str, tvec: &dyn ToInputArray, rot: &dyn ToInputArray ) -> Result<()>

update entity pose by transformation in the parent coordinate space. (pre-rotation) Read more
source§

fn set_entity_pose( &mut self, name: &str, tvec: &dyn ToInputArray, rot: &dyn ToInputArray, invert: bool ) -> Result<()>

set entity pose in the world coordinate space. Read more
source§

fn get_entity_pose( &mut self, name: &str, r: &mut dyn ToOutputArray, tvec: &mut dyn ToOutputArray, invert: bool ) -> Result<()>

Retrieves the current pose of an entity Read more
source§

fn get_entity_animations( &mut self, name: &str, out: &mut Vector<String> ) -> Result<()>

get a list of available entity animations Read more
source§

fn play_entity_animation( &mut self, name: &str, animname: &str, loop_: bool ) -> Result<()>

play entity animation Read more
source§

fn stop_entity_animation(&mut self, name: &str, animname: &str) -> Result<()>

stop entity animation Read more
source§

fn get_screenshot(&mut self, frame: &mut dyn ToOutputArray) -> Result<()>

read back the image generated by the last call to [waitKey]
source§

fn get_compositor_texture( &mut self, compname: &str, texname: &str, out: &mut dyn ToOutputArray, mrt_index: i32 ) -> Result<()>

read back the texture of an active compositor Read more
source§

fn get_depth(&mut self, depth: &mut dyn ToOutputArray) -> Result<()>

get the depth for the current frame. Read more
source§

fn fix_camera_yaw_axis( &mut self, use_fixed: bool, up: &dyn ToInputArray ) -> Result<()>

convenience method to force the “up” axis to stay fixed Read more
source§

fn set_camera_pose( &mut self, tvec: &dyn ToInputArray, rot: &dyn ToInputArray, invert: bool ) -> Result<()>

Sets the current camera pose Read more
source§

fn set_camera_look_at( &mut self, target: &str, offset: &dyn ToInputArray ) -> Result<()>

convenience method to orient the camera to a specific entity Read more
source§

fn set_entity_look_at( &mut self, origin: &str, target: &str, offset: &dyn ToInputArray ) -> Result<()>

convenience method to orient an entity to a specific entity. If target is an empty string the entity looks at the given offset point Read more
source§

fn get_camera_pose( &mut self, r: &mut dyn ToOutputArray, tvec: &mut dyn ToOutputArray, invert: bool ) -> Result<()>

Retrieves the current camera pose Read more
source§

fn set_camera_intrinsics( &mut self, k: &dyn ToInputArray, imsize: Size, z_near: f32, z_far: f32 ) -> Result<()>

set intrinsics of the camera Read more
source§

fn update(&mut self) -> Result<()>

render this window, but do not swap buffers. Automatically called by [ovis::waitKey]
source§

impl WindowSceneConst for Ptr<dyn WindowScene>

source§

impl WobbleSuppressorBase for Ptr<MoreAccurateMotionWobbleSuppressor>

source§

fn as_raw_mut_WobbleSuppressorBase(&mut self) -> *mut c_void

source§

fn set_motion_estimator( &mut self, val: Ptr<dyn ImageMotionEstimatorBase> ) -> Result<()>

source§

fn suppress(&mut self, idx: i32, frame: &Mat, result: &mut Mat) -> Result<()>

source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl WobbleSuppressorBase for Ptr<MoreAccurateMotionWobbleSuppressorGpu>

source§

fn as_raw_mut_WobbleSuppressorBase(&mut self) -> *mut c_void

source§

fn set_motion_estimator( &mut self, val: Ptr<dyn ImageMotionEstimatorBase> ) -> Result<()>

source§

fn suppress(&mut self, idx: i32, frame: &Mat, result: &mut Mat) -> Result<()>

source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl WobbleSuppressorBase for Ptr<NullWobbleSuppressor>

source§

fn as_raw_mut_WobbleSuppressorBase(&mut self) -> *mut c_void

source§

fn set_motion_estimator( &mut self, val: Ptr<dyn ImageMotionEstimatorBase> ) -> Result<()>

source§

fn suppress(&mut self, idx: i32, frame: &Mat, result: &mut Mat) -> Result<()>

source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl WobbleSuppressorBase for Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>

source§

fn as_raw_mut_WobbleSuppressorBase(&mut self) -> *mut c_void

source§

fn set_motion_estimator( &mut self, val: Ptr<dyn ImageMotionEstimatorBase> ) -> Result<()>

source§

fn suppress(&mut self, idx: i32, frame: &Mat, result: &mut Mat) -> Result<()>

source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl WobbleSuppressorBase for Ptr<dyn WobbleSuppressorBase>

source§

fn as_raw_mut_WobbleSuppressorBase(&mut self) -> *mut c_void

source§

fn set_motion_estimator( &mut self, val: Ptr<dyn ImageMotionEstimatorBase> ) -> Result<()>

source§

fn suppress(&mut self, idx: i32, frame: &Mat, result: &mut Mat) -> Result<()>

source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl WobbleSuppressorBaseConst for Ptr<MoreAccurateMotionWobbleSuppressor>

source§

impl WobbleSuppressorBaseConst for Ptr<MoreAccurateMotionWobbleSuppressorGpu>

source§

impl WobbleSuppressorBaseConst for Ptr<NullWobbleSuppressor>

source§

impl WobbleSuppressorBaseConst for Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>

source§

impl WobbleSuppressorBaseConst for Ptr<dyn WobbleSuppressorBase>

source§

impl VectorElement for Ptr<BackendNode>where Vector<Ptr<BackendNode>>: VectorExtern<Ptr<BackendNode>>,

source§

impl VectorElement for Ptr<Layer>where Vector<Ptr<Layer>>: VectorExtern<Ptr<Layer>>,

source§

impl VectorElement for Ptr<dyn BackendWrapper>where Vector<Ptr<dyn BackendWrapper>>: VectorExtern<Ptr<dyn BackendWrapper>>,

source§

impl VectorElement for Ptr<dyn Linemod_Modality>where Vector<Ptr<dyn Linemod_Modality>>: VectorExtern<Ptr<dyn Linemod_Modality>>,

source§

impl VectorElement for Ptr<dyn MCC_CChecker>where Vector<Ptr<dyn MCC_CChecker>>: VectorExtern<Ptr<dyn MCC_CChecker>>,

Auto Trait Implementations§

§

impl<T: ?Sized> RefUnwindSafe for Ptr<T>where T: RefUnwindSafe,

§

impl<T> !Send for Ptr<T>

§

impl<T> !Sync for Ptr<T>

§

impl<T: ?Sized> Unpin for Ptr<T>where T: Unpin,

§

impl<T: ?Sized> UnwindSafe for Ptr<T>where T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.