Struct opencv::core::Ptr

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

This is similar to Rust Arc, 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) -> Self
where 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<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<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<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<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<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<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<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<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<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<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<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<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<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<CustomPattern>

source

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

source

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

source§

impl Ptr<Algorithm>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<MinProblemSolver>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<CUDA_EncoderCallback>

source

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

source

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

source§

impl Ptr<CUDA_RawVideoSource>

source

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

source

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

source§

impl Ptr<CUDA_VideoReader>

source

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

source

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

source§

impl Ptr<CUDA_VideoWriter>

source

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

source

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

source§

impl Ptr<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<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<CUDA_Feature2DAsync>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<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<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<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<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<CUDA_CascadeClassifier>

source

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

source

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

source§

impl Ptr<CUDA_HOG>

source

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

source

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

source§

impl Ptr<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<CUDA_DenseOpticalFlow>

source

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

source

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

source§

impl Ptr<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<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<CUDA_NvidiaHWOpticalFlow>

source

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

source

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

source§

impl Ptr<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<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<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<CUDA_SparseOpticalFlow>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<AttentionLayer>

source

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

source

pub fn as_raw_mut_PtrOfAttentionLayer( &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<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<BlankLayer>

source

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

source

pub fn as_raw_mut_PtrOfBlankLayer( &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<ChannelsPReLULayer>

source

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

source

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

source§

impl Ptr<CompareLayer>

source

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

source

pub fn as_raw_mut_PtrOfCompareLayer( &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<ConstLayer>

source

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

source

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

source§

impl Ptr<ConvolutionLayer>

source

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

source

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

source§

impl Ptr<ConvolutionLayerInt8>

source

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

source

pub fn as_raw_mut_PtrOfConvolutionLayerInt8( &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<CropAndResizeLayer>

source

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

source

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

source§

impl Ptr<CropLayer>

source

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

source

pub fn as_raw_mut_PtrOfCropLayer( &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<DeconvolutionLayer>

source

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

source

pub fn as_raw_mut_PtrOfDeconvolutionLayer( &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<EinsumLayer>

source

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

source

pub fn as_raw_mut_PtrOfEinsumLayer( &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<ExpandLayer>

source

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

source

pub fn as_raw_mut_PtrOfExpandLayer( &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<GatherElementsLayer>

source

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

source

pub fn as_raw_mut_PtrOfGatherElementsLayer( &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<GeluApproximationLayer>

source

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

source

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

source§

impl Ptr<GeluLayer>

source

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

source

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

source§

impl Ptr<GemmLayer>

source

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

source

pub fn as_raw_mut_PtrOfGemmLayer( &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<InstanceNormLayer>

source

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

source

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

source§

impl Ptr<InterpLayer>

source

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

source

pub fn as_raw_mut_PtrOfInterpLayer( &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<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<LayerNormLayer>

source

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

source

pub fn as_raw_mut_PtrOfLayerNormLayer( &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<MatMulLayer>

source

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

source

pub fn as_raw_mut_PtrOfMatMulLayer( &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<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<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<ShiftLayer>

source

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

source

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

source§

impl Ptr<ShiftLayerInt8>

source

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

source

pub fn as_raw_mut_PtrOfShiftLayerInt8( &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<ShuffleChannelLayer>

source

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

source

pub fn as_raw_mut_PtrOfShuffleChannelLayer( &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<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<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<BasicFaceRecognizer>

source

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

source

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

source§

impl Ptr<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<FaceRecognizer>

source

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

source

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

source§

impl Ptr<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<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<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<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<FacemarkTrain>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<AutotunedIndexParams>

source

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

source

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

source§

impl Ptr<CompositeIndexParams>

source

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

source

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

source§

impl Ptr<HierarchicalClusteringIndexParams>

source

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

source

pub fn as_raw_mut_PtrOfHierarchicalClusteringIndexParams( &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<KDTreeIndexParams>

source

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

source

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

source§

impl Ptr<KMeansIndexParams>

source

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

source

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

source§

impl Ptr<LinearIndexParams>

source

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

source

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

source§

impl Ptr<LshIndexParams>

source

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

source

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

source§

impl Ptr<SavedIndexParams>

source

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

source

pub fn as_raw_mut_PtrOfSavedIndexParams( &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<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<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<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<ImgHashBase>

source

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

source

pub fn as_raw_mut_PtrOfImgHashBase( &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<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<GeneralizedHough>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<StatModel>

source

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

source

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

source§

impl Ptr<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<ArucoDetector>

source

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

source

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

source§

impl Ptr<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<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<CharucoDetector>

source

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

source

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

source§

impl Ptr<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<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<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<GridBoard>

source

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

source

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

source§

impl Ptr<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<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<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<OpticalFlowPCAFlow>

source

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

source

pub fn as_raw_mut_PtrOfOpticalFlowPCAFlow( &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<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<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<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<PhaseUnwrapping>

source

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

source

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

source§

impl Ptr<AlignExposures>

source

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

source

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

source§

impl Ptr<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<CalibrateCRF>

source

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

source

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

source§

impl Ptr<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<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<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<MergeExposures>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<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<QualityBase>

source

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

source

pub fn as_raw_mut_PtrOfQualityBase( &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<Rapid_GOSTracker>

source

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

source

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

source§

impl Ptr<Rapid_OLSTracker>

source

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

source

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

source§

impl Ptr<Rapid_Rapid>

source

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

source

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

source§

impl Ptr<Rapid_Tracker>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<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<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<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<MotionSaliency>

source

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

source

pub fn as_raw_mut_PtrOfMotionSaliency( &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<Objectness>

source

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

source

pub fn as_raw_mut_PtrOfObjectness( &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<Saliency>

source

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

source

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

source§

impl Ptr<StaticSaliency>

source

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

source

pub fn as_raw_mut_PtrOfStaticSaliency( &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<BaseSFM>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<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<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<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<ShapeDistanceExtractor>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<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<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_GraphCutSeamFinderBase>

source

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

source

pub fn as_raw_mut_PtrOfDetail_GraphCutSeamFinderBase( &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<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<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<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<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<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<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<StructuredLightPattern>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<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<BaseOCR>

source

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

source

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

source§

impl Ptr<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<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<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<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<TextDetector>

source

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

source

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

source§

impl Ptr<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<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<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<BackgroundSubtractor>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<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<Tracker>

source

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

source

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

source§

impl Ptr<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<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<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<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<TrackerVit>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<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<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<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<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<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<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<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<PyrLkOptFlowEstimatorBase>

source

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

source

pub fn as_raw_mut_PtrOfPyrLkOptFlowEstimatorBase( &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<StabilizerBase>

source

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

source

pub fn as_raw_mut_PtrOfStabilizerBase( &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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<DisparityFilter>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<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<SparseMatchInterpolator>

source

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

source

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

source§

impl Ptr<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<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<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<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<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<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<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<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<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

source§

impl Ptr<WhiteBalancer>

source

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

source

pub fn as_raw_mut_PtrOfWhiteBalancer( &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 = NaN_f32

1.43.0 · source

pub const INFINITY: f32 = +Inf_f32

1.43.0 · source

pub const NEG_INFINITY: f32 = -Inf_f32

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));

// `f32::NAN` could be positive or negative, which will affect the sort order.
if f32::NAN.is_sign_negative() {
    assert!(bois.into_iter().map(|b| b.weight)
        .zip([f32::NAN, -5.0, 0.1, 10.0, 99.0, f32::INFINITY].iter())
        .all(|(a, b)| a.to_bits() == b.to_bits()))
} else {
    assert!(bois.into_iter().map(|b| b.weight)
        .zip([-5.0, 0.1, 10.0, 99.0, f32::INFINITY, f32::NAN].iter())
        .all(|(a, b)| a.to_bits() == b.to_bits()))
}

Trait Implementations§

source§

impl AKAZETrait for Ptr<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§

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

source§

impl AKAZETraitConst for Ptr<AKAZE>

source§

impl ANN_MLPTrait for Ptr<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_train_method_def(&mut self, method: i32) -> Result<()>

Sets training method and common parameters. Read more
source§

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Set/initialize anneal RNG
source§

impl ANN_MLPTraitConst for Ptr<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<ChannelsPReLULayer>

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<GeluApproximationLayer>

source§

impl ActivationLayerTrait for Ptr<GeluLayer>

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], out_plane_size: size_t, cn0: i32, cn1: i32 ) -> Result<()>

source§

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

source§

impl ActivationLayerTraitConst for Ptr<AcosLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<AcoshLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ActivationLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ActivationLayerInt8>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<AsinLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<AsinhLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<AtanLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<AtanhLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<BNLLLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<BatchNormLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<BatchNormLayerInt8>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<CeilLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<CeluLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ChannelsPReLULayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<CosLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<CoshLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ELULayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ErfLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ExpLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<FloorLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<GeluApproximationLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<GeluLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<HardSigmoidLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<HardSwishLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<LogLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<MishLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<NotLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<PowerLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ReLU6Layer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ReLULayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ReciprocalLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<RoundLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SeluLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ShrinkLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SigmoidLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SignLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SinLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SinhLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SoftplusLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SoftsignLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SqrtLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<SwishLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<TanHLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<TanLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl ActivationLayerTraitConst for Ptr<ThresholdedReluLayer>

source§

fn as_raw_ActivationLayer(&self) -> *const c_void

source§

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

source§

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

source§

impl AdaptiveManifoldFilterTrait for Ptr<AdaptiveManifoldFilter>

source§

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

source§

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

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

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

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

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

source§

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

See also Read more
source§

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

See also Read more
source§

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

See also Read more
source§

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

See also Read more
source§

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

See also Read more
source§

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

See also Read more
source§

impl AdaptiveManifoldFilterTraitConst for Ptr<AdaptiveManifoldFilter>

source§

impl AffineFeature2DTrait for Ptr<AffineFeature2D>

source§

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

source§

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

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

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

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

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

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

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

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

impl AffineFeature2DTrait for Ptr<TBMR>

source§

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

source§

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

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

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

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

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

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

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

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

impl AffineFeature2DTraitConst for Ptr<AffineFeature2D>

source§

impl AffineFeature2DTraitConst for Ptr<TBMR>

source§

impl AffineFeatureTrait for Ptr<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 AffineFeatureTraitConst for Ptr<AffineFeature>

source§

impl AffineTransformerTrait for Ptr<AffineTransformer>

source§

impl AffineTransformerTraitConst for Ptr<AffineTransformer>

source§

impl AffineWarperTrait for Ptr<AffineWarper>

source§

impl AffineWarperTraitConst for Ptr<AffineWarper>

source§

impl AgastFeatureDetectorTrait for Ptr<AgastFeatureDetector>

source§

impl AgastFeatureDetectorTraitConst for Ptr<AgastFeatureDetector>

source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<Algorithm>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<AlignExposures>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ArucoDetector>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<AttentionLayer>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<BackgroundSubtractor>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<BasicFaceRecognizer>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<BlankLayer>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CUDA_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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CUDA_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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CUDA_Feature2DAsync>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CUDA_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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CUDA_NvidiaHWOpticalFlow>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CUDA_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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CalibrateCRF>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ChannelsPReLULayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CharucoDetector>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CompareLayer>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ConstLayer>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ConvolutionLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ConvolutionLayerInt8>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CropAndResizeLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CropLayer>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<CustomPattern>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<DeconvolutionLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<DisparityFilter>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<EinsumLayer>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ExpandLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<FaceRecognizer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<FacemarkTrain>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<GatherElementsLayer>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<GeluApproximationLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<GeluLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<GemmLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<GeneralizedHough>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ImgHashBase>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<InstanceNormLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<InterpLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<LayerNormLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<MatMulLayer>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<MergeExposures>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<MinProblemSolver>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<MotionSaliency>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<Objectness>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<OpticalFlowPCAFlow>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<PhaseUnwrapping>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<QualityBase>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<Rapid_GOSTracker>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<Rapid_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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<Rapid_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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<Rapid_Tracker>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<Saliency>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ShapeDistanceExtractor>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ShiftLayer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ShiftLayerInt8>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<ShuffleChannelLayer>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<SparseMatchInterpolator>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<StatModel>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<StaticSaliency>

source§

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

source§

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

Clears the algorithm state
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<StructuredLightPattern>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> 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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl AlgorithmTrait for Ptr<WhiteBalancer>

source§

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

source§

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

Clears the algorithm state
source§

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

Reads algorithm parameters from a file storage
source§

impl AlgorithmTraitConst for Ptr<AKAZE>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ANN_MLP>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AbsLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AdaptiveManifoldFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AffineFeature>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AffineFeature2D>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AffineTransformer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AgastFeatureDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Algorithm>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AlignExposures>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AlignMTB>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ArucoDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<AttentionLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BEBLID>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BIF>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BRISK>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BackgroundSubtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BackgroundSubtractorCNT>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BackgroundSubtractorGMG>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BackgroundSubtractorGSOC>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BackgroundSubtractorKNN>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BackgroundSubtractorLSBP>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BackgroundSubtractorMOG>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BackgroundSubtractorMOG2>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BaseCascadeClassifier>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BasicFaceRecognizer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BlankLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Boost>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BoostDesc>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<BriefDescriptorExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CLAHE>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_BackgroundSubtractorMOG>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_BroxOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_CLAHE>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_CannyEdgeDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_CascadeClassifier>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_CornernessCriteria>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_CornersDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_DenseOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_DensePyrLKOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_DescriptorMatcher>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_DisparityBilateralFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_FarnebackOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_FastFeatureDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_Feature2DAsync>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_HOG>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_HoughCirclesDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_HoughLinesDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_HoughSegmentDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_NvidiaHWOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_NvidiaOpticalFlow_1_0>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_NvidiaOpticalFlow_2_0>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_ORB>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_OpticalFlowDual_TVL1>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_SparseOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_SparsePyrLKOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_StereoBM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_StereoBeliefPropagation>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_StereoConstantSpaceBP>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_StereoSGM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CUDA_TemplateMatching>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CalibrateCRF>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CalibrateDebevec>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CalibrateRobertson>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ChannelsPReLULayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CharucoDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ChiHistogramCostExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CompareLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ConjGradSolver>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ConstLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Convolution>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ConvolutionLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ConvolutionLayerInt8>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CropAndResizeLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CropLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<CustomPattern>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DAISY>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DFT>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DISOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DTFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DTrees>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DeconvolutionLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DenseOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DenseRLOFOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DescriptorMatcher>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DisparityFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DisparityWLSFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DownhillSolver>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<DualTVL1OpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<EM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<EMDHistogramCostExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<EMDL1HistogramCostExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ERFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<EdgeAwareInterpolator>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<EdgeBoxes>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<EdgeDrawing>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<EigenFaceRecognizer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<EinsumLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ExpandLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FREAK>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FaceRecognizer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Facemark>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FacemarkAAM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FacemarkKazemi>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FacemarkLBF>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FacemarkTrain>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FarnebackOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FastBilateralSolverFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FastFeatureDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FastGlobalSmootherFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FastLineDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Filter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FisherFaceRecognizer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<FreeType2>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GFTTDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GatherElementsLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GeluApproximationLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GeluLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GemmLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GeneralizedHough>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GeneralizedHoughBallard>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GeneralizedHoughGuil>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GraphSegmentation>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GrayCodePattern>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GrayworldWB>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<GuidedFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<HarrisLaplaceFeatureDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<HausdorffDistanceExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<HfsSegment>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<HistogramCostExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<HistogramPhaseUnwrapping>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ImgHashBase>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<InstanceNormLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

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

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

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

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<InterpLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<KAZE>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<KNearest>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LATCH>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LBPHFaceRecognizer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LMSolver>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LSTMLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LUCID>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LayerNormLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LearningBasedWB>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LineSegmentDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LogisticRegression>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<LookUpTable>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MACE>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MCC_CCheckerDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MSDDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MSER>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MatMulLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MergeDebevec>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MergeExposures>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MergeMertens>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MergeRobertson>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MinProblemSolver>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<MotionSaliency>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<NormHistogramCostExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<NormalBayesClassifier>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ORB>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Objectness>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Odometry>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<OpticalFlowPCAFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<PCTSignatures>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<PCTSignaturesSQFD>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<PhaseUnwrapping>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Plot2d>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<QualityBase>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RFFeatureGetter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RICInterpolator>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RNNLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RTrees>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Rapid_GOSTracker>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Rapid_OLSTracker>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Rapid_Rapid>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Rapid_Tracker>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Retina>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RetinaFastToneMapping>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<RidgeDetectionFilter>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SIFT>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SURF>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SVM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SVMSGD>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SVM_Kernel>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Saliency>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ScanSegment>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SelectiveSearchSegmentation>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SelectiveSearchSegmentationStrategy>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SelectiveSearchSegmentationStrategyColor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SelectiveSearchSegmentationStrategyFill>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SelectiveSearchSegmentationStrategyMultiple>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SelectiveSearchSegmentationStrategySize>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SelectiveSearchSegmentationStrategyTexture>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ShapeContextDistanceExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ShapeDistanceExtractor>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ShapeTransformer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ShiftLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ShiftLayerInt8>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ShuffleChannelLayer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SimpleBlobDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SimpleWB>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SinusoidalPattern>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SparseMatchInterpolator>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SparseOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SparsePyrLKOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SparseRLOFOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<StarDetector>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<StatModel>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<StaticSaliency>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<StereoBM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<StereoMatcher>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<StereoSGBM>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<StructuredEdgeDetection>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<StructuredLightPattern>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SuperRes_BroxOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SuperRes_DenseOpticalFlowExt>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SuperRes_DualTVL1OpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SuperRes_FarnebackOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SuperRes_PyrLKOpticalFlow>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SuperRes_SuperResolution>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SuperpixelLSC>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SuperpixelSEEDS>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<SuperpixelSLIC>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<TBMR>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<ThinPlateSplineShapeTransformer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string 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 impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<Tonemap>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<TonemapDrago>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<TonemapDurand>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<TonemapMantiuk>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<TonemapReinhard>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<TransientAreasSegmentationModule>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<VGG>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<VariationalRefinement>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlgorithmTraitConst for Ptr<WhiteBalancer>

source§

fn as_raw_Algorithm(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

Stores algorithm parameters in a file storage Read more
source§

fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>

@deprecated Read more
source§

fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>

👎Deprecated:

§Note

Deprecated: ## Note This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§

fn empty(&self) -> Result<bool>

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§

fn save(&self, filename: &str) -> Result<()>

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§

fn get_default_name(&self) -> Result<String>

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§

impl AlignExposuresTrait for Ptr<AlignExposures>

source§

fn as_raw_mut_AlignExposures(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut Vector<Mat>, times: &impl ToInputArray, response: &impl ToInputArray ) -> Result<()>

Aligns images Read more
source§

impl AlignExposuresTrait for Ptr<AlignMTB>

source§

fn as_raw_mut_AlignExposures(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut Vector<Mat>, times: &impl ToInputArray, response: &impl ToInputArray ) -> Result<()>

Aligns images Read more
source§

impl AlignExposuresTraitConst for Ptr<AlignExposures>

source§

impl AlignExposuresTraitConst for Ptr<AlignMTB>

source§

impl AlignMTBTrait for Ptr<AlignMTB>

source§

fn as_raw_mut_AlignMTB(&mut self) -> *mut c_void

source§

fn process_with_response( &mut self, src: &impl ToInputArray, dst: &mut Vector<Mat>, times: &impl ToInputArray, response: &impl ToInputArray ) -> Result<()>

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut Vector<Mat> ) -> Result<()>

Short version of process, that doesn’t take extra arguments. Read more
source§

fn calculate_shift( &mut self, img0: &impl ToInputArray, img1: &impl ToInputArray ) -> Result<Point>

Calculates shift between two images, i. e. how to shift the second image to correspond it with the first. Read more
source§

fn shift_mat( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, shift: Point ) -> Result<()>

Helper function, that shift Mat filling new regions with zeros. Read more
source§

fn compute_bitmaps( &mut self, img: &impl ToInputArray, tb: &mut impl ToOutputArray, eb: &mut impl ToOutputArray ) -> Result<()>

Computes median threshold and exclude bitmaps of given image. Read more
source§

fn set_max_bits(&mut self, max_bits: i32) -> Result<()>

source§

fn set_exclude_range(&mut self, exclude_range: i32) -> Result<()>

source§

fn set_cut(&mut self, value: bool) -> Result<()>

source§

impl AlignMTBTraitConst for Ptr<AlignMTB>

source§

impl ArgLayerTrait for Ptr<ArgLayer>

source§

impl ArgLayerTraitConst for Ptr<ArgLayer>

source§

impl ArucoDetectorTrait for Ptr<ArucoDetector>

source§

fn as_raw_mut_ArucoDetector(&mut self) -> *mut c_void

source§

fn set_dictionary( &mut self, dictionary: &impl DictionaryTraitConst ) -> Result<()>

source§

fn set_detector_parameters( &mut self, detector_parameters: &impl DetectorParametersTraitConst ) -> Result<()>

source§

fn set_refine_parameters( &mut self, refine_parameters: RefineParameters ) -> Result<()>

source§

fn write_1(&mut self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>

simplified API for language bindings
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Reads algorithm parameters from a file storage
source§

impl ArucoDetectorTraitConst for Ptr<ArucoDetector>

source§

fn as_raw_ArucoDetector(&self) -> *const c_void

source§

fn detect_markers( &self, image: &impl ToInputArray, corners: &mut impl ToOutputArray, ids: &mut impl ToOutputArray, rejected_img_points: &mut impl ToOutputArray ) -> Result<()>

Basic marker detection Read more
source§

fn detect_markers_def( &self, image: &impl ToInputArray, corners: &mut impl ToOutputArray, ids: &mut impl ToOutputArray ) -> Result<()>

Basic marker detection Read more
source§

fn refine_detected_markers( &self, image: &impl ToInputArray, board: &impl BoardTraitConst, detected_corners: &mut impl ToInputOutputArray, detected_ids: &mut impl ToInputOutputArray, rejected_corners: &mut impl ToInputOutputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, recovered_idxs: &mut impl ToOutputArray ) -> Result<()>

Refine not detected markers based on the already detected and the board layout Read more
source§

fn refine_detected_markers_def( &self, image: &impl ToInputArray, board: &impl BoardTraitConst, detected_corners: &mut impl ToInputOutputArray, detected_ids: &mut impl ToInputOutputArray, rejected_corners: &mut impl ToInputOutputArray ) -> Result<()>

Refine not detected markers based on the already detected and the board layout Read more
source§

fn get_dictionary(&self) -> Result<Dictionary>

source§

fn get_detector_parameters(&self) -> Result<DetectorParameters>

source§

fn get_refine_parameters(&self) -> Result<RefineParameters>

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Stores algorithm parameters in a file storage
source§

impl AsinLayerTrait for 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 AttentionLayerTrait for Ptr<AttentionLayer>

source§

impl AttentionLayerTraitConst for Ptr<AttentionLayer>

source§

impl AutotunedIndexParamsTrait for Ptr<AutotunedIndexParams>

source§

impl AutotunedIndexParamsTraitConst for Ptr<AutotunedIndexParams>

source§

impl AverageHashTrait for Ptr<AverageHash>

source§

impl AverageHashTraitConst for Ptr<AverageHash>

source§

impl BEBLIDTrait for Ptr<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 BEBLIDTraitConst for Ptr<BEBLID>

source§

impl BFMatcherTrait for Ptr<BFMatcher>

source§

impl BFMatcherTraitConst for Ptr<BFMatcher>

source§

impl BIFTrait for Ptr<BIF>

source§

impl BIFTraitConst for Ptr<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: &impl ToInputArray, features: &mut impl ToOutputArray ) -> Result<()>

Computes features sby input image. Read more
source§

impl BNLLLayerTrait for Ptr<BNLLLayer>

source§

impl BNLLLayerTraitConst for Ptr<BNLLLayer>

source§

impl BRISKTrait for Ptr<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 BRISKTraitConst for Ptr<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 BackendWrapperTrait for Ptr<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 BackendWrapperTraitConst for Ptr<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 BackgroundSubtractorCNTTrait for Ptr<BackgroundSubtractorCNT>

source§

fn as_raw_mut_BackgroundSubtractorCNT(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

C++ default parameters Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

source§

fn set_min_pixel_stability(&mut self, value: i32) -> Result<()>

Sets the number of frames with same pixel color to consider stable.
source§

fn set_max_pixel_stability(&mut self, value: i32) -> Result<()>

Sets the maximum allowed credit for a pixel in history.
source§

fn set_use_history(&mut self, value: bool) -> Result<()>

Sets if we’re giving a pixel credit for being stable for a long time.
source§

fn set_is_parallel(&mut self, value: bool) -> Result<()>

Sets if we’re parallelizing the algorithm.
source§

impl BackgroundSubtractorCNTTraitConst for Ptr<BackgroundSubtractorCNT>

source§

fn as_raw_BackgroundSubtractorCNT(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray ) -> Result<()>

source§

fn get_min_pixel_stability(&self) -> Result<i32>

Returns number of frames with same pixel color to consider stable.
source§

fn get_max_pixel_stability(&self) -> Result<i32>

Returns maximum allowed credit for a pixel in history.
source§

fn get_use_history(&self) -> Result<bool>

Returns if we’re giving a pixel credit for being stable for a long time.
source§

fn get_is_parallel(&self) -> Result<bool>

Returns if we’re parallelizing the algorithm.
source§

impl BackgroundSubtractorGMGTrait for Ptr<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 BackgroundSubtractorGMGTraitConst for Ptr<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 BackgroundSubtractorGSOCTrait for Ptr<BackgroundSubtractorGSOC>

source§

fn as_raw_mut_BackgroundSubtractorGSOC(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

C++ default parameters Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

source§

impl BackgroundSubtractorGSOCTraitConst for Ptr<BackgroundSubtractorGSOC>

source§

impl BackgroundSubtractorKNNTrait for Ptr<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 BackgroundSubtractorKNNTraitConst for Ptr<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 BackgroundSubtractorLSBPTrait for Ptr<BackgroundSubtractorLSBP>

source§

fn as_raw_mut_BackgroundSubtractorLSBP(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

C++ default parameters Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

source§

impl BackgroundSubtractorLSBPTraitConst for Ptr<BackgroundSubtractorLSBP>

source§

impl BackgroundSubtractorMOG2Trait for Ptr<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: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorMOG2Trait for Ptr<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: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorMOG2TraitConst for Ptr<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 BackgroundSubtractorMOG2TraitConst for Ptr<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 BackgroundSubtractorMOGTrait for Ptr<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 BackgroundSubtractorMOGTraitConst for Ptr<BackgroundSubtractorMOG>

source§

impl BackgroundSubtractorTrait for Ptr<BackgroundSubtractor>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorTrait for Ptr<BackgroundSubtractorCNT>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorTrait for Ptr<BackgroundSubtractorGMG>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorTrait for Ptr<BackgroundSubtractorGSOC>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorTrait for Ptr<BackgroundSubtractorKNN>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorTrait for Ptr<BackgroundSubtractorLSBP>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorTrait for Ptr<BackgroundSubtractorMOG>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorTrait for Ptr<BackgroundSubtractorMOG2>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorTrait for Ptr<CUDA_BackgroundSubtractorMOG>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorTrait for Ptr<CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64 ) -> Result<()>

Computes a foreground mask. Read more
source§

fn apply_def( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray ) -> Result<()>

Computes a foreground mask. Read more
source§

impl BackgroundSubtractorTraitConst for Ptr<BackgroundSubtractor>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorTraitConst for Ptr<BackgroundSubtractorCNT>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorTraitConst for Ptr<BackgroundSubtractorGMG>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorTraitConst for Ptr<BackgroundSubtractorGSOC>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorTraitConst for Ptr<BackgroundSubtractorKNN>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorTraitConst for Ptr<BackgroundSubtractorLSBP>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorTraitConst for Ptr<BackgroundSubtractorMOG>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorTraitConst for Ptr<BackgroundSubtractorMOG2>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorTraitConst for Ptr<CUDA_BackgroundSubtractorMOG>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BackgroundSubtractorTraitConst for Ptr<CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_BackgroundSubtractor(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray ) -> Result<()>

Computes a background image. Read more
source§

impl BaseCascadeClassifierTrait for Ptr<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: &impl ToInputArray, objects: &mut Vector<Rect>, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: Size, max_size: Size ) -> Result<()>

source§

fn detect_multi_scale_num( &mut self, image: &impl ToInputArray, objects: &mut Vector<Rect>, num_detections: &mut Vector<i32>, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: Size, max_size: Size ) -> Result<()>

source§

fn detect_multi_scale_levels( &mut self, image: &impl ToInputArray, objects: &mut Vector<Rect>, reject_levels: &mut Vector<i32>, level_weights: &mut Vector<f64>, scale_factor: f64, min_neighbors: i32, flags: i32, min_size: Size, max_size: Size, output_reject_levels: bool ) -> Result<()>

source§

fn get_old_cascade(&mut self) -> Result<*mut c_void>

source§

fn set_mask_generator( &mut self, mask_generator: &Ptr<BaseCascadeClassifier_MaskGenerator> ) -> Result<()>

source§

fn get_mask_generator( &mut self ) -> Result<Ptr<BaseCascadeClassifier_MaskGenerator>>

source§

impl BaseCascadeClassifierTraitConst for Ptr<BaseCascadeClassifier>

source§

impl BaseCascadeClassifier_MaskGeneratorTrait for Ptr<BaseCascadeClassifier_MaskGenerator>

source§

impl BaseCascadeClassifier_MaskGeneratorTraitConst for Ptr<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 BaseConvolutionLayerTrait for Ptr<ConvolutionLayer>

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 BaseConvolutionLayerTrait for Ptr<ConvolutionLayerInt8>

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 BaseConvolutionLayerTrait for Ptr<DeconvolutionLayer>

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 BaseConvolutionLayerTraitConst for Ptr<ConvolutionLayer>

source§

impl BaseConvolutionLayerTraitConst for Ptr<ConvolutionLayerInt8>

source§

impl BaseConvolutionLayerTraitConst for Ptr<DeconvolutionLayer>

source§

impl BaseOCRTrait for Ptr<BaseOCR>

source§

fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_def( &mut self, image: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

fn run_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

impl BaseOCRTrait for Ptr<OCRBeamSearchDecoder>

source§

fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_def( &mut self, image: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

fn run_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

impl BaseOCRTrait for Ptr<OCRHMMDecoder>

source§

fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_def( &mut self, image: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

fn run_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

impl BaseOCRTrait for Ptr<OCRHolisticWordRecognizer>

source§

fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_def( &mut self, image: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

fn run_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

impl BaseOCRTrait for Ptr<OCRTesseract>

source§

fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_def( &mut self, image: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

fn run_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

impl BaseOCRTraitConst for Ptr<BaseOCR>

source§

impl BaseOCRTraitConst for Ptr<OCRBeamSearchDecoder>

source§

impl BaseOCRTraitConst for Ptr<OCRHMMDecoder>

source§

impl BaseOCRTraitConst for Ptr<OCRHolisticWordRecognizer>

source§

impl BaseOCRTraitConst for Ptr<OCRTesseract>

source§

impl BaseSFMTrait for Ptr<BaseSFM>

source§

fn as_raw_mut_BaseSFM(&mut self) -> *mut c_void

source§

fn run(&mut self, points2d: &impl ToInputArray) -> Result<()>

source§

fn run_1( &mut self, points2d: &impl ToInputArray, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray ) -> Result<()>

source§

fn run_2(&mut self, images: &Vector<String>) -> Result<()>

source§

fn run_3( &mut self, images: &Vector<String>, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray ) -> Result<()>

source§

fn get_points(&mut self, points3d: &mut impl ToOutputArray) -> Result<()>

source§

fn get_cameras( &mut self, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray ) -> Result<()>

source§

fn set_reconstruction_options( &mut self, libmv_reconstruction_options: libmv_ReconstructionOptions ) -> Result<()>

source§

fn set_camera_intrinsic_options( &mut self, libmv_camera_intrinsics_options: libmv_CameraIntrinsicsOptions ) -> Result<()>

source§

impl BaseSFMTrait for Ptr<SFMLibmvEuclideanReconstruction>

source§

fn as_raw_mut_BaseSFM(&mut self) -> *mut c_void

source§

fn run(&mut self, points2d: &impl ToInputArray) -> Result<()>

source§

fn run_1( &mut self, points2d: &impl ToInputArray, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray ) -> Result<()>

source§

fn run_2(&mut self, images: &Vector<String>) -> Result<()>

source§

fn run_3( &mut self, images: &Vector<String>, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray ) -> Result<()>

source§

fn get_points(&mut self, points3d: &mut impl ToOutputArray) -> Result<()>

source§

fn get_cameras( &mut self, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray ) -> Result<()>

source§

fn set_reconstruction_options( &mut self, libmv_reconstruction_options: libmv_ReconstructionOptions ) -> Result<()>

source§

fn set_camera_intrinsic_options( &mut self, libmv_camera_intrinsics_options: libmv_CameraIntrinsicsOptions ) -> Result<()>

source§

impl BaseSFMTraitConst for Ptr<BaseSFM>

source§

impl BaseSFMTraitConst for Ptr<SFMLibmvEuclideanReconstruction>

source§

impl BasicFaceRecognizerTrait for Ptr<BasicFaceRecognizer>

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_: &impl FileNodeTraitConst) -> Result<()>

source§

impl BasicFaceRecognizerTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

source§

impl BasicFaceRecognizerTrait for Ptr<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_: &impl FileNodeTraitConst) -> Result<()>

source§

impl BasicFaceRecognizerTraitConst for Ptr<BasicFaceRecognizer>

source§

impl BasicFaceRecognizerTraitConst for Ptr<EigenFaceRecognizer>

source§

impl BasicFaceRecognizerTraitConst for Ptr<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: &impl MatTraitConst, matches: &mut Vector<DMatch>, masks: &Vector<Mat> ) -> Result<()>

For every input query descriptor, retrieve the best matching one from a dataset provided from user or from the one internal to class Read more
source§

fn match_query_def( &mut self, query_descriptors: &impl MatTraitConst, matches: &mut Vector<DMatch> ) -> Result<()>

@overload Read more
source§

fn knn_match_query( &mut self, query_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &Vector<Mat>, compact_result: bool ) -> Result<()>

For every input query descriptor, retrieve the best k matching ones from a dataset provided from user or from the one internal to class Read more
source§

fn knn_match_query_def( &mut self, query_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, k: i32 ) -> Result<()>

@overload Read more
source§

fn radius_match_1( &mut self, query_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &Vector<Mat>, compact_result: bool ) -> Result<()>

For every input query descriptor, retrieve, from a dataset provided from user or from the one internal to class, all the descriptors that are not further than maxDist from input query Read more
source§

fn radius_match_def_1( &mut self, query_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, max_distance: f32 ) -> Result<()>

@overload Read more
source§

fn add(&mut self, descriptors: &Vector<Mat>) -> Result<()>

Store locally new descriptors to be inserted in dataset, without updating dataset. Read more
source§

fn train(&mut self) -> Result<()>

Update dataset by inserting into it all descriptors that were stored locally by add function. Read more
source§

fn clear(&mut self) -> Result<()>

Clear dataset and internal data
source§

impl BinaryDescriptorMatcherTraitConst for Ptr<BinaryDescriptorMatcher>

source§

fn as_raw_BinaryDescriptorMatcher(&self) -> *const c_void

source§

fn match_( &self, query_descriptors: &impl MatTraitConst, train_descriptors: &impl MatTraitConst, matches: &mut Vector<DMatch>, mask: &impl MatTraitConst ) -> Result<()>

For every input query descriptor, retrieve the best matching one from a dataset provided from user or from the one internal to class Read more
source§

fn match__def( &self, query_descriptors: &impl MatTraitConst, train_descriptors: &impl MatTraitConst, matches: &mut Vector<DMatch> ) -> Result<()>

For every input query descriptor, retrieve the best matching one from a dataset provided from user or from the one internal to class Read more
source§

fn knn_match( &self, query_descriptors: &impl MatTraitConst, train_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &impl MatTraitConst, compact_result: bool ) -> Result<()>

For every input query descriptor, retrieve the best k matching ones from a dataset provided from user or from the one internal to class Read more
source§

fn knn_match_def( &self, query_descriptors: &impl MatTraitConst, train_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, k: i32 ) -> Result<()>

For every input query descriptor, retrieve the best k matching ones from a dataset provided from user or from the one internal to class Read more
source§

fn radius_match( &self, query_descriptors: &impl MatTraitConst, train_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &impl MatTraitConst, compact_result: bool ) -> Result<()>

For every input query descriptor, retrieve, from a dataset provided from user or from the one internal to class, all the descriptors that are not further than maxDist from input query Read more
source§

fn radius_match_def( &self, query_descriptors: &impl MatTraitConst, train_descriptors: &impl MatTraitConst, matches: &mut Vector<Vector<DMatch>>, max_distance: f32 ) -> Result<()>

For every input query descriptor, retrieve, from a dataset provided from user or from the one internal to class, all the descriptors that are not further than maxDist from input query Read more
source§

impl BinaryDescriptorTrait for 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_: &impl FileNodeTraitConst) -> Result<()>

Read parameters from a FileNode object and store them Read more
source§

fn detect_1( &mut self, image: &impl MatTraitConst, keypoints: &mut Vector<KeyLine>, mask: &impl MatTraitConst ) -> Result<()>

Requires line detection Read more
source§

fn detect_def_1( &mut self, image: &impl MatTraitConst, keypoints: &mut Vector<KeyLine> ) -> Result<()>

Requires line detection Read more
source§

impl BinaryDescriptorTraitConst for Ptr<BinaryDescriptor>

source§

fn as_raw_BinaryDescriptor(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Store parameters to a FileStorage object Read more
source§

fn detect( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, masks: &Vector<Mat> ) -> Result<()>

Requires line detection Read more
source§

fn detect_def( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>> ) -> Result<()>

@overload Read more
source§

fn compute( &self, image: &impl MatTraitConst, keylines: &mut Vector<KeyLine>, descriptors: &mut impl MatTrait, return_float_descr: bool ) -> Result<()>

Requires descriptors computation Read more
source§

fn compute_def( &self, image: &impl MatTraitConst, keylines: &mut Vector<KeyLine>, descriptors: &mut impl MatTrait ) -> Result<()>

Requires descriptors computation Read more
source§

fn compute_1( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, descriptors: &mut Vector<Mat>, return_float_descr: bool ) -> Result<()>

Requires descriptors computation Read more
source§

fn compute_def_1( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, descriptors: &mut Vector<Mat> ) -> Result<()>

@overload Read more
source§

fn descriptor_size(&self) -> Result<i32>

Return descriptor size
source§

fn descriptor_type(&self) -> Result<i32>

Return data type
source§

fn default_norm(&self) -> Result<i32>

returns norm mode
source§

fn apply( &self, image: &impl ToInputArray, mask: &impl ToInputArray, keylines: &mut Vector<KeyLine>, descriptors: &mut impl ToOutputArray, use_provided_key_lines: bool, return_float_descr: bool ) -> Result<()>

Define operator ‘()’ to perform detection of KeyLines and computation of descriptors in a row. Read more
source§

fn apply_def( &self, image: &impl ToInputArray, mask: &impl ToInputArray, keylines: &mut Vector<KeyLine>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Define operator ‘()’ to perform detection of KeyLines and computation of descriptors in a row. Read more
source§

impl BlankLayerTrait for Ptr<BlankLayer>

source§

impl BlankLayerTraitConst for Ptr<BlankLayer>

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 BoardTrait for Ptr<GridBoard>

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: &impl ToInputArray, detected_ids: &impl ToInputArray, obj_points: &mut impl ToOutputArray, img_points: &mut impl ToOutputArray ) -> Result<()>

Given a board configuration and a set of detected markers, returns the corresponding image points and object points, can be used in solvePnP() Read more
source§

fn generate_image( &self, out_size: Size, img: &mut impl ToOutputArray, margin_size: i32, border_bits: i32 ) -> Result<()>

Draw a planar board Read more
source§

fn generate_image_def( &self, out_size: Size, img: &mut impl ToOutputArray ) -> Result<()>

Draw a planar board Read more
source§

impl BoardTraitConst for 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: &impl ToInputArray, detected_ids: &impl ToInputArray, obj_points: &mut impl ToOutputArray, img_points: &mut impl ToOutputArray ) -> Result<()>

Given a board configuration and a set of detected markers, returns the corresponding image points and object points, can be used in solvePnP() Read more
source§

fn generate_image( &self, out_size: Size, img: &mut impl ToOutputArray, margin_size: i32, border_bits: i32 ) -> Result<()>

Draw a planar board Read more
source§

fn generate_image_def( &self, out_size: Size, img: &mut impl ToOutputArray ) -> Result<()>

Draw a planar board Read more
source§

impl BoardTraitConst for Ptr<GridBoard>

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: &impl ToInputArray, detected_ids: &impl ToInputArray, obj_points: &mut impl ToOutputArray, img_points: &mut impl ToOutputArray ) -> Result<()>

Given a board configuration and a set of detected markers, returns the corresponding image points and object points, can be used in solvePnP() Read more
source§

fn generate_image( &self, out_size: Size, img: &mut impl ToOutputArray, margin_size: i32, border_bits: i32 ) -> Result<()>

Draw a planar board Read more
source§

fn generate_image_def( &self, out_size: Size, img: &mut impl ToOutputArray ) -> Result<()>

Draw a planar board Read more
source§

impl BoostDescTrait for Ptr<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 BoostDescTraitConst for Ptr<BoostDesc>

source§

impl BoostTrait for Ptr<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 BoostTraitConst for Ptr<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<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 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 BriefDescriptorExtractorTrait for Ptr<BriefDescriptorExtractor>

source§

impl BriefDescriptorExtractorTraitConst for Ptr<BriefDescriptorExtractor>

source§

impl CLAHETrait for Ptr<CLAHE>

source§

fn as_raw_mut_CLAHE(&mut self) -> *mut c_void

source§

fn apply( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
source§

fn set_clip_limit(&mut self, clip_limit: f64) -> Result<()>

Sets threshold for contrast limiting. Read more
source§

fn set_tiles_grid_size(&mut self, tile_grid_size: Size) -> Result<()>

Sets size of grid for histogram equalization. Input image will be divided into equally sized rectangular tiles. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl CLAHETrait for Ptr<CUDA_CLAHE>

source§

fn as_raw_mut_CLAHE(&mut self) -> *mut c_void

source§

fn apply( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
source§

fn set_clip_limit(&mut self, clip_limit: f64) -> Result<()>

Sets threshold for contrast limiting. Read more
source§

fn set_tiles_grid_size(&mut self, tile_grid_size: Size) -> Result<()>

Sets size of grid for histogram equalization. Input image will be divided into equally sized rectangular tiles. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl CLAHETraitConst for Ptr<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 CLAHETraitConst for Ptr<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_BackgroundSubtractorMOG2Trait for Ptr<CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_mut_CUDA_BackgroundSubtractorMOG2(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, stream: &mut impl StreamTrait ) -> Result<()>

source§

fn get_background_image_1( &mut self, background_image: &mut impl GpuMatTrait, stream: &mut impl StreamTrait ) -> Result<()>

source§

impl CUDA_BackgroundSubtractorMOG2TraitConst for Ptr<CUDA_BackgroundSubtractorMOG2>

source§

fn as_raw_CUDA_BackgroundSubtractorMOG2(&self) -> *const c_void

source§

fn get_background_image( &self, background_image: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

source§

impl CUDA_BackgroundSubtractorMOGTrait for Ptr<CUDA_BackgroundSubtractorMOG>

source§

fn as_raw_mut_CUDA_BackgroundSubtractorMOG(&mut self) -> *mut c_void

source§

fn apply( &mut self, image: &impl ToInputArray, fgmask: &mut impl ToOutputArray, learning_rate: f64, stream: &mut impl StreamTrait ) -> Result<()>

source§

fn get_background_image_1( &mut self, background_image: &mut impl GpuMatTrait, stream: &mut impl StreamTrait ) -> Result<()>

source§

fn set_history(&mut self, nframes: i32) -> Result<()>

source§

fn set_n_mixtures(&mut self, nmix: i32) -> Result<()>

source§

fn set_background_ratio(&mut self, background_ratio: f64) -> Result<()>

source§

fn set_noise_sigma(&mut self, noise_sigma: f64) -> Result<()>

source§

impl CUDA_BackgroundSubtractorMOGTraitConst for Ptr<CUDA_BackgroundSubtractorMOG>

source§

impl CUDA_BroxOpticalFlowTrait for Ptr<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_BroxOpticalFlowTraitConst for Ptr<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_CLAHETrait for Ptr<CUDA_CLAHE>

source§

fn as_raw_mut_CUDA_CLAHE(&mut self) -> *mut c_void

source§

fn apply( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
source§

impl CUDA_CLAHETraitConst for Ptr<CUDA_CLAHE>

source§

impl CUDA_CannyEdgeDetectorTrait for Ptr<CUDA_CannyEdgeDetector>

source§

fn as_raw_mut_CUDA_CannyEdgeDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, edges: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Finds edges in an image using the Canny86 algorithm. Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, edges: &mut impl ToOutputArray ) -> Result<()>

Finds edges in an image using the Canny86 algorithm. Read more
source§

fn detect_1( &mut self, dx: &impl ToInputArray, dy: &impl ToInputArray, edges: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Finds edges in an image using the Canny86 algorithm. Read more
source§

fn detect_def_1( &mut self, dx: &impl ToInputArray, dy: &impl ToInputArray, edges: &mut impl ToOutputArray ) -> Result<()>

@overload Read more
source§

fn set_low_threshold(&mut self, low_thresh: f64) -> Result<()>

source§

fn set_high_threshold(&mut self, high_thresh: f64) -> Result<()>

source§

fn set_apperture_size(&mut self, apperture_size: i32) -> Result<()>

source§

fn set_l2_gradient(&mut self, l2gradient: bool) -> Result<()>

source§

impl CUDA_CannyEdgeDetectorTraitConst for Ptr<CUDA_CannyEdgeDetector>

source§

impl CUDA_CascadeClassifierTrait for Ptr<CUDA_CascadeClassifier>

source§

fn as_raw_mut_CUDA_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: &impl ToInputArray, objects: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Detects objects of different sizes in the input image. Read more
source§

fn detect_multi_scale_def( &mut self, image: &impl ToInputArray, objects: &mut impl ToOutputArray ) -> Result<()>

Detects objects of different sizes in the input image. Read more
source§

fn convert( &mut self, gpu_objects: &mut impl ToOutputArray, objects: &mut Vector<Rect> ) -> Result<()>

Converts objects array from internal representation to standard vector. Read more
source§

impl CUDA_CascadeClassifierTraitConst for Ptr<CUDA_CascadeClassifier>

source§

impl CUDA_CornernessCriteriaTrait for Ptr<CUDA_CornernessCriteria>

source§

fn as_raw_mut_CUDA_CornernessCriteria(&mut self) -> *mut c_void

source§

fn compute( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Computes the cornerness criteria at each image pixel. Read more
source§

fn compute_def( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Computes the cornerness criteria at each image pixel. Read more
source§

impl CUDA_CornernessCriteriaTraitConst for Ptr<CUDA_CornernessCriteria>

source§

impl CUDA_CornersDetectorTrait for Ptr<CUDA_CornersDetector>

source§

fn as_raw_mut_CUDA_CornersDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, corners: &mut impl ToOutputArray, mask: &impl ToInputArray, stream: &mut impl StreamTrait ) -> Result<()>

Determines strong corners on an image. Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, corners: &mut impl ToOutputArray ) -> Result<()>

Determines strong corners on an image. Read more
source§

impl CUDA_CornersDetectorTraitConst for Ptr<CUDA_CornersDetector>

source§

impl CUDA_DenseOpticalFlowTrait for Ptr<CUDA_BroxOpticalFlow>

source§

fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Calculates a dense optical flow. Read more
source§

fn calc_def( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates a dense optical flow. Read more
source§

impl CUDA_DenseOpticalFlowTrait for Ptr<CUDA_DenseOpticalFlow>

source§

fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Calculates a dense optical flow. Read more
source§

fn calc_def( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates a dense optical flow. Read more
source§

impl CUDA_DenseOpticalFlowTrait for Ptr<CUDA_DensePyrLKOpticalFlow>

source§

fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Calculates a dense optical flow. Read more
source§

fn calc_def( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates a dense optical flow. Read more
source§

impl CUDA_DenseOpticalFlowTrait for Ptr<CUDA_FarnebackOpticalFlow>

source§

fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Calculates a dense optical flow. Read more
source§

fn calc_def( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates a dense optical flow. Read more
source§

impl CUDA_DenseOpticalFlowTrait for Ptr<CUDA_OpticalFlowDual_TVL1>

source§

fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Calculates a dense optical flow. Read more
source§

fn calc_def( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates a dense optical flow. Read more
source§

impl CUDA_DenseOpticalFlowTraitConst for Ptr<CUDA_BroxOpticalFlow>

source§

impl CUDA_DenseOpticalFlowTraitConst for Ptr<CUDA_DenseOpticalFlow>

source§

impl CUDA_DenseOpticalFlowTraitConst for Ptr<CUDA_DensePyrLKOpticalFlow>

source§

impl CUDA_DenseOpticalFlowTraitConst for Ptr<CUDA_FarnebackOpticalFlow>

source§

impl CUDA_DenseOpticalFlowTraitConst for Ptr<CUDA_OpticalFlowDual_TVL1>

source§

impl CUDA_DensePyrLKOpticalFlowTrait for Ptr<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_DensePyrLKOpticalFlowTraitConst for Ptr<CUDA_DensePyrLKOpticalFlow>

source§

impl CUDA_DescriptorMatcherTrait for Ptr<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: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, mask: &impl ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set (blocking version). Read more
source§

fn match__def( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

Finds the best match for each descriptor from a query set (blocking version). Read more
source§

fn match__1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, masks: &Vector<GpuMat> ) -> Result<()>

Finds the best match for each descriptor from a query set (blocking version). Read more
source§

fn match__def_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

@overload Read more
source§

fn match_async( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, mask: &impl ToInputArray, stream: &mut impl StreamTrait ) -> Result<()>

Finds the best match for each descriptor from a query set (asynchronous version). Read more
source§

fn match_async_def( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray ) -> Result<()>

Finds the best match for each descriptor from a query set (asynchronous version). Read more
source§

fn match_async_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, masks: &Vector<GpuMat>, stream: &mut impl StreamTrait ) -> Result<()>

Finds the best match for each descriptor from a query set (asynchronous version). Read more
source§

fn match_async_def_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray ) -> Result<()>

@overload Read more
source§

fn match_convert( &mut self, gpu_matches: &impl ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
source§

fn knn_match( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &impl ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set (blocking version). Read more
source§

fn knn_match_def( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32 ) -> Result<()>

Finds the k best matches for each descriptor from a query set (blocking version). Read more
source§

fn knn_match_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &Vector<GpuMat>, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set (blocking version). Read more
source§

fn knn_match_def_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32 ) -> Result<()>

@overload Read more
source§

fn knn_match_async( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, k: i32, mask: &impl ToInputArray, stream: &mut impl StreamTrait ) -> Result<()>

Finds the k best matches for each descriptor from a query set (asynchronous version). Read more
source§

fn knn_match_async_def( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, k: i32 ) -> Result<()>

Finds the k best matches for each descriptor from a query set (asynchronous version). Read more
source§

fn knn_match_async_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, k: i32, masks: &Vector<GpuMat>, stream: &mut impl StreamTrait ) -> Result<()>

Finds the k best matches for each descriptor from a query set (asynchronous version). Read more
source§

fn knn_match_async_def_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, k: i32 ) -> Result<()>

@overload Read more
source§

fn knn_match_convert( &mut self, gpu_matches: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, compact_result: bool ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
source§

fn knn_match_convert_def( &mut self, gpu_matches: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>> ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
source§

fn radius_match( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &impl ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (blocking version). Read more
source§

fn radius_match_def( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32 ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (blocking version). Read more
source§

fn radius_match_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &Vector<GpuMat>, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (blocking version). Read more
source§

fn radius_match_def_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32 ) -> Result<()>

@overload Read more
source§

fn radius_match_async( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, max_distance: f32, mask: &impl ToInputArray, stream: &mut impl StreamTrait ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (asynchronous version). Read more
source§

fn radius_match_async_def( &mut self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, max_distance: f32 ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (asynchronous version). Read more
source§

fn radius_match_async_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, max_distance: f32, masks: &Vector<GpuMat>, stream: &mut impl StreamTrait ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance (asynchronous version). Read more
source§

fn radius_match_async_def_1( &mut self, query_descriptors: &impl ToInputArray, matches: &mut impl ToOutputArray, max_distance: f32 ) -> Result<()>

@overload Read more
source§

fn radius_match_convert( &mut self, gpu_matches: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, compact_result: bool ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
source§

fn radius_match_convert_def( &mut self, gpu_matches: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>> ) -> Result<()>

Converts matches array from internal representation to standard matches vector. Read more
source§

impl CUDA_DescriptorMatcherTraitConst for Ptr<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_DisparityBilateralFilterTrait for Ptr<CUDA_DisparityBilateralFilter>

source§

fn as_raw_mut_CUDA_DisparityBilateralFilter(&mut self) -> *mut c_void

source§

fn apply( &mut self, disparity: &impl ToInputArray, image: &impl ToInputArray, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Refines a disparity map using joint bilateral filtering. Read more
source§

fn apply_def( &mut self, disparity: &impl ToInputArray, image: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Refines a disparity map using joint bilateral filtering. Read more
source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_radius(&mut self, radius: i32) -> Result<()>

source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

source§

fn set_edge_threshold(&mut self, edge_threshold: f64) -> Result<()>

source§

fn set_max_disc_threshold(&mut self, max_disc_threshold: f64) -> Result<()>

source§

fn set_sigma_range(&mut self, sigma_range: f64) -> Result<()>

source§

impl CUDA_DisparityBilateralFilterTraitConst for Ptr<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_EncoderCallbackTrait for Ptr<CUDA_EncoderCallback>

source§

fn as_raw_mut_CUDA_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 CUDA_EncoderCallbackTraitConst for Ptr<CUDA_EncoderCallback>

source§

impl CUDA_FarnebackOpticalFlowTrait for Ptr<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_FarnebackOpticalFlowTraitConst for Ptr<CUDA_FarnebackOpticalFlow>

source§

impl CUDA_FastFeatureDetectorTrait for Ptr<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_FastFeatureDetectorTraitConst for Ptr<CUDA_FastFeatureDetector>

source§

impl CUDA_Feature2DAsyncTrait for Ptr<CUDA_FastFeatureDetector>

source§

fn as_raw_mut_CUDA_Feature2DAsync(&mut self) -> *mut c_void

source§

fn detect_async( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, mask: &impl ToInputArray, stream: &mut impl StreamTrait ) -> Result<()>

Detects keypoints in an image. Read more
source§

fn detect_async_def( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints in an image. Read more
source§

fn compute_async( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
source§

fn compute_async_def( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
source§

fn detect_and_compute_async( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, stream: &mut impl StreamTrait ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
source§

fn detect_and_compute_async_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
source§

fn convert( &mut self, gpu_keypoints: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Converts keypoints array from internal representation to standard vector.
source§

impl CUDA_Feature2DAsyncTrait for Ptr<CUDA_Feature2DAsync>

source§

fn as_raw_mut_CUDA_Feature2DAsync(&mut self) -> *mut c_void

source§

fn detect_async( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, mask: &impl ToInputArray, stream: &mut impl StreamTrait ) -> Result<()>

Detects keypoints in an image. Read more
source§

fn detect_async_def( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints in an image. Read more
source§

fn compute_async( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
source§

fn compute_async_def( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
source§

fn detect_and_compute_async( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, stream: &mut impl StreamTrait ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
source§

fn detect_and_compute_async_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
source§

fn convert( &mut self, gpu_keypoints: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Converts keypoints array from internal representation to standard vector.
source§

impl CUDA_Feature2DAsyncTrait for Ptr<CUDA_ORB>

source§

fn as_raw_mut_CUDA_Feature2DAsync(&mut self) -> *mut c_void

source§

fn detect_async( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, mask: &impl ToInputArray, stream: &mut impl StreamTrait ) -> Result<()>

Detects keypoints in an image. Read more
source§

fn detect_async_def( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints in an image. Read more
source§

fn compute_async( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
source§

fn compute_async_def( &mut self, image: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image. Read more
source§

fn detect_and_compute_async( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool, stream: &mut impl StreamTrait ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
source§

fn detect_and_compute_async_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut impl ToOutputArray, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors. Read more
source§

fn convert( &mut self, gpu_keypoints: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Converts keypoints array from internal representation to standard vector.
source§

impl CUDA_Feature2DAsyncTraitConst for Ptr<CUDA_FastFeatureDetector>

source§

impl CUDA_Feature2DAsyncTraitConst for Ptr<CUDA_Feature2DAsync>

source§

impl CUDA_Feature2DAsyncTraitConst for Ptr<CUDA_ORB>

source§

impl CUDA_HOGTrait for Ptr<CUDA_HOG>

source§

fn as_raw_mut_CUDA_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: &impl ToInputArray) -> Result<()>

Sets coefficients for the linear SVM classifier.
source§

fn detect( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Point>, confidences: &mut Vector<f64> ) -> Result<()>

Performs object detection without a multi-scale window. Read more
source§

fn detect_def( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Point> ) -> Result<()>

Performs object detection without a multi-scale window. Read more
source§

fn detect_1( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Point>, confidences: &mut Vector<f64> ) -> Result<()>

source§

fn detect_without_conf( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Point> ) -> Result<()>

Performs object detection without a multi-scale window. Read more
source§

fn detect_multi_scale( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Rect>, confidences: &mut Vector<f64> ) -> Result<()>

Performs object detection with a multi-scale window. Read more
source§

fn detect_multi_scale_def( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Rect> ) -> Result<()>

Performs object detection with a multi-scale window. Read more
source§

fn detect_multi_scale_1( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Rect>, confidences: &mut Vector<f64> ) -> Result<()>

source§

fn detect_multi_scale_without_conf( &mut self, img: &impl ToInputArray, found_locations: &mut Vector<Rect> ) -> Result<()>

Performs object detection with a multi-scale window. Read more
source§

fn compute( &mut self, img: &impl ToInputArray, descriptors: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Returns block descriptors computed for the whole image. Read more
source§

fn compute_def( &mut self, img: &impl ToInputArray, descriptors: &mut impl ToOutputArray ) -> Result<()>

Returns block descriptors computed for the whole image. Read more
source§

impl CUDA_HOGTraitConst for Ptr<CUDA_HOG>

source§

fn as_raw_CUDA_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 CUDA_HoughCirclesDetectorTrait for Ptr<CUDA_HoughCirclesDetector>

source§

fn as_raw_mut_CUDA_HoughCirclesDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, src: &impl ToInputArray, circles: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Finds circles in a grayscale image using the Hough transform. Read more
source§

fn detect_def( &mut self, src: &impl ToInputArray, circles: &mut impl ToOutputArray ) -> Result<()>

Finds circles in a grayscale image using the Hough transform. Read more
source§

fn set_dp(&mut self, dp: f32) -> Result<()>

source§

fn set_min_dist(&mut self, min_dist: f32) -> Result<()>

source§

fn set_canny_threshold(&mut self, canny_threshold: i32) -> Result<()>

source§

fn set_votes_threshold(&mut self, votes_threshold: i32) -> Result<()>

source§

fn set_min_radius(&mut self, min_radius: i32) -> Result<()>

source§

fn set_max_radius(&mut self, max_radius: i32) -> Result<()>

source§

fn set_max_circles(&mut self, max_circles: i32) -> Result<()>

source§

impl CUDA_HoughCirclesDetectorTraitConst for Ptr<CUDA_HoughCirclesDetector>

source§

impl CUDA_HoughLinesDetectorTrait for Ptr<CUDA_HoughLinesDetector>

source§

fn as_raw_mut_CUDA_HoughLinesDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, src: &impl ToInputArray, lines: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Finds lines in a binary image using the classical Hough transform. Read more
source§

fn detect_def( &mut self, src: &impl ToInputArray, lines: &mut impl ToOutputArray ) -> Result<()>

Finds lines in a binary image using the classical Hough transform. Read more
source§

fn download_results( &mut self, d_lines: &impl ToInputArray, h_lines: &mut impl ToOutputArray, h_votes: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Downloads results from cuda::HoughLinesDetector::detect to host memory. Read more
source§

fn download_results_def( &mut self, d_lines: &impl ToInputArray, h_lines: &mut impl ToOutputArray ) -> Result<()>

Downloads results from cuda::HoughLinesDetector::detect to host memory. Read more
source§

fn set_rho(&mut self, rho: f32) -> Result<()>

source§

fn set_theta(&mut self, theta: f32) -> Result<()>

source§

fn set_threshold(&mut self, threshold: i32) -> Result<()>

source§

fn set_do_sort(&mut self, do_sort: bool) -> Result<()>

source§

fn set_max_lines(&mut self, max_lines: i32) -> Result<()>

source§

impl CUDA_HoughLinesDetectorTraitConst for Ptr<CUDA_HoughLinesDetector>

source§

impl CUDA_HoughSegmentDetectorTrait for Ptr<CUDA_HoughSegmentDetector>

source§

fn as_raw_mut_CUDA_HoughSegmentDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, src: &impl ToInputArray, lines: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Finds line segments in a binary image using the probabilistic Hough transform. Read more
source§

fn detect_def( &mut self, src: &impl ToInputArray, lines: &mut impl ToOutputArray ) -> Result<()>

Finds line segments in a binary image using the probabilistic Hough transform. Read more
source§

fn set_rho(&mut self, rho: f32) -> Result<()>

source§

fn set_theta(&mut self, theta: f32) -> Result<()>

source§

fn set_min_line_length(&mut self, min_line_length: i32) -> Result<()>

source§

fn set_max_line_gap(&mut self, max_line_gap: i32) -> Result<()>

source§

fn set_max_lines(&mut self, max_lines: i32) -> Result<()>

source§

fn set_threshold(&mut self, threshold: i32) -> Result<()>

source§

impl CUDA_HoughSegmentDetectorTraitConst for Ptr<CUDA_HoughSegmentDetector>

source§

impl CUDA_NvidiaHWOpticalFlowTrait for Ptr<CUDA_NvidiaHWOpticalFlow>

source§

fn as_raw_mut_CUDA_NvidiaHWOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, input_image: &impl ToInputArray, reference_image: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait, hint: &impl ToInputArray, cost: &mut impl ToOutputArray ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
source§

fn calc_def( &mut self, input_image: &impl ToInputArray, reference_image: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all buffers, contexts and device pointers.
source§

impl CUDA_NvidiaHWOpticalFlowTrait for Ptr<CUDA_NvidiaOpticalFlow_1_0>

source§

fn as_raw_mut_CUDA_NvidiaHWOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, input_image: &impl ToInputArray, reference_image: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait, hint: &impl ToInputArray, cost: &mut impl ToOutputArray ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
source§

fn calc_def( &mut self, input_image: &impl ToInputArray, reference_image: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all buffers, contexts and device pointers.
source§

impl CUDA_NvidiaHWOpticalFlowTrait for Ptr<CUDA_NvidiaOpticalFlow_2_0>

source§

fn as_raw_mut_CUDA_NvidiaHWOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, input_image: &impl ToInputArray, reference_image: &impl ToInputArray, flow: &mut impl ToInputOutputArray, stream: &mut impl StreamTrait, hint: &impl ToInputArray, cost: &mut impl ToOutputArray ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
source§

fn calc_def( &mut self, input_image: &impl ToInputArray, reference_image: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all buffers, contexts and device pointers.
source§

impl CUDA_NvidiaHWOpticalFlowTraitConst for Ptr<CUDA_NvidiaHWOpticalFlow>

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_NvidiaHWOpticalFlowTraitConst for Ptr<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_NvidiaHWOpticalFlowTraitConst for Ptr<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_0Trait for Ptr<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: &impl ToInputArray, image_size: Size, grid_size: i32, upsampled_flow: &mut impl ToInputOutputArray ) -> Result<()>

The NVIDIA optical flow hardware generates flow vectors at granularity gridSize, which can be queried via function getGridSize(). Upsampler() helper function converts the hardware-generated flow vectors to dense representation (1 flow vector for each pixel) using nearest neighbour upsampling method. Read more
source§

impl CUDA_NvidiaOpticalFlow_1_0TraitConst for Ptr<CUDA_NvidiaOpticalFlow_1_0>

source§

impl CUDA_NvidiaOpticalFlow_2_0Trait for Ptr<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: &impl ToInputArray, float_flow: &mut impl ToInputOutputArray ) -> Result<()>

convertToFloat() helper function converts the hardware-generated flow vectors to floating point representation (1 flow vector for gridSize). gridSize can be queried via function getGridSize(). Read more
source§

impl CUDA_NvidiaOpticalFlow_2_0TraitConst for Ptr<CUDA_NvidiaOpticalFlow_2_0>

source§

impl CUDA_ORBTrait for Ptr<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_ORBTraitConst for Ptr<CUDA_ORB>

source§

impl CUDA_OpticalFlowDual_TVL1Trait for Ptr<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_TVL1TraitConst for Ptr<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_RawVideoSourceTrait for Ptr<CUDA_RawVideoSource>

source§

fn as_raw_mut_CUDA_RawVideoSource(&mut self) -> *mut c_void

source§

unsafe fn get_next_packet( &mut self, data: *mut *mut u8, size: &mut size_t ) -> Result<bool>

Returns next packet with RAW video frame. Read more
source§

fn update_format(&mut self, video_format: CUDA_FormatInfo) -> Result<()>

Updates the coded width and height inside format.
source§

impl CUDA_RawVideoSourceTraitConst for Ptr<CUDA_RawVideoSource>

source§

fn as_raw_CUDA_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<CUDA_FormatInfo>

Returns information about video file format.
source§

fn get_extra_data(&self, extra_data: &mut impl MatTrait) -> Result<()>

Returns any extra data associated with the video source. Read more
source§

fn get(&self, property_id: i32, property_val: &mut f64) -> Result<bool>

Retrieves the specified property used by the VideoSource. Read more
source§

fn get_first_frame_idx(&self) -> Result<i32>

Retrieve the index of the first frame that will returned after construction. Read more
source§

impl CUDA_SparseOpticalFlowTrait for Ptr<CUDA_SparseOpticalFlow>

source§

fn as_raw_mut_CUDA_SparseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, err: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

fn calc_def( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

impl CUDA_SparseOpticalFlowTrait for Ptr<CUDA_SparsePyrLKOpticalFlow>

source§

fn as_raw_mut_CUDA_SparseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, err: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

fn calc_def( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

impl CUDA_SparseOpticalFlowTraitConst for Ptr<CUDA_SparseOpticalFlow>

source§

impl CUDA_SparseOpticalFlowTraitConst for Ptr<CUDA_SparsePyrLKOpticalFlow>

source§

impl CUDA_SparsePyrLKOpticalFlowTrait for Ptr<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_SparsePyrLKOpticalFlowTraitConst for Ptr<CUDA_SparsePyrLKOpticalFlow>

source§

impl CUDA_StereoBMTrait for Ptr<CUDA_StereoBM>

source§

fn as_raw_mut_CUDA_StereoBM(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

source§

impl CUDA_StereoBMTraitConst for Ptr<CUDA_StereoBM>

source§

impl CUDA_StereoBeliefPropagationTrait for Ptr<CUDA_StereoBeliefPropagation>

source§

fn as_raw_mut_CUDA_StereoBeliefPropagation(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
source§

fn compute_1( &mut self, data: &impl ToInputArray, disparity: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
source§

fn compute_def( &mut self, data: &impl ToInputArray, disparity: &mut impl ToOutputArray ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

source§

fn set_num_levels(&mut self, levels: i32) -> Result<()>

source§

fn set_max_data_term(&mut self, max_data_term: f64) -> Result<()>

source§

fn set_data_weight(&mut self, data_weight: f64) -> Result<()>

source§

fn set_max_disc_term(&mut self, max_disc_term: f64) -> Result<()>

source§

fn set_disc_single_jump(&mut self, disc_single_jump: f64) -> Result<()>

source§

fn set_msg_type(&mut self, msg_type: i32) -> Result<()>

source§

impl CUDA_StereoBeliefPropagationTrait for Ptr<CUDA_StereoConstantSpaceBP>

source§

fn as_raw_mut_CUDA_StereoBeliefPropagation(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
source§

fn compute_1( &mut self, data: &impl ToInputArray, disparity: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
source§

fn compute_def( &mut self, data: &impl ToInputArray, disparity: &mut impl ToOutputArray ) -> Result<()>

Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
source§

fn set_num_iters(&mut self, iters: i32) -> Result<()>

source§

fn set_num_levels(&mut self, levels: i32) -> Result<()>

source§

fn set_max_data_term(&mut self, max_data_term: f64) -> Result<()>

source§

fn set_data_weight(&mut self, data_weight: f64) -> Result<()>

source§

fn set_max_disc_term(&mut self, max_disc_term: f64) -> Result<()>

source§

fn set_disc_single_jump(&mut self, disc_single_jump: f64) -> Result<()>

source§

fn set_msg_type(&mut self, msg_type: i32) -> Result<()>

source§

impl CUDA_StereoBeliefPropagationTraitConst for Ptr<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_StereoBeliefPropagationTraitConst for Ptr<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_StereoConstantSpaceBPTrait for Ptr<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_StereoConstantSpaceBPTraitConst for Ptr<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_StereoSGMTrait for Ptr<CUDA_StereoSGM>

source§

fn as_raw_mut_CUDA_StereoSGM(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn compute_with_stream( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Computes disparity map with specified CUDA Stream Read more
source§

impl CUDA_StereoSGMTraitConst for Ptr<CUDA_StereoSGM>

source§

impl CUDA_TemplateMatchingTrait for Ptr<CUDA_TemplateMatching>

source§

fn as_raw_mut_CUDA_TemplateMatching(&mut self) -> *mut c_void

source§

fn match_( &mut self, image: &impl ToInputArray, templ: &impl ToInputArray, result: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Computes a proximity map for a raster template and an image where the template is searched for. Read more
source§

fn match__def( &mut self, image: &impl ToInputArray, templ: &impl ToInputArray, result: &mut impl ToOutputArray ) -> Result<()>

Computes a proximity map for a raster template and an image where the template is searched for. Read more
source§

impl CUDA_TemplateMatchingTraitConst for Ptr<CUDA_TemplateMatching>

source§

impl CUDA_VideoReaderTrait for Ptr<CUDA_VideoReader>

source§

fn as_raw_mut_CUDA_VideoReader(&mut self) -> *mut c_void

source§

fn next_frame( &mut self, frame: &mut impl GpuMatTrait, stream: &mut impl StreamTrait ) -> Result<bool>

Grabs, decodes and returns the next video frame. Read more
source§

fn next_frame_def(&mut self, frame: &mut impl GpuMatTrait) -> Result<bool>

Grabs, decodes and returns the next video frame. Read more
source§

fn next_frame_with_hist( &mut self, frame: &mut impl GpuMatTrait, histogram: &mut impl GpuMatTrait, stream: &mut impl StreamTrait ) -> Result<bool>

Grabs, decodes and returns the next video frame and frame luma histogram. Read more
source§

fn next_frame_with_hist_def( &mut self, frame: &mut impl GpuMatTrait, histogram: &mut impl GpuMatTrait ) -> Result<bool>

Grabs, decodes and returns the next video frame and frame luma histogram. Read more
source§

fn grab(&mut self, stream: &mut impl StreamTrait) -> Result<bool>

Grabs the next frame from the video source. Read more
source§

fn grab_def(&mut self) -> Result<bool>

Grabs the next frame from the video source. Read more
source§

fn set( &mut self, property_id: CUDA_VideoReaderProps, property_val: f64 ) -> Result<bool>

Sets a property in the VideoReader. Read more
source§

fn set_video_reader_props( &mut self, property_id: CUDA_VideoReaderProps, property_val: f64 ) -> Result<bool>

source§

fn set_1(&mut self, color_format: CUDA_ColorFormat) -> Result<bool>

Set the desired ColorFormat for the frame returned by nextFrame()/retrieve(). Read more
source§

impl CUDA_VideoReaderTraitConst for Ptr<CUDA_VideoReader>

source§

fn as_raw_CUDA_VideoReader(&self) -> *const c_void

source§

fn format(&self) -> Result<CUDA_FormatInfo>

Returns information about video file format.
source§

fn retrieve(&self, frame: &mut impl ToOutputArray, idx: size_t) -> Result<bool>

Returns previously grabbed video data. Read more
source§

fn retrieve_def(&self, frame: &mut impl ToOutputArray) -> Result<bool>

Returns previously grabbed video data. Read more
source§

fn retrieve_1(&self, frame: &mut impl MatTrait, idx: size_t) -> Result<bool>

Returns previously grabbed encoded video data. Read more
source§

fn retrieve_2(&self, frame: &mut impl GpuMatTrait) -> Result<bool>

Returns the next video frame. Read more
source§

fn get( &self, property_id: CUDA_VideoReaderProps, property_val: &mut f64 ) -> Result<bool>

Returns the specified VideoReader property Read more
source§

fn get_video_reader_props( &self, property_id: CUDA_VideoReaderProps, property_val_out: &mut f64, property_val_in: f64 ) -> Result<bool>

C++ default parameters Read more
source§

fn get_video_reader_props_def( &self, property_id: CUDA_VideoReaderProps, property_val_out: &mut f64 ) -> Result<bool>

source§

fn get_1(&self, property_id: i32, property_val: &mut f64) -> Result<bool>

Retrieves the specified property used by the VideoSource. Read more
source§

impl CUDA_VideoWriterTrait for Ptr<CUDA_VideoWriter>

source§

fn as_raw_mut_CUDA_VideoWriter(&mut self) -> *mut c_void

source§

fn write(&mut self, frame: &impl ToInputArray) -> Result<()>

Writes the next video frame. Read more
source§

fn release(&mut self) -> Result<()>

Waits until the encoding process has finished before calling EncoderCallback::onEncodingFinished().
source§

impl CUDA_VideoWriterTraitConst for Ptr<CUDA_VideoWriter>

source§

fn as_raw_CUDA_VideoWriter(&self) -> *const c_void

source§

fn get_encoder_params(&self) -> Result<CUDA_EncoderParams>

Retrieve the encoding parameters.
source§

impl CalibrateCRFTrait for Ptr<CalibrateCRF>

source§

fn as_raw_mut_CalibrateCRF(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray ) -> Result<()>

Recovers inverse camera response. Read more
source§

impl CalibrateCRFTrait for Ptr<CalibrateDebevec>

source§

fn as_raw_mut_CalibrateCRF(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray ) -> Result<()>

Recovers inverse camera response. Read more
source§

impl CalibrateCRFTrait for Ptr<CalibrateRobertson>

source§

fn as_raw_mut_CalibrateCRF(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray ) -> Result<()>

Recovers inverse camera response. Read more
source§

impl CalibrateCRFTraitConst for Ptr<CalibrateCRF>

source§

impl CalibrateCRFTraitConst for Ptr<CalibrateDebevec>

source§

impl CalibrateCRFTraitConst for Ptr<CalibrateRobertson>

source§

impl CalibrateDebevecTrait for Ptr<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 CalibrateDebevecTraitConst for Ptr<CalibrateDebevec>

source§

impl CalibrateRobertsonTrait for Ptr<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 CalibrateRobertsonTraitConst for Ptr<CalibrateRobertson>

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 ChannelsPReLULayerTrait for Ptr<ChannelsPReLULayer>

source§

impl ChannelsPReLULayerTraitConst for Ptr<ChannelsPReLULayer>

source§

impl CharucoBoardTrait for Ptr<CharucoBoard>

source§

fn as_raw_mut_CharucoBoard(&mut self) -> *mut c_void

source§

fn set_legacy_pattern(&mut self, legacy_pattern: bool) -> Result<()>

set legacy chessboard pattern. Read more
source§

impl CharucoBoardTraitConst for Ptr<CharucoBoard>

source§

fn as_raw_CharucoBoard(&self) -> *const c_void

source§

fn get_legacy_pattern(&self) -> Result<bool>

source§

fn get_chessboard_size(&self) -> Result<Size>

source§

fn get_square_length(&self) -> Result<f32>

source§

fn get_marker_length(&self) -> Result<f32>

source§

fn get_chessboard_corners(&self) -> Result<Vector<Point3f>>

get CharucoBoard::chessboardCorners
source§

fn get_nearest_marker_idx(&self) -> Result<Vector<Vector<i32>>>

get CharucoBoard::nearestMarkerIdx, for each charuco corner, nearest marker index in ids array
source§

fn get_nearest_marker_corners(&self) -> Result<Vector<Vector<i32>>>

get CharucoBoard::nearestMarkerCorners, for each charuco corner, nearest marker corner id of each marker
source§

fn check_charuco_corners_collinear( &self, charuco_ids: &impl ToInputArray ) -> Result<bool>

check whether the ChArUco markers are collinear Read more
source§

impl CharucoDetectorTrait for Ptr<CharucoDetector>

source§

fn as_raw_mut_CharucoDetector(&mut self) -> *mut c_void

source§

fn set_board(&mut self, board: &impl CharucoBoardTraitConst) -> Result<()>

source§

fn set_charuco_parameters( &mut self, charuco_parameters: &mut impl CharucoParametersTrait ) -> Result<()>

source§

fn set_detector_parameters( &mut self, detector_parameters: &impl DetectorParametersTraitConst ) -> Result<()>

source§

fn set_refine_parameters( &mut self, refine_parameters: RefineParameters ) -> Result<()>

source§

impl CharucoDetectorTraitConst for Ptr<CharucoDetector>

source§

fn as_raw_CharucoDetector(&self) -> *const c_void

source§

fn get_board(&self) -> Result<CharucoBoard>

source§

fn get_charuco_parameters(&self) -> Result<CharucoParameters>

source§

fn get_detector_parameters(&self) -> Result<DetectorParameters>

source§

fn get_refine_parameters(&self) -> Result<RefineParameters>

source§

fn detect_board( &self, image: &impl ToInputArray, charuco_corners: &mut impl ToOutputArray, charuco_ids: &mut impl ToOutputArray, marker_corners: &mut impl ToInputOutputArray, marker_ids: &mut impl ToInputOutputArray ) -> Result<()>

detect aruco markers and interpolate position of ChArUco board corners Read more
source§

fn detect_board_def( &self, image: &impl ToInputArray, charuco_corners: &mut impl ToOutputArray, charuco_ids: &mut impl ToOutputArray ) -> Result<()>

detect aruco markers and interpolate position of ChArUco board corners Read more
source§

fn detect_diamonds( &self, image: &impl ToInputArray, diamond_corners: &mut impl ToOutputArray, diamond_ids: &mut impl ToOutputArray, marker_corners: &mut impl ToInputOutputArray, marker_ids: &mut impl ToInputOutputArray ) -> Result<()>

Detect ChArUco Diamond markers Read more
source§

fn detect_diamonds_def( &self, image: &impl ToInputArray, diamond_corners: &mut impl ToOutputArray, diamond_ids: &mut impl ToOutputArray ) -> Result<()>

Detect ChArUco Diamond markers Read more
source§

impl ChiHistogramCostExtractorTrait for Ptr<ChiHistogramCostExtractor>

source§

impl ChiHistogramCostExtractorTraitConst for Ptr<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 impl MatTrait, mask: &mut impl MatTrait ) -> 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 impl MatTrait, mask: &mut impl MatTrait ) -> Result<()>

source§

impl ColorInpainterTraitConst for Ptr<ColorInpainter>

source§

impl ColorMomentHashTrait for Ptr<ColorMomentHash>

source§

impl ColorMomentHashTraitConst for Ptr<ColorMomentHash>

source§

impl ColoredKinfu_ColoredKinFuTrait for Ptr<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: &impl ToInputArray, rgb: &impl ToInputArray ) -> Result<bool>

Process next depth frame Read more
source§

impl ColoredKinfu_ColoredKinFuTraitConst for Ptr<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 impl ToOutputArray) -> Result<()>

Renders a volume into an image Read more
source§

fn render_1( &self, image: &mut impl ToOutputArray, camera_pose: Matx44f ) -> Result<()>

Renders a volume into an image Read more
source§

fn get_cloud( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, colors: &mut impl ToOutputArray ) -> Result<()>

Gets points, normals and colors of current 3d mesh Read more
source§

fn get_cloud_def( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray ) -> Result<()>

Gets points, normals and colors of current 3d mesh Read more
source§

fn get_points(&self, points: &mut impl ToOutputArray) -> Result<()>

Gets points of current 3d mesh Read more
source§

fn get_normals( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray ) -> Result<()>

Calculates normals for given points Read more
source§

fn get_pose(&self) -> Result<Affine3f>

Get current pose in voxel space
source§

impl ColoredKinfu_ParamsTrait for 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 CompareLayerTrait for Ptr<CompareLayer>

source§

impl CompareLayerTraitConst for Ptr<CompareLayer>

source§

impl CompositeIndexParamsTrait for Ptr<CompositeIndexParams>

source§

impl CompositeIndexParamsTraitConst for Ptr<CompositeIndexParams>

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 ConjGradSolverTrait for Ptr<ConjGradSolver>

source§

impl ConjGradSolverTraitConst for Ptr<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 impl MatTrait, mask: &mut impl MatTrait ) -> Result<()>

source§

impl ConsistentMosaicInpainterTraitConst for Ptr<ConsistentMosaicInpainter>

source§

impl ConstLayerTrait for Ptr<ConstLayer>

source§

impl ConstLayerTraitConst for Ptr<ConstLayer>

source§

impl ContourFittingTrait for Ptr<ContourFitting>

source§

fn as_raw_mut_ContourFitting(&mut self) -> *mut c_void

source§

fn estimate_transformation( &mut self, src: &impl ToInputArray, dst: &impl ToInputArray, alpha_phi_st: &mut impl ToOutputArray, dist: &mut f64, fd_contour: bool ) -> Result<()>

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more
source§

fn estimate_transformation_def( &mut self, src: &impl ToInputArray, dst: &impl ToInputArray, alpha_phi_st: &mut impl ToOutputArray ) -> Result<()>

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more
source§

fn estimate_transformation_1( &mut self, src: &impl ToInputArray, dst: &impl ToInputArray, alpha_phi_st: &mut impl ToOutputArray, dist: &mut f64, fd_contour: bool ) -> Result<()>

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more
source§

fn estimate_transformation_def_1( &mut self, src: &impl ToInputArray, dst: &impl ToInputArray, alpha_phi_st: &mut impl ToOutputArray, dist: &mut f64 ) -> Result<()>

Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more
source§

fn set_ctr_size(&mut self, n: i32) -> Result<()>

set number of Fourier descriptors used in estimateTransformation Read more
source§

fn set_fd_size(&mut self, n: i32) -> Result<()>

set number of Fourier descriptors when estimateTransformation used vector Read more
source§

fn get_ctr_size(&mut self) -> Result<i32>

Returns Read more
source§

fn get_fd_size(&mut self) -> Result<i32>

Returns Read more
source§

impl ContourFittingTraitConst for Ptr<ContourFitting>

source§

impl ConvolutionLayerInt8Trait for Ptr<ConvolutionLayerInt8>

source§

fn as_raw_mut_ConvolutionLayerInt8(&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§

fn set_use_winograd(&mut self, val: bool)

C++ default parameters Read more
source§

impl ConvolutionLayerInt8TraitConst for Ptr<ConvolutionLayerInt8>

source§

impl ConvolutionLayerTrait for Ptr<ConvolutionLayer>

source§

fn as_raw_mut_ConvolutionLayer(&mut self) -> *mut c_void

source§

fn set_fused_activation(&mut self, val: bool)

C++ default parameters Read more
source§

fn set_fused_add(&mut self, val: bool)

C++ default parameters Read more
source§

fn set_use_winograd(&mut self, val: bool)

C++ default parameters Read more
source§

impl ConvolutionLayerTraitConst for Ptr<ConvolutionLayer>

source§

impl ConvolutionTrait for Ptr<Convolution>

source§

fn as_raw_mut_Convolution(&mut self) -> *mut c_void

source§

fn convolve( &mut self, image: &impl ToInputArray, templ: &impl ToInputArray, result: &mut impl ToOutputArray, ccorr: bool, stream: &mut impl StreamTrait ) -> Result<()>

Computes a convolution (or cross-correlation) of two images. Read more
source§

fn convolve_def( &mut self, image: &impl ToInputArray, templ: &impl ToInputArray, result: &mut impl ToOutputArray ) -> Result<()>

Computes a convolution (or cross-correlation) of two images. Read more
source§

impl ConvolutionTraitConst for Ptr<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 CropAndResizeLayerTrait for Ptr<CropAndResizeLayer>

source§

impl CropAndResizeLayerTraitConst for Ptr<CropAndResizeLayer>

source§

impl CropLayerTrait for Ptr<CropLayer>

source§

impl CropLayerTraitConst for Ptr<CropLayer>

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 CustomPatternTrait for Ptr<CustomPattern>

source§

fn as_raw_mut_CustomPattern(&mut self) -> *mut c_void

source§

fn create( &mut self, pattern: &impl ToInputArray, board_size: Size2f, output: &mut impl ToOutputArray ) -> Result<bool>

C++ default parameters Read more
source§

fn create_def( &mut self, pattern: &impl ToInputArray, board_size: Size2f ) -> Result<bool>

source§

fn find_pattern( &mut self, image: &impl ToInputArray, matched_features: &mut impl ToOutputArray, pattern_points: &mut impl ToOutputArray, ratio: f64, proj_error: f64, refine_position: bool, out: &mut impl ToOutputArray, h: &mut impl ToOutputArray, pattern_corners: &mut impl ToOutputArray ) -> Result<bool>

C++ default parameters Read more
source§

fn find_pattern_def( &mut self, image: &impl ToInputArray, matched_features: &mut impl ToOutputArray, pattern_points: &mut impl ToOutputArray ) -> Result<bool>

source§

fn is_initialized(&mut self) -> Result<bool>

source§

fn get_pattern_points( &mut self, original_points: &mut Vector<KeyPoint> ) -> Result<()>

source§

fn get_pixel_size(&mut self) -> Result<f64>

source§

fn set_feature_detector( &mut self, feature_detector: Ptr<Feature2D> ) -> Result<bool>

source§

fn set_descriptor_extractor( &mut self, extractor: Ptr<Feature2D> ) -> Result<bool>

source§

fn set_descriptor_matcher( &mut self, matcher: Ptr<DescriptorMatcher> ) -> Result<bool>

source§

fn get_feature_detector(&mut self) -> Result<Ptr<Feature2D>>

source§

fn get_descriptor_extractor(&mut self) -> Result<Ptr<Feature2D>>

source§

fn get_descriptor_matcher(&mut self) -> Result<Ptr<DescriptorMatcher>>

source§

fn calibrate( &mut self, object_points: &impl ToInputArray, image_points: &impl ToInputArray, image_size: Size, camera_matrix: &mut impl ToInputOutputArray, dist_coeffs: &mut impl ToInputOutputArray, rvecs: &mut impl ToOutputArray, tvecs: &mut impl ToOutputArray, flags: i32, criteria: TermCriteria ) -> Result<f64>

C++ default parameters Read more
source§

fn calibrate_def( &mut self, object_points: &impl ToInputArray, image_points: &impl ToInputArray, image_size: Size, camera_matrix: &mut impl ToInputOutputArray, dist_coeffs: &mut impl ToInputOutputArray, rvecs: &mut impl ToOutputArray, tvecs: &mut impl ToOutputArray ) -> Result<f64>

source§

fn find_rt( &mut self, object_points: &impl ToInputArray, image_points: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, use_extrinsic_guess: bool, flags: i32 ) -> Result<bool>

C++ default parameters Read more
source§

fn find_rt_def( &mut self, object_points: &impl ToInputArray, image_points: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray ) -> Result<bool>

source§

fn find_rt_1( &mut self, image: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, use_extrinsic_guess: bool, flags: i32 ) -> Result<bool>

C++ default parameters Read more
source§

fn find_rt_def_1( &mut self, image: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray ) -> Result<bool>

source§

fn find_rt_ransac( &mut self, object_points: &impl ToInputArray, image_points: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, use_extrinsic_guess: bool, iterations_count: i32, reprojection_error: f32, min_inliers_count: i32, inliers: &mut impl ToOutputArray, flags: i32 ) -> Result<bool>

C++ default parameters Read more
source§

fn find_rt_ransac_def( &mut self, object_points: &impl ToInputArray, image_points: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray ) -> Result<bool>

source§

fn find_rt_ransac_1( &mut self, image: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, use_extrinsic_guess: bool, iterations_count: i32, reprojection_error: f32, min_inliers_count: i32, inliers: &mut impl ToOutputArray, flags: i32 ) -> Result<bool>

C++ default parameters Read more
source§

fn find_rt_ransac_def_1( &mut self, image: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray ) -> Result<bool>

source§

fn draw_orientation( &mut self, image: &mut impl ToInputOutputArray, tvec: &impl ToInputArray, rvec: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray, axis_length: f64, axis_width: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn draw_orientation_def( &mut self, image: &mut impl ToInputOutputArray, tvec: &impl ToInputArray, rvec: &impl ToInputArray, camera_matrix: &impl ToInputArray, dist_coeffs: &impl ToInputArray ) -> Result<()>

source§

impl CustomPatternTraitConst for Ptr<CustomPattern>

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 DAISYTrait for Ptr<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: &impl ToInputArray) -> Result<()>

source§

fn set_interpolation(&mut self, interpolation: bool) -> Result<()>

source§

fn set_use_orientation(&mut self, use_orientation: bool) -> Result<()>

source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
source§

fn compute_1( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

source§

fn compute_2( &mut self, image: &impl ToInputArray, roi: Rect, descriptors: &mut impl ToOutputArray ) -> Result<()>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
source§

fn compute_3( &mut self, image: &impl ToInputArray, descriptors: &mut impl ToOutputArray ) -> Result<()>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
source§

impl DAISYTraitConst for Ptr<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 DFTTrait for Ptr<DFT>

source§

fn as_raw_mut_DFT(&mut self) -> *mut c_void

source§

fn compute( &mut self, image: &impl ToInputArray, result: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Computes an FFT of a given image. Read more
source§

fn compute_def( &mut self, image: &impl ToInputArray, result: &mut impl ToOutputArray ) -> Result<()>

Computes an FFT of a given image. Read more
source§

impl DFTTraitConst for Ptr<DFT>

source§

impl DISOpticalFlowTrait for Ptr<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 DISOpticalFlowTraitConst for Ptr<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 DPMDetectorTrait for Ptr<DPMDetector>

source§

fn as_raw_mut_DPMDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &mut impl MatTrait, objects: &mut Vector<DPMDetector_ObjectDetection> ) -> Result<()>

Find rectangular regions in the given image that are likely to contain objects of loaded classes (models) and corresponding confidence levels. Read more
source§

impl DPMDetectorTraitConst for Ptr<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 DTFilterTrait for Ptr<DTFilter>

source§

fn as_raw_mut_DTFilter(&mut self) -> *mut c_void

source§

fn filter( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, d_depth: i32 ) -> Result<()>

Produce domain transform filtering operation on source image. Read more
source§

fn filter_def( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Produce domain transform filtering operation on source image. Read more
source§

impl DTFilterTraitConst for Ptr<DTFilter>

source§

impl DTreesTrait for Ptr<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: &impl MatTraitConst) -> Result<()>

The array of a priori class probabilities, sorted by the class label value. Read more
source§

impl DTreesTrait for Ptr<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: &impl MatTraitConst) -> Result<()>

The array of a priori class probabilities, sorted by the class label value. Read more
source§

impl DTreesTrait for Ptr<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: &impl MatTraitConst) -> Result<()>

The array of a priori class probabilities, sorted by the class label value. Read more
source§

impl DTreesTraitConst for Ptr<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 DTreesTraitConst for Ptr<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 DTreesTraitConst for Ptr<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 DeblurerBaseTrait for Ptr<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 impl MatTrait, range: &impl RangeTraitConst ) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_blurriness_rates(&mut self, val: &Vector<f32>) -> Result<()>

source§

impl DeblurerBaseTrait for 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 impl MatTrait, range: &impl RangeTraitConst ) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_blurriness_rates(&mut self, val: &Vector<f32>) -> Result<()>

source§

impl DeblurerBaseTrait for 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 impl MatTrait, range: &impl RangeTraitConst ) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_blurriness_rates(&mut self, val: &Vector<f32>) -> Result<()>

source§

impl DeblurerBaseTraitConst for Ptr<DeblurerBase>

source§

impl DeblurerBaseTraitConst for Ptr<NullDeblurer>

source§

impl DeblurerBaseTraitConst for Ptr<WeightingDeblurer>

source§

impl Debug for Ptr<AKAZE>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ANN_MLP>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AbsLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AccumLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AcosLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AcoshLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ActivationLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ActivationLayerInt8>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AdaptiveManifoldFilter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AffineFeature>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AffineFeature2D>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AffineTransformer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AffineWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AgastFeatureDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Algorithm>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AlignExposures>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AlignMTB>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ArgLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ArucoDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AsinLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AsinhLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AtanLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AtanhLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AttentionLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AutotunedIndexParams>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<AverageHash>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BEBLID>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BFMatcher>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BIF>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BNLLLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BRISK>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BackendNode>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BackendWrapper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BackgroundSubtractor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BackgroundSubtractorCNT>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BackgroundSubtractorGMG>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BackgroundSubtractorGSOC>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BackgroundSubtractorKNN>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BackgroundSubtractorLSBP>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BackgroundSubtractorMOG>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BackgroundSubtractorMOG2>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BaseCascadeClassifier>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BaseCascadeClassifier_MaskGenerator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BaseConvolutionLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BaseOCR>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BaseSFM>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BasicFaceRecognizer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BatchNormLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BatchNormLayerInt8>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BinaryDescriptor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BinaryDescriptorMatcher>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BlankLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BlockMeanHash>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Board>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Boost>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BoostDesc>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<BriefDescriptorExtractor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CLAHE>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_BackgroundSubtractorMOG>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_BackgroundSubtractorMOG2>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_BroxOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_CLAHE>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_CannyEdgeDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_CascadeClassifier>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_CornernessCriteria>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_CornersDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_DenseOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_DensePyrLKOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_DescriptorMatcher>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_DisparityBilateralFilter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_EncoderCallback>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_FarnebackOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_FastFeatureDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_Feature2DAsync>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_HOG>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_HoughCirclesDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_HoughLinesDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_HoughSegmentDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_NvidiaHWOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_NvidiaOpticalFlow_1_0>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_NvidiaOpticalFlow_2_0>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_ORB>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_OpticalFlowDual_TVL1>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_RawVideoSource>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_SparseOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_SparsePyrLKOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_StereoBM>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_StereoBeliefPropagation>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_StereoConstantSpaceBP>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_StereoSGM>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_TemplateMatching>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_VideoReader>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CUDA_VideoWriter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CalibrateCRF>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CalibrateDebevec>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CalibrateRobertson>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CeilLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CeluLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ChannelsPReLULayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CharucoBoard>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CharucoDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ChiHistogramCostExtractor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ColorAverageInpainter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ColorInpainter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ColorMomentHash>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ColoredKinfu_ColoredKinFu>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ColoredKinfu_Params>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CompareLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CompositeIndexParams>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CompressedRectilinearPortraitWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CompressedRectilinearWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ConcatLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ConjGradSolver>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ConsistentMosaicInpainter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ConstLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ContourFitting>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Convolution>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ConvolutionLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ConvolutionLayerInt8>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CorrelationLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CosLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CoshLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CropAndResizeLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CropLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CumSumLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CustomPattern>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CylindricalWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<CylindricalWarperGpu>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DAISY>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DFT>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DISOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DPMDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DTFilter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DTrees>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DataAugmentationLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DeblurerBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DeconvolutionLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DenseOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DensePyrLkOptFlowEstimatorGpu>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DenseRLOFOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DepthCleaner>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DequantizeLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DescriptorMatcher>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_AffineBasedEstimator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_AffineBestOf2NearestMatcher>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_BestOf2NearestMatcher>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_BestOf2NearestRangeMatcher>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_Blender>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_BlocksChannelsCompensator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_BlocksCompensator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_BlocksGainCompensator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_BundleAdjusterAffine>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_BundleAdjusterAffinePartial>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_BundleAdjusterBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_BundleAdjusterRay>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_BundleAdjusterReproj>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_ChannelsCompensator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_DpSeamFinder>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_Estimator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_ExposureCompensator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_FeatherBlender>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_FeaturesMatcher>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_GainCompensator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_GraphCutSeamFinder>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_GraphCutSeamFinderBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_GraphCutSeamFinderGpu>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_HomographyBasedEstimator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_MultiBandBlender>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_NoBundleAdjuster>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_NoExposureCompensator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_NoSeamFinder>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_PairwiseSeamFinder>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_RotationWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_SeamFinder>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Detail_VoronoiSeamFinder>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DetectionBasedTracker_IDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DetectionOutputLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DetectorParameters>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Dictionary>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DisparityFilter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DisparityWLSFilter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DnnSuperResImpl>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DownhillSolver>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<DualTVL1OpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Dynafu_DynaFu>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ELULayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<EM>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<EMDHistogramCostExtractor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<EMDL1HistogramCostExtractor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ERFilter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ERFilter_Callback>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<EdgeAwareInterpolator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<EdgeBoxes>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<EdgeDrawing>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<EigenFaceRecognizer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<EinsumLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<EltwiseLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<EltwiseLayerInt8>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ErfLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<EstimateParameters>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ExpLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ExpandLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FREAK>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FaceDetectorYN>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FaceRecognizer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FaceRecognizerSF>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Facemark>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FacemarkAAM>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FacemarkKazemi>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FacemarkLBF>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FacemarkTrain>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FarnebackOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FastBilateralSolverFilter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FastFeatureDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FastGlobalSmootherFilter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FastICPOdometry>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FastLineDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Feature2D>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FileStorage>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Filter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FisherFaceRecognizer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FisheyeWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FlannBasedMatcher>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FlattenLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FloorLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FlowWarpLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Formatted>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Formatter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FreeType2>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<FromFileMotionReader>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GFTTDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GPCTrainingSamples>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GPCTree>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GRULayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GatherElementsLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GatherLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GaussianMotionFilter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GeluApproximationLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GeluLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GemmLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GeneralizedHough>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GeneralizedHoughBallard>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GeneralizedHoughGuil>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GpuMat_Allocator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GraphSegmentation>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GrayCodePattern>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GrayworldWB>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GridBoard>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<GuidedFilter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<HDF5>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<HardSigmoidLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<HardSwishLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<HarrisLaplaceFeatureDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<HausdorffDistanceExtractor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<HfsSegment>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<HierarchicalClusteringIndexParams>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<HistogramCostExtractor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<HistogramPhaseUnwrapping>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ICPOdometry>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<IDenseOptFlowEstimator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<IFrameSource>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ILog>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<IMotionStabilizer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<IOutlierRejector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ISparseOptFlowEstimator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ImageMotionEstimatorBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ImgHashBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<IndexParams>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<InnerProductLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<InnerProductLayerInt8>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<InpainterBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<InpaintingPipeline>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<InstanceNormLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<InterpLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<KAZE>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<KDTreeIndexParams>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<KMeansIndexParams>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<KNearest>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<KeypointBasedMotionEstimator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<KeypointBasedMotionEstimatorGpu>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Kinfu_Detail_PoseGraph>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Kinfu_KinFu>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Kinfu_Params>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Kinfu_Volume>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Kinfu_VolumeParams>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LATCH>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LBPHFaceRecognizer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LMSolver>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LMSolver_Callback>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LRNLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LSDDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LSTMLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LUCID>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LargeKinfu>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Layer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LayerNormLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LearningBasedWB>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LineMod_ColorGradient>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LineMod_DepthNormal>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LineMod_Detector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LineMod_Modality>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LineMod_QuantizedPyramid>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LineSegmentDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LinearIndexParams>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LogLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LogToStdout>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LogisticRegression>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LookUpTable>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LpMotionStabilizer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<LshIndexParams>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MACE>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MCC_CChecker>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MCC_CCheckerDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MCC_CCheckerDraw>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MCC_DetectorParameters>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MSDDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MSER>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MVNLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MarrHildrethHash>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MaskFrameSource>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MatMulLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MaxUnpoolLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MercatorWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MergeDebevec>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MergeExposures>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MergeMertens>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MergeRobertson>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MinProblemSolver>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MinProblemSolver_Function>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MishLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MoreAccurateMotionWobbleSuppressor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MoreAccurateMotionWobbleSuppressorBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MoreAccurateMotionWobbleSuppressorGpu>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MotionEstimatorBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MotionEstimatorL1>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MotionEstimatorRansacL2>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MotionFilterBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MotionInpainter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MotionSaliency>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MotionSaliencyBinWangApr2014>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<MotionStabilizationPipeline>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<NaryEltwiseLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<NormHistogramCostExtractor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<NormalBayesClassifier>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<NormalizeBBoxLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<NotLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<NullDeblurer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<NullFrameSource>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<NullInpainter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<NullLog>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<NullOutlierRejector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<NullWobbleSuppressor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<OCRBeamSearchDecoder>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<OCRBeamSearchDecoder_ClassifierCallback>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<OCRHMMDecoder>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<OCRHMMDecoder_ClassifierCallback>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<OCRHolisticWordRecognizer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<OCRTesseract>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ORB>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Objectness>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ObjectnessBING>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Odometry>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<OdometryFrame>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<OnePassStabilizer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<OpticalFlowPCAFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<OriginalClassName>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PCAPrior>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PCTSignatures>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PCTSignaturesSQFD>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PHash>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PaddingLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PaniniPortraitWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PaniniWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ParamGrid>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Params>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PermuteLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PhaseUnwrapping>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PlaneWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PlaneWarperGpu>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Plot2d>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PoolingLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PoolingLayerInt8>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Pose3D>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PoseCluster3D>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PowerLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PredictCollector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PriorBoxLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ProposalLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<PyrLkOptFlowEstimatorBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<QRCodeEncoder>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<QualityBRISQUE>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<QualityBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<QualityGMSD>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<QualityMSE>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<QualityPSNR>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<QualitySSIM>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<QuantizeLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<QuasiDenseStereo>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RFFeatureGetter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RICInterpolator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RLOFOpticalFlowParameter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RNNLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RTrees>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RadialVarianceHash>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Rapid_GOSTracker>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Rapid_OLSTracker>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Rapid_Rapid>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Rapid_Tracker>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ReLU6Layer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ReLULayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ReciprocalLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ReduceLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RegionLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ReorgLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RequantizeLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ReshapeLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ResizeLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Retina>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RetinaFastToneMapping>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RgbdFrame>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RgbdICPOdometry>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RgbdNormals>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RgbdOdometry>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RgbdPlane>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RidgeDetectionFilter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<RoundLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SFMLibmvEuclideanReconstruction>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SIFT>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SURF>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SURF_CUDA>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SVM>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SVMSGD>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SVM_Kernel>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Saliency>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SavedIndexParams>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ScaleLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ScaleLayerInt8>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ScanSegment>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ScatterLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ScatterNDLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SearchParams>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SelectiveSearchSegmentation>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SelectiveSearchSegmentationStrategy>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SelectiveSearchSegmentationStrategyColor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SelectiveSearchSegmentationStrategyFill>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SelectiveSearchSegmentationStrategyMultiple>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SelectiveSearchSegmentationStrategySize>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SelectiveSearchSegmentationStrategyTexture>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SeluLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ShapeContextDistanceExtractor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ShapeDistanceExtractor>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ShapeTransformer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ShiftLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ShiftLayerInt8>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ShrinkLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ShuffleChannelLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SigmoidLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SignLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SimpleBlobDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SimpleWB>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SinLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SinhLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SinusoidalPattern>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SinusoidalPattern_Params>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SliceLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SoftmaxLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SoftmaxLayerInt8>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SoftplusLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SoftsignLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SparseMatchInterpolator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SparseOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SparsePyrLKOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SparsePyrLkOptFlowEstimator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SparsePyrLkOptFlowEstimatorGpu>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SparseRLOFOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SphericalWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SphericalWarperGpu>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SplitLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SqrtLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StabilizerBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StandardCollector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StarDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StatModel>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StaticSaliency>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StaticSaliencyFineGrained>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StaticSaliencySpectralResidual>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StereoBM>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StereoMatcher>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StereoSGBM>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StereographicWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Stitcher>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StructuredEdgeDetection>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<StructuredLightPattern>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SuperRes_BroxOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SuperRes_DenseOpticalFlowExt>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SuperRes_DualTVL1OpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SuperRes_FarnebackOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SuperRes_FrameSource>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SuperRes_PyrLKOpticalFlow>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SuperRes_SuperResolution>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SuperpixelLSC>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SuperpixelSEEDS>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SuperpixelSLIC>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SwishLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<SyntheticSequenceGenerator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TBMR>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TEBLID>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TanHLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TanLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TextDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TextDetectorCNN>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ThinPlateSplineShapeTransformer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ThresholdedReluLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TileLayer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<ToFileMotionWriter>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Tonemap>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TonemapDrago>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TonemapDurand>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TonemapMantiuk>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TonemapReinhard>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<Tracker>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TrackerCSRT>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TrackerDaSiamRPN>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TrackerGOTURN>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TrackerKCF>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TrackerMIL>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TrackerNano>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TrackerVit>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TrainData>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TransientAreasSegmentationModule>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TranslationBasedLocalOutlierRejector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TransverseMercatorWarper>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<TwoPassStabilizer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<VGG>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<VariationalRefinement>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<VideoFileSource>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<WBDetector>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<WarperCreator>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<WeightingDeblurer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<WhiteBalancer>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<WindowScene>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<WobbleSuppressorBase>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for Ptr<f32>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DeconvolutionLayerTrait for Ptr<DeconvolutionLayer>

source§

impl DeconvolutionLayerTraitConst for Ptr<DeconvolutionLayer>

source§

impl Default for Ptr<f32>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl DenseOpticalFlowTrait for Ptr<DISOpticalFlow>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlowTrait for Ptr<DenseOpticalFlow>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlowTrait for Ptr<DenseRLOFOpticalFlow>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlowTrait for Ptr<DualTVL1OpticalFlow>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlowTrait for Ptr<FarnebackOpticalFlow>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlowTrait for Ptr<OpticalFlowPCAFlow>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlowTrait for Ptr<VariationalRefinement>

source§

fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

Calculates an optical flow. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Releases all inner buffers.
source§

impl DenseOpticalFlowTraitConst for Ptr<DISOpticalFlow>

source§

impl DenseOpticalFlowTraitConst for Ptr<DenseOpticalFlow>

source§

impl DenseOpticalFlowTraitConst for Ptr<DenseRLOFOpticalFlow>

source§

impl DenseOpticalFlowTraitConst for Ptr<DualTVL1OpticalFlow>

source§

impl DenseOpticalFlowTraitConst for Ptr<FarnebackOpticalFlow>

source§

impl DenseOpticalFlowTraitConst for Ptr<OpticalFlowPCAFlow>

source§

impl DenseOpticalFlowTraitConst for Ptr<VariationalRefinement>

source§

impl DensePyrLkOptFlowEstimatorGpuTrait for Ptr<DensePyrLkOptFlowEstimatorGpu>

source§

fn as_raw_mut_DensePyrLkOptFlowEstimatorGpu(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow_x: &mut impl ToInputOutputArray, flow_y: &mut impl ToInputOutputArray, errors: &mut impl ToOutputArray ) -> Result<()>

source§

impl DensePyrLkOptFlowEstimatorGpuTraitConst for Ptr<DensePyrLkOptFlowEstimatorGpu>

source§

impl DenseRLOFOpticalFlowTrait for Ptr<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. * getForwardBackward, setGridStep Read more
source§

fn set_interpolation(&mut self, val: InterpolationType) -> Result<()>

Interpolation used to compute the dense optical flow. Two interpolation algorithms are supported * - INTERP_GEO applies the fast geodesic interpolation, see Geistert2016. * - INTERP_EPIC_RESIDUAL applies the edge-preserving interpolation, see Revaud2015,Geistert2016. * see also: ximgproc::EdgeAwareInterpolator, getInterpolation
source§

fn set_epick(&mut self, val: i32) -> Result<()>

see ximgproc::EdgeAwareInterpolator() K value. K is a number of nearest-neighbor matches considered, when fitting a locally affine * model. Usually it should be around 128. However, lower values would make the interpolation noticeably faster. * ximgproc::EdgeAwareInterpolator, setEPICK Read more
source§

fn set_epic_sigma(&mut self, val: f32) -> Result<()>

see ximgproc::EdgeAwareInterpolator() sigma value. Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine * fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the * output flow. * ximgproc::EdgeAwareInterpolator, setEPICSigma Read more
source§

fn set_epic_lambda(&mut self, val: f32) -> Result<()>

see ximgproc::EdgeAwareInterpolator() lambda value. Lambda is a parameter defining the weight of the edge-aware term in geodesic distance, * should be in the range of 0 to 1000. * ximgproc::EdgeAwareInterpolator, setEPICSigma Read more
source§

fn set_fgs_lambda(&mut self, val: f32) -> Result<()>

see ximgproc::EdgeAwareInterpolator(). Sets the respective fastGlobalSmootherFilter() parameter. * ximgproc::EdgeAwareInterpolator, setFgsLambda Read more
source§

fn set_fgs_sigma(&mut self, val: f32) -> Result<()>

see ximgproc::EdgeAwareInterpolator(). Sets the respective fastGlobalSmootherFilter() parameter. * ximgproc::EdgeAwareInterpolator, ximgproc::fastGlobalSmootherFilter, setFgsSigma Read more
source§

fn set_use_post_proc(&mut self, val: bool) -> Result<()>

enables ximgproc::fastGlobalSmootherFilter Read more
source§

fn set_use_variational_refinement(&mut self, val: bool) -> Result<()>

enables VariationalRefinement Read more
source§

fn set_ricsp_size(&mut self, val: i32) -> Result<()>

Parameter to tune the approximate size of the superpixel used for oversegmentation. Read more
source§

fn set_ricslic_type(&mut self, val: i32) -> Result<()>

Parameter to choose superpixel algorithm variant to use: Read more
source§

impl DenseRLOFOpticalFlowTraitConst for Ptr<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. * ximgproc::EdgeAwareInterpolator, getInterpolation Read more
source§

fn get_epick(&self) -> Result<i32>

see ximgproc::EdgeAwareInterpolator() K value. K is a number of nearest-neighbor matches considered, when fitting a locally affine * model. Usually it should be around 128. However, lower values would make the interpolation noticeably faster. * see also: ximgproc::EdgeAwareInterpolator, setEPICK
source§

fn get_epic_sigma(&self) -> Result<f32>

see ximgproc::EdgeAwareInterpolator() sigma value. Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine * fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the * output flow. * see also: ximgproc::EdgeAwareInterpolator, setEPICSigma
source§

fn get_epic_lambda(&self) -> Result<f32>

see ximgproc::EdgeAwareInterpolator() lambda value. Lambda is a parameter defining the weight of the edge-aware term in geodesic distance, * should be in the range of 0 to 1000. * see also: ximgproc::EdgeAwareInterpolator, setEPICSigma
source§

fn get_fgs_lambda(&self) -> Result<f32>

see ximgproc::EdgeAwareInterpolator(). Sets the respective fastGlobalSmootherFilter() parameter. * see also: ximgproc::EdgeAwareInterpolator, setFgsLambda
source§

fn get_fgs_sigma(&self) -> Result<f32>

see ximgproc::EdgeAwareInterpolator(). Sets the respective fastGlobalSmootherFilter() parameter. * see also: ximgproc::EdgeAwareInterpolator, ximgproc::fastGlobalSmootherFilter, setFgsSigma
source§

fn get_use_post_proc(&self) -> Result<bool>

enables ximgproc::fastGlobalSmootherFilter Read more
source§

fn get_use_variational_refinement(&self) -> Result<bool>

enables VariationalRefinement Read more
source§

fn get_ricsp_size(&self) -> Result<i32>

Parameter to tune the approximate size of the superpixel used for oversegmentation. Read more
source§

fn get_ricslic_type(&self) -> Result<i32>

Parameter to choose superpixel algorithm variant to use: Read more
source§

impl DepthCleanerTrait for 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: &impl ToInputArray, depth: &mut impl ToOutputArray ) -> Result<()>

Given a set of 3d points in a depth image, compute the normals at each point. Read more
source§

fn initialize(&self) -> Result<()>

Initializes some data that is cached for later computation If that function is not called, it will be called the first time normals are computed
source§

fn get_window_size(&self) -> Result<i32>

source§

fn get_depth(&self) -> Result<i32>

source§

fn get_method(&self) -> Result<i32>

source§

impl 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 DescriptorMatcherTrait for Ptr<BFMatcher>

source§

fn as_raw_mut_DescriptorMatcher(&mut self) -> *mut c_void

source§

fn add(&mut self, descriptors: &impl ToInputArray) -> Result<()>

Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. Read more
source§

fn clear(&mut self) -> Result<()>

Clears the train descriptor collections.
source§

fn train(&mut self) -> Result<()>

Trains a descriptor matcher Read more
source§

fn match_( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, masks: &impl ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn match__def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

@overload Read more
source§

fn knn_match( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &impl ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn knn_match_def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32 ) -> Result<()>

@overload Read more
source§

fn radius_match( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &impl ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn radius_match_def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32 ) -> Result<()>

@overload Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl DescriptorMatcherTrait for Ptr<DescriptorMatcher>

source§

fn as_raw_mut_DescriptorMatcher(&mut self) -> *mut c_void

source§

fn add(&mut self, descriptors: &impl ToInputArray) -> Result<()>

Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. Read more
source§

fn clear(&mut self) -> Result<()>

Clears the train descriptor collections.
source§

fn train(&mut self) -> Result<()>

Trains a descriptor matcher Read more
source§

fn match_( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, masks: &impl ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn match__def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

@overload Read more
source§

fn knn_match( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &impl ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn knn_match_def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32 ) -> Result<()>

@overload Read more
source§

fn radius_match( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &impl ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn radius_match_def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32 ) -> Result<()>

@overload Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl DescriptorMatcherTrait for Ptr<FlannBasedMatcher>

source§

fn as_raw_mut_DescriptorMatcher(&mut self) -> *mut c_void

source§

fn add(&mut self, descriptors: &impl ToInputArray) -> Result<()>

Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor collection. Read more
source§

fn clear(&mut self) -> Result<()>

Clears the train descriptor collections.
source§

fn train(&mut self) -> Result<()>

Trains a descriptor matcher Read more
source§

fn match_( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, masks: &impl ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn match__def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

@overload Read more
source§

fn knn_match( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, masks: &impl ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn knn_match_def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32 ) -> Result<()>

@overload Read more
source§

fn radius_match( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, masks: &impl ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn radius_match_def( &mut self, query_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32 ) -> Result<()>

@overload Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl DescriptorMatcherTraitConst for 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: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, mask: &impl ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn knn_train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &impl ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn knn_train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32 ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn radius_train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &impl ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn radius_train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32 ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>

Clones the matcher. Read more
source§

fn clone_def(&self) -> Result<Ptr<DescriptorMatcher>>

Clones the matcher. Read more
source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl DescriptorMatcherTraitConst for Ptr<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: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, mask: &impl ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn knn_train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &impl ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn knn_train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32 ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn radius_train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &impl ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn radius_train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32 ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>

Clones the matcher. Read more
source§

fn clone_def(&self) -> Result<Ptr<DescriptorMatcher>>

Clones the matcher. Read more
source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl DescriptorMatcherTraitConst for 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: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch>, mask: &impl ToInputArray ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

Finds the best match for each descriptor from a query set. Read more
source§

fn knn_train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32, mask: &impl ToInputArray, compact_result: bool ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn knn_train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, k: i32 ) -> Result<()>

Finds the k best matches for each descriptor from a query set. Read more
source§

fn radius_train_match( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32, mask: &impl ToInputArray, compact_result: bool ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn radius_train_match_def( &self, query_descriptors: &impl ToInputArray, train_descriptors: &impl ToInputArray, matches: &mut Vector<Vector<DMatch>>, max_distance: f32 ) -> Result<()>

For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
source§

fn write(&self, file_name: &str) -> Result<()>

source§

fn write_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>

Clones the matcher. Read more
source§

fn clone_def(&self) -> Result<Ptr<DescriptorMatcher>>

Clones the matcher. Read more
source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Detail_AffineBasedEstimatorTrait for 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: &impl ToInputArray, mask: &impl ToInputArray, tl: Point ) -> Result<()>

Processes the image. Read more
source§

fn blend( &mut self, dst: &mut impl ToInputOutputArray, dst_mask: &mut impl ToInputOutputArray ) -> Result<()>

Blends and returns the final pano. Read more
source§

impl Detail_BlenderTrait for 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: &impl ToInputArray, mask: &impl ToInputArray, tl: Point ) -> Result<()>

Processes the image. Read more
source§

fn blend( &mut self, dst: &mut impl ToInputOutputArray, dst_mask: &mut impl ToInputOutputArray ) -> Result<()>

Blends and returns the final pano. Read more
source§

impl Detail_BlenderTrait for 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: &impl ToInputArray, mask: &impl ToInputArray, tl: Point ) -> Result<()>

Processes the image. Read more
source§

fn blend( &mut self, dst: &mut impl ToInputOutputArray, dst_mask: &mut impl ToInputOutputArray ) -> Result<()>

Blends and returns the final pano. Read more
source§

impl Detail_BlenderTraitConst for 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_BlocksCompensatorTrait 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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

source§

fn get_nr_feeds(&mut self) -> Result<i32>

source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

source§

fn set_block_size(&mut self, width: i32, height: i32) -> Result<()>

source§

fn set_block_size_1(&mut self, size: Size) -> Result<()>

source§

fn set_nr_gains_filtering_iterations( &mut self, nr_iterations: i32 ) -> Result<()>

source§

impl Detail_BlocksCompensatorTrait for Ptr<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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

source§

fn get_nr_feeds(&mut self) -> Result<i32>

source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

source§

fn set_block_size(&mut self, width: i32, height: i32) -> Result<()>

source§

fn set_block_size_1(&mut self, size: Size) -> Result<()>

source§

fn set_nr_gains_filtering_iterations( &mut self, nr_iterations: i32 ) -> Result<()>

source§

impl Detail_BlocksCompensatorTrait for 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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

source§

fn get_nr_feeds(&mut self) -> Result<i32>

source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

source§

fn set_block_size(&mut self, width: i32, height: i32) -> Result<()>

source§

fn set_block_size_1(&mut self, size: Size) -> Result<()>

source§

fn set_nr_gains_filtering_iterations( &mut self, nr_iterations: i32 ) -> Result<()>

source§

impl Detail_BlocksCompensatorTraitConst for Ptr<Detail_BlocksChannelsCompensator>

source§

impl Detail_BlocksCompensatorTraitConst for Ptr<Detail_BlocksCompensator>

source§

impl Detail_BlocksCompensatorTraitConst for Ptr<Detail_BlocksGainCompensator>

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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

impl Detail_BlocksGainCompensatorTraitConst for 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_BundleAdjusterBaseTrait for Ptr<Detail_BundleAdjusterAffine>

source§

impl Detail_BundleAdjusterBaseTrait for Ptr<Detail_BundleAdjusterAffinePartial>

source§

impl Detail_BundleAdjusterBaseTrait for Ptr<Detail_BundleAdjusterBase>

source§

impl Detail_BundleAdjusterBaseTrait for Ptr<Detail_BundleAdjusterRay>

source§

impl Detail_BundleAdjusterBaseTrait for Ptr<Detail_BundleAdjusterReproj>

source§

impl Detail_BundleAdjusterBaseTrait for Ptr<Detail_NoBundleAdjuster>

source§

impl Detail_BundleAdjusterBaseTraitConst for Ptr<Detail_BundleAdjusterAffine>

source§

impl Detail_BundleAdjusterBaseTraitConst for Ptr<Detail_BundleAdjusterAffinePartial>

source§

impl Detail_BundleAdjusterBaseTraitConst for Ptr<Detail_BundleAdjusterBase>

source§

impl Detail_BundleAdjusterBaseTraitConst for Ptr<Detail_BundleAdjusterRay>

source§

impl Detail_BundleAdjusterBaseTraitConst for Ptr<Detail_BundleAdjusterReproj>

source§

impl Detail_BundleAdjusterBaseTraitConst for Ptr<Detail_NoBundleAdjuster>

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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

source§

fn get_nr_feeds(&mut self) -> Result<i32>

source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

source§

impl Detail_ChannelsCompensatorTraitConst for 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_EstimatorTrait 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_EstimatorTrait 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_EstimatorTrait 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_EstimatorTrait for Ptr<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_EstimatorTrait 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_EstimatorTrait 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_EstimatorTrait for Ptr<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_EstimatorTrait 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_EstimatorTrait 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_EstimatorTraitConst for Ptr<Detail_AffineBasedEstimator>

source§

impl Detail_EstimatorTraitConst for Ptr<Detail_BundleAdjusterAffine>

source§

impl Detail_EstimatorTraitConst for Ptr<Detail_BundleAdjusterAffinePartial>

source§

impl Detail_EstimatorTraitConst for Ptr<Detail_BundleAdjusterBase>

source§

impl Detail_EstimatorTraitConst for Ptr<Detail_BundleAdjusterRay>

source§

impl Detail_EstimatorTraitConst for Ptr<Detail_BundleAdjusterReproj>

source§

impl Detail_EstimatorTraitConst for Ptr<Detail_Estimator>

source§

impl Detail_EstimatorTraitConst for Ptr<Detail_HomographyBasedEstimator>

source§

impl Detail_EstimatorTraitConst for Ptr<Detail_NoBundleAdjuster>

source§

impl Detail_ExposureCompensatorTrait 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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensatorTrait for Ptr<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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensatorTrait for 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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensatorTrait for 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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensatorTrait for Ptr<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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensatorTrait for 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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensatorTrait for 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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

Compensate exposure in the specified image. Read more
source§

fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>

source§

fn set_update_gain(&mut self, b: bool) -> Result<()>

source§

fn get_update_gain(&mut self) -> Result<bool>

source§

impl Detail_ExposureCompensatorTraitConst for Ptr<Detail_BlocksChannelsCompensator>

source§

impl Detail_ExposureCompensatorTraitConst for Ptr<Detail_BlocksCompensator>

source§

impl Detail_ExposureCompensatorTraitConst for Ptr<Detail_BlocksGainCompensator>

source§

impl Detail_ExposureCompensatorTraitConst for Ptr<Detail_ChannelsCompensator>

source§

impl Detail_ExposureCompensatorTraitConst for Ptr<Detail_ExposureCompensator>

source§

impl Detail_ExposureCompensatorTraitConst for Ptr<Detail_GainCompensator>

source§

impl Detail_ExposureCompensatorTraitConst for Ptr<Detail_NoExposureCompensator>

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: &impl ToInputArray, mask: &impl ToInputArray, tl: Point ) -> Result<()>

source§

fn blend( &mut self, dst: &mut impl ToInputOutputArray, dst_mask: &mut impl ToInputOutputArray ) -> Result<()>

source§

fn create_weight_maps( &mut self, masks: &Vector<UMat>, corners: &Vector<Point>, weight_maps: &mut Vector<UMat> ) -> Result<Rect>

Creates weight maps for fixed set of source images by their masks and top-left corners. Final image can be obtained by simple weighting of the source images.
source§

impl Detail_FeatherBlenderTraitConst for Ptr<Detail_FeatherBlender>

source§

impl Detail_FeaturesMatcherTrait for Ptr<Detail_AffineBestOf2NearestMatcher>

source§

fn as_raw_mut_Detail_FeaturesMatcher(&mut self) -> *mut c_void

source§

fn apply( &mut self, features1: &impl Detail_ImageFeaturesTraitConst, features2: &impl Detail_ImageFeaturesTraitConst, matches_info: &mut impl Detail_MatchesInfoTrait ) -> Result<()>

Performs images matching. Read more
source§

fn apply2( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, mask: &impl UMatTraitConst ) -> Result<()>

Performs images matching. Read more
source§

fn apply2_def( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo> ) -> Result<()>

Performs images matching. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Frees unused memory allocated before if there is any.
source§

impl Detail_FeaturesMatcherTrait for Ptr<Detail_BestOf2NearestMatcher>

source§

fn as_raw_mut_Detail_FeaturesMatcher(&mut self) -> *mut c_void

source§

fn apply( &mut self, features1: &impl Detail_ImageFeaturesTraitConst, features2: &impl Detail_ImageFeaturesTraitConst, matches_info: &mut impl Detail_MatchesInfoTrait ) -> Result<()>

Performs images matching. Read more
source§

fn apply2( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, mask: &impl UMatTraitConst ) -> Result<()>

Performs images matching. Read more
source§

fn apply2_def( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo> ) -> Result<()>

Performs images matching. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Frees unused memory allocated before if there is any.
source§

impl Detail_FeaturesMatcherTrait for Ptr<Detail_BestOf2NearestRangeMatcher>

source§

fn as_raw_mut_Detail_FeaturesMatcher(&mut self) -> *mut c_void

source§

fn apply( &mut self, features1: &impl Detail_ImageFeaturesTraitConst, features2: &impl Detail_ImageFeaturesTraitConst, matches_info: &mut impl Detail_MatchesInfoTrait ) -> Result<()>

Performs images matching. Read more
source§

fn apply2( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, mask: &impl UMatTraitConst ) -> Result<()>

Performs images matching. Read more
source§

fn apply2_def( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo> ) -> Result<()>

Performs images matching. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Frees unused memory allocated before if there is any.
source§

impl Detail_FeaturesMatcherTrait for Ptr<Detail_FeaturesMatcher>

source§

fn as_raw_mut_Detail_FeaturesMatcher(&mut self) -> *mut c_void

source§

fn apply( &mut self, features1: &impl Detail_ImageFeaturesTraitConst, features2: &impl Detail_ImageFeaturesTraitConst, matches_info: &mut impl Detail_MatchesInfoTrait ) -> Result<()>

Performs images matching. Read more
source§

fn apply2( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo>, mask: &impl UMatTraitConst ) -> Result<()>

Performs images matching. Read more
source§

fn apply2_def( &mut self, features: &Vector<Detail_ImageFeatures>, pairwise_matches: &mut Vector<Detail_MatchesInfo> ) -> Result<()>

Performs images matching. Read more
source§

fn collect_garbage(&mut self) -> Result<()>

Frees unused memory allocated before if there is any.
source§

impl Detail_FeaturesMatcherTraitConst for Ptr<Detail_AffineBestOf2NearestMatcher>

source§

impl Detail_FeaturesMatcherTraitConst for Ptr<Detail_BestOf2NearestMatcher>

source§

impl Detail_FeaturesMatcherTraitConst for Ptr<Detail_BestOf2NearestRangeMatcher>

source§

impl Detail_FeaturesMatcherTraitConst for Ptr<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 impl ToInputOutputArray, mask: &impl ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>

source§

fn get_nr_feeds(&mut self) -> Result<i32>

source§

fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>

source§

fn prepare_similarity_mask( &mut self, corners: &Vector<Point>, images: &Vector<UMat> ) -> Result<()>

source§

impl Detail_GainCompensatorTraitConst for Ptr<Detail_GainCompensator>

source§

impl Detail_GraphCutSeamFinderBaseTrait for Ptr<Detail_GraphCutSeamFinder>

source§

impl Detail_GraphCutSeamFinderBaseTrait for Ptr<Detail_GraphCutSeamFinderBase>

source§

impl Detail_GraphCutSeamFinderBaseTrait for Ptr<Detail_GraphCutSeamFinderGpu>

source§

impl Detail_GraphCutSeamFinderBaseTraitConst for Ptr<Detail_GraphCutSeamFinder>

source§

impl Detail_GraphCutSeamFinderBaseTraitConst for Ptr<Detail_GraphCutSeamFinderBase>

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: &impl ToInputArray, mask: &impl ToInputArray, tl: Point ) -> Result<()>

source§

fn blend( &mut self, dst: &mut impl ToInputOutputArray, dst_mask: &mut impl ToInputOutputArray ) -> Result<()>

source§

impl Detail_MultiBandBlenderTraitConst for 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 impl ToInputOutputArray, unnamed_3: &impl ToInputArray ) -> Result<()>

source§

fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>

source§

impl Detail_NoExposureCompensatorTraitConst for 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_PairwiseSeamFinderTrait 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_PairwiseSeamFinderTrait for Ptr<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_PairwiseSeamFinderTrait 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_PairwiseSeamFinderTraitConst for Ptr<Detail_GraphCutSeamFinderGpu>

source§

impl Detail_PairwiseSeamFinderTraitConst for Ptr<Detail_PairwiseSeamFinder>

source§

impl Detail_PairwiseSeamFinderTraitConst for Ptr<Detail_VoronoiSeamFinder>

source§

impl Detail_RotationWarperTrait for Ptr<Detail_RotationWarper>

source§

fn as_raw_mut_Detail_RotationWarper(&mut self) -> *mut c_void

source§

fn warp_point( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray ) -> Result<Point2f>

Projects the image point. Read more
source§

fn warp_point_backward( &mut self, pt: Point2f, k: &impl ToInputArray, r: &impl ToInputArray ) -> Result<Point2f>

source§

fn build_maps( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray, xmap: &mut impl ToOutputArray, ymap: &mut impl ToOutputArray ) -> Result<Rect>

Builds the projection maps according to the given camera data. Read more
source§

fn warp( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst: &mut impl ToOutputArray ) -> Result<Point>

Projects the image. Read more
source§

fn warp_backward( &mut self, src: &impl ToInputArray, k: &impl ToInputArray, r: &impl ToInputArray, interp_mode: i32, border_mode: i32, dst_size: Size, dst: &mut impl ToOutputArray ) -> Result<()>

Projects the image backward. Read more
source§

fn warp_roi( &mut self, src_size: Size, k: &impl ToInputArray, r: &impl ToInputArray ) -> Result<Rect>

Parameters Read more
source§

fn set_scale(&mut self, unnamed: f32) -> Result<()>

source§

impl Detail_RotationWarperTraitConst for Ptr<Detail_RotationWarper>

source§

impl Detail_SeamFinderTrait 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_SeamFinderTrait 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_SeamFinderTrait 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_SeamFinderTrait 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_SeamFinderTrait for Ptr<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_SeamFinderTrait for Ptr<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_SeamFinderTrait 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_SeamFinderTraitConst for Ptr<Detail_DpSeamFinder>

source§

impl Detail_SeamFinderTraitConst for Ptr<Detail_GraphCutSeamFinder>

source§

impl Detail_SeamFinderTraitConst for Ptr<Detail_GraphCutSeamFinderGpu>

source§

impl Detail_SeamFinderTraitConst for Ptr<Detail_NoSeamFinder>

source§

impl Detail_SeamFinderTraitConst for Ptr<Detail_PairwiseSeamFinder>

source§

impl Detail_SeamFinderTraitConst for Ptr<Detail_SeamFinder>

source§

impl Detail_SeamFinderTraitConst for Ptr<Detail_VoronoiSeamFinder>

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_IDetectorTrait for Ptr<DetectionBasedTracker_IDetector>

source§

fn as_raw_mut_DetectionBasedTracker_IDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl MatTraitConst, objects: &mut Vector<Rect> ) -> Result<()>

source§

fn set_min_object_size(&mut self, min: Size) -> Result<()>

source§

fn set_max_object_size(&mut self, max: Size) -> Result<()>

source§

fn get_scale_factor(&mut self) -> Result<f32>

source§

fn set_scale_factor(&mut self, value: f32) -> Result<()>

source§

fn get_min_neighbours(&mut self) -> Result<i32>

source§

fn set_min_neighbours(&mut self, value: i32) -> Result<()>

source§

impl DetectionBasedTracker_IDetectorTraitConst for Ptr<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 average distance between the corners of the two markers to be grouped (default 0.125). Read more
source§

fn set_min_group_distance(&mut self, val: f32)

minimum average distance between the corners of the two markers in group to add them to the list of candidates Read more
source§

fn set_corner_refinement_method(&mut self, val: i32)

default value CORNER_REFINE_NONE
source§

fn set_corner_refinement_win_size(&mut self, val: i32)

maximum window size for the corner refinement process (in pixels) (default 5). Read more
source§

fn set_relative_corner_refinment_win_size(&mut self, val: f32)

Dynamic window size for corner refinement relative to Aruco module size (default 0.3). Read more
source§

fn set_corner_refinement_max_iterations(&mut self, val: i32)

maximum number of iterations for stop criteria of the corner refinement process (default 30).
source§

fn set_corner_refinement_min_accuracy(&mut self, val: f64)

minimum error for the stop cristeria of the corner refinement process (default: 0.1)
source§

fn set_marker_border_bits(&mut self, val: i32)

number of bits of the marker border, i.e. marker border width (default 1).
source§

fn set_perspective_remove_pixel_per_cell(&mut self, val: i32)

number of bits (per dimension) for each cell of the marker when removing the perspective (default 4).
source§

fn set_perspective_remove_ignored_margin_per_cell(&mut self, val: f64)

width of the margin of pixels on each cell not considered for the determination of the cell bit. Read more
source§

fn set_max_erroneous_bits_in_border_rate(&mut self, val: f64)

maximum number of accepted erroneous bits in the border (i.e. number of allowed white bits in the border). Read more
source§

fn set_min_otsu_std_dev(&mut self, val: f64)

minimun standard deviation in pixels values during the decodification step to apply Otsu thresholding (otherwise, all the bits are set to 0 or 1 depending on mean higher than 128 or not) (default 5.0)
source§

fn set_error_correction_rate(&mut self, val: f64)

error correction rate respect to the maximun error correction capability for each dictionary (default 0.6).
source§

fn set_april_tag_quad_decimate(&mut self, val: f32)

April :: User-configurable parameters. Read more
source§

fn set_april_tag_quad_sigma(&mut self, val: f32)

what Gaussian blur should be applied to the segmented image (used for quad detection?)
source§

fn set_april_tag_min_cluster_pixels(&mut self, val: i32)

reject quads containing too few pixels (default 5).
source§

fn set_april_tag_max_nmaxima(&mut self, val: i32)

how many corner candidates to consider when segmenting a group of pixels into a quad (default 10).
source§

fn set_april_tag_critical_rad(&mut self, val: f32)

reject quads where pairs of edges have angles that are close to straight or close to 180 degrees. Read more
source§

fn set_april_tag_max_line_fit_mse(&mut self, val: f32)

when fitting lines to the contours, what is the maximum mean squared error
source§

fn set_april_tag_min_white_black_diff(&mut self, val: i32)

add an extra check that the white model must be (overall) brighter than the black model. Read more
source§

fn set_april_tag_deglitch(&mut self, val: i32)

should the thresholded image be deglitched? Only useful for very noisy images (default 0).
source§

fn set_detect_inverted_marker(&mut self, val: bool)

to check if there is a white marker. Read more
source§

fn set_use_aruco3_detection(&mut self, val: bool)

enable the new and faster Aruco detection strategy. Read more
source§

fn set_min_side_length_canonical_img(&mut self, val: i32)

minimum side length of a marker in the canonical image. Latter is the binarized image in which contours are searched.
source§

fn set_min_marker_length_ratio_original_img(&mut self, val: f32)

range [0,1], eq (2) from paper. The parameter tau_i has a direct influence on the processing speed.
source§

fn read_detector_parameters( &mut self, fn_: &impl FileNodeTraitConst ) -> Result<bool>

Read a new set of DetectorParameters from FileNode (use FileStorage.root()).
source§

fn write_detector_parameters( &mut self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<bool>

Write a set of DetectorParameters to FileStorage Read more
source§

fn write_detector_parameters_def( &mut self, fs: &mut impl FileStorageTrait ) -> Result<bool>

Write a set of DetectorParameters to FileStorage Read more
source§

impl DetectorParametersTraitConst for 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 average distance between the corners of the two markers to be grouped (default 0.125). Read more
source§

fn min_group_distance(&self) -> f32

minimum average distance between the corners of the two markers in group to add them to the list of candidates Read more
source§

fn corner_refinement_method(&self) -> i32

default value CORNER_REFINE_NONE
source§

fn corner_refinement_win_size(&self) -> i32

maximum window size for the corner refinement process (in pixels) (default 5). Read more
source§

fn relative_corner_refinment_win_size(&self) -> f32

Dynamic window size for corner refinement relative to Aruco module size (default 0.3). Read more
source§

fn corner_refinement_max_iterations(&self) -> i32

maximum number of iterations for stop criteria of the corner refinement process (default 30).
source§

fn corner_refinement_min_accuracy(&self) -> f64

minimum error for the stop cristeria of the corner refinement process (default: 0.1)
source§

fn marker_border_bits(&self) -> i32

number of bits of the marker border, i.e. marker border width (default 1).
source§

fn perspective_remove_pixel_per_cell(&self) -> i32

number of bits (per dimension) for each cell of the marker when removing the perspective (default 4).
source§

fn perspective_remove_ignored_margin_per_cell(&self) -> f64

width of the margin of pixels on each cell not considered for the determination of the cell bit. Read more
source§

fn max_erroneous_bits_in_border_rate(&self) -> f64

maximum number of accepted erroneous bits in the border (i.e. number of allowed white bits in the border). Read more
source§

fn min_otsu_std_dev(&self) -> f64

minimun standard deviation in pixels values during the decodification step to apply Otsu thresholding (otherwise, all the bits are set to 0 or 1 depending on mean higher than 128 or not) (default 5.0)
source§

fn error_correction_rate(&self) -> f64

error correction rate respect to the maximun error correction capability for each dictionary (default 0.6).
source§

fn april_tag_quad_decimate(&self) -> f32

April :: User-configurable parameters. Read more
source§

fn april_tag_quad_sigma(&self) -> f32

what Gaussian blur should be applied to the segmented image (used for quad detection?)
source§

fn april_tag_min_cluster_pixels(&self) -> i32

reject quads containing too few pixels (default 5).
source§

fn april_tag_max_nmaxima(&self) -> i32

how many corner candidates to consider when segmenting a group of pixels into a quad (default 10).
source§

fn april_tag_critical_rad(&self) -> f32

reject quads where pairs of edges have angles that are close to straight or close to 180 degrees. Read more
source§

fn april_tag_max_line_fit_mse(&self) -> f32

when fitting lines to the contours, what is the maximum mean squared error
source§

fn april_tag_min_white_black_diff(&self) -> i32

add an extra check that the white model must be (overall) brighter than the black model. Read more
source§

fn april_tag_deglitch(&self) -> i32

should the thresholded image be deglitched? Only useful for very noisy images (default 0).
source§

fn detect_inverted_marker(&self) -> bool

to check if there is a white marker. Read more
source§

fn use_aruco3_detection(&self) -> bool

enable the new and faster Aruco detection strategy. Read more
source§

fn min_side_length_canonical_img(&self) -> i32

minimum side length of a marker in the canonical image. Latter is the binarized image in which contours are searched.
source§

fn min_marker_length_ratio_original_img(&self) -> f32

range [0,1], eq (2) from paper. The parameter tau_i has a direct influence on the processing speed.
source§

impl DictionaryTrait for Ptr<Dictionary>

source§

fn as_raw_mut_Dictionary(&mut self) -> *mut c_void

source§

fn set_bytes_list(&mut self, val: Mat)

marker code information. See class description for more details
source§

fn set_marker_size(&mut self, val: i32)

number of bits per dimension
source§

fn set_max_correction_bits(&mut self, val: i32)

maximum number of bits that can be corrected
source§

fn read_dictionary(&mut self, fn_: &impl FileNodeTraitConst) -> Result<bool>

Read a new dictionary from FileNode. Read more
source§

fn write_dictionary( &mut self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

Write a dictionary to FileStorage, format is the same as in readDictionary(). Read more
source§

fn write_dictionary_def(&mut self, fs: &mut impl FileStorageTrait) -> Result<()>

Write a dictionary to FileStorage, format is the same as in readDictionary(). Read more
source§

impl DictionaryTraitConst for Ptr<Dictionary>

source§

fn as_raw_Dictionary(&self) -> *const c_void

source§

fn bytes_list(&self) -> Mat

marker code information. See class description for more details
source§

fn marker_size(&self) -> i32

number of bits per dimension
source§

fn max_correction_bits(&self) -> i32

maximum number of bits that can be corrected
source§

fn identify( &self, only_bits: &impl MatTraitConst, idx: &mut i32, rotation: &mut i32, max_correction_rate: f64 ) -> Result<bool>

Given a matrix of bits. Returns whether if marker is identified or not. Read more
source§

fn get_distance_to_id( &self, bits: &impl ToInputArray, id: i32, all_rotations: bool ) -> Result<i32>

Returns Hamming distance of the input bits to the specific id. Read more
source§

fn get_distance_to_id_def( &self, bits: &impl ToInputArray, id: i32 ) -> Result<i32>

Returns Hamming distance of the input bits to the specific id. Read more
source§

fn generate_image_marker( &self, id: i32, side_pixels: i32, _img: &mut impl ToOutputArray, border_bits: i32 ) -> Result<()>

Generate a canonical marker image Read more
source§

fn generate_image_marker_def( &self, id: i32, side_pixels: i32, _img: &mut impl ToOutputArray ) -> Result<()>

Generate a canonical marker image Read more
source§

impl DisparityFilterTrait for Ptr<DisparityFilter>

source§

fn as_raw_mut_DisparityFilter(&mut self) -> *mut c_void

source§

fn filter( &mut self, disparity_map_left: &impl ToInputArray, left_view: &impl ToInputArray, filtered_disparity_map: &mut impl ToOutputArray, disparity_map_right: &impl ToInputArray, roi: Rect, right_view: &impl ToInputArray ) -> Result<()>

Apply filtering to the disparity map. Read more
source§

fn filter_def( &mut self, disparity_map_left: &impl ToInputArray, left_view: &impl ToInputArray, filtered_disparity_map: &mut impl ToOutputArray ) -> Result<()>

Apply filtering to the disparity map. Read more
source§

impl DisparityFilterTrait for Ptr<DisparityWLSFilter>

source§

fn as_raw_mut_DisparityFilter(&mut self) -> *mut c_void

source§

fn filter( &mut self, disparity_map_left: &impl ToInputArray, left_view: &impl ToInputArray, filtered_disparity_map: &mut impl ToOutputArray, disparity_map_right: &impl ToInputArray, roi: Rect, right_view: &impl ToInputArray ) -> Result<()>

Apply filtering to the disparity map. Read more
source§

fn filter_def( &mut self, disparity_map_left: &impl ToInputArray, left_view: &impl ToInputArray, filtered_disparity_map: &mut impl ToOutputArray ) -> Result<()>

Apply filtering to the disparity map. Read more
source§

impl DisparityFilterTraitConst for Ptr<DisparityFilter>

source§

impl DisparityFilterTraitConst for Ptr<DisparityWLSFilter>

source§

impl DisparityWLSFilterTrait for Ptr<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 DisparityWLSFilterTraitConst for Ptr<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: &impl ToInputArray, result: &mut impl ToOutputArray ) -> Result<()>

Upsample via neural network Read more
source§

fn upsample_multioutput( &mut self, img: &impl ToInputArray, imgs_new: &mut Vector<Mat>, scale_factors: &Vector<i32>, node_names: &Vector<String> ) -> Result<()>

Upsample via neural network of multiple outputs Read more
source§

fn get_scale(&mut self) -> Result<i32>

Returns the scale factor of the model: Read more
source§

fn get_algorithm(&mut self) -> Result<String>

Returns the scale factor of the model: Read more
source§

impl DnnSuperResImplTraitConst for Ptr<DnnSuperResImpl>

source§

impl DownhillSolverTrait for Ptr<DownhillSolver>

source§

fn as_raw_mut_DownhillSolver(&mut self) -> *mut c_void

source§

fn set_init_step(&mut self, step: &impl ToInputArray) -> Result<()>

Sets the initial step that will be used in downhill simplex algorithm. Read more
source§

impl DownhillSolverTraitConst for Ptr<DownhillSolver>

source§

fn as_raw_DownhillSolver(&self) -> *const c_void

source§

fn get_init_step(&self, step: &mut impl ToOutputArray) -> Result<()>

Returns the initial step that will be used in downhill simplex algorithm. Read more
source§

impl<T: ?Sized> Drop for Ptr<T>
where Self: PtrExtern,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl DualTVL1OpticalFlowTrait for Ptr<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 DualTVL1OpticalFlowTraitConst for Ptr<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_DynaFuTrait for Ptr<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: &impl ToInputArray) -> Result<bool>

Process next depth frame Read more
source§

fn render_surface( &mut self, depth_image: &mut impl ToOutputArray, vert_image: &mut impl ToOutputArray, norm_image: &mut impl ToOutputArray, warp: bool ) -> Result<()>

C++ default parameters Read more
source§

fn render_surface_def( &mut self, depth_image: &mut impl ToOutputArray, vert_image: &mut impl ToOutputArray, norm_image: &mut impl ToOutputArray ) -> Result<()>

source§

impl Dynafu_DynaFuTraitConst for Ptr<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 impl ToOutputArray, camera_pose: Matx44f ) -> Result<()>

Renders a volume into an image Read more
source§

fn render_def(&self, image: &mut impl ToOutputArray) -> Result<()>

Renders a volume into an image Read more
source§

fn get_cloud( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray ) -> Result<()>

Gets points and normals of current 3d mesh Read more
source§

fn get_points(&self, points: &mut impl ToOutputArray) -> Result<()>

Gets points of current 3d mesh Read more
source§

fn get_normals( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray ) -> Result<()>

Calculates normals for given points Read more
source§

fn get_pose(&self) -> Result<Affine3f>

Get current pose in voxel space
source§

fn get_nodes_pos(&self) -> Result<Vector<Point3f>>

source§

fn march_cubes( &self, vertices: &mut impl ToOutputArray, edges: &mut impl ToOutputArray ) -> Result<()>

source§

impl ELULayerTrait for 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 EMDHistogramCostExtractorTrait for Ptr<EMDHistogramCostExtractor>

source§

impl EMDHistogramCostExtractorTraitConst for Ptr<EMDHistogramCostExtractor>

source§

impl EMDL1HistogramCostExtractorTrait for Ptr<EMDL1HistogramCostExtractor>

source§

impl EMDL1HistogramCostExtractorTraitConst for Ptr<EMDL1HistogramCostExtractor>

source§

impl EMTrait for Ptr<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: &impl ToInputArray, log_likelihoods: &mut impl ToOutputArray, labels: &mut impl ToOutputArray, probs: &mut impl ToOutputArray ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
source§

fn train_em_def(&mut self, samples: &impl ToInputArray) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
source§

fn train_e( &mut self, samples: &impl ToInputArray, means0: &impl ToInputArray, covs0: &impl ToInputArray, weights0: &impl ToInputArray, log_likelihoods: &mut impl ToOutputArray, labels: &mut impl ToOutputArray, probs: &mut impl ToOutputArray ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
source§

fn train_e_def( &mut self, samples: &impl ToInputArray, means0: &impl ToInputArray ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
source§

fn train_m( &mut self, samples: &impl ToInputArray, probs0: &impl ToInputArray, log_likelihoods: &mut impl ToOutputArray, labels: &mut impl ToOutputArray, probs: &mut impl ToOutputArray ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
source§

fn train_m_def( &mut self, samples: &impl ToInputArray, probs0: &impl ToInputArray ) -> Result<bool>

Estimate the Gaussian mixture parameters from a samples set. Read more
source§

impl EMTraitConst for Ptr<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: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Returns posterior probabilities for the provided samples Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Returns posterior probabilities for the provided samples Read more
source§

fn predict2( &self, sample: &impl ToInputArray, probs: &mut impl ToOutputArray ) -> Result<Vec2d>

Returns a likelihood logarithm value and an index of the most probable mixture component for the given sample. Read more
source§

impl ERFilterTrait for Ptr<ERFilter>

source§

fn as_raw_mut_ERFilter(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &impl ToInputArray, regions: &mut Vector<ERStat> ) -> Result<()>

The key method of ERFilter algorithm. Read more
source§

fn set_callback(&mut self, cb: &Ptr<ERFilter_Callback>) -> Result<()>

set/get methods to set the algorithm properties,
source§

fn set_threshold_delta(&mut self, threshold_delta: i32) -> Result<()>

source§

fn set_min_area(&mut self, min_area: f32) -> Result<()>

source§

fn set_max_area(&mut self, max_area: f32) -> Result<()>

source§

fn set_min_probability(&mut self, min_probability: f32) -> Result<()>

source§

fn set_min_probability_diff(&mut self, min_probability_diff: f32) -> Result<()>

source§

fn set_non_max_suppression(&mut self, non_max_suppression: bool) -> Result<()>

source§

impl ERFilterTraitConst for Ptr<ERFilter>

source§

impl ERFilter_CallbackTrait for Ptr<ERFilter_Callback>

source§

fn as_raw_mut_ERFilter_Callback(&mut self) -> *mut c_void

source§

fn eval(&mut self, stat: &impl ERStatTraitConst) -> Result<f64>

The classifier must return probability measure for the region. Read more
source§

impl ERFilter_CallbackTraitConst for Ptr<ERFilter_Callback>

source§

impl EdgeAwareInterpolatorTrait for Ptr<EdgeAwareInterpolator>

source§

fn as_raw_mut_EdgeAwareInterpolator(&mut self) -> *mut c_void

source§

fn set_cost_map(&mut self, _cost_map: &impl MatTraitConst) -> Result<()>

Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term. This implementation is based on a rather simple gradient-based edge map estimation. To used more complex edge map estimator (e.g. StructuredEdgeDetection that has been used in the original publication) that may lead to improved accuracies, the internal edge map estimation can be bypassed here. Read more
source§

fn set_k(&mut self, _k: i32) -> Result<()>

Parameter to tune the approximate size of the superpixel used for oversegmentation. Read more
source§

fn get_k(&mut self) -> Result<i32>

See also Read more
source§

fn set_sigma(&mut self, _sigma: f32) -> Result<()>

Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the output flow.
source§

fn get_sigma(&mut self) -> Result<f32>

See also Read more
source§

fn set_lambda(&mut self, _lambda: f32) -> Result<()>

Lambda is a parameter defining the weight of the edge-aware term in geodesic distance, should be in the range of 0 to 1000.
source§

fn get_lambda(&mut self) -> Result<f32>

See also Read more
source§

fn set_use_post_processing(&mut self, _use_post_proc: bool) -> Result<()>

Sets whether the fastGlobalSmootherFilter() post-processing is employed. It is turned on by default.
source§

fn get_use_post_processing(&mut self) -> Result<bool>

See also Read more
source§

fn set_fgs_lambda(&mut self, _lambda: f32) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter.
source§

fn get_fgs_lambda(&mut self) -> Result<f32>

See also Read more
source§

fn set_fgs_sigma(&mut self, _sigma: f32) -> Result<()>

See also Read more
source§

fn get_fgs_sigma(&mut self) -> Result<f32>

See also Read more
source§

impl EdgeAwareInterpolatorTraitConst for Ptr<EdgeAwareInterpolator>

source§

impl EdgeBoxesTrait for Ptr<EdgeBoxes>

source§

fn as_raw_mut_EdgeBoxes(&mut self) -> *mut c_void

source§

fn get_bounding_boxes( &mut self, edge_map: &impl ToInputArray, orientation_map: &impl ToInputArray, boxes: &mut Vector<Rect>, scores: &mut impl ToOutputArray ) -> Result<()>

Returns array containing proposal boxes. Read more
source§

fn get_bounding_boxes_def( &mut self, edge_map: &impl ToInputArray, orientation_map: &impl ToInputArray, boxes: &mut Vector<Rect> ) -> Result<()>

Returns array containing proposal boxes. Read more
source§

fn set_alpha(&mut self, value: f32) -> Result<()>

Sets the step size of sliding window search.
source§

fn set_beta(&mut self, value: f32) -> Result<()>

Sets the nms threshold for object proposals.
source§

fn set_eta(&mut self, value: f32) -> Result<()>

Sets the adaptation rate for nms threshold.
source§

fn set_min_score(&mut self, value: f32) -> Result<()>

Sets the min score of boxes to detect.
source§

fn set_max_boxes(&mut self, value: i32) -> Result<()>

Sets max number of boxes to detect.
source§

fn set_edge_min_mag(&mut self, value: f32) -> Result<()>

Sets the edge min magnitude.
source§

fn set_edge_merge_thr(&mut self, value: f32) -> Result<()>

Sets the edge merge threshold.
source§

fn set_cluster_min_mag(&mut self, value: f32) -> Result<()>

Sets the cluster min magnitude.
source§

fn set_max_aspect_ratio(&mut self, value: f32) -> Result<()>

Sets the max aspect ratio of boxes.
source§

fn set_min_box_area(&mut self, value: f32) -> Result<()>

Sets the minimum area of boxes.
source§

fn set_gamma(&mut self, value: f32) -> Result<()>

Sets the affinity sensitivity
source§

fn set_kappa(&mut self, value: f32) -> Result<()>

Sets the scale sensitivity.
source§

impl EdgeBoxesTraitConst for Ptr<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 EdgeDrawingTrait for Ptr<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: &impl 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 impl ToOutputArray) -> Result<()>

returns Edge Image prepared by detectEdges() function. Read more
source§

fn get_gradient_image(&mut self, dst: &mut impl ToOutputArray) -> Result<()>

returns Gradient Image prepared by detectEdges() function. Read more
source§

fn get_segments(&mut self) -> Result<Vector<Vector<Point>>>

Returns std::vector<std::vector> of detected edge segments, see detectEdges()
source§

fn detect_lines(&mut self, lines: &mut impl ToOutputArray) -> Result<()>

Detects lines. Read more
source§

fn detect_ellipses(&mut self, ellipses: &mut impl ToOutputArray) -> Result<()>

Detects circles and ellipses. Read more
source§

fn set_params_1(&mut self, parameters: EdgeDrawing_Params) -> Result<()>

sets parameters. Read more
source§

impl EdgeDrawingTraitConst for Ptr<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 EigenFaceRecognizerTrait for Ptr<EigenFaceRecognizer>

source§

impl EigenFaceRecognizerTraitConst for Ptr<EigenFaceRecognizer>

source§

impl EinsumLayerTrait for Ptr<EinsumLayer>

source§

impl EinsumLayerTraitConst for Ptr<EinsumLayer>

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 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 ExpandLayerTrait for Ptr<ExpandLayer>

source§

impl ExpandLayerTraitConst for Ptr<ExpandLayer>

source§

impl FREAKTrait for Ptr<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 FREAKTraitConst for Ptr<FREAK>

source§

impl FaceDetectorYNTrait for Ptr<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: &impl ToInputArray, faces: &mut impl ToOutputArray ) -> Result<i32>

Detects faces in the input image. Following is an example output. Read more
source§

impl FaceDetectorYNTraitConst for Ptr<FaceDetectorYN>

source§

impl FaceRecognizerSFTrait for Ptr<FaceRecognizerSF>

source§

fn as_raw_mut_FaceRecognizerSF(&mut self) -> *mut c_void

source§

fn feature( &mut self, aligned_img: &impl ToInputArray, face_feature: &mut impl ToOutputArray ) -> Result<()>

Extracting face feature from aligned image Read more
source§

impl FaceRecognizerSFTraitConst for Ptr<FaceRecognizerSF>

source§

fn as_raw_FaceRecognizerSF(&self) -> *const c_void

source§

fn align_crop( &self, src_img: &impl ToInputArray, face_box: &impl ToInputArray, aligned_img: &mut impl ToOutputArray ) -> Result<()>

Aligning image to put face on the standard position Read more
source§

fn match_( &self, face_feature1: &impl ToInputArray, face_feature2: &impl ToInputArray, dis_type: i32 ) -> Result<f64>

Calculating the distance between two face features Read more
source§

fn match__def( &self, face_feature1: &impl ToInputArray, face_feature2: &impl ToInputArray ) -> Result<f64>

Calculating the distance between two face features Read more
source§

impl FaceRecognizerTrait for Ptr<BasicFaceRecognizer>

source§

fn as_raw_mut_FaceRecognizer(&mut self) -> *mut c_void

source§

fn train( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
source§

fn update( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn read_1(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
source§

impl FaceRecognizerTrait for Ptr<EigenFaceRecognizer>

source§

fn as_raw_mut_FaceRecognizer(&mut self) -> *mut c_void

source§

fn train( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
source§

fn update( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn read_1(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
source§

impl FaceRecognizerTrait for Ptr<FaceRecognizer>

source§

fn as_raw_mut_FaceRecognizer(&mut self) -> *mut c_void

source§

fn train( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
source§

fn update( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn read_1(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
source§

impl FaceRecognizerTrait for Ptr<FisherFaceRecognizer>

source§

fn as_raw_mut_FaceRecognizer(&mut self) -> *mut c_void

source§

fn train( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
source§

fn update( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn read_1(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
source§

impl FaceRecognizerTrait for Ptr<LBPHFaceRecognizer>

source§

fn as_raw_mut_FaceRecognizer(&mut self) -> *mut c_void

source§

fn train( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray ) -> Result<()>

Trains a FaceRecognizer with given data and associated labels. Read more
source§

fn update( &mut self, src: &impl ToInputArray, labels: &impl ToInputArray ) -> Result<()>

Updates a FaceRecognizer with given data and associated labels. Read more
source§

fn read(&mut self, filename: &str) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn read_1(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Loads a FaceRecognizer and its model state. Read more
source§

fn set_label_info(&mut self, label: i32, str_info: &str) -> Result<()>

Sets string info for the specified model’s label. Read more
source§

fn set_threshold(&mut self, val: f64) -> Result<()>

Sets threshold of model
source§

impl FaceRecognizerTraitConst for Ptr<BasicFaceRecognizer>

source§

fn as_raw_FaceRecognizer(&self) -> *const c_void

source§

fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict( &self, src: &impl ToInputArray, label: &mut i32, confidence: &mut f64 ) -> Result<()>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict_collect( &self, src: &impl ToInputArray, collector: Ptr<PredictCollector> ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
source§

impl FaceRecognizerTraitConst for Ptr<EigenFaceRecognizer>

source§

fn as_raw_FaceRecognizer(&self) -> *const c_void

source§

fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict( &self, src: &impl ToInputArray, label: &mut i32, confidence: &mut f64 ) -> Result<()>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict_collect( &self, src: &impl ToInputArray, collector: Ptr<PredictCollector> ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
source§

impl FaceRecognizerTraitConst for Ptr<FaceRecognizer>

source§

fn as_raw_FaceRecognizer(&self) -> *const c_void

source§

fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict( &self, src: &impl ToInputArray, label: &mut i32, confidence: &mut f64 ) -> Result<()>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict_collect( &self, src: &impl ToInputArray, collector: Ptr<PredictCollector> ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
source§

impl FaceRecognizerTraitConst for Ptr<FisherFaceRecognizer>

source§

fn as_raw_FaceRecognizer(&self) -> *const c_void

source§

fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict( &self, src: &impl ToInputArray, label: &mut i32, confidence: &mut f64 ) -> Result<()>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict_collect( &self, src: &impl ToInputArray, collector: Ptr<PredictCollector> ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
source§

impl FaceRecognizerTraitConst for Ptr<LBPHFaceRecognizer>

source§

fn as_raw_FaceRecognizer(&self) -> *const c_void

source§

fn predict_label(&self, src: &impl ToInputArray) -> Result<i32>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict( &self, src: &impl ToInputArray, label: &mut i32, confidence: &mut f64 ) -> Result<()>

Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§

fn predict_collect( &self, src: &impl ToInputArray, collector: Ptr<PredictCollector> ) -> Result<()>

if implemented - send all result of prediction to collector that can be used for somehow custom result handling Read more
source§

fn write(&self, filename: &str) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn write_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Saves a FaceRecognizer and its model state. Read more
source§

fn empty(&self) -> Result<bool>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
source§

fn get_label_info(&self, label: i32) -> Result<String>

Gets string information by label. Read more
source§

fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>

Gets vector of labels by string. Read more
source§

fn get_threshold(&self) -> Result<f64>

threshold parameter accessor - required for default BestMinDist collector
source§

impl FacemarkAAMTrait for Ptr<FacemarkAAM>

source§

fn as_raw_mut_FacemarkAAM(&mut self) -> *mut c_void

source§

fn fit_config( &mut self, image: &impl ToInputArray, roi: &impl ToInputArray, _landmarks: &mut impl ToOutputArray, runtime_params: &Vector<FacemarkAAM_Config> ) -> Result<bool>

overload with additional Config structures
source§

impl FacemarkAAMTraitConst for Ptr<FacemarkAAM>

source§

impl FacemarkKazemiTrait for Ptr<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 training_def( &mut self, images: &mut Vector<Mat>, landmarks: &mut Vector<Vector<Point2f>>, configfile: &str, scale: Size ) -> Result<bool>

This function is used to train the model using gradient boosting to get a cascade of regressors which can then be used to predict shape. Read more
source§

fn set_face_detector( &mut self, f: Option<Box<dyn FnMut(*const c_void, *const c_void) -> bool + Send + Sync + 'static>> ) -> Result<bool>

set the custom face detector
source§

fn get_faces( &mut self, image: &impl ToInputArray, faces: &mut impl ToOutputArray ) -> Result<bool>

get faces using the custom detector
source§

impl FacemarkKazemiTraitConst for Ptr<FacemarkKazemi>

source§

impl FacemarkLBFTrait for Ptr<FacemarkLBF>

source§

impl FacemarkLBFTraitConst for Ptr<FacemarkLBF>

source§

impl FacemarkTrainTrait for Ptr<FacemarkAAM>

source§

fn as_raw_mut_FacemarkTrain(&mut self) -> *mut c_void

source§

fn add_training_sample( &mut self, image: &impl ToInputArray, landmarks: &impl ToInputArray ) -> Result<bool>

Add one training sample to the trainer. Read more
source§

unsafe fn training(&mut self, parameters: *mut c_void) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
source§

fn training_def(&mut self) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
source§

fn set_face_detector(&mut self, detector: FN_FaceDetector) -> Result<bool>

Set a user defined face detector for the Facemark algorithm. Read more
source§

fn get_faces( &mut self, image: &impl ToInputArray, faces: &mut impl ToOutputArray ) -> Result<bool>

Detect faces from a given image using default or user defined face detector. Some Algorithm might not provide a default face detector. Read more
source§

unsafe fn get_data(&mut self, items: *mut c_void) -> Result<bool>

Get data from an algorithm Read more
source§

fn get_data_def(&mut self) -> Result<bool>

Get data from an algorithm Read more
source§

impl FacemarkTrainTrait for Ptr<FacemarkLBF>

source§

fn as_raw_mut_FacemarkTrain(&mut self) -> *mut c_void

source§

fn add_training_sample( &mut self, image: &impl ToInputArray, landmarks: &impl ToInputArray ) -> Result<bool>

Add one training sample to the trainer. Read more
source§

unsafe fn training(&mut self, parameters: *mut c_void) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
source§

fn training_def(&mut self) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
source§

fn set_face_detector(&mut self, detector: FN_FaceDetector) -> Result<bool>

Set a user defined face detector for the Facemark algorithm. Read more
source§

fn get_faces( &mut self, image: &impl ToInputArray, faces: &mut impl ToOutputArray ) -> Result<bool>

Detect faces from a given image using default or user defined face detector. Some Algorithm might not provide a default face detector. Read more
source§

unsafe fn get_data(&mut self, items: *mut c_void) -> Result<bool>

Get data from an algorithm Read more
source§

fn get_data_def(&mut self) -> Result<bool>

Get data from an algorithm Read more
source§

impl FacemarkTrainTrait for Ptr<FacemarkTrain>

source§

fn as_raw_mut_FacemarkTrain(&mut self) -> *mut c_void

source§

fn add_training_sample( &mut self, image: &impl ToInputArray, landmarks: &impl ToInputArray ) -> Result<bool>

Add one training sample to the trainer. Read more
source§

unsafe fn training(&mut self, parameters: *mut c_void) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
source§

fn training_def(&mut self) -> Result<()>

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function. Read more
source§

fn set_face_detector(&mut self, detector: FN_FaceDetector) -> Result<bool>

Set a user defined face detector for the Facemark algorithm. Read more
source§

fn get_faces( &mut self, image: &impl ToInputArray, faces: &mut impl ToOutputArray ) -> Result<bool>

Detect faces from a given image using default or user defined face detector. Some Algorithm might not provide a default face detector. Read more
source§

unsafe fn get_data(&mut self, items: *mut c_void) -> Result<bool>

Get data from an algorithm Read more
source§

fn get_data_def(&mut self) -> Result<bool>

Get data from an algorithm Read more
source§

impl FacemarkTrainTraitConst for Ptr<FacemarkAAM>

source§

impl FacemarkTrainTraitConst for Ptr<FacemarkLBF>

source§

impl FacemarkTrainTraitConst for Ptr<FacemarkTrain>

source§

impl FacemarkTrait for Ptr<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: &impl ToInputArray, faces: &impl ToInputArray, landmarks: &mut impl ToOutputArray ) -> Result<bool>

Detect facial landmarks from an image. Read more
source§

impl FacemarkTrait for Ptr<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: &impl ToInputArray, faces: &impl ToInputArray, landmarks: &mut impl ToOutputArray ) -> Result<bool>

Detect facial landmarks from an image. Read more
source§

impl FacemarkTrait for Ptr<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: &impl ToInputArray, faces: &impl ToInputArray, landmarks: &mut impl ToOutputArray ) -> Result<bool>

Detect facial landmarks from an image. Read more
source§

impl FacemarkTrait for Ptr<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: &impl ToInputArray, faces: &impl ToInputArray, landmarks: &mut impl ToOutputArray ) -> Result<bool>

Detect facial landmarks from an image. Read more
source§

impl FacemarkTrait for Ptr<FacemarkTrain>

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: &impl ToInputArray, faces: &impl ToInputArray, landmarks: &mut impl ToOutputArray ) -> Result<bool>

Detect facial landmarks from an image. Read more
source§

impl FacemarkTraitConst for Ptr<Facemark>

source§

impl FacemarkTraitConst for Ptr<FacemarkAAM>

source§

impl FacemarkTraitConst for Ptr<FacemarkKazemi>

source§

impl FacemarkTraitConst for Ptr<FacemarkLBF>

source§

impl FacemarkTraitConst for Ptr<FacemarkTrain>

source§

impl FarnebackOpticalFlowTrait for Ptr<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 FarnebackOpticalFlowTraitConst for Ptr<FarnebackOpticalFlow>

source§

impl FastBilateralSolverFilterTrait for Ptr<FastBilateralSolverFilter>

source§

fn as_raw_mut_FastBilateralSolverFilter(&mut self) -> *mut c_void

source§

fn filter( &mut self, src: &impl ToInputArray, confidence: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Apply smoothing operation to the source image. Read more
source§

impl FastBilateralSolverFilterTraitConst for Ptr<FastBilateralSolverFilter>

source§

impl FastFeatureDetectorTrait for Ptr<FastFeatureDetector>

source§

impl FastFeatureDetectorTraitConst for Ptr<FastFeatureDetector>

source§

impl FastGlobalSmootherFilterTrait for Ptr<FastGlobalSmootherFilter>

source§

fn as_raw_mut_FastGlobalSmootherFilter(&mut self) -> *mut c_void

source§

fn filter( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Apply smoothing operation to the source image. Read more
source§

impl FastGlobalSmootherFilterTraitConst for Ptr<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: &impl MatTraitConst) -> Result<()>

source§

fn set_max_dist_diff(&mut self, val: f32) -> Result<()>

source§

fn set_angle_threshold(&mut self, f: f32) -> Result<()>

source§

fn set_sigma_depth(&mut self, f: f32) -> Result<()>

source§

fn set_sigma_spatial(&mut self, f: f32) -> Result<()>

source§

fn set_kernel_size(&mut self, f: i32) -> Result<()>

source§

fn set_iteration_counts(&mut self, val: &impl MatTraitConst) -> Result<()>

source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

source§

impl FastICPOdometryTraitConst for Ptr<FastICPOdometry>

source§

impl FastLineDetectorTrait for Ptr<FastLineDetector>

source§

fn as_raw_mut_FastLineDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, lines: &mut impl ToOutputArray ) -> Result<()>

@example fld_lines.cpp An example using the FastLineDetector Read more
source§

fn draw_segments( &mut self, image: &mut impl ToInputOutputArray, lines: &impl ToInputArray, draw_arrow: bool, linecolor: Scalar, linethickness: i32 ) -> Result<()>

Draws the line segments on a given image. Read more
source§

fn draw_segments_def( &mut self, image: &mut impl ToInputOutputArray, lines: &impl ToInputArray ) -> Result<()>

Draws the line segments on a given image. Read more
source§

impl FastLineDetectorTraitConst for Ptr<FastLineDetector>

source§

impl Feature2DTrait for Ptr<AKAZE>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<AffineFeature>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<AffineFeature2D>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<AgastFeatureDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<BEBLID>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<BRISK>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<BoostDesc>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<BriefDescriptorExtractor>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<CUDA_FastFeatureDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<CUDA_Feature2DAsync>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<CUDA_ORB>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<DAISY>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<FREAK>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<FastFeatureDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<Feature2D>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<GFTTDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<HarrisLaplaceFeatureDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<KAZE>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<LATCH>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<LUCID>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<MSDDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<MSER>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<ORB>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<SIFT>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<SURF>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<SimpleBlobDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<StarDetector>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<TBMR>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<TEBLID>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTrait for Ptr<VGG>

source§

fn as_raw_mut_Feature2D(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, mask: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, masks: &impl ToInputArray ) -> Result<()>

Detects keypoints in an image (first variant) or image set (second variant). Read more
source§

fn detect_multiple_def( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>> ) -> Result<()>

@overload Read more
source§

fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn compute_multiple( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more
source§

fn detect_and_compute( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, use_provided_keypoints: bool ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn detect_and_compute_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray ) -> Result<()>

Detects keypoints and computes the descriptors Read more
source§

fn read(&mut self, file_name: &str) -> Result<()>

source§

fn read_from_node(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<CUDA_Feature2DAsync>

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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for 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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for 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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl Feature2DTraitConst for Ptr<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_to_storage(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn empty(&self) -> Result<bool>

Return true if detector object is empty
source§

fn get_default_name(&self) -> Result<String>

source§

fn write_to_storage_with_name( &self, fs: &mut impl FileStorageTrait, name: &str ) -> Result<()>

source§

fn write_to_storage_ptr_with_name( &self, fs: &Ptr<FileStorage>, name: &str ) -> Result<()>

source§

impl 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 open_def(&mut self, filename: &str, flags: i32) -> Result<bool>

Opens a file. Read more
source§

fn release(&mut self) -> Result<()>

Closes the file and releases all the memory buffers. Read more
source§

fn release_and_get_string(&mut self) -> Result<String>

Closes the file and releases all the memory buffers. Read more
source§

fn write_i32(&mut self, name: &str, val: i32) -> Result<()>

Simplified writing API to use with bindings. Read more
source§

fn write_f64(&mut self, name: &str, val: f64) -> Result<()>

Simplified writing API to use with bindings. Read more
source§

fn write_str(&mut self, name: &str, val: &str) -> Result<()>

Simplified writing API to use with bindings. Read more
source§

fn write_mat(&mut self, name: &str, val: &impl MatTraitConst) -> Result<()>

Simplified writing API to use with bindings. Read more
source§

fn write_str_vec(&mut self, name: &str, val: &Vector<String>) -> Result<()>

Simplified writing API to use with bindings. Read more
source§

fn write_raw(&mut self, fmt: &str, vec: &mut [u8]) -> Result<()>

Writes multiple numbers. Read more
source§

fn write_comment(&mut self, comment: &str, append: bool) -> Result<()>

Writes a comment. Read more
source§

fn write_comment_def(&mut self, comment: &str) -> Result<()>

Writes a comment. Read more
source§

fn start_write_struct( &mut self, name: &str, flags: i32, type_name: &str ) -> Result<()>

Starts to write a nested structure (sequence or a mapping). Read more
source§

fn start_write_struct_def(&mut self, name: &str, flags: i32) -> Result<()>

Starts to write a nested structure (sequence or a mapping). Read more
source§

fn end_write_struct(&mut self) -> Result<()>

Finishes writing nested structure (should pair startWriteStruct())
source§

impl FileStorageTraitConst for 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 root_def(&self) -> Result<FileNode>

Returns the top-level mapping Read more
source§

fn get(&self, nodename: &str) -> Result<FileNode>

Returns the specified element of the top-level mapping. Read more
source§

fn get_node(&self, nodename: &str) -> Result<FileNode>

Returns the specified element of the top-level mapping. Read more
source§

fn get_format(&self) -> Result<i32>

Returns the current format. Read more
source§

impl FilterTrait for Ptr<Filter>

source§

fn as_raw_mut_Filter(&mut self) -> *mut c_void

source§

fn apply( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Applies the specified filter to the image. Read more
source§

fn apply_def( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Applies the specified filter to the image. Read more
source§

impl FilterTraitConst for Ptr<Filter>

source§

impl FisherFaceRecognizerTrait for Ptr<FisherFaceRecognizer>

source§

impl FisherFaceRecognizerTraitConst for Ptr<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: &impl ToInputArray) -> Result<()>

source§

fn clear(&mut self) -> Result<()>

source§

fn read(&mut self, unnamed: &impl FileNodeTraitConst) -> Result<()>

source§

fn train(&mut self) -> Result<()>

source§

impl FlannBasedMatcherTraitConst for Ptr<FlannBasedMatcher>

source§

fn as_raw_FlannBasedMatcher(&self) -> *const c_void

source§

fn write(&self, unnamed: &mut impl FileStorageTrait) -> Result<()>

source§

fn is_mask_supported(&self) -> Result<bool>

source§

fn clone(&self, empty_train_data: bool) -> Result<Ptr<DescriptorMatcher>>

C++ default parameters Read more
source§

fn clone_def(&self) -> Result<Ptr<DescriptorMatcher>>

source§

impl FlattenLayerTrait for 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 FormattedTrait for Ptr<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 FormattedTraitConst for Ptr<Formatted>

source§

impl FormatterTrait for Ptr<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 set16f_precision_def(&mut self) -> Result<()>

source§

fn set32f_precision(&mut self, p: i32) -> Result<()>

C++ default parameters Read more
source§

fn set32f_precision_def(&mut self) -> Result<()>

source§

fn set64f_precision(&mut self, p: i32) -> Result<()>

C++ default parameters Read more
source§

fn set64f_precision_def(&mut self) -> Result<()>

source§

fn set_multiline(&mut self, ml: bool) -> Result<()>

C++ default parameters Read more
source§

fn set_multiline_def(&mut self) -> Result<()>

source§

impl FormatterTraitConst for Ptr<Formatter>

source§

impl FreeType2Trait for Ptr<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§

unsafe fn load_font_data_1( &mut self, p_buf: *mut c_char, buf_size: size_t, idx: i32 ) -> Result<()>

Load font data. Read more
source§

fn set_split_number(&mut self, num: i32) -> Result<()>

Set Split Number from Bezier-curve to line Read more
source§

fn put_text( &mut self, img: &mut impl ToInputOutputArray, text: &str, org: Point, font_height: i32, color: Scalar, thickness: i32, line_type: i32, bottom_left_origin: bool ) -> Result<()>

Draws a text string. Read more
source§

fn get_text_size( &mut self, text: &str, font_height: i32, thickness: i32, base_line: &mut i32 ) -> Result<Size>

Calculates the width and height of a text string. Read more
source§

impl FreeType2TraitConst for Ptr<FreeType2>

source§

impl From<Ptr<AKAZE>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AKAZE>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AKAZE>> for Ptr<Feature2D>

source§

fn from(s: Ptr<AKAZE>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ANN_MLP>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ANN_MLP>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ANN_MLP>> for Ptr<StatModel>

source§

fn from(s: Ptr<ANN_MLP>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AbsLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<AbsLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AbsLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AbsLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AbsLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<AbsLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AccumLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AccumLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AccumLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<AccumLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AcosLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<AcosLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AcosLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AcosLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AcosLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<AcosLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AcoshLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<AcoshLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AcoshLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AcoshLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AcoshLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<AcoshLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ActivationLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ActivationLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ActivationLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ActivationLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ActivationLayerInt8>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<ActivationLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ActivationLayerInt8>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ActivationLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ActivationLayerInt8>> for Ptr<Layer>

source§

fn from(s: Ptr<ActivationLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AdaptiveManifoldFilter>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AdaptiveManifoldFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AffineFeature>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AffineFeature>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AffineFeature>> for Ptr<Feature2D>

source§

fn from(s: Ptr<AffineFeature>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AffineFeature2D>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AffineFeature2D>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AffineFeature2D>> for Ptr<Feature2D>

source§

fn from(s: Ptr<AffineFeature2D>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AffineTransformer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AffineTransformer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AffineTransformer>> for Ptr<ShapeTransformer>

source§

fn from(s: Ptr<AffineTransformer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AffineWarper>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<AffineWarper>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AgastFeatureDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AgastFeatureDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AgastFeatureDetector>> for Ptr<Feature2D>

source§

fn from(s: Ptr<AgastFeatureDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AlignExposures>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AlignExposures>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AlignMTB>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AlignMTB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AlignMTB>> for Ptr<AlignExposures>

source§

fn from(s: Ptr<AlignMTB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ArgLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ArgLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ArgLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ArgLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ArucoDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ArucoDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AsinLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<AsinLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AsinLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AsinLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AsinLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<AsinLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AsinhLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<AsinhLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AsinhLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AsinhLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AsinhLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<AsinhLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AtanLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<AtanLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AtanLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AtanLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AtanLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<AtanLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AtanhLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<AtanhLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AtanhLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AtanhLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AtanhLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<AtanhLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AttentionLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AttentionLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AttentionLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<AttentionLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AutotunedIndexParams>> for Ptr<IndexParams>

source§

fn from(s: Ptr<AutotunedIndexParams>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AverageHash>> for Ptr<Algorithm>

source§

fn from(s: Ptr<AverageHash>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<AverageHash>> for Ptr<ImgHashBase>

source§

fn from(s: Ptr<AverageHash>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BEBLID>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BEBLID>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BEBLID>> for Ptr<Feature2D>

source§

fn from(s: Ptr<BEBLID>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BFMatcher>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BFMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BFMatcher>> for Ptr<DescriptorMatcher>

source§

fn from(s: Ptr<BFMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BIF>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BIF>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BNLLLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<BNLLLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BNLLLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BNLLLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BNLLLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<BNLLLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BRISK>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BRISK>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BRISK>> for Ptr<Feature2D>

source§

fn from(s: Ptr<BRISK>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractor>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BackgroundSubtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorCNT>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BackgroundSubtractorCNT>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorCNT>> for Ptr<BackgroundSubtractor>

source§

fn from(s: Ptr<BackgroundSubtractorCNT>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorGMG>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BackgroundSubtractorGMG>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorGMG>> for Ptr<BackgroundSubtractor>

source§

fn from(s: Ptr<BackgroundSubtractorGMG>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorGSOC>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BackgroundSubtractorGSOC>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorGSOC>> for Ptr<BackgroundSubtractor>

source§

fn from(s: Ptr<BackgroundSubtractorGSOC>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorKNN>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BackgroundSubtractorKNN>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorKNN>> for Ptr<BackgroundSubtractor>

source§

fn from(s: Ptr<BackgroundSubtractorKNN>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorLSBP>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BackgroundSubtractorLSBP>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorLSBP>> for Ptr<BackgroundSubtractor>

source§

fn from(s: Ptr<BackgroundSubtractorLSBP>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorMOG>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BackgroundSubtractorMOG>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorMOG>> for Ptr<BackgroundSubtractor>

source§

fn from(s: Ptr<BackgroundSubtractorMOG>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorMOG2>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BackgroundSubtractorMOG2>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BackgroundSubtractorMOG2>> for Ptr<BackgroundSubtractor>

source§

fn from(s: Ptr<BackgroundSubtractorMOG2>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BaseCascadeClassifier>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BaseCascadeClassifier>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BaseConvolutionLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BaseConvolutionLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BaseConvolutionLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<BaseConvolutionLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BasicFaceRecognizer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BasicFaceRecognizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BasicFaceRecognizer>> for Ptr<FaceRecognizer>

source§

fn from(s: Ptr<BasicFaceRecognizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BatchNormLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<BatchNormLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BatchNormLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BatchNormLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BatchNormLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<BatchNormLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BatchNormLayerInt8>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<BatchNormLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BatchNormLayerInt8>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BatchNormLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BatchNormLayerInt8>> for Ptr<BatchNormLayer>

source§

fn from(s: Ptr<BatchNormLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BatchNormLayerInt8>> for Ptr<Layer>

source§

fn from(s: Ptr<BatchNormLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BinaryDescriptor>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BinaryDescriptor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BinaryDescriptorMatcher>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BinaryDescriptorMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BlankLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BlankLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BlankLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<BlankLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BlockMeanHash>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BlockMeanHash>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BlockMeanHash>> for Ptr<ImgHashBase>

source§

fn from(s: Ptr<BlockMeanHash>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Boost>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Boost>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Boost>> for Ptr<DTrees>

source§

fn from(s: Ptr<Boost>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Boost>> for Ptr<StatModel>

source§

fn from(s: Ptr<Boost>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BoostDesc>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BoostDesc>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BoostDesc>> for Ptr<Feature2D>

source§

fn from(s: Ptr<BoostDesc>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BriefDescriptorExtractor>> for Ptr<Algorithm>

source§

fn from(s: Ptr<BriefDescriptorExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<BriefDescriptorExtractor>> for Ptr<Feature2D>

source§

fn from(s: Ptr<BriefDescriptorExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CLAHE>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CLAHE>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_BackgroundSubtractorMOG>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_BackgroundSubtractorMOG>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_BackgroundSubtractorMOG>> for Ptr<BackgroundSubtractor>

source§

fn from(s: Ptr<CUDA_BackgroundSubtractorMOG>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_BackgroundSubtractorMOG2>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_BackgroundSubtractorMOG2>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_BackgroundSubtractorMOG2>> for Ptr<BackgroundSubtractor>

source§

fn from(s: Ptr<CUDA_BackgroundSubtractorMOG2>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_BackgroundSubtractorMOG2>> for Ptr<BackgroundSubtractorMOG2>

source§

fn from(s: Ptr<CUDA_BackgroundSubtractorMOG2>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_BroxOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_BroxOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_BroxOpticalFlow>> for Ptr<CUDA_DenseOpticalFlow>

source§

fn from(s: Ptr<CUDA_BroxOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_CLAHE>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_CLAHE>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_CLAHE>> for Ptr<CLAHE>

source§

fn from(s: Ptr<CUDA_CLAHE>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_CannyEdgeDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_CannyEdgeDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_CascadeClassifier>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_CascadeClassifier>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_CornernessCriteria>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_CornernessCriteria>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_CornersDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_CornersDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_DenseOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_DenseOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_DensePyrLKOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_DensePyrLKOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_DensePyrLKOpticalFlow>> for Ptr<CUDA_DenseOpticalFlow>

source§

fn from(s: Ptr<CUDA_DensePyrLKOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_DescriptorMatcher>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_DescriptorMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_DisparityBilateralFilter>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_DisparityBilateralFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_FarnebackOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_FarnebackOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_FarnebackOpticalFlow>> for Ptr<CUDA_DenseOpticalFlow>

source§

fn from(s: Ptr<CUDA_FarnebackOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_FastFeatureDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_FastFeatureDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_FastFeatureDetector>> for Ptr<CUDA_Feature2DAsync>

source§

fn from(s: Ptr<CUDA_FastFeatureDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_FastFeatureDetector>> for Ptr<Feature2D>

source§

fn from(s: Ptr<CUDA_FastFeatureDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_Feature2DAsync>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_Feature2DAsync>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_Feature2DAsync>> for Ptr<Feature2D>

source§

fn from(s: Ptr<CUDA_Feature2DAsync>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_HOG>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_HOG>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_HoughCirclesDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_HoughCirclesDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_HoughLinesDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_HoughLinesDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_HoughSegmentDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_HoughSegmentDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_NvidiaHWOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_NvidiaHWOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_NvidiaOpticalFlow_1_0>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_NvidiaOpticalFlow_1_0>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_NvidiaOpticalFlow_1_0>> for Ptr<CUDA_NvidiaHWOpticalFlow>

source§

fn from(s: Ptr<CUDA_NvidiaOpticalFlow_1_0>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_NvidiaOpticalFlow_2_0>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_NvidiaOpticalFlow_2_0>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_NvidiaOpticalFlow_2_0>> for Ptr<CUDA_NvidiaHWOpticalFlow>

source§

fn from(s: Ptr<CUDA_NvidiaOpticalFlow_2_0>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_ORB>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_ORB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_ORB>> for Ptr<CUDA_Feature2DAsync>

source§

fn from(s: Ptr<CUDA_ORB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_ORB>> for Ptr<Feature2D>

source§

fn from(s: Ptr<CUDA_ORB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_OpticalFlowDual_TVL1>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_OpticalFlowDual_TVL1>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_OpticalFlowDual_TVL1>> for Ptr<CUDA_DenseOpticalFlow>

source§

fn from(s: Ptr<CUDA_OpticalFlowDual_TVL1>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_SparseOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_SparseOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_SparsePyrLKOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_SparsePyrLKOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_SparsePyrLKOpticalFlow>> for Ptr<CUDA_SparseOpticalFlow>

source§

fn from(s: Ptr<CUDA_SparsePyrLKOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_StereoBM>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_StereoBM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_StereoBM>> for Ptr<StereoBM>

source§

fn from(s: Ptr<CUDA_StereoBM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_StereoBM>> for Ptr<StereoMatcher>

source§

fn from(s: Ptr<CUDA_StereoBM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_StereoBeliefPropagation>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_StereoBeliefPropagation>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_StereoBeliefPropagation>> for Ptr<StereoMatcher>

source§

fn from(s: Ptr<CUDA_StereoBeliefPropagation>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_StereoConstantSpaceBP>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_StereoConstantSpaceBP>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_StereoConstantSpaceBP>> for Ptr<CUDA_StereoBeliefPropagation>

source§

fn from(s: Ptr<CUDA_StereoConstantSpaceBP>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_StereoConstantSpaceBP>> for Ptr<StereoMatcher>

source§

fn from(s: Ptr<CUDA_StereoConstantSpaceBP>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_StereoSGM>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_StereoSGM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_StereoSGM>> for Ptr<StereoMatcher>

source§

fn from(s: Ptr<CUDA_StereoSGM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_StereoSGM>> for Ptr<StereoSGBM>

source§

fn from(s: Ptr<CUDA_StereoSGM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CUDA_TemplateMatching>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CUDA_TemplateMatching>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CalibrateCRF>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CalibrateCRF>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CalibrateDebevec>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CalibrateDebevec>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CalibrateDebevec>> for Ptr<CalibrateCRF>

source§

fn from(s: Ptr<CalibrateDebevec>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CalibrateRobertson>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CalibrateRobertson>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CalibrateRobertson>> for Ptr<CalibrateCRF>

source§

fn from(s: Ptr<CalibrateRobertson>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CeilLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<CeilLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CeilLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CeilLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CeilLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<CeilLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CeluLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<CeluLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CeluLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CeluLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CeluLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<CeluLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ChannelsPReLULayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<ChannelsPReLULayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ChannelsPReLULayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ChannelsPReLULayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ChannelsPReLULayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ChannelsPReLULayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CharucoBoard>> for Ptr<Board>

source§

fn from(s: Ptr<CharucoBoard>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CharucoDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CharucoDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ChiHistogramCostExtractor>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ChiHistogramCostExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ChiHistogramCostExtractor>> for Ptr<HistogramCostExtractor>

source§

fn from(s: Ptr<ChiHistogramCostExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ColorAverageInpainter>> for Ptr<InpainterBase>

source§

fn from(s: Ptr<ColorAverageInpainter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ColorInpainter>> for Ptr<InpainterBase>

source§

fn from(s: Ptr<ColorInpainter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ColorMomentHash>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ColorMomentHash>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ColorMomentHash>> for Ptr<ImgHashBase>

source§

fn from(s: Ptr<ColorMomentHash>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CompareLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CompareLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CompareLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<CompareLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CompositeIndexParams>> for Ptr<IndexParams>

source§

fn from(s: Ptr<CompositeIndexParams>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CompressedRectilinearPortraitWarper>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<CompressedRectilinearPortraitWarper>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CompressedRectilinearWarper>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<CompressedRectilinearWarper>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConcatLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ConcatLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConcatLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ConcatLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConjGradSolver>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ConjGradSolver>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConjGradSolver>> for Ptr<MinProblemSolver>

source§

fn from(s: Ptr<ConjGradSolver>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConsistentMosaicInpainter>> for Ptr<InpainterBase>

source§

fn from(s: Ptr<ConsistentMosaicInpainter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConstLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ConstLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConstLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ConstLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ContourFitting>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ContourFitting>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Convolution>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Convolution>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConvolutionLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ConvolutionLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConvolutionLayer>> for Ptr<BaseConvolutionLayer>

source§

fn from(s: Ptr<ConvolutionLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConvolutionLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ConvolutionLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConvolutionLayerInt8>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ConvolutionLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConvolutionLayerInt8>> for Ptr<BaseConvolutionLayer>

source§

fn from(s: Ptr<ConvolutionLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ConvolutionLayerInt8>> for Ptr<Layer>

source§

fn from(s: Ptr<ConvolutionLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CorrelationLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CorrelationLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CorrelationLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<CorrelationLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CosLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<CosLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CosLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CosLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CosLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<CosLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CoshLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<CoshLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CoshLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CoshLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CoshLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<CoshLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CropAndResizeLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CropAndResizeLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CropAndResizeLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<CropAndResizeLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CropLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CropLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CropLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<CropLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CumSumLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CumSumLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CumSumLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<CumSumLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CustomPattern>> for Ptr<Algorithm>

source§

fn from(s: Ptr<CustomPattern>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CylindricalWarper>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<CylindricalWarper>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<CylindricalWarperGpu>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<CylindricalWarperGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DAISY>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DAISY>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DAISY>> for Ptr<Feature2D>

source§

fn from(s: Ptr<DAISY>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DFT>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DFT>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DISOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DISOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DISOpticalFlow>> for Ptr<DenseOpticalFlow>

source§

fn from(s: Ptr<DISOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DTFilter>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DTFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DTrees>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DTrees>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DTrees>> for Ptr<StatModel>

source§

fn from(s: Ptr<DTrees>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DataAugmentationLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DataAugmentationLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DataAugmentationLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<DataAugmentationLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DeconvolutionLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DeconvolutionLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DeconvolutionLayer>> for Ptr<BaseConvolutionLayer>

source§

fn from(s: Ptr<DeconvolutionLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DeconvolutionLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<DeconvolutionLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DenseOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DenseOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DensePyrLkOptFlowEstimatorGpu>> for Ptr<IDenseOptFlowEstimator>

source§

fn from(s: Ptr<DensePyrLkOptFlowEstimatorGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DensePyrLkOptFlowEstimatorGpu>> for Ptr<PyrLkOptFlowEstimatorBase>

source§

fn from(s: Ptr<DensePyrLkOptFlowEstimatorGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DenseRLOFOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DenseRLOFOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DenseRLOFOpticalFlow>> for Ptr<DenseOpticalFlow>

source§

fn from(s: Ptr<DenseRLOFOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DepthCleaner>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DepthCleaner>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DequantizeLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DequantizeLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DequantizeLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<DequantizeLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DescriptorMatcher>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DescriptorMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_AffineBasedEstimator>> for Ptr<Detail_Estimator>

source§

fn from(s: Ptr<Detail_AffineBasedEstimator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_AffineBestOf2NearestMatcher>> for Ptr<Detail_BestOf2NearestMatcher>

source§

fn from(s: Ptr<Detail_AffineBestOf2NearestMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_AffineBestOf2NearestMatcher>> for Ptr<Detail_FeaturesMatcher>

source§

fn from(s: Ptr<Detail_AffineBestOf2NearestMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BestOf2NearestMatcher>> for Ptr<Detail_FeaturesMatcher>

source§

fn from(s: Ptr<Detail_BestOf2NearestMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BestOf2NearestRangeMatcher>> for Ptr<Detail_BestOf2NearestMatcher>

source§

fn from(s: Ptr<Detail_BestOf2NearestRangeMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BestOf2NearestRangeMatcher>> for Ptr<Detail_FeaturesMatcher>

source§

fn from(s: Ptr<Detail_BestOf2NearestRangeMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BlocksChannelsCompensator>> for Ptr<Detail_BlocksCompensator>

source§

fn from(s: Ptr<Detail_BlocksChannelsCompensator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BlocksChannelsCompensator>> for Ptr<Detail_ExposureCompensator>

source§

fn from(s: Ptr<Detail_BlocksChannelsCompensator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BlocksCompensator>> for Ptr<Detail_ExposureCompensator>

source§

fn from(s: Ptr<Detail_BlocksCompensator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BlocksGainCompensator>> for Ptr<Detail_BlocksCompensator>

source§

fn from(s: Ptr<Detail_BlocksGainCompensator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BlocksGainCompensator>> for Ptr<Detail_ExposureCompensator>

source§

fn from(s: Ptr<Detail_BlocksGainCompensator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterAffine>> for Ptr<Detail_BundleAdjusterBase>

source§

fn from(s: Ptr<Detail_BundleAdjusterAffine>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterAffine>> for Ptr<Detail_Estimator>

source§

fn from(s: Ptr<Detail_BundleAdjusterAffine>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterAffinePartial>> for Ptr<Detail_BundleAdjusterBase>

source§

fn from(s: Ptr<Detail_BundleAdjusterAffinePartial>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterAffinePartial>> for Ptr<Detail_Estimator>

source§

fn from(s: Ptr<Detail_BundleAdjusterAffinePartial>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterBase>> for Ptr<Detail_Estimator>

source§

fn from(s: Ptr<Detail_BundleAdjusterBase>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterRay>> for Ptr<Detail_BundleAdjusterBase>

source§

fn from(s: Ptr<Detail_BundleAdjusterRay>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterRay>> for Ptr<Detail_Estimator>

source§

fn from(s: Ptr<Detail_BundleAdjusterRay>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterReproj>> for Ptr<Detail_BundleAdjusterBase>

source§

fn from(s: Ptr<Detail_BundleAdjusterReproj>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_BundleAdjusterReproj>> for Ptr<Detail_Estimator>

source§

fn from(s: Ptr<Detail_BundleAdjusterReproj>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_ChannelsCompensator>> for Ptr<Detail_ExposureCompensator>

source§

fn from(s: Ptr<Detail_ChannelsCompensator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_DpSeamFinder>> for Ptr<Detail_SeamFinder>

source§

fn from(s: Ptr<Detail_DpSeamFinder>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_FeatherBlender>> for Ptr<Detail_Blender>

source§

fn from(s: Ptr<Detail_FeatherBlender>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_GainCompensator>> for Ptr<Detail_ExposureCompensator>

source§

fn from(s: Ptr<Detail_GainCompensator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_GraphCutSeamFinder>> for Ptr<Detail_GraphCutSeamFinderBase>

source§

fn from(s: Ptr<Detail_GraphCutSeamFinder>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_GraphCutSeamFinder>> for Ptr<Detail_SeamFinder>

source§

fn from(s: Ptr<Detail_GraphCutSeamFinder>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_GraphCutSeamFinderGpu>> for Ptr<Detail_GraphCutSeamFinderBase>

source§

fn from(s: Ptr<Detail_GraphCutSeamFinderGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_GraphCutSeamFinderGpu>> for Ptr<Detail_PairwiseSeamFinder>

source§

fn from(s: Ptr<Detail_GraphCutSeamFinderGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_GraphCutSeamFinderGpu>> for Ptr<Detail_SeamFinder>

source§

fn from(s: Ptr<Detail_GraphCutSeamFinderGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_HomographyBasedEstimator>> for Ptr<Detail_Estimator>

source§

fn from(s: Ptr<Detail_HomographyBasedEstimator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_MultiBandBlender>> for Ptr<Detail_Blender>

source§

fn from(s: Ptr<Detail_MultiBandBlender>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_NoBundleAdjuster>> for Ptr<Detail_BundleAdjusterBase>

source§

fn from(s: Ptr<Detail_NoBundleAdjuster>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_NoBundleAdjuster>> for Ptr<Detail_Estimator>

source§

fn from(s: Ptr<Detail_NoBundleAdjuster>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_NoExposureCompensator>> for Ptr<Detail_ExposureCompensator>

source§

fn from(s: Ptr<Detail_NoExposureCompensator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_NoSeamFinder>> for Ptr<Detail_SeamFinder>

source§

fn from(s: Ptr<Detail_NoSeamFinder>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_PairwiseSeamFinder>> for Ptr<Detail_SeamFinder>

source§

fn from(s: Ptr<Detail_PairwiseSeamFinder>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_VoronoiSeamFinder>> for Ptr<Detail_PairwiseSeamFinder>

source§

fn from(s: Ptr<Detail_VoronoiSeamFinder>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Detail_VoronoiSeamFinder>> for Ptr<Detail_SeamFinder>

source§

fn from(s: Ptr<Detail_VoronoiSeamFinder>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DetectionOutputLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DetectionOutputLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DetectionOutputLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<DetectionOutputLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DisparityFilter>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DisparityFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DisparityWLSFilter>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DisparityWLSFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DisparityWLSFilter>> for Ptr<DisparityFilter>

source§

fn from(s: Ptr<DisparityWLSFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DownhillSolver>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DownhillSolver>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DownhillSolver>> for Ptr<MinProblemSolver>

source§

fn from(s: Ptr<DownhillSolver>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DualTVL1OpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<DualTVL1OpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<DualTVL1OpticalFlow>> for Ptr<DenseOpticalFlow>

source§

fn from(s: Ptr<DualTVL1OpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ELULayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<ELULayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ELULayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ELULayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ELULayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ELULayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EM>> for Ptr<Algorithm>

source§

fn from(s: Ptr<EM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EM>> for Ptr<StatModel>

source§

fn from(s: Ptr<EM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EMDHistogramCostExtractor>> for Ptr<Algorithm>

source§

fn from(s: Ptr<EMDHistogramCostExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EMDHistogramCostExtractor>> for Ptr<HistogramCostExtractor>

source§

fn from(s: Ptr<EMDHistogramCostExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EMDL1HistogramCostExtractor>> for Ptr<Algorithm>

source§

fn from(s: Ptr<EMDL1HistogramCostExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EMDL1HistogramCostExtractor>> for Ptr<HistogramCostExtractor>

source§

fn from(s: Ptr<EMDL1HistogramCostExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ERFilter>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ERFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EdgeAwareInterpolator>> for Ptr<Algorithm>

source§

fn from(s: Ptr<EdgeAwareInterpolator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EdgeAwareInterpolator>> for Ptr<SparseMatchInterpolator>

source§

fn from(s: Ptr<EdgeAwareInterpolator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EdgeBoxes>> for Ptr<Algorithm>

source§

fn from(s: Ptr<EdgeBoxes>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EdgeDrawing>> for Ptr<Algorithm>

source§

fn from(s: Ptr<EdgeDrawing>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EigenFaceRecognizer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<EigenFaceRecognizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EigenFaceRecognizer>> for Ptr<BasicFaceRecognizer>

source§

fn from(s: Ptr<EigenFaceRecognizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EigenFaceRecognizer>> for Ptr<FaceRecognizer>

source§

fn from(s: Ptr<EigenFaceRecognizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EinsumLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<EinsumLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EinsumLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<EinsumLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EltwiseLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<EltwiseLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EltwiseLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<EltwiseLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EltwiseLayerInt8>> for Ptr<Algorithm>

source§

fn from(s: Ptr<EltwiseLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<EltwiseLayerInt8>> for Ptr<Layer>

source§

fn from(s: Ptr<EltwiseLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ErfLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<ErfLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ErfLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ErfLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ErfLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ErfLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ExpLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<ExpLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ExpLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ExpLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ExpLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ExpLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ExpandLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ExpandLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ExpandLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ExpandLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FREAK>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FREAK>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FREAK>> for Ptr<Feature2D>

source§

fn from(s: Ptr<FREAK>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FaceRecognizer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FaceRecognizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Facemark>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Facemark>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FacemarkAAM>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FacemarkAAM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FacemarkAAM>> for Ptr<Facemark>

source§

fn from(s: Ptr<FacemarkAAM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FacemarkAAM>> for Ptr<FacemarkTrain>

source§

fn from(s: Ptr<FacemarkAAM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FacemarkKazemi>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FacemarkKazemi>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FacemarkKazemi>> for Ptr<Facemark>

source§

fn from(s: Ptr<FacemarkKazemi>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FacemarkLBF>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FacemarkLBF>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FacemarkLBF>> for Ptr<Facemark>

source§

fn from(s: Ptr<FacemarkLBF>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FacemarkLBF>> for Ptr<FacemarkTrain>

source§

fn from(s: Ptr<FacemarkLBF>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FacemarkTrain>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FacemarkTrain>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FacemarkTrain>> for Ptr<Facemark>

source§

fn from(s: Ptr<FacemarkTrain>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FarnebackOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FarnebackOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FarnebackOpticalFlow>> for Ptr<DenseOpticalFlow>

source§

fn from(s: Ptr<FarnebackOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FastBilateralSolverFilter>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FastBilateralSolverFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FastFeatureDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FastFeatureDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FastFeatureDetector>> for Ptr<Feature2D>

source§

fn from(s: Ptr<FastFeatureDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FastGlobalSmootherFilter>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FastGlobalSmootherFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FastICPOdometry>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FastICPOdometry>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FastICPOdometry>> for Ptr<Odometry>

source§

fn from(s: Ptr<FastICPOdometry>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FastLineDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FastLineDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Feature2D>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Feature2D>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Filter>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Filter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FisherFaceRecognizer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FisherFaceRecognizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FisherFaceRecognizer>> for Ptr<BasicFaceRecognizer>

source§

fn from(s: Ptr<FisherFaceRecognizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FisherFaceRecognizer>> for Ptr<FaceRecognizer>

source§

fn from(s: Ptr<FisherFaceRecognizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FisheyeWarper>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<FisheyeWarper>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FlannBasedMatcher>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FlannBasedMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FlannBasedMatcher>> for Ptr<DescriptorMatcher>

source§

fn from(s: Ptr<FlannBasedMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FlattenLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FlattenLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FlattenLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<FlattenLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FloorLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<FloorLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FloorLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FloorLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FloorLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<FloorLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FlowWarpLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FlowWarpLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FlowWarpLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<FlowWarpLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FreeType2>> for Ptr<Algorithm>

source§

fn from(s: Ptr<FreeType2>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<FromFileMotionReader>> for Ptr<ImageMotionEstimatorBase>

source§

fn from(s: Ptr<FromFileMotionReader>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GFTTDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GFTTDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GFTTDetector>> for Ptr<Feature2D>

source§

fn from(s: Ptr<GFTTDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GPCTree>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GPCTree>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GRULayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GRULayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GRULayer>> for Ptr<Layer>

source§

fn from(s: Ptr<GRULayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GatherElementsLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GatherElementsLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GatherElementsLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<GatherElementsLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GatherLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GatherLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GatherLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<GatherLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GaussianMotionFilter>> for Ptr<IMotionStabilizer>

source§

fn from(s: Ptr<GaussianMotionFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GaussianMotionFilter>> for Ptr<MotionFilterBase>

source§

fn from(s: Ptr<GaussianMotionFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GeluApproximationLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<GeluApproximationLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GeluApproximationLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GeluApproximationLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GeluApproximationLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<GeluApproximationLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GeluLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<GeluLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GeluLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GeluLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GeluLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<GeluLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GemmLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GemmLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GemmLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<GemmLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GeneralizedHough>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GeneralizedHough>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GeneralizedHoughBallard>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GeneralizedHoughBallard>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GeneralizedHoughBallard>> for Ptr<GeneralizedHough>

source§

fn from(s: Ptr<GeneralizedHoughBallard>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GeneralizedHoughGuil>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GeneralizedHoughGuil>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GeneralizedHoughGuil>> for Ptr<GeneralizedHough>

source§

fn from(s: Ptr<GeneralizedHoughGuil>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GraphSegmentation>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GraphSegmentation>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GrayCodePattern>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GrayCodePattern>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GrayCodePattern>> for Ptr<StructuredLightPattern>

source§

fn from(s: Ptr<GrayCodePattern>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GrayworldWB>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GrayworldWB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GrayworldWB>> for Ptr<WhiteBalancer>

source§

fn from(s: Ptr<GrayworldWB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GridBoard>> for Ptr<Board>

source§

fn from(s: Ptr<GridBoard>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<GuidedFilter>> for Ptr<Algorithm>

source§

fn from(s: Ptr<GuidedFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HardSigmoidLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<HardSigmoidLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HardSigmoidLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<HardSigmoidLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HardSigmoidLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<HardSigmoidLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HardSwishLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<HardSwishLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HardSwishLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<HardSwishLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HardSwishLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<HardSwishLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HarrisLaplaceFeatureDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<HarrisLaplaceFeatureDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HarrisLaplaceFeatureDetector>> for Ptr<Feature2D>

source§

fn from(s: Ptr<HarrisLaplaceFeatureDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HausdorffDistanceExtractor>> for Ptr<Algorithm>

source§

fn from(s: Ptr<HausdorffDistanceExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HausdorffDistanceExtractor>> for Ptr<ShapeDistanceExtractor>

source§

fn from(s: Ptr<HausdorffDistanceExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HfsSegment>> for Ptr<Algorithm>

source§

fn from(s: Ptr<HfsSegment>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HierarchicalClusteringIndexParams>> for Ptr<IndexParams>

source§

fn from(s: Ptr<HierarchicalClusteringIndexParams>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HistogramCostExtractor>> for Ptr<Algorithm>

source§

fn from(s: Ptr<HistogramCostExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HistogramPhaseUnwrapping>> for Ptr<Algorithm>

source§

fn from(s: Ptr<HistogramPhaseUnwrapping>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<HistogramPhaseUnwrapping>> for Ptr<PhaseUnwrapping>

source§

fn from(s: Ptr<HistogramPhaseUnwrapping>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ICPOdometry>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ICPOdometry>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ICPOdometry>> for Ptr<Odometry>

source§

fn from(s: Ptr<ICPOdometry>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ImgHashBase>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ImgHashBase>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<InnerProductLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<InnerProductLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<InnerProductLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<InnerProductLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<InnerProductLayerInt8>> for Ptr<Algorithm>

source§

fn from(s: Ptr<InnerProductLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<InnerProductLayerInt8>> for Ptr<InnerProductLayer>

source§

fn from(s: Ptr<InnerProductLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<InnerProductLayerInt8>> for Ptr<Layer>

source§

fn from(s: Ptr<InnerProductLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<InpaintingPipeline>> for Ptr<InpainterBase>

source§

fn from(s: Ptr<InpaintingPipeline>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<InstanceNormLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<InstanceNormLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<InstanceNormLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<InstanceNormLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<InterpLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<InterpLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<InterpLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<InterpLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<KAZE>> for Ptr<Algorithm>

source§

fn from(s: Ptr<KAZE>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<KAZE>> for Ptr<Feature2D>

source§

fn from(s: Ptr<KAZE>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<KDTreeIndexParams>> for Ptr<IndexParams>

source§

fn from(s: Ptr<KDTreeIndexParams>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<KMeansIndexParams>> for Ptr<IndexParams>

source§

fn from(s: Ptr<KMeansIndexParams>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<KNearest>> for Ptr<Algorithm>

source§

fn from(s: Ptr<KNearest>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<KNearest>> for Ptr<StatModel>

source§

fn from(s: Ptr<KNearest>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<KeypointBasedMotionEstimator>> for Ptr<ImageMotionEstimatorBase>

source§

fn from(s: Ptr<KeypointBasedMotionEstimator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<KeypointBasedMotionEstimatorGpu>> for Ptr<ImageMotionEstimatorBase>

source§

fn from(s: Ptr<KeypointBasedMotionEstimatorGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LATCH>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LATCH>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LATCH>> for Ptr<Feature2D>

source§

fn from(s: Ptr<LATCH>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LBPHFaceRecognizer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LBPHFaceRecognizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LBPHFaceRecognizer>> for Ptr<FaceRecognizer>

source§

fn from(s: Ptr<LBPHFaceRecognizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LMSolver>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LMSolver>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LRNLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LRNLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LRNLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<LRNLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LSDDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LSDDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LSTMLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LSTMLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LSTMLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<LSTMLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LUCID>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LUCID>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LUCID>> for Ptr<Feature2D>

source§

fn from(s: Ptr<LUCID>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Layer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Layer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LayerNormLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LayerNormLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LayerNormLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<LayerNormLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LearningBasedWB>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LearningBasedWB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LearningBasedWB>> for Ptr<WhiteBalancer>

source§

fn from(s: Ptr<LearningBasedWB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LineMod_ColorGradient>> for Ptr<LineMod_Modality>

source§

fn from(s: Ptr<LineMod_ColorGradient>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LineMod_DepthNormal>> for Ptr<LineMod_Modality>

source§

fn from(s: Ptr<LineMod_DepthNormal>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LineSegmentDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LineSegmentDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LinearIndexParams>> for Ptr<IndexParams>

source§

fn from(s: Ptr<LinearIndexParams>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LogLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<LogLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LogLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LogLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LogLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<LogLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LogToStdout>> for Ptr<ILog>

source§

fn from(s: Ptr<LogToStdout>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LogisticRegression>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LogisticRegression>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LogisticRegression>> for Ptr<StatModel>

source§

fn from(s: Ptr<LogisticRegression>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LookUpTable>> for Ptr<Algorithm>

source§

fn from(s: Ptr<LookUpTable>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LpMotionStabilizer>> for Ptr<IMotionStabilizer>

source§

fn from(s: Ptr<LpMotionStabilizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<LshIndexParams>> for Ptr<IndexParams>

source§

fn from(s: Ptr<LshIndexParams>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MACE>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MACE>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MCC_CCheckerDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MCC_CCheckerDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MSDDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MSDDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MSDDetector>> for Ptr<Feature2D>

source§

fn from(s: Ptr<MSDDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MSER>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MSER>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MSER>> for Ptr<Feature2D>

source§

fn from(s: Ptr<MSER>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MVNLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MVNLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MVNLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<MVNLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MarrHildrethHash>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MarrHildrethHash>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MarrHildrethHash>> for Ptr<ImgHashBase>

source§

fn from(s: Ptr<MarrHildrethHash>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MaskFrameSource>> for Ptr<IFrameSource>

source§

fn from(s: Ptr<MaskFrameSource>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MatMulLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MatMulLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MatMulLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<MatMulLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MaxUnpoolLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MaxUnpoolLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MaxUnpoolLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<MaxUnpoolLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MercatorWarper>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<MercatorWarper>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MergeDebevec>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MergeDebevec>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MergeDebevec>> for Ptr<MergeExposures>

source§

fn from(s: Ptr<MergeDebevec>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MergeExposures>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MergeExposures>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MergeMertens>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MergeMertens>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MergeMertens>> for Ptr<MergeExposures>

source§

fn from(s: Ptr<MergeMertens>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MergeRobertson>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MergeRobertson>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MergeRobertson>> for Ptr<MergeExposures>

source§

fn from(s: Ptr<MergeRobertson>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MinProblemSolver>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MinProblemSolver>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MishLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<MishLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MishLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MishLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MishLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<MishLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MoreAccurateMotionWobbleSuppressor>> for Ptr<MoreAccurateMotionWobbleSuppressorBase>

source§

fn from(s: Ptr<MoreAccurateMotionWobbleSuppressor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MoreAccurateMotionWobbleSuppressor>> for Ptr<WobbleSuppressorBase>

source§

fn from(s: Ptr<MoreAccurateMotionWobbleSuppressor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MoreAccurateMotionWobbleSuppressorBase>> for Ptr<WobbleSuppressorBase>

source§

fn from(s: Ptr<MoreAccurateMotionWobbleSuppressorBase>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MoreAccurateMotionWobbleSuppressorGpu>> for Ptr<MoreAccurateMotionWobbleSuppressorBase>

source§

fn from(s: Ptr<MoreAccurateMotionWobbleSuppressorGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MoreAccurateMotionWobbleSuppressorGpu>> for Ptr<WobbleSuppressorBase>

source§

fn from(s: Ptr<MoreAccurateMotionWobbleSuppressorGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionEstimatorL1>> for Ptr<MotionEstimatorBase>

source§

fn from(s: Ptr<MotionEstimatorL1>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionEstimatorRansacL2>> for Ptr<MotionEstimatorBase>

source§

fn from(s: Ptr<MotionEstimatorRansacL2>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionFilterBase>> for Ptr<IMotionStabilizer>

source§

fn from(s: Ptr<MotionFilterBase>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionInpainter>> for Ptr<InpainterBase>

source§

fn from(s: Ptr<MotionInpainter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionSaliency>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MotionSaliency>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionSaliency>> for Ptr<Saliency>

source§

fn from(s: Ptr<MotionSaliency>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionSaliencyBinWangApr2014>> for Ptr<Algorithm>

source§

fn from(s: Ptr<MotionSaliencyBinWangApr2014>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionSaliencyBinWangApr2014>> for Ptr<MotionSaliency>

source§

fn from(s: Ptr<MotionSaliencyBinWangApr2014>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionSaliencyBinWangApr2014>> for Ptr<Saliency>

source§

fn from(s: Ptr<MotionSaliencyBinWangApr2014>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<MotionStabilizationPipeline>> for Ptr<IMotionStabilizer>

source§

fn from(s: Ptr<MotionStabilizationPipeline>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NaryEltwiseLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<NaryEltwiseLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NaryEltwiseLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<NaryEltwiseLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NormHistogramCostExtractor>> for Ptr<Algorithm>

source§

fn from(s: Ptr<NormHistogramCostExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NormHistogramCostExtractor>> for Ptr<HistogramCostExtractor>

source§

fn from(s: Ptr<NormHistogramCostExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NormalBayesClassifier>> for Ptr<Algorithm>

source§

fn from(s: Ptr<NormalBayesClassifier>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NormalBayesClassifier>> for Ptr<StatModel>

source§

fn from(s: Ptr<NormalBayesClassifier>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NormalizeBBoxLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<NormalizeBBoxLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NormalizeBBoxLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<NormalizeBBoxLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NotLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<NotLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NotLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<NotLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NotLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<NotLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NullDeblurer>> for Ptr<DeblurerBase>

source§

fn from(s: Ptr<NullDeblurer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NullFrameSource>> for Ptr<IFrameSource>

source§

fn from(s: Ptr<NullFrameSource>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NullInpainter>> for Ptr<InpainterBase>

source§

fn from(s: Ptr<NullInpainter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NullLog>> for Ptr<ILog>

source§

fn from(s: Ptr<NullLog>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NullOutlierRejector>> for Ptr<IOutlierRejector>

source§

fn from(s: Ptr<NullOutlierRejector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<NullWobbleSuppressor>> for Ptr<WobbleSuppressorBase>

source§

fn from(s: Ptr<NullWobbleSuppressor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<OCRBeamSearchDecoder>> for Ptr<BaseOCR>

source§

fn from(s: Ptr<OCRBeamSearchDecoder>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<OCRHMMDecoder>> for Ptr<BaseOCR>

source§

fn from(s: Ptr<OCRHMMDecoder>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<OCRHolisticWordRecognizer>> for Ptr<BaseOCR>

source§

fn from(s: Ptr<OCRHolisticWordRecognizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<OCRTesseract>> for Ptr<BaseOCR>

source§

fn from(s: Ptr<OCRTesseract>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ORB>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ORB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ORB>> for Ptr<Feature2D>

source§

fn from(s: Ptr<ORB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Objectness>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Objectness>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Objectness>> for Ptr<Saliency>

source§

fn from(s: Ptr<Objectness>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ObjectnessBING>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ObjectnessBING>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ObjectnessBING>> for Ptr<Objectness>

source§

fn from(s: Ptr<ObjectnessBING>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ObjectnessBING>> for Ptr<Saliency>

source§

fn from(s: Ptr<ObjectnessBING>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Odometry>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Odometry>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<OdometryFrame>> for Ptr<RgbdFrame>

source§

fn from(s: Ptr<OdometryFrame>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<OnePassStabilizer>> for Ptr<IFrameSource>

source§

fn from(s: Ptr<OnePassStabilizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<OnePassStabilizer>> for Ptr<StabilizerBase>

source§

fn from(s: Ptr<OnePassStabilizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<OpticalFlowPCAFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<OpticalFlowPCAFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<OpticalFlowPCAFlow>> for Ptr<DenseOpticalFlow>

source§

fn from(s: Ptr<OpticalFlowPCAFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PCTSignatures>> for Ptr<Algorithm>

source§

fn from(s: Ptr<PCTSignatures>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PCTSignaturesSQFD>> for Ptr<Algorithm>

source§

fn from(s: Ptr<PCTSignaturesSQFD>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PHash>> for Ptr<Algorithm>

source§

fn from(s: Ptr<PHash>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PHash>> for Ptr<ImgHashBase>

source§

fn from(s: Ptr<PHash>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PaddingLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<PaddingLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PaddingLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<PaddingLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PaniniPortraitWarper>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<PaniniPortraitWarper>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PaniniWarper>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<PaniniWarper>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PermuteLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<PermuteLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PermuteLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<PermuteLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PhaseUnwrapping>> for Ptr<Algorithm>

source§

fn from(s: Ptr<PhaseUnwrapping>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PlaneWarper>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<PlaneWarper>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PlaneWarperGpu>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<PlaneWarperGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Plot2d>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Plot2d>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PoolingLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<PoolingLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PoolingLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<PoolingLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PoolingLayerInt8>> for Ptr<Algorithm>

source§

fn from(s: Ptr<PoolingLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PoolingLayerInt8>> for Ptr<Layer>

source§

fn from(s: Ptr<PoolingLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PoolingLayerInt8>> for Ptr<PoolingLayer>

source§

fn from(s: Ptr<PoolingLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PowerLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<PowerLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PowerLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<PowerLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PowerLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<PowerLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PriorBoxLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<PriorBoxLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<PriorBoxLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<PriorBoxLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ProposalLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ProposalLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ProposalLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ProposalLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QualityBRISQUE>> for Ptr<Algorithm>

source§

fn from(s: Ptr<QualityBRISQUE>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QualityBRISQUE>> for Ptr<QualityBase>

source§

fn from(s: Ptr<QualityBRISQUE>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QualityBase>> for Ptr<Algorithm>

source§

fn from(s: Ptr<QualityBase>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QualityGMSD>> for Ptr<Algorithm>

source§

fn from(s: Ptr<QualityGMSD>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QualityGMSD>> for Ptr<QualityBase>

source§

fn from(s: Ptr<QualityGMSD>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QualityMSE>> for Ptr<Algorithm>

source§

fn from(s: Ptr<QualityMSE>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QualityMSE>> for Ptr<QualityBase>

source§

fn from(s: Ptr<QualityMSE>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QualityPSNR>> for Ptr<Algorithm>

source§

fn from(s: Ptr<QualityPSNR>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QualityPSNR>> for Ptr<QualityBase>

source§

fn from(s: Ptr<QualityPSNR>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QualitySSIM>> for Ptr<Algorithm>

source§

fn from(s: Ptr<QualitySSIM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QualitySSIM>> for Ptr<QualityBase>

source§

fn from(s: Ptr<QualitySSIM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QuantizeLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<QuantizeLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<QuantizeLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<QuantizeLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RFFeatureGetter>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RFFeatureGetter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RICInterpolator>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RICInterpolator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RICInterpolator>> for Ptr<SparseMatchInterpolator>

source§

fn from(s: Ptr<RICInterpolator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RNNLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RNNLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RNNLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<RNNLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RTrees>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RTrees>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RTrees>> for Ptr<DTrees>

source§

fn from(s: Ptr<RTrees>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RTrees>> for Ptr<StatModel>

source§

fn from(s: Ptr<RTrees>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RadialVarianceHash>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RadialVarianceHash>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RadialVarianceHash>> for Ptr<ImgHashBase>

source§

fn from(s: Ptr<RadialVarianceHash>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Rapid_GOSTracker>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Rapid_GOSTracker>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Rapid_GOSTracker>> for Ptr<Rapid_Tracker>

source§

fn from(s: Ptr<Rapid_GOSTracker>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Rapid_OLSTracker>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Rapid_OLSTracker>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Rapid_OLSTracker>> for Ptr<Rapid_Tracker>

source§

fn from(s: Ptr<Rapid_OLSTracker>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Rapid_Rapid>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Rapid_Rapid>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Rapid_Rapid>> for Ptr<Rapid_Tracker>

source§

fn from(s: Ptr<Rapid_Rapid>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Rapid_Tracker>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Rapid_Tracker>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReLU6Layer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<ReLU6Layer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReLU6Layer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ReLU6Layer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReLU6Layer>> for Ptr<Layer>

source§

fn from(s: Ptr<ReLU6Layer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReLULayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<ReLULayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReLULayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ReLULayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReLULayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ReLULayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReciprocalLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<ReciprocalLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReciprocalLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ReciprocalLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReciprocalLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ReciprocalLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReduceLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ReduceLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReduceLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ReduceLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RegionLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RegionLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RegionLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<RegionLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReorgLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ReorgLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReorgLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ReorgLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RequantizeLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RequantizeLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RequantizeLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<RequantizeLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReshapeLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ReshapeLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ReshapeLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ReshapeLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ResizeLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ResizeLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ResizeLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ResizeLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Retina>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Retina>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RetinaFastToneMapping>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RetinaFastToneMapping>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RgbdICPOdometry>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RgbdICPOdometry>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RgbdICPOdometry>> for Ptr<Odometry>

source§

fn from(s: Ptr<RgbdICPOdometry>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RgbdNormals>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RgbdNormals>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RgbdOdometry>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RgbdOdometry>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RgbdOdometry>> for Ptr<Odometry>

source§

fn from(s: Ptr<RgbdOdometry>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RgbdPlane>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RgbdPlane>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RidgeDetectionFilter>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RidgeDetectionFilter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RoundLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<RoundLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RoundLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<RoundLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<RoundLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<RoundLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SFMLibmvEuclideanReconstruction>> for Ptr<BaseSFM>

source§

fn from(s: Ptr<SFMLibmvEuclideanReconstruction>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SIFT>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SIFT>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SIFT>> for Ptr<Feature2D>

source§

fn from(s: Ptr<SIFT>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SURF>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SURF>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SURF>> for Ptr<Feature2D>

source§

fn from(s: Ptr<SURF>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SVM>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SVM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SVM>> for Ptr<StatModel>

source§

fn from(s: Ptr<SVM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SVMSGD>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SVMSGD>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SVMSGD>> for Ptr<StatModel>

source§

fn from(s: Ptr<SVMSGD>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SVM_Kernel>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SVM_Kernel>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Saliency>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Saliency>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SavedIndexParams>> for Ptr<IndexParams>

source§

fn from(s: Ptr<SavedIndexParams>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ScaleLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ScaleLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ScaleLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ScaleLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ScaleLayerInt8>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ScaleLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ScaleLayerInt8>> for Ptr<Layer>

source§

fn from(s: Ptr<ScaleLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ScaleLayerInt8>> for Ptr<ScaleLayer>

source§

fn from(s: Ptr<ScaleLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ScanSegment>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ScanSegment>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ScatterLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ScatterLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ScatterLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ScatterLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ScatterNDLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ScatterNDLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ScatterNDLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ScatterNDLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SearchParams>> for Ptr<IndexParams>

source§

fn from(s: Ptr<SearchParams>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SelectiveSearchSegmentation>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SelectiveSearchSegmentation>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SelectiveSearchSegmentationStrategy>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SelectiveSearchSegmentationStrategy>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SelectiveSearchSegmentationStrategyColor>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SelectiveSearchSegmentationStrategyColor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SelectiveSearchSegmentationStrategyColor>> for Ptr<SelectiveSearchSegmentationStrategy>

source§

fn from(s: Ptr<SelectiveSearchSegmentationStrategyColor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SelectiveSearchSegmentationStrategyFill>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SelectiveSearchSegmentationStrategyFill>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SelectiveSearchSegmentationStrategyFill>> for Ptr<SelectiveSearchSegmentationStrategy>

source§

fn from(s: Ptr<SelectiveSearchSegmentationStrategyFill>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SelectiveSearchSegmentationStrategyMultiple>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SelectiveSearchSegmentationStrategyMultiple>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SelectiveSearchSegmentationStrategyMultiple>> for Ptr<SelectiveSearchSegmentationStrategy>

source§

fn from(s: Ptr<SelectiveSearchSegmentationStrategyMultiple>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SelectiveSearchSegmentationStrategySize>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SelectiveSearchSegmentationStrategySize>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SelectiveSearchSegmentationStrategySize>> for Ptr<SelectiveSearchSegmentationStrategy>

source§

fn from(s: Ptr<SelectiveSearchSegmentationStrategySize>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SelectiveSearchSegmentationStrategyTexture>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SelectiveSearchSegmentationStrategyTexture>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SelectiveSearchSegmentationStrategyTexture>> for Ptr<SelectiveSearchSegmentationStrategy>

source§

fn from(s: Ptr<SelectiveSearchSegmentationStrategyTexture>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SeluLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<SeluLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SeluLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SeluLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SeluLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<SeluLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShapeContextDistanceExtractor>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ShapeContextDistanceExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShapeContextDistanceExtractor>> for Ptr<ShapeDistanceExtractor>

source§

fn from(s: Ptr<ShapeContextDistanceExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShapeDistanceExtractor>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ShapeDistanceExtractor>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShapeTransformer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ShapeTransformer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShiftLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ShiftLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShiftLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ShiftLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShiftLayerInt8>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ShiftLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShiftLayerInt8>> for Ptr<Layer>

source§

fn from(s: Ptr<ShiftLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShrinkLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<ShrinkLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShrinkLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ShrinkLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShrinkLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ShrinkLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShuffleChannelLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ShuffleChannelLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ShuffleChannelLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ShuffleChannelLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SigmoidLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<SigmoidLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SigmoidLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SigmoidLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SigmoidLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<SigmoidLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SignLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<SignLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SignLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SignLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SignLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<SignLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SimpleBlobDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SimpleBlobDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SimpleBlobDetector>> for Ptr<Feature2D>

source§

fn from(s: Ptr<SimpleBlobDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SimpleWB>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SimpleWB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SimpleWB>> for Ptr<WhiteBalancer>

source§

fn from(s: Ptr<SimpleWB>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SinLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<SinLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SinLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SinLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SinLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<SinLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SinhLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<SinhLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SinhLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SinhLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SinhLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<SinhLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SinusoidalPattern>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SinusoidalPattern>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SinusoidalPattern>> for Ptr<StructuredLightPattern>

source§

fn from(s: Ptr<SinusoidalPattern>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SliceLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SliceLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SliceLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<SliceLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SoftmaxLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SoftmaxLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SoftmaxLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<SoftmaxLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SoftmaxLayerInt8>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SoftmaxLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SoftmaxLayerInt8>> for Ptr<Layer>

source§

fn from(s: Ptr<SoftmaxLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SoftmaxLayerInt8>> for Ptr<SoftmaxLayer>

source§

fn from(s: Ptr<SoftmaxLayerInt8>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SoftplusLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<SoftplusLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SoftplusLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SoftplusLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SoftplusLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<SoftplusLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SoftsignLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<SoftsignLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SoftsignLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SoftsignLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SoftsignLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<SoftsignLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SparseMatchInterpolator>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SparseMatchInterpolator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SparseOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SparseOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SparsePyrLKOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SparsePyrLKOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SparsePyrLKOpticalFlow>> for Ptr<SparseOpticalFlow>

source§

fn from(s: Ptr<SparsePyrLKOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SparsePyrLkOptFlowEstimator>> for Ptr<ISparseOptFlowEstimator>

source§

fn from(s: Ptr<SparsePyrLkOptFlowEstimator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SparsePyrLkOptFlowEstimator>> for Ptr<PyrLkOptFlowEstimatorBase>

source§

fn from(s: Ptr<SparsePyrLkOptFlowEstimator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SparsePyrLkOptFlowEstimatorGpu>> for Ptr<ISparseOptFlowEstimator>

source§

fn from(s: Ptr<SparsePyrLkOptFlowEstimatorGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SparsePyrLkOptFlowEstimatorGpu>> for Ptr<PyrLkOptFlowEstimatorBase>

source§

fn from(s: Ptr<SparsePyrLkOptFlowEstimatorGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SparseRLOFOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SparseRLOFOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SparseRLOFOpticalFlow>> for Ptr<SparseOpticalFlow>

source§

fn from(s: Ptr<SparseRLOFOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SphericalWarper>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<SphericalWarper>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SphericalWarperGpu>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<SphericalWarperGpu>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SplitLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SplitLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SplitLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<SplitLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SqrtLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<SqrtLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SqrtLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SqrtLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SqrtLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<SqrtLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StandardCollector>> for Ptr<PredictCollector>

source§

fn from(s: Ptr<StandardCollector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StarDetector>> for Ptr<Algorithm>

source§

fn from(s: Ptr<StarDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StarDetector>> for Ptr<Feature2D>

source§

fn from(s: Ptr<StarDetector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StatModel>> for Ptr<Algorithm>

source§

fn from(s: Ptr<StatModel>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StaticSaliency>> for Ptr<Algorithm>

source§

fn from(s: Ptr<StaticSaliency>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StaticSaliency>> for Ptr<Saliency>

source§

fn from(s: Ptr<StaticSaliency>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StaticSaliencyFineGrained>> for Ptr<Algorithm>

source§

fn from(s: Ptr<StaticSaliencyFineGrained>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StaticSaliencyFineGrained>> for Ptr<Saliency>

source§

fn from(s: Ptr<StaticSaliencyFineGrained>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StaticSaliencyFineGrained>> for Ptr<StaticSaliency>

source§

fn from(s: Ptr<StaticSaliencyFineGrained>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StaticSaliencySpectralResidual>> for Ptr<Algorithm>

source§

fn from(s: Ptr<StaticSaliencySpectralResidual>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StaticSaliencySpectralResidual>> for Ptr<Saliency>

source§

fn from(s: Ptr<StaticSaliencySpectralResidual>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StaticSaliencySpectralResidual>> for Ptr<StaticSaliency>

source§

fn from(s: Ptr<StaticSaliencySpectralResidual>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StereoBM>> for Ptr<Algorithm>

source§

fn from(s: Ptr<StereoBM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StereoBM>> for Ptr<StereoMatcher>

source§

fn from(s: Ptr<StereoBM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StereoMatcher>> for Ptr<Algorithm>

source§

fn from(s: Ptr<StereoMatcher>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StereoSGBM>> for Ptr<Algorithm>

source§

fn from(s: Ptr<StereoSGBM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StereoSGBM>> for Ptr<StereoMatcher>

source§

fn from(s: Ptr<StereoSGBM>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StereographicWarper>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<StereographicWarper>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StructuredEdgeDetection>> for Ptr<Algorithm>

source§

fn from(s: Ptr<StructuredEdgeDetection>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<StructuredLightPattern>> for Ptr<Algorithm>

source§

fn from(s: Ptr<StructuredLightPattern>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperRes_BroxOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SuperRes_BroxOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperRes_BroxOpticalFlow>> for Ptr<SuperRes_DenseOpticalFlowExt>

source§

fn from(s: Ptr<SuperRes_BroxOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperRes_DenseOpticalFlowExt>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SuperRes_DenseOpticalFlowExt>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperRes_DualTVL1OpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SuperRes_DualTVL1OpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperRes_DualTVL1OpticalFlow>> for Ptr<SuperRes_DenseOpticalFlowExt>

source§

fn from(s: Ptr<SuperRes_DualTVL1OpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperRes_FarnebackOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SuperRes_FarnebackOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperRes_FarnebackOpticalFlow>> for Ptr<SuperRes_DenseOpticalFlowExt>

source§

fn from(s: Ptr<SuperRes_FarnebackOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperRes_PyrLKOpticalFlow>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SuperRes_PyrLKOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperRes_PyrLKOpticalFlow>> for Ptr<SuperRes_DenseOpticalFlowExt>

source§

fn from(s: Ptr<SuperRes_PyrLKOpticalFlow>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperRes_SuperResolution>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SuperRes_SuperResolution>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperRes_SuperResolution>> for Ptr<SuperRes_FrameSource>

source§

fn from(s: Ptr<SuperRes_SuperResolution>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperpixelLSC>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SuperpixelLSC>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperpixelSEEDS>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SuperpixelSEEDS>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SuperpixelSLIC>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SuperpixelSLIC>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SwishLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<SwishLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SwishLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SwishLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SwishLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<SwishLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<SyntheticSequenceGenerator>> for Ptr<Algorithm>

source§

fn from(s: Ptr<SyntheticSequenceGenerator>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TBMR>> for Ptr<AffineFeature2D>

source§

fn from(s: Ptr<TBMR>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TBMR>> for Ptr<Algorithm>

source§

fn from(s: Ptr<TBMR>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TBMR>> for Ptr<Feature2D>

source§

fn from(s: Ptr<TBMR>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TEBLID>> for Ptr<Algorithm>

source§

fn from(s: Ptr<TEBLID>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TEBLID>> for Ptr<Feature2D>

source§

fn from(s: Ptr<TEBLID>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TanHLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<TanHLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TanHLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<TanHLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TanHLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<TanHLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TanLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<TanLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TanLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<TanLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TanLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<TanLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TextDetectorCNN>> for Ptr<TextDetector>

source§

fn from(s: Ptr<TextDetectorCNN>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ThinPlateSplineShapeTransformer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ThinPlateSplineShapeTransformer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ThinPlateSplineShapeTransformer>> for Ptr<ShapeTransformer>

source§

fn from(s: Ptr<ThinPlateSplineShapeTransformer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ThresholdedReluLayer>> for Ptr<ActivationLayer>

source§

fn from(s: Ptr<ThresholdedReluLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ThresholdedReluLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<ThresholdedReluLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ThresholdedReluLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<ThresholdedReluLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TileLayer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<TileLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TileLayer>> for Ptr<Layer>

source§

fn from(s: Ptr<TileLayer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<ToFileMotionWriter>> for Ptr<ImageMotionEstimatorBase>

source§

fn from(s: Ptr<ToFileMotionWriter>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<Tonemap>> for Ptr<Algorithm>

source§

fn from(s: Ptr<Tonemap>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TonemapDrago>> for Ptr<Algorithm>

source§

fn from(s: Ptr<TonemapDrago>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TonemapDrago>> for Ptr<Tonemap>

source§

fn from(s: Ptr<TonemapDrago>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TonemapDurand>> for Ptr<Algorithm>

source§

fn from(s: Ptr<TonemapDurand>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TonemapDurand>> for Ptr<Tonemap>

source§

fn from(s: Ptr<TonemapDurand>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TonemapMantiuk>> for Ptr<Algorithm>

source§

fn from(s: Ptr<TonemapMantiuk>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TonemapMantiuk>> for Ptr<Tonemap>

source§

fn from(s: Ptr<TonemapMantiuk>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TonemapReinhard>> for Ptr<Algorithm>

source§

fn from(s: Ptr<TonemapReinhard>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TonemapReinhard>> for Ptr<Tonemap>

source§

fn from(s: Ptr<TonemapReinhard>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TrackerCSRT>> for Ptr<Tracker>

source§

fn from(s: Ptr<TrackerCSRT>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TrackerDaSiamRPN>> for Ptr<Tracker>

source§

fn from(s: Ptr<TrackerDaSiamRPN>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TrackerGOTURN>> for Ptr<Tracker>

source§

fn from(s: Ptr<TrackerGOTURN>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TrackerKCF>> for Ptr<Tracker>

source§

fn from(s: Ptr<TrackerKCF>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TrackerMIL>> for Ptr<Tracker>

source§

fn from(s: Ptr<TrackerMIL>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TrackerNano>> for Ptr<Tracker>

source§

fn from(s: Ptr<TrackerNano>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TrackerVit>> for Ptr<Tracker>

source§

fn from(s: Ptr<TrackerVit>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TransientAreasSegmentationModule>> for Ptr<Algorithm>

source§

fn from(s: Ptr<TransientAreasSegmentationModule>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TranslationBasedLocalOutlierRejector>> for Ptr<IOutlierRejector>

source§

fn from(s: Ptr<TranslationBasedLocalOutlierRejector>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TransverseMercatorWarper>> for Ptr<WarperCreator>

source§

fn from(s: Ptr<TransverseMercatorWarper>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TwoPassStabilizer>> for Ptr<IFrameSource>

source§

fn from(s: Ptr<TwoPassStabilizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<TwoPassStabilizer>> for Ptr<StabilizerBase>

source§

fn from(s: Ptr<TwoPassStabilizer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<VGG>> for Ptr<Algorithm>

source§

fn from(s: Ptr<VGG>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<VGG>> for Ptr<Feature2D>

source§

fn from(s: Ptr<VGG>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<VariationalRefinement>> for Ptr<Algorithm>

source§

fn from(s: Ptr<VariationalRefinement>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<VariationalRefinement>> for Ptr<DenseOpticalFlow>

source§

fn from(s: Ptr<VariationalRefinement>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<VideoFileSource>> for Ptr<IFrameSource>

source§

fn from(s: Ptr<VideoFileSource>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<WeightingDeblurer>> for Ptr<DeblurerBase>

source§

fn from(s: Ptr<WeightingDeblurer>) -> Self

Converts to this type from the input type.
source§

impl From<Ptr<WhiteBalancer>> for Ptr<Algorithm>

source§

fn from(s: Ptr<WhiteBalancer>) -> 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: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst ) -> Result<Mat>

source§

impl FromFileMotionReaderTraitConst for Ptr<FromFileMotionReader>

source§

impl GFTTDetectorTrait for Ptr<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 GFTTDetectorTraitConst for Ptr<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 impl GPCTrainingSamplesTrait, params: GPCTrainingParams ) -> Result<()>

C++ default parameters Read more
source§

fn train_def( &mut self, samples: &mut impl GPCTrainingSamplesTrait ) -> Result<()>

source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

source§

impl GPCTreeTraitConst for Ptr<GPCTree>

source§

impl GRULayerTrait for Ptr<GRULayer>

source§

impl GRULayerTraitConst for Ptr<GRULayer>

source§

impl GatherElementsLayerTrait for Ptr<GatherElementsLayer>

source§

impl GatherElementsLayerTraitConst for Ptr<GatherElementsLayer>

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 set_params_def(&mut self, radius: i32) -> Result<()>

source§

fn stabilize( &mut self, idx: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst ) -> Result<Mat>

source§

impl GaussianMotionFilterTraitConst for Ptr<GaussianMotionFilter>

source§

impl GeluApproximationLayerTrait for Ptr<GeluApproximationLayer>

source§

impl GeluApproximationLayerTraitConst for Ptr<GeluApproximationLayer>

source§

impl GeluLayerTrait for Ptr<GeluLayer>

source§

impl GeluLayerTraitConst for Ptr<GeluLayer>

source§

impl GemmLayerTrait for Ptr<GemmLayer>

source§

fn as_raw_mut_GemmLayer(&mut self) -> *mut c_void

source§

fn set_trans_a(&mut self, val: bool)

source§

fn set_trans_b(&mut self, val: bool)

source§

fn set_alpha(&mut self, val: f32)

source§

fn set_beta(&mut self, val: f32)

source§

impl GemmLayerTraitConst for Ptr<GemmLayer>

source§

impl GeneralizedHoughBallardTrait for Ptr<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 GeneralizedHoughBallardTraitConst for Ptr<GeneralizedHoughBallard>

source§

impl GeneralizedHoughGuilTrait for Ptr<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 GeneralizedHoughGuilTraitConst for Ptr<GeneralizedHoughGuil>

source§

impl GeneralizedHoughTrait for Ptr<GeneralizedHough>

source§

fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void

source§

fn set_template( &mut self, templ: &impl ToInputArray, templ_center: Point ) -> Result<()>

set template to search Read more
source§

fn set_template_def(&mut self, templ: &impl ToInputArray) -> Result<()>

set template to search Read more
source§

fn set_template_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, templ_center: Point ) -> Result<()>

C++ default parameters Read more
source§

fn set_template_def_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray ) -> Result<()>

source§

fn detect( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray ) -> Result<()>

find template on image Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray ) -> Result<()>

find template on image Read more
source§

fn detect_with_edges( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn detect_with_edges_def( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray ) -> Result<()>

source§

fn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()>

Canny low threshold.
source§

fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>

Canny high threshold.
source§

fn set_min_dist(&mut self, min_dist: f64) -> Result<()>

Minimum distance between the centers of the detected objects.
source§

fn set_dp(&mut self, dp: f64) -> Result<()>

Inverse ratio of the accumulator resolution to the image resolution.
source§

fn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()>

Maximal size of inner buffers.
source§

impl GeneralizedHoughTrait for Ptr<GeneralizedHoughBallard>

source§

fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void

source§

fn set_template( &mut self, templ: &impl ToInputArray, templ_center: Point ) -> Result<()>

set template to search Read more
source§

fn set_template_def(&mut self, templ: &impl ToInputArray) -> Result<()>

set template to search Read more
source§

fn set_template_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, templ_center: Point ) -> Result<()>

C++ default parameters Read more
source§

fn set_template_def_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray ) -> Result<()>

source§

fn detect( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray ) -> Result<()>

find template on image Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray ) -> Result<()>

find template on image Read more
source§

fn detect_with_edges( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn detect_with_edges_def( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray ) -> Result<()>

source§

fn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()>

Canny low threshold.
source§

fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>

Canny high threshold.
source§

fn set_min_dist(&mut self, min_dist: f64) -> Result<()>

Minimum distance between the centers of the detected objects.
source§

fn set_dp(&mut self, dp: f64) -> Result<()>

Inverse ratio of the accumulator resolution to the image resolution.
source§

fn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()>

Maximal size of inner buffers.
source§

impl GeneralizedHoughTrait for Ptr<GeneralizedHoughGuil>

source§

fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void

source§

fn set_template( &mut self, templ: &impl ToInputArray, templ_center: Point ) -> Result<()>

set template to search Read more
source§

fn set_template_def(&mut self, templ: &impl ToInputArray) -> Result<()>

set template to search Read more
source§

fn set_template_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, templ_center: Point ) -> Result<()>

C++ default parameters Read more
source§

fn set_template_def_1( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray ) -> Result<()>

source§

fn detect( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray ) -> Result<()>

find template on image Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, positions: &mut impl ToOutputArray ) -> Result<()>

find template on image Read more
source§

fn detect_with_edges( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray, votes: &mut impl ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn detect_with_edges_def( &mut self, edges: &impl ToInputArray, dx: &impl ToInputArray, dy: &impl ToInputArray, positions: &mut impl ToOutputArray ) -> Result<()>

source§

fn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()>

Canny low threshold.
source§

fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>

Canny high threshold.
source§

fn set_min_dist(&mut self, min_dist: f64) -> Result<()>

Minimum distance between the centers of the detected objects.
source§

fn set_dp(&mut self, dp: f64) -> Result<()>

Inverse ratio of the accumulator resolution to the image resolution.
source§

fn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()>

Maximal size of inner buffers.
source§

impl GeneralizedHoughTraitConst for Ptr<GeneralizedHough>

source§

impl GeneralizedHoughTraitConst for Ptr<GeneralizedHoughBallard>

source§

impl GeneralizedHoughTraitConst for Ptr<GeneralizedHoughGuil>

source§

impl GpuMat_AllocatorTrait for Ptr<GpuMat_Allocator>

source§

fn as_raw_mut_GpuMat_Allocator(&mut self) -> *mut c_void

source§

fn allocate( &mut self, mat: &mut impl GpuMatTrait, rows: i32, cols: i32, elem_size: size_t ) -> Result<bool>

source§

fn free(&mut self, mat: &mut impl GpuMatTrait) -> Result<()>

source§

impl GpuMat_AllocatorTraitConst for Ptr<GpuMat_Allocator>

source§

impl GraphSegmentationTrait for Ptr<GraphSegmentation>

source§

fn as_raw_mut_GraphSegmentation(&mut self) -> *mut c_void

source§

fn process_image( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Segment an image and store output in dst Read more
source§

fn set_sigma(&mut self, sigma: f64) -> Result<()>

source§

fn get_sigma(&mut self) -> Result<f64>

source§

fn set_k(&mut self, k: f32) -> Result<()>

source§

fn get_k(&mut self) -> Result<f32>

source§

fn set_min_size(&mut self, min_size: i32) -> Result<()>

source§

fn get_min_size(&mut self) -> Result<i32>

source§

impl GraphSegmentationTraitConst for Ptr<GraphSegmentation>

source§

impl GrayCodePatternTrait for Ptr<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 GrayCodePatternTraitConst for Ptr<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 impl ToInputOutputArray, white_image: &mut impl ToInputOutputArray ) -> Result<()>

Generates the all-black and all-white images needed for shadowMasks computation. Read more
source§

fn get_proj_pixel( &self, pattern_images: &impl ToInputArray, x: i32, y: i32, proj_pix: &mut Point ) -> Result<bool>

For a (x,y) pixel of a camera returns the corresponding projector pixel. Read more
source§

impl GrayworldWBTrait for Ptr<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 GrayworldWBTraitConst for Ptr<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 GridBoardTrait for Ptr<GridBoard>

source§

impl GridBoardTraitConst for Ptr<GridBoard>

source§

impl GuidedFilterTrait for Ptr<GuidedFilter>

source§

fn as_raw_mut_GuidedFilter(&mut self) -> *mut c_void

source§

fn filter( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, d_depth: i32 ) -> Result<()>

Apply Guided Filter to the filtering image. Read more
source§

fn filter_def( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Apply Guided Filter to the filtering image. Read more
source§

impl GuidedFilterTraitConst for Ptr<GuidedFilter>

source§

impl HDF5Trait for Ptr<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_i32(&mut self, value: i32, atlabel: &str) -> Result<()>

Write an attribute inside the root group. Read more
source§

fn atread_i32(&mut self, value: &mut i32, atlabel: &str) -> Result<()>

Read an attribute from the root group. Read more
source§

fn atwrite_f64(&mut self, value: f64, atlabel: &str) -> Result<()>

Write an attribute inside the root group. Read more
source§

fn atread_f64(&mut self, value: &mut f64, atlabel: &str) -> Result<()>

Read an attribute from the root group. Read more
source§

fn atwrite_str(&mut self, value: &str, atlabel: &str) -> Result<()>

Write an attribute inside the root group. Read more
source§

fn atread_str(&mut self, value: &mut String, atlabel: &str) -> Result<()>

Read an attribute from the root group. Read more
source§

fn atwrite(&mut self, value: &impl ToInputArray, atlabel: &str) -> Result<()>

Write an attribute into the root group. Read more
source§

fn atread( &mut self, value: &mut impl ToOutputArray, atlabel: &str ) -> Result<()>

Read an attribute from the root group. Read more
source§

impl HDF5TraitConst for Ptr<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_compress( &self, rows: i32, cols: i32, typ: i32, dslabel: &str, compresslevel: i32 ) -> Result<()>

Create and allocate storage for two dimensional single or multi channel dataset. Read more
source§

fn dscreate_compress_dims( &self, rows: i32, cols: i32, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &Vector<i32> ) -> Result<()>

Create and allocate storage for two dimensional single or multi channel dataset. Read more
source§

fn dscreate_nd(&self, sizes: &[i32], typ: i32, dslabel: &str) -> Result<()>

source§

fn dscreate_nd_compress( &self, sizes: &[i32], typ: i32, dslabel: &str, compresslevel: i32 ) -> Result<()>

source§

fn dscreate_nd_vec_compress_dims( &self, sizes: &Vector<i32>, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &Vector<i32> ) -> Result<()>

C++ default parameters Read more
source§

fn dscreate_nd_vec_compress_dims_def( &self, sizes: &Vector<i32>, typ: i32, dslabel: &str ) -> Result<()>

source§

fn dscreate_nd_compress_dims( &self, sizes: &[i32], typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &i32 ) -> Result<()>

Create and allocate storage for n-dimensional dataset, single or multichannel type. Read more
source§

fn dsgetsize(&self, dslabel: &str, dims_flag: i32) -> Result<Vector<i32>>

Fetch dataset sizes Read more
source§

fn dsgetsize_def(&self, dslabel: &str) -> Result<Vector<i32>>

Fetch dataset sizes Read more
source§

fn dsgettype(&self, dslabel: &str) -> Result<i32>

Fetch dataset type Read more
source§

fn dswrite(&self, array: &impl ToInputArray, dslabel: &str) -> Result<()>

source§

fn dswrite_offset( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32> ) -> Result<()>

C++ default parameters Read more
source§

fn dswrite_offset_def( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32> ) -> Result<()>

source§

fn dsinsert(&self, array: &impl ToInputArray, dslabel: &str) -> Result<()>

source§

fn dsinsert_offset( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32> ) -> Result<()>

C++ default parameters Read more
source§

fn dsinsert_offset_def( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32> ) -> Result<()>

source§

fn dsread(&self, array: &mut impl ToOutputArray, dslabel: &str) -> Result<()>

source§

fn dsread_offset( &self, array: &mut impl ToOutputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32> ) -> Result<()>

C++ default parameters Read more
source§

fn dsread_offset_def( &self, array: &mut impl ToOutputArray, dslabel: &str, dims_offset: &Vector<i32> ) -> Result<()>

source§

fn kpgetsize(&self, kplabel: &str, dims_flag: i32) -> Result<i32>

Fetch keypoint dataset size Read more
source§

fn kpgetsize_def(&self, kplabel: &str) -> Result<i32>

Fetch keypoint dataset size Read more
source§

fn kpcreate( &self, size: i32, kplabel: &str, compresslevel: i32, chunks: i32 ) -> Result<()>

Create and allocate special storage for cv::KeyPoint dataset. Read more
source§

fn kpcreate_def(&self, size: i32, kplabel: &str) -> Result<()>

Create and allocate special storage for cv::KeyPoint dataset. Read more
source§

fn kpwrite( &self, keypoints: Vector<KeyPoint>, kplabel: &str, offset: i32, counts: i32 ) -> Result<()>

Write or overwrite list of KeyPoint into specified dataset of hdf5 file. Read more
source§

fn kpwrite_def(&self, keypoints: Vector<KeyPoint>, kplabel: &str) -> Result<()>

Write or overwrite list of KeyPoint into specified dataset of hdf5 file. Read more
source§

fn kpinsert( &self, keypoints: Vector<KeyPoint>, kplabel: &str, offset: i32, counts: i32 ) -> Result<()>

Insert or overwrite list of KeyPoint into specified dataset and autoexpand dataset size if unlimited property allows. Read more
source§

fn kpinsert_def(&self, keypoints: Vector<KeyPoint>, kplabel: &str) -> Result<()>

Insert or overwrite list of KeyPoint into specified dataset and autoexpand dataset size if unlimited property allows. Read more
source§

fn kpread( &self, keypoints: &mut Vector<KeyPoint>, kplabel: &str, offset: i32, counts: i32 ) -> Result<()>

Read specific keypoint dataset from hdf5 file into vector object. Read more
source§

fn kpread_def( &self, keypoints: &mut Vector<KeyPoint>, kplabel: &str ) -> Result<()>

Read specific keypoint dataset from hdf5 file into vector object. Read more
source§

impl 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 HarrisLaplaceFeatureDetectorTrait for Ptr<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 HarrisLaplaceFeatureDetectorTraitConst for Ptr<HarrisLaplaceFeatureDetector>

source§

impl HausdorffDistanceExtractorTrait for Ptr<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 HausdorffDistanceExtractorTraitConst for Ptr<HausdorffDistanceExtractor>

source§

impl HfsSegmentTrait for Ptr<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: &impl ToInputArray, if_draw: bool ) -> Result<Mat>

do segmentation gpu Read more
source§

fn perform_segment_gpu_def(&mut self, src: &impl ToInputArray) -> Result<Mat>

do segmentation gpu Read more
source§

fn perform_segment_cpu( &mut self, src: &impl ToInputArray, if_draw: bool ) -> Result<Mat>

do segmentation with cpu This method is only implemented for reference. It is highly NOT recommanded to use it. Read more
source§

fn perform_segment_cpu_def(&mut self, src: &impl ToInputArray) -> Result<Mat>

do segmentation with cpu This method is only implemented for reference. It is highly NOT recommanded to use it. Read more
source§

impl HfsSegmentTraitConst for Ptr<HfsSegment>

source§

impl HierarchicalClusteringIndexParamsTrait for Ptr<HierarchicalClusteringIndexParams>

source§

impl HierarchicalClusteringIndexParamsTraitConst for Ptr<HierarchicalClusteringIndexParams>

source§

impl HistogramCostExtractorTrait for Ptr<ChiHistogramCostExtractor>

source§

fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void

source§

fn build_cost_matrix( &mut self, descriptors1: &impl ToInputArray, descriptors2: &impl ToInputArray, cost_matrix: &mut impl ToOutputArray ) -> Result<()>

source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

source§

impl HistogramCostExtractorTrait for Ptr<EMDHistogramCostExtractor>

source§

fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void

source§

fn build_cost_matrix( &mut self, descriptors1: &impl ToInputArray, descriptors2: &impl ToInputArray, cost_matrix: &mut impl ToOutputArray ) -> Result<()>

source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

source§

impl HistogramCostExtractorTrait for Ptr<EMDL1HistogramCostExtractor>

source§

fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void

source§

fn build_cost_matrix( &mut self, descriptors1: &impl ToInputArray, descriptors2: &impl ToInputArray, cost_matrix: &mut impl ToOutputArray ) -> Result<()>

source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

source§

impl HistogramCostExtractorTrait for Ptr<HistogramCostExtractor>

source§

fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void

source§

fn build_cost_matrix( &mut self, descriptors1: &impl ToInputArray, descriptors2: &impl ToInputArray, cost_matrix: &mut impl ToOutputArray ) -> Result<()>

source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

source§

impl HistogramCostExtractorTrait for Ptr<NormHistogramCostExtractor>

source§

fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void

source§

fn build_cost_matrix( &mut self, descriptors1: &impl ToInputArray, descriptors2: &impl ToInputArray, cost_matrix: &mut impl ToOutputArray ) -> Result<()>

source§

fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>

source§

fn set_default_cost(&mut self, default_cost: f32) -> Result<()>

source§

impl HistogramCostExtractorTraitConst for Ptr<ChiHistogramCostExtractor>

source§

impl HistogramCostExtractorTraitConst for Ptr<EMDHistogramCostExtractor>

source§

impl HistogramCostExtractorTraitConst for Ptr<EMDL1HistogramCostExtractor>

source§

impl HistogramCostExtractorTraitConst for Ptr<HistogramCostExtractor>

source§

impl HistogramCostExtractorTraitConst for Ptr<NormHistogramCostExtractor>

source§

impl HistogramPhaseUnwrappingTrait for Ptr<HistogramPhaseUnwrapping>

source§

fn as_raw_mut_HistogramPhaseUnwrapping(&mut self) -> *mut c_void

source§

fn get_inverse_reliability_map( &mut self, reliability_map: &mut impl ToOutputArray ) -> Result<()>

Get the reliability map computed from the wrapped phase map. Read more
source§

impl HistogramPhaseUnwrappingTraitConst for Ptr<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: &impl MatTraitConst) -> Result<()>

source§

fn set_min_depth(&mut self, val: f64) -> Result<()>

source§

fn set_max_depth(&mut self, val: f64) -> Result<()>

source§

fn set_max_depth_diff(&mut self, val: f64) -> Result<()>

source§

fn set_iteration_counts(&mut self, val: &impl MatTraitConst) -> Result<()>

source§

fn set_max_points_part(&mut self, val: f64) -> Result<()>

source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

source§

fn set_max_translation(&mut self, val: f64) -> Result<()>

source§

fn set_max_rotation(&mut self, val: f64) -> Result<()>

source§

impl ICPOdometryTraitConst for Ptr<ICPOdometry>

source§

impl IDenseOptFlowEstimatorTrait for Ptr<DensePyrLkOptFlowEstimatorGpu>

source§

fn as_raw_mut_IDenseOptFlowEstimator(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow_x: &mut impl ToInputOutputArray, flow_y: &mut impl ToInputOutputArray, errors: &mut impl ToOutputArray ) -> Result<()>

source§

impl IDenseOptFlowEstimatorTrait for Ptr<IDenseOptFlowEstimator>

source§

fn as_raw_mut_IDenseOptFlowEstimator(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow_x: &mut impl ToInputOutputArray, flow_y: &mut impl ToInputOutputArray, errors: &mut impl ToOutputArray ) -> Result<()>

source§

impl IDenseOptFlowEstimatorTraitConst for Ptr<DensePyrLkOptFlowEstimatorGpu>

source§

impl IDenseOptFlowEstimatorTraitConst for Ptr<IDenseOptFlowEstimator>

source§

impl IFrameSourceTrait for Ptr<IFrameSource>

source§

impl IFrameSourceTrait for Ptr<MaskFrameSource>

source§

impl IFrameSourceTrait for Ptr<NullFrameSource>

source§

impl IFrameSourceTrait for Ptr<OnePassStabilizer>

source§

impl IFrameSourceTrait for Ptr<TwoPassStabilizer>

source§

impl IFrameSourceTrait for Ptr<VideoFileSource>

source§

impl IFrameSourceTraitConst for Ptr<IFrameSource>

source§

impl IFrameSourceTraitConst for Ptr<MaskFrameSource>

source§

impl IFrameSourceTraitConst for Ptr<NullFrameSource>

source§

impl IFrameSourceTraitConst for Ptr<OnePassStabilizer>

source§

impl IFrameSourceTraitConst for Ptr<TwoPassStabilizer>

source§

impl IFrameSourceTraitConst for Ptr<VideoFileSource>

source§

impl ILogTrait for Ptr<ILog>

source§

fn as_raw_mut_ILog(&mut self) -> *mut c_void

source§

fn print(&mut self, format: &str) -> Result<()>

source§

impl ILogTrait for Ptr<LogToStdout>

source§

fn as_raw_mut_ILog(&mut self) -> *mut c_void

source§

fn print(&mut self, format: &str) -> Result<()>

source§

impl ILogTrait for Ptr<NullLog>

source§

fn as_raw_mut_ILog(&mut self) -> *mut c_void

source§

fn print(&mut self, format: &str) -> Result<()>

source§

impl ILogTraitConst for Ptr<ILog>

source§

impl ILogTraitConst for Ptr<LogToStdout>

source§

impl ILogTraitConst for Ptr<NullLog>

source§

impl IMotionStabilizerTrait 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: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
source§

impl IMotionStabilizerTrait for Ptr<IMotionStabilizer>

source§

fn as_raw_mut_IMotionStabilizer(&mut self) -> *mut c_void

source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
source§

impl IMotionStabilizerTrait for Ptr<LpMotionStabilizer>

source§

fn as_raw_mut_IMotionStabilizer(&mut self) -> *mut c_void

source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
source§

impl IMotionStabilizerTrait for Ptr<MotionFilterBase>

source§

fn as_raw_mut_IMotionStabilizer(&mut self) -> *mut c_void

source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
source§

impl IMotionStabilizerTrait for Ptr<MotionStabilizationPipeline>

source§

fn as_raw_mut_IMotionStabilizer(&mut self) -> *mut c_void

source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait ) -> Result<()>

assumes that [0, size-1) is in or equals to [range.first, range.second)
source§

impl IMotionStabilizerTraitConst for Ptr<GaussianMotionFilter>

source§

impl IMotionStabilizerTraitConst for Ptr<IMotionStabilizer>

source§

impl IMotionStabilizerTraitConst for Ptr<LpMotionStabilizer>

source§

impl IMotionStabilizerTraitConst for Ptr<MotionFilterBase>

source§

impl IMotionStabilizerTraitConst for Ptr<MotionStabilizationPipeline>

source§

impl IOutlierRejectorTrait for Ptr<IOutlierRejector>

source§

fn as_raw_mut_IOutlierRejector(&mut self) -> *mut c_void

source§

fn process( &mut self, frame_size: Size, points0: &impl ToInputArray, points1: &impl ToInputArray, mask: &mut impl ToOutputArray ) -> Result<()>

source§

impl IOutlierRejectorTrait for Ptr<NullOutlierRejector>

source§

fn as_raw_mut_IOutlierRejector(&mut self) -> *mut c_void

source§

fn process( &mut self, frame_size: Size, points0: &impl ToInputArray, points1: &impl ToInputArray, mask: &mut impl ToOutputArray ) -> Result<()>

source§

impl IOutlierRejectorTrait for Ptr<TranslationBasedLocalOutlierRejector>

source§

fn as_raw_mut_IOutlierRejector(&mut self) -> *mut c_void

source§

fn process( &mut self, frame_size: Size, points0: &impl ToInputArray, points1: &impl ToInputArray, mask: &mut impl ToOutputArray ) -> Result<()>

source§

impl IOutlierRejectorTraitConst for Ptr<IOutlierRejector>

source§

impl IOutlierRejectorTraitConst for Ptr<NullOutlierRejector>

source§

impl IOutlierRejectorTraitConst for Ptr<TranslationBasedLocalOutlierRejector>

source§

impl ISparseOptFlowEstimatorTrait for Ptr<ISparseOptFlowEstimator>

source§

fn as_raw_mut_ISparseOptFlowEstimator(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, points0: &impl ToInputArray, points1: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, errors: &mut impl ToOutputArray ) -> Result<()>

source§

impl ISparseOptFlowEstimatorTrait for Ptr<SparsePyrLkOptFlowEstimator>

source§

fn as_raw_mut_ISparseOptFlowEstimator(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, points0: &impl ToInputArray, points1: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, errors: &mut impl ToOutputArray ) -> Result<()>

source§

impl ISparseOptFlowEstimatorTrait for Ptr<SparsePyrLkOptFlowEstimatorGpu>

source§

fn as_raw_mut_ISparseOptFlowEstimator(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, points0: &impl ToInputArray, points1: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, errors: &mut impl ToOutputArray ) -> Result<()>

source§

impl ISparseOptFlowEstimatorTraitConst for Ptr<ISparseOptFlowEstimator>

source§

impl ISparseOptFlowEstimatorTraitConst for Ptr<SparsePyrLkOptFlowEstimator>

source§

impl ISparseOptFlowEstimatorTraitConst for Ptr<SparsePyrLkOptFlowEstimatorGpu>

source§

impl ImageMotionEstimatorBaseTrait 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: &impl ToInputArray) -> Result<()>

source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst ) -> Result<Mat>

source§

impl ImageMotionEstimatorBaseTrait for Ptr<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: &impl ToInputArray) -> Result<()>

source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst ) -> Result<Mat>

source§

impl ImageMotionEstimatorBaseTrait for 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: &impl ToInputArray) -> Result<()>

source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst ) -> Result<Mat>

source§

impl ImageMotionEstimatorBaseTrait for 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: &impl ToInputArray) -> Result<()>

source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst ) -> Result<Mat>

source§

impl ImageMotionEstimatorBaseTrait for 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: &impl ToInputArray) -> Result<()>

source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst ) -> Result<Mat>

source§

impl ImageMotionEstimatorBaseTraitConst for Ptr<FromFileMotionReader>

source§

impl ImageMotionEstimatorBaseTraitConst for Ptr<ImageMotionEstimatorBase>

source§

impl ImageMotionEstimatorBaseTraitConst for Ptr<KeypointBasedMotionEstimator>

source§

impl ImageMotionEstimatorBaseTraitConst for Ptr<KeypointBasedMotionEstimatorGpu>

source§

impl ImageMotionEstimatorBaseTraitConst for Ptr<ToFileMotionWriter>

source§

impl ImgHashBaseTrait for Ptr<AverageHash>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTrait for Ptr<BlockMeanHash>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTrait for Ptr<ColorMomentHash>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTrait for Ptr<ImgHashBase>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTrait for Ptr<MarrHildrethHash>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTrait for Ptr<PHash>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTrait for Ptr<RadialVarianceHash>

source§

fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void

source§

fn compute( &mut self, input_arr: &impl ToInputArray, output_arr: &mut impl ToOutputArray ) -> Result<()>

Computes hash of the input image Read more
source§

impl ImgHashBaseTraitConst for Ptr<AverageHash>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl ImgHashBaseTraitConst for Ptr<BlockMeanHash>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl ImgHashBaseTraitConst for Ptr<ColorMomentHash>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl ImgHashBaseTraitConst for Ptr<ImgHashBase>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl ImgHashBaseTraitConst for Ptr<MarrHildrethHash>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl ImgHashBaseTraitConst for Ptr<PHash>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl ImgHashBaseTraitConst for Ptr<RadialVarianceHash>

source§

fn as_raw_ImgHashBase(&self) -> *const c_void

source§

fn compare( &self, hash_one: &impl ToInputArray, hash_two: &impl ToInputArray ) -> Result<f64>

Compare the hash value between inOne and inTwo Read more
source§

impl IndexParamsTrait for Ptr<AutotunedIndexParams>

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: *const c_void)

source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

source§

impl IndexParamsTrait for Ptr<CompositeIndexParams>

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: *const c_void)

source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

source§

impl IndexParamsTrait for Ptr<HierarchicalClusteringIndexParams>

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: *const c_void)

source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

source§

impl IndexParamsTrait for 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: *const c_void)

source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

source§

impl IndexParamsTrait for Ptr<KDTreeIndexParams>

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: *const c_void)

source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

source§

impl IndexParamsTrait for Ptr<KMeansIndexParams>

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: *const c_void)

source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

source§

impl IndexParamsTrait for Ptr<LinearIndexParams>

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: *const c_void)

source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

source§

impl IndexParamsTrait for Ptr<LshIndexParams>

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: *const c_void)

source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

source§

impl IndexParamsTrait for Ptr<SavedIndexParams>

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: *const c_void)

source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

source§

impl IndexParamsTrait for 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: *const c_void)

source§

fn set_string(&mut self, key: &str, value: &str) -> Result<()>

source§

fn set_int(&mut self, key: &str, value: i32) -> Result<()>

source§

fn set_double(&mut self, key: &str, value: f64) -> Result<()>

source§

fn set_float(&mut self, key: &str, value: f32) -> Result<()>

source§

fn set_bool(&mut self, key: &str, value: bool) -> Result<()>

source§

fn set_algorithm(&mut self, value: i32) -> Result<()>

source§

impl IndexParamsTraitConst for Ptr<AutotunedIndexParams>

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_string_def(&self, key: &str) -> Result<String>

source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
source§

fn get_int_def(&self, key: &str) -> Result<i32>

source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
source§

fn get_double_def(&self, key: &str) -> Result<f64>

source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64> ) -> Result<()>

source§

impl IndexParamsTraitConst for Ptr<CompositeIndexParams>

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_string_def(&self, key: &str) -> Result<String>

source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
source§

fn get_int_def(&self, key: &str) -> Result<i32>

source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
source§

fn get_double_def(&self, key: &str) -> Result<f64>

source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64> ) -> Result<()>

source§

impl IndexParamsTraitConst for Ptr<HierarchicalClusteringIndexParams>

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_string_def(&self, key: &str) -> Result<String>

source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
source§

fn get_int_def(&self, key: &str) -> Result<i32>

source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
source§

fn get_double_def(&self, key: &str) -> Result<f64>

source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64> ) -> Result<()>

source§

impl IndexParamsTraitConst for 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_string_def(&self, key: &str) -> Result<String>

source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
source§

fn get_int_def(&self, key: &str) -> Result<i32>

source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
source§

fn get_double_def(&self, key: &str) -> Result<f64>

source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64> ) -> Result<()>

source§

impl IndexParamsTraitConst for Ptr<KDTreeIndexParams>

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_string_def(&self, key: &str) -> Result<String>

source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
source§

fn get_int_def(&self, key: &str) -> Result<i32>

source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
source§

fn get_double_def(&self, key: &str) -> Result<f64>

source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64> ) -> Result<()>

source§

impl IndexParamsTraitConst for Ptr<KMeansIndexParams>

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_string_def(&self, key: &str) -> Result<String>

source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
source§

fn get_int_def(&self, key: &str) -> Result<i32>

source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
source§

fn get_double_def(&self, key: &str) -> Result<f64>

source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64> ) -> Result<()>

source§

impl IndexParamsTraitConst for Ptr<LinearIndexParams>

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_string_def(&self, key: &str) -> Result<String>

source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
source§

fn get_int_def(&self, key: &str) -> Result<i32>

source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
source§

fn get_double_def(&self, key: &str) -> Result<f64>

source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64> ) -> Result<()>

source§

impl IndexParamsTraitConst for Ptr<LshIndexParams>

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_string_def(&self, key: &str) -> Result<String>

source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
source§

fn get_int_def(&self, key: &str) -> Result<i32>

source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
source§

fn get_double_def(&self, key: &str) -> Result<f64>

source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64> ) -> Result<()>

source§

impl IndexParamsTraitConst for Ptr<SavedIndexParams>

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_string_def(&self, key: &str) -> Result<String>

source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
source§

fn get_int_def(&self, key: &str) -> Result<i32>

source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
source§

fn get_double_def(&self, key: &str) -> Result<f64>

source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64> ) -> Result<()>

source§

impl IndexParamsTraitConst for 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_string_def(&self, key: &str) -> Result<String>

source§

fn get_int(&self, key: &str, default_val: i32) -> Result<i32>

C++ default parameters Read more
source§

fn get_int_def(&self, key: &str) -> Result<i32>

source§

fn get_double(&self, key: &str, default_val: f64) -> Result<f64>

C++ default parameters Read more
source§

fn get_double_def(&self, key: &str) -> Result<f64>

source§

fn get_all( &self, names: &mut Vector<String>, types: &mut Vector<FlannIndexType>, str_values: &mut Vector<String>, num_values: &mut Vector<f64> ) -> Result<()>

source§

impl 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 InpainterBaseTrait 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 impl MatTrait, mask: &mut impl MatTrait ) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBaseTrait for 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 impl MatTrait, mask: &mut impl MatTrait ) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBaseTrait for 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 impl MatTrait, mask: &mut impl MatTrait ) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBaseTrait for Ptr<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 impl MatTrait, mask: &mut impl MatTrait ) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBaseTrait for 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 impl MatTrait, mask: &mut impl MatTrait ) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBaseTrait for 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 impl MatTrait, mask: &mut impl MatTrait ) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBaseTrait for 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 impl MatTrait, mask: &mut impl MatTrait ) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl InpainterBaseTraitConst for Ptr<ColorAverageInpainter>

source§

impl InpainterBaseTraitConst for Ptr<ColorInpainter>

source§

impl InpainterBaseTraitConst for Ptr<ConsistentMosaicInpainter>

source§

impl InpainterBaseTraitConst for Ptr<InpainterBase>

source§

impl InpainterBaseTraitConst for Ptr<InpaintingPipeline>

source§

impl InpainterBaseTraitConst for Ptr<MotionInpainter>

source§

impl InpainterBaseTraitConst for Ptr<NullInpainter>

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<InpainterBase>) -> Result<()>

source§

fn set_radius(&mut self, val: i32) -> Result<()>

source§

fn set_motion_model(&mut self, val: MotionModel) -> Result<()>

source§

fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait ) -> Result<()>

source§

impl InpaintingPipelineTraitConst for Ptr<InpaintingPipeline>

source§

impl InstanceNormLayerTrait for Ptr<InstanceNormLayer>

source§

impl InstanceNormLayerTraitConst for Ptr<InstanceNormLayer>

source§

impl InterpLayerTrait for Ptr<InterpLayer>

source§

impl InterpLayerTraitConst for Ptr<InterpLayer>

source§

impl KAZETrait for Ptr<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 KAZETraitConst for Ptr<KAZE>

source§

impl KDTreeIndexParamsTrait for Ptr<KDTreeIndexParams>

source§

impl KDTreeIndexParamsTraitConst for Ptr<KDTreeIndexParams>

source§

impl KMeansIndexParamsTrait for Ptr<KMeansIndexParams>

source§

impl KMeansIndexParamsTraitConst for Ptr<KMeansIndexParams>

source§

impl KNearestTrait for Ptr<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 KNearestTraitConst for Ptr<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: &impl ToInputArray, k: i32, results: &mut impl ToOutputArray, neighbor_responses: &mut impl ToOutputArray, dist: &mut impl ToOutputArray ) -> Result<f32>

Finds the neighbors and predicts responses for input vectors. Read more
source§

fn find_nearest_def( &self, samples: &impl ToInputArray, k: i32, results: &mut impl ToOutputArray ) -> Result<f32>

Finds the neighbors and predicts responses for input vectors. Read more
source§

impl 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<IOutlierRejector>) -> Result<()>

source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst ) -> Result<Mat>

source§

fn estimate_1( &mut self, frame0: &impl GpuMatTraitConst, frame1: &impl GpuMatTraitConst, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_def_1( &mut self, frame0: &impl GpuMatTraitConst, frame1: &impl GpuMatTraitConst ) -> Result<Mat>

source§

impl KeypointBasedMotionEstimatorGpuTraitConst for 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<ISparseOptFlowEstimator> ) -> Result<()>

source§

fn set_outlier_rejector(&mut self, val: Ptr<IOutlierRejector>) -> Result<()>

source§

fn set_frame_mask(&mut self, mask: &impl ToInputArray) -> Result<()>

source§

fn estimate_mat( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_mat_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst ) -> Result<Mat>

source§

fn estimate( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray ) -> Result<Mat>

source§

impl KeypointBasedMotionEstimatorTraitConst for Ptr<KeypointBasedMotionEstimator>

source§

impl Kinfu_Detail_PoseGraphTrait for Ptr<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 add_edge_def( &mut self, _source_node_id: size_t, _target_node_id: size_t, _transformation: Affine3f ) -> Result<()>

source§

fn optimize(&mut self, tc: TermCriteria) -> Result<i32>

C++ default parameters Read more
source§

fn optimize_def(&mut self) -> Result<i32>

source§

impl Kinfu_Detail_PoseGraphTraitConst for Ptr<Kinfu_Detail_PoseGraph>

source§

impl Kinfu_KinFuTrait for Ptr<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: &impl ToInputArray) -> Result<bool>

Process next depth frame Read more
source§

impl Kinfu_KinFuTraitConst for Ptr<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 impl ToOutputArray) -> Result<()>

Renders a volume into an image Read more
source§

fn render_1( &self, image: &mut impl ToOutputArray, camera_pose: Matx44f ) -> Result<()>

Renders a volume into an image Read more
source§

fn get_cloud( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray ) -> Result<()>

Gets points and normals of current 3d mesh Read more
source§

fn get_points(&self, points: &mut impl ToOutputArray) -> Result<()>

Gets points of current 3d mesh Read more
source§

fn get_normals( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray ) -> Result<()>

Calculates normals for given points Read more
source§

fn get_pose(&self) -> Result<Affine3f>

Get current pose in voxel space
source§

impl Kinfu_ParamsTrait for 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_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 Kinfu_VolumeTrait for Ptr<Kinfu_Volume>

source§

fn as_raw_mut_Kinfu_Volume(&mut self) -> *mut c_void

source§

fn integrate( &mut self, _depth: &impl ToInputArray, depth_factor: f32, camera_pose: Matx44f, intrinsics: Kinfu_Intr, frame_id: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn integrate_def( &mut self, _depth: &impl ToInputArray, depth_factor: f32, camera_pose: Matx44f, intrinsics: Kinfu_Intr ) -> Result<()>

source§

fn integrate_1( &mut self, _depth: &impl ToInputArray, _rgb: &impl ToInputArray, depth_factor: f32, camera_pose: Matx44f, intrinsics: Kinfu_Intr, rgb_intrinsics: Kinfu_Intr, frame_id: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn integrate_def_1( &mut self, _depth: &impl ToInputArray, _rgb: &impl ToInputArray, depth_factor: f32, camera_pose: Matx44f, intrinsics: Kinfu_Intr, rgb_intrinsics: Kinfu_Intr ) -> Result<()>

source§

fn reset(&mut self) -> Result<()>

source§

impl Kinfu_VolumeTraitConst for Ptr<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 impl ToOutputArray, normals: &mut impl ToOutputArray ) -> Result<()>

source§

fn raycast_1( &self, camera_pose: Matx44f, intrinsics: Kinfu_Intr, frame_size: Size, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray, colors: &mut impl ToOutputArray ) -> Result<()>

source§

fn fetch_normals( &self, points: &impl ToInputArray, _normals: &mut impl ToOutputArray ) -> Result<()>

source§

fn fetch_points_normals( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray ) -> Result<()>

source§

fn fetch_points_normals_colors( &self, unnamed: &mut impl ToOutputArray, unnamed_1: &mut impl ToOutputArray, unnamed_2: &mut impl ToOutputArray ) -> Result<()>

source§

impl LATCHTrait for Ptr<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 LATCHTraitConst for Ptr<LATCH>

source§

impl LBPHFaceRecognizerTrait for Ptr<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 LBPHFaceRecognizerTraitConst for Ptr<LBPHFaceRecognizer>

source§

impl LMSolverTrait for Ptr<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 LMSolverTraitConst for Ptr<LMSolver>

source§

fn as_raw_LMSolver(&self) -> *const c_void

source§

fn run(&self, param: &mut impl ToInputOutputArray) -> Result<i32>

Runs Levenberg-Marquardt algorithm using the passed vector of parameters as the start point. The final vector of parameters (whether the algorithm converged or not) is stored at the same vector. The method returns the number of iterations used. If it’s equal to the previously specified maxIters, there is a big chance the algorithm did not converge. Read more
source§

fn get_max_iters(&self) -> Result<i32>

Retrieves the current maximum number of iterations
source§

impl LMSolver_CallbackTrait for Ptr<LMSolver_Callback>

source§

impl LMSolver_CallbackTraitConst for Ptr<LMSolver_Callback>

source§

fn as_raw_LMSolver_Callback(&self) -> *const c_void

source§

fn compute( &self, param: &impl ToInputArray, err: &mut impl ToOutputArray, j: &mut impl ToOutputArray ) -> Result<bool>

computes error and Jacobian for the specified vector of parameters Read more
source§

impl LRNLayerTrait for 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: &impl MatTraitConst, keypoints: &mut Vector<KeyLine>, scale: i32, num_octaves: i32, mask: &impl MatTraitConst ) -> Result<()>

Detect lines inside an image. Read more
source§

fn detect_def( &mut self, image: &impl MatTraitConst, keypoints: &mut Vector<KeyLine>, scale: i32, num_octaves: i32 ) -> Result<()>

Detect lines inside an image. Read more
source§

impl LSDDetectorTraitConst for 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§

fn detect_multiple_def( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, scale: i32, num_octaves: i32 ) -> Result<()>

@overload Read more
source§

impl LSTMLayerTrait for Ptr<LSTMLayer>

source§

fn as_raw_mut_LSTMLayer(&mut self) -> *mut c_void

source§

fn set_weights( &mut self, wh: &impl MatTraitConst, wx: &impl MatTraitConst, b: &impl MatTraitConst ) -> Result<()>

👎Deprecated: Use LayerParams::blobs instead.
Deprecated: Use LayerParams::blobs instead. Set trained weights for LSTM layer. Read more
source§

fn set_out_shape(&mut self, out_tail_shape: &MatShape) -> Result<()>

Specifies shape of output blob which will be [[T], N] + @p outTailShape. @details If this parameter is empty or unset then @p outTailShape = [Wh.size(0)] will be used, where Wh is parameter from setWeights(). Read more
source§

fn set_out_shape_def(&mut self) -> Result<()>

Specifies shape of output blob which will be [[T], N] + @p outTailShape. @details If this parameter is empty or unset then @p outTailShape = [Wh.size(0)] will be used, where Wh is parameter from setWeights(). Read more
source§

fn set_use_timstamps_dim(&mut self, use_: bool) -> Result<()>

👎Deprecated: Use flag produce_cell_output in LayerParams.
Deprecated: Use flag produce_cell_output in LayerParams. Specifies either interpret first dimension of input blob as timestamp dimension either as sample. Read more
source§

fn set_use_timstamps_dim_def(&mut self) -> Result<()>

👎Deprecated: Use flag produce_cell_output in LayerParams.
Deprecated: Use flag produce_cell_output in LayerParams. Specifies either interpret first dimension of input blob as timestamp dimension either as sample. Read more
source§

fn set_produce_cell_output(&mut self, produce: bool) -> Result<()>

👎Deprecated: Use flag use_timestamp_dim in LayerParams.
Deprecated: Use flag use_timestamp_dim in LayerParams. If this flag is set to true then layer will produce @f$ c_t @f$ as second output. @details Shape of the second output is the same as first output. Read more
source§

fn set_produce_cell_output_def(&mut self) -> Result<()>

👎Deprecated: Use flag use_timestamp_dim in LayerParams.
Deprecated: Use flag use_timestamp_dim in LayerParams. If this flag is set to true then layer will produce @f$ c_t @f$ as second output. @details Shape of the second output is the same as first output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

source§

impl LSTMLayerTraitConst for Ptr<LSTMLayer>

source§

impl LUCIDTrait for Ptr<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 LUCIDTraitConst for Ptr<LUCID>

source§

impl LargeKinfuTrait for Ptr<LargeKinfu>

source§

fn as_raw_mut_LargeKinfu(&mut self) -> *mut c_void

source§

fn reset(&mut self) -> Result<()>

source§

fn update(&mut self, depth: &impl ToInputArray) -> Result<bool>

source§

impl LargeKinfuTraitConst for Ptr<LargeKinfu>

source§

fn as_raw_LargeKinfu(&self) -> *const c_void

source§

fn get_params(&self) -> Result<Params>

source§

fn render(&self, image: &mut impl ToOutputArray) -> Result<()>

source§

fn render_1( &self, image: &mut impl ToOutputArray, camera_pose: Matx44f ) -> Result<()>

source§

fn get_cloud( &self, points: &mut impl ToOutputArray, normals: &mut impl ToOutputArray ) -> Result<()>

source§

fn get_points(&self, points: &mut impl ToOutputArray) -> Result<()>

source§

fn get_normals( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray ) -> Result<()>

source§

fn get_pose(&self) -> Result<Affine3f>

source§

impl LayerNormLayerTrait for Ptr<LayerNormLayer>

source§

fn as_raw_mut_LayerNormLayer(&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_epsilon(&mut self, val: f32)

source§

impl LayerNormLayerTraitConst for Ptr<LayerNormLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<AttentionLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<BlankLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<ChannelsPReLULayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<CompareLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<ConstLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<ConvolutionLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<ConvolutionLayerInt8>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<CropAndResizeLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<CropLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<DeconvolutionLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<EinsumLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<ExpandLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<GatherElementsLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<GeluApproximationLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<GeluLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<GemmLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<InstanceNormLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<InterpLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<LayerNormLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<MatMulLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<ShiftLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<ShiftLayerInt8>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for Ptr<ShuffleChannelLayer>

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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTrait for 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: &impl ToInputArray, outputs: &mut impl ToOutputArray ) -> Result<()>

Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn forward_mat( &mut self, input: &mut Vector<Mat>, output: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§

fn forward( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn try_quantize( &mut self, scales: &Vector<Vector<f32>>, zeropoints: &Vector<Vector<i32>>, params: &mut impl LayerParamsTrait ) -> Result<bool>

Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§

fn forward_fallback( &mut self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, internals: &mut impl ToOutputArray ) -> Result<()>

Given the @p input blobs, computes the output @p blobs. Read more
source§

fn finalize_mat_to( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>

👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§

fn run( &mut self, inputs: &Vector<Mat>, outputs: &mut Vector<Mat>, internals: &mut Vector<Mat> ) -> Result<()>

👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§

fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>

Returns index of input blob into the input array. Read more
source§

fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>

Returns index of output blob in output array. Read more
source§

fn support_backend(&mut self, backend_id: i32) -> Result<bool>

Ask layer if it support specific backend for doing computations. Read more
source§

fn init_halide( &mut self, inputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns Halide backend node. Read more
source§

fn init_ngraph( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

fn init_vk_com( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &mut Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

source§

fn init_webnn( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

source§

unsafe fn init_cuda( &mut self, context: *mut c_void, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>> ) -> Result<Ptr<BackendNode>>

Returns a CUDA backend node Read more
source§

unsafe fn init_tim_vx( &mut self, tim_vx_info: *mut c_void, inputs_wrapper: &Vector<Ptr<BackendWrapper>>, outputs_wrapper: &Vector<Ptr<BackendWrapper>>, is_last: bool ) -> Result<Ptr<BackendNode>>

Returns a TimVX backend node Read more
source§

fn init_cann( &mut self, inputs: &Vector<Ptr<BackendWrapper>>, outputs: &Vector<Ptr<BackendWrapper>>, nodes: &Vector<Ptr<BackendNode>> ) -> Result<Ptr<BackendNode>>

Returns a CANN backend node Read more
source§

fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>

Implement layers fusing. Read more
source§

fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>

Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§

fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>

Try to fuse current layer with a next one Read more
source§

fn unset_attached(&mut self) -> Result<()>

“Detaches” all the layers, attached to particular layer.
source§

fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>

source§

fn set_params_from(&mut self, params: &impl LayerParamsTraitConst) -> Result<()>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<AttentionLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<BlankLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ChannelsPReLULayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<CompareLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ConstLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ConvolutionLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ConvolutionLayerInt8>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<CropAndResizeLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<CropLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<DeconvolutionLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<EinsumLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ExpandLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<GatherElementsLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<GeluApproximationLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<GeluLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<GemmLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<InstanceNormLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<InterpLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<LayerNormLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<MatMulLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ShiftLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ShiftLayerInt8>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for Ptr<ShuffleChannelLayer>

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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LayerTraitConst for 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 impl MatTrait, shift: &mut impl MatTrait ) -> Result<()>

Returns parameters of layers with channel-wise multiplication and addition. Read more
source§

fn get_scale_zeropoint( &self, scale: &mut f32, zeropoint: &mut i32 ) -> Result<()>

Returns scale and zeropoint of layers Read more
source§

fn get_memory_shapes( &self, inputs: &Vector<MatShape>, required_outputs: i32, outputs: &mut Vector<MatShape>, internals: &mut Vector<MatShape> ) -> Result<bool>

source§

fn get_flops( &self, inputs: &Vector<MatShape>, outputs: &Vector<MatShape> ) -> Result<i64>

source§

impl LearningBasedWBTrait for Ptr<LearningBasedWB>

source§

fn as_raw_mut_LearningBasedWB(&mut self) -> *mut c_void

source§

fn extract_simple_features( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Implements the feature extraction part of the algorithm. Read more
source§

fn set_range_max_val(&mut self, val: i32) -> Result<()>

Maximum possible value of the input image (e.g. 255 for 8 bit images, 4095 for 12 bit images) Read more
source§

fn set_saturation_threshold(&mut self, val: f32) -> Result<()>

Threshold that is used to determine saturated pixels, i.e. pixels where at least one of the channels exceeds inline formula are ignored. Read more
source§

fn set_hist_bin_num(&mut self, val: i32) -> Result<()>

Defines the size of one dimension of a three-dimensional RGB histogram that is used internally by the algorithm. It often makes sense to increase the number of bins for images with higher bit depth (e.g. 256 bins for a 12 bit image). Read more
source§

impl LearningBasedWBTraitConst for Ptr<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 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: &impl MatTraitConst, bounding_box: &mut Rect ) -> Result<i32>

\brief Add new object template. Read more
source§

fn add_template_def( &mut self, sources: &Vector<Mat>, class_id: &str, object_mask: &impl MatTraitConst ) -> Result<i32>

\brief Add new object template. Read more
source§

fn add_synthetic_template( &mut self, templates: &Vector<LineMod_Template>, class_id: &str ) -> Result<i32>

\brief Add a new object template computed by external means.
source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

source§

fn read_class( &mut self, fn_: &impl FileNodeTraitConst, class_id_override: &str ) -> Result<String>

C++ default parameters Read more
source§

fn read_class_def(&mut self, fn_: &impl FileNodeTraitConst) -> Result<String>

source§

fn read_classes( &mut self, class_ids: &Vector<String>, format: &str ) -> Result<()>

C++ default parameters Read more
source§

fn read_classes_def(&mut self, class_ids: &Vector<String>) -> Result<()>

source§

impl LineMod_DetectorTraitConst for 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 impl ToOutputArray, masks: &Vector<Mat> ) -> Result<()>

\brief Detect objects by template matching. Read more
source§

fn match__def( &self, sources: &Vector<Mat>, threshold: f32, matches: &mut Vector<LineMod_Match> ) -> Result<()>

\brief Detect objects by template matching. Read more
source§

fn get_modalities(&self) -> Result<Vector<Ptr<LineMod_Modality>>>

\brief Get the modalities used by this detector. Read more
source§

fn get_t(&self, pyramid_level: i32) -> Result<i32>

\brief Get sampling step T at pyramid_level.
source§

fn pyramid_levels(&self) -> Result<i32>

\brief Get number of pyramid levels used by this detector.
source§

fn get_templates( &self, class_id: &str, template_id: i32 ) -> Result<Vector<LineMod_Template>>

\brief Get the template pyramid identified by template_id. Read more
source§

fn num_templates(&self) -> Result<i32>

source§

fn num_templates_1(&self, class_id: &str) -> Result<i32>

source§

fn num_classes(&self) -> Result<i32>

source§

fn class_ids(&self) -> Result<Vector<String>>

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

source§

fn write_class( &self, class_id: &str, fs: &mut impl FileStorageTrait ) -> Result<()>

source§

fn write_classes(&self, format: &str) -> Result<()>

C++ default parameters Read more
source§

fn write_classes_def(&self) -> Result<()>

source§

impl LineMod_ModalityTrait for Ptr<LineMod_ColorGradient>

source§

impl LineMod_ModalityTrait for Ptr<LineMod_DepthNormal>

source§

impl LineMod_ModalityTrait for Ptr<LineMod_Modality>

source§

impl LineMod_ModalityTraitConst for Ptr<LineMod_ColorGradient>

source§

fn as_raw_LineMod_Modality(&self) -> *const c_void

source§

fn process( &self, src: &impl MatTraitConst, mask: &impl MatTraitConst ) -> Result<Ptr<LineMod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
source§

fn process_def( &self, src: &impl MatTraitConst ) -> Result<Ptr<LineMod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
source§

fn name(&self) -> Result<String>

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

source§

impl LineMod_ModalityTraitConst for Ptr<LineMod_DepthNormal>

source§

fn as_raw_LineMod_Modality(&self) -> *const c_void

source§

fn process( &self, src: &impl MatTraitConst, mask: &impl MatTraitConst ) -> Result<Ptr<LineMod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
source§

fn process_def( &self, src: &impl MatTraitConst ) -> Result<Ptr<LineMod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
source§

fn name(&self) -> Result<String>

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

source§

impl LineMod_ModalityTraitConst for Ptr<LineMod_Modality>

source§

fn as_raw_LineMod_Modality(&self) -> *const c_void

source§

fn process( &self, src: &impl MatTraitConst, mask: &impl MatTraitConst ) -> Result<Ptr<LineMod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
source§

fn process_def( &self, src: &impl MatTraitConst ) -> Result<Ptr<LineMod_QuantizedPyramid>>

\brief Form a quantized image pyramid from a source image. Read more
source§

fn name(&self) -> Result<String>

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

source§

impl LineMod_QuantizedPyramidTrait for Ptr<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_QuantizedPyramidTraitConst for Ptr<LineMod_QuantizedPyramid>

source§

fn as_raw_LineMod_QuantizedPyramid(&self) -> *const c_void

source§

fn quantize(&self, dst: &mut impl MatTrait) -> Result<()>

\brief Compute quantized image at current pyramid level for online detection. Read more
source§

fn extract_template( &self, templ: &mut impl LineMod_TemplateTrait ) -> Result<bool>

\brief Extract most discriminant features at current pyramid level to form a new template. Read more
source§

impl LineSegmentDetectorTrait for Ptr<LineSegmentDetector>

source§

fn as_raw_mut_LineSegmentDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, image: &impl ToInputArray, lines: &mut impl ToOutputArray, width: &mut impl ToOutputArray, prec: &mut impl ToOutputArray, nfa: &mut impl ToOutputArray ) -> Result<()>

Finds lines in the input image. Read more
source§

fn detect_def( &mut self, image: &impl ToInputArray, lines: &mut impl ToOutputArray ) -> Result<()>

Finds lines in the input image. Read more
source§

fn draw_segments( &mut self, image: &mut impl ToInputOutputArray, lines: &impl ToInputArray ) -> Result<()>

Draws the line segments on a given image. Read more
source§

fn compare_segments( &mut self, size: Size, lines1: &impl ToInputArray, lines2: &impl ToInputArray, image: &mut impl ToInputOutputArray ) -> Result<i32>

Draws two groups of lines in blue and red, counting the non overlapping (mismatching) pixels. Read more
source§

fn compare_segments_def( &mut self, size: Size, lines1: &impl ToInputArray, lines2: &impl ToInputArray ) -> Result<i32>

Draws two groups of lines in blue and red, counting the non overlapping (mismatching) pixels. Read more
source§

impl LineSegmentDetectorTraitConst for Ptr<LineSegmentDetector>

source§

impl LinearIndexParamsTrait for Ptr<LinearIndexParams>

source§

impl LinearIndexParamsTraitConst for Ptr<LinearIndexParams>

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 LogisticRegressionTrait for Ptr<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 LogisticRegressionTraitConst for Ptr<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: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts responses for input samples and returns a float type. Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts responses for input samples and returns a float type. Read more
source§

fn get_learnt_thetas(&self) -> Result<Mat>

This function returns the trained parameters arranged across rows. Read more
source§

impl LookUpTableTrait for Ptr<LookUpTable>

source§

fn as_raw_mut_LookUpTable(&mut self) -> *mut c_void

source§

fn transform( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, stream: &mut impl StreamTrait ) -> Result<()>

Transforms the source matrix into the destination matrix using the given look-up table: dst(I) = lut(src(I)) . Read more
source§

fn transform_def( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Transforms the source matrix into the destination matrix using the given look-up table: dst(I) = lut(src(I)) . Read more
source§

impl LookUpTableTraitConst for Ptr<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: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait ) -> Result<()>

source§

impl LpMotionStabilizerTraitConst for Ptr<LpMotionStabilizer>

source§

impl LshIndexParamsTrait for Ptr<LshIndexParams>

source§

impl LshIndexParamsTraitConst for Ptr<LshIndexParams>

source§

impl MACETrait for Ptr<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: &impl ToInputArray) -> Result<()>

train it on positive features compute the mace filter: h = D(-1) * X * (X(+) * D(-1) * X)(-1) * C also calculate a minimal threshold for this class, the smallest self-similarity from the train images Read more
source§

impl MACETraitConst for Ptr<MACE>

source§

fn as_raw_MACE(&self) -> *const c_void

source§

fn same(&self, query: &impl ToInputArray) -> Result<bool>

correlate query img and threshold to min class value Read more
source§

impl MCC_CCheckerDetectorTrait for Ptr<MCC_CCheckerDetector>

source§

fn as_raw_mut_MCC_CCheckerDetector(&mut self) -> *mut c_void

source§

fn set_net(&mut self, net: impl NetTrait) -> Result<bool>

\brief Set the net which will be used to find the approximate bounding boxes for the color charts. Read more
source§

fn process_with_roi( &mut self, image: &impl ToInputArray, chart_type: MCC_TYPECHART, regions_of_interest: &Vector<Rect>, nc: i32, use_net: bool, params: &Ptr<MCC_DetectorParameters> ) -> Result<bool>

\brief Find the ColorCharts in the given image. Read more
source§

fn process_with_roi_def( &mut self, image: &impl ToInputArray, chart_type: MCC_TYPECHART, regions_of_interest: &Vector<Rect> ) -> Result<bool>

\brief Find the ColorCharts in the given image. Read more
source§

fn process( &mut self, image: &impl ToInputArray, chart_type: MCC_TYPECHART, nc: i32, use_net: bool, params: &Ptr<MCC_DetectorParameters> ) -> Result<bool>

\brief Find the ColorCharts in the given image. Read more
source§

fn process_def( &mut self, image: &impl ToInputArray, chart_type: MCC_TYPECHART ) -> Result<bool>

\brief Find the ColorCharts in the given image. Read more
source§

fn get_best_color_checker(&mut self) -> Result<Ptr<MCC_CChecker>>

\brief Get the best color checker. By the best it means the one detected with the highest confidence. \return checker A single colorchecker, if atleast one colorchecker was detected, ‘nullptr’ otherwise.
source§

fn get_list_color_checker(&mut self) -> Result<Vector<Ptr<MCC_CChecker>>>

\brief Get the list of all detected colorcheckers \return checkers vector of colorcheckers
source§

impl MCC_CCheckerDetectorTraitConst for Ptr<MCC_CCheckerDetector>

source§

impl MCC_CCheckerDrawTrait for Ptr<MCC_CCheckerDraw>

source§

fn as_raw_mut_MCC_CCheckerDraw(&mut self) -> *mut c_void

source§

fn draw(&mut self, img: &mut impl ToInputOutputArray) -> Result<()>

\brief Draws the checker to the given image. \param img image in color space BGR \return void
source§

impl MCC_CCheckerDrawTraitConst for Ptr<MCC_CCheckerDraw>

source§

impl MCC_CCheckerTrait for Ptr<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: impl MatTrait) -> Result<()>

source§

fn set_charts_y_cb_cr(&mut self, _charts_y_cb_cr: impl MatTrait) -> Result<()>

source§

fn set_cost(&mut self, _cost: f32) -> Result<()>

source§

fn set_center(&mut self, _center: Point2f) -> Result<()>

source§

fn get_target(&mut self) -> Result<MCC_TYPECHART>

source§

fn get_box(&mut self) -> Result<Vector<Point2f>>

source§

fn get_charts_rgb(&mut self) -> Result<Mat>

source§

fn get_charts_y_cb_cr(&mut self) -> Result<Mat>

source§

fn get_cost(&mut self) -> Result<f32>

source§

fn get_center(&mut self) -> Result<Point2f>

source§

impl MCC_CCheckerTraitConst for Ptr<MCC_CChecker>

source§

impl MCC_DetectorParametersTrait for Ptr<MCC_DetectorParameters>

source§

impl MCC_DetectorParametersTraitConst for Ptr<MCC_DetectorParameters>

source§

impl MSDDetectorTrait for Ptr<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 MSDDetectorTraitConst for Ptr<MSDDetector>

source§

impl MSERTrait for Ptr<MSER>

source§

fn as_raw_mut_MSER(&mut self) -> *mut c_void

source§

fn detect_regions( &mut self, image: &impl ToInputArray, msers: &mut Vector<Vector<Point>>, bboxes: &mut Vector<Rect> ) -> Result<()>

Detect %MSER regions Read more
source§

fn set_delta(&mut self, delta: i32) -> Result<()>

source§

fn set_min_area(&mut self, min_area: i32) -> Result<()>

source§

fn set_max_area(&mut self, max_area: i32) -> Result<()>

source§

fn set_max_variation(&mut self, max_variation: f64) -> Result<()>

source§

fn set_min_diversity(&mut self, min_diversity: f64) -> Result<()>

source§

fn set_max_evolution(&mut self, max_evolution: i32) -> Result<()>

source§

fn set_area_threshold(&mut self, area_threshold: f64) -> Result<()>

source§

fn set_min_margin(&mut self, min_margin: f64) -> Result<()>

source§

fn set_edge_blur_size(&mut self, edge_blur_size: i32) -> Result<()>

source§

fn set_pass2_only(&mut self, f: bool) -> Result<()>

source§

impl MSERTraitConst for Ptr<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 MatMulLayerTrait for Ptr<MatMulLayer>

source§

impl MatMulLayerTraitConst for Ptr<MatMulLayer>

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 MergeDebevecTrait for Ptr<MergeDebevec>

source§

fn as_raw_mut_MergeDebevec(&mut self) -> *mut c_void

source§

fn process_with_response( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray ) -> Result<()>

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray ) -> Result<()>

source§

impl MergeDebevecTraitConst for Ptr<MergeDebevec>

source§

impl MergeExposuresTrait for Ptr<MergeDebevec>

source§

fn as_raw_mut_MergeExposures(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray ) -> Result<()>

Merges images. Read more
source§

impl MergeExposuresTrait for Ptr<MergeExposures>

source§

fn as_raw_mut_MergeExposures(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray ) -> Result<()>

Merges images. Read more
source§

impl MergeExposuresTrait for Ptr<MergeMertens>

source§

fn as_raw_mut_MergeExposures(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray ) -> Result<()>

Merges images. Read more
source§

impl MergeExposuresTrait for Ptr<MergeRobertson>

source§

fn as_raw_mut_MergeExposures(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray ) -> Result<()>

Merges images. Read more
source§

impl MergeExposuresTraitConst for Ptr<MergeDebevec>

source§

impl MergeExposuresTraitConst for Ptr<MergeExposures>

source§

impl MergeExposuresTraitConst for Ptr<MergeMertens>

source§

impl MergeExposuresTraitConst for Ptr<MergeRobertson>

source§

impl MergeMertensTrait for Ptr<MergeMertens>

source§

fn as_raw_mut_MergeMertens(&mut self) -> *mut c_void

source§

fn process_with_response( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray ) -> Result<()>

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Short version of process, that doesn’t take extra arguments. Read more
source§

fn set_contrast_weight(&mut self, contrast_weiht: f32) -> Result<()>

source§

fn set_saturation_weight(&mut self, saturation_weight: f32) -> Result<()>

source§

fn set_exposure_weight(&mut self, exposure_weight: f32) -> Result<()>

source§

impl MergeMertensTraitConst for Ptr<MergeMertens>

source§

impl MergeRobertsonTrait for Ptr<MergeRobertson>

source§

fn as_raw_mut_MergeRobertson(&mut self) -> *mut c_void

source§

fn process_with_response( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray ) -> Result<()>

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray ) -> Result<()>

source§

impl MergeRobertsonTraitConst for Ptr<MergeRobertson>

source§

impl MinProblemSolverTrait for Ptr<ConjGradSolver>

source§

fn as_raw_mut_MinProblemSolver(&mut self) -> *mut c_void

source§

fn set_function(&mut self, f: &Ptr<MinProblemSolver_Function>) -> Result<()>

Setter for the optimized function. Read more
source§

fn set_term_criteria(&mut self, termcrit: TermCriteria) -> Result<()>

Set terminal criteria for solver. Read more
source§

fn minimize(&mut self, x: &mut impl ToInputOutputArray) -> Result<f64>

actually runs the algorithm and performs the minimization. Read more
source§

impl MinProblemSolverTrait for Ptr<DownhillSolver>

source§

fn as_raw_mut_MinProblemSolver(&mut self) -> *mut c_void

source§

fn set_function(&mut self, f: &Ptr<MinProblemSolver_Function>) -> Result<()>

Setter for the optimized function. Read more
source§

fn set_term_criteria(&mut self, termcrit: TermCriteria) -> Result<()>

Set terminal criteria for solver. Read more
source§

fn minimize(&mut self, x: &mut impl ToInputOutputArray) -> Result<f64>

actually runs the algorithm and performs the minimization. Read more
source§

impl MinProblemSolverTrait for Ptr<MinProblemSolver>

source§

fn as_raw_mut_MinProblemSolver(&mut self) -> *mut c_void

source§

fn set_function(&mut self, f: &Ptr<MinProblemSolver_Function>) -> Result<()>

Setter for the optimized function. Read more
source§

fn set_term_criteria(&mut self, termcrit: TermCriteria) -> Result<()>

Set terminal criteria for solver. Read more
source§

fn minimize(&mut self, x: &mut impl ToInputOutputArray) -> Result<f64>

actually runs the algorithm and performs the minimization. Read more
source§

impl MinProblemSolverTraitConst for Ptr<ConjGradSolver>

source§

fn as_raw_MinProblemSolver(&self) -> *const c_void

source§

fn get_function(&self) -> Result<Ptr<MinProblemSolver_Function>>

Getter for the optimized function. Read more
source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Getter for the previously set terminal criteria for this algorithm. Read more
source§

impl MinProblemSolverTraitConst for Ptr<DownhillSolver>

source§

fn as_raw_MinProblemSolver(&self) -> *const c_void

source§

fn get_function(&self) -> Result<Ptr<MinProblemSolver_Function>>

Getter for the optimized function. Read more
source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Getter for the previously set terminal criteria for this algorithm. Read more
source§

impl MinProblemSolverTraitConst for Ptr<MinProblemSolver>

source§

fn as_raw_MinProblemSolver(&self) -> *const c_void

source§

fn get_function(&self) -> Result<Ptr<MinProblemSolver_Function>>

Getter for the optimized function. Read more
source§

fn get_term_criteria(&self) -> Result<TermCriteria>

Getter for the previously set terminal criteria for this algorithm. Read more
source§

impl MinProblemSolver_FunctionTrait for Ptr<MinProblemSolver_Function>

source§

impl MinProblemSolver_FunctionTraitConst for Ptr<MinProblemSolver_Function>

source§

impl MishLayerTrait for Ptr<MishLayer>

source§

impl MishLayerTraitConst for Ptr<MishLayer>

source§

impl MoreAccurateMotionWobbleSuppressorBaseTrait for Ptr<MoreAccurateMotionWobbleSuppressor>

source§

impl MoreAccurateMotionWobbleSuppressorBaseTrait for Ptr<MoreAccurateMotionWobbleSuppressorBase>

source§

impl MoreAccurateMotionWobbleSuppressorBaseTrait for Ptr<MoreAccurateMotionWobbleSuppressorGpu>

source§

impl MoreAccurateMotionWobbleSuppressorBaseTraitConst for Ptr<MoreAccurateMotionWobbleSuppressor>

source§

impl MoreAccurateMotionWobbleSuppressorBaseTraitConst for Ptr<MoreAccurateMotionWobbleSuppressorBase>

source§

impl MoreAccurateMotionWobbleSuppressorBaseTraitConst for Ptr<MoreAccurateMotionWobbleSuppressorGpu>

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: &impl GpuMatTraitConst, result: &mut impl GpuMatTrait ) -> Result<()>

source§

fn suppress_1( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait ) -> Result<()>

source§

impl MoreAccurateMotionWobbleSuppressorGpuTraitConst for 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: &impl MatTraitConst, result: &mut impl MatTrait ) -> Result<()>

source§

impl MoreAccurateMotionWobbleSuppressorTraitConst for Ptr<MoreAccurateMotionWobbleSuppressor>

source§

impl MotionEstimatorBaseTrait for Ptr<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: &impl ToInputArray, points1: &impl ToInputArray, ok: &mut bool ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
source§

fn estimate_def( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
source§

impl MotionEstimatorBaseTrait for 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: &impl ToInputArray, points1: &impl ToInputArray, ok: &mut bool ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
source§

fn estimate_def( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
source§

impl MotionEstimatorBaseTrait for 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: &impl ToInputArray, points1: &impl ToInputArray, ok: &mut bool ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
source§

fn estimate_def( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray ) -> Result<Mat>

Estimates global motion between two 2D point clouds. Read more
source§

impl MotionEstimatorBaseTraitConst for Ptr<MotionEstimatorBase>

source§

impl MotionEstimatorBaseTraitConst for Ptr<MotionEstimatorL1>

source§

impl MotionEstimatorBaseTraitConst for Ptr<MotionEstimatorRansacL2>

source§

impl MotionEstimatorL1Trait for Ptr<MotionEstimatorL1>

source§

fn as_raw_mut_MotionEstimatorL1(&mut self) -> *mut c_void

source§

fn estimate( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_def( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray ) -> Result<Mat>

source§

impl MotionEstimatorL1TraitConst for 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: &impl RansacParamsTraitConst) -> Result<()>

source§

fn set_min_inlier_ratio(&mut self, val: f32) -> Result<()>

source§

fn estimate( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_def( &mut self, points0: &impl ToInputArray, points1: &impl ToInputArray ) -> Result<Mat>

source§

impl MotionEstimatorRansacL2TraitConst for Ptr<MotionEstimatorRansacL2>

source§

impl MotionFilterBaseTrait 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: &impl RangeTraitConst ) -> Result<Mat>

source§

fn stabilize_1( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait ) -> Result<()>

source§

impl MotionFilterBaseTrait for Ptr<MotionFilterBase>

source§

fn as_raw_mut_MotionFilterBase(&mut self) -> *mut c_void

source§

fn stabilize( &mut self, idx: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst ) -> Result<Mat>

source§

fn stabilize_1( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait ) -> Result<()>

source§

impl MotionFilterBaseTraitConst for Ptr<GaussianMotionFilter>

source§

impl MotionFilterBaseTraitConst for Ptr<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<IDenseOptFlowEstimator> ) -> Result<()>

source§

fn set_flow_error_threshold(&mut self, val: f32) -> Result<()>

source§

fn set_dist_threshold(&mut self, val: f32) -> Result<()>

source§

fn set_border_mode(&mut self, val: i32) -> Result<()>

source§

fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait ) -> Result<()>

source§

impl MotionInpainterTraitConst for Ptr<MotionInpainter>

source§

impl MotionSaliencyBinWangApr2014Trait for Ptr<MotionSaliencyBinWangApr2014>

source§

fn as_raw_mut_MotionSaliencyBinWangApr2014(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray ) -> Result<bool>

source§

fn set_imagesize(&mut self, w: i32, h: i32) -> Result<()>

This is a utility function that allows to set the correct size (taken from the input image) in the corresponding variables that will be used to size the data structures of the algorithm. Read more
source§

fn init(&mut self) -> Result<bool>

This function allows the correct initialization of all data structures that will be used by the algorithm.
source§

fn set_image_width(&mut self, val: i32) -> Result<()>

source§

fn set_image_height(&mut self, val: i32) -> Result<()>

source§

impl MotionSaliencyBinWangApr2014TraitConst for Ptr<MotionSaliencyBinWangApr2014>

source§

impl MotionSaliencyTrait for Ptr<MotionSaliency>

source§

impl MotionSaliencyTrait for Ptr<MotionSaliencyBinWangApr2014>

source§

impl MotionSaliencyTraitConst for Ptr<MotionSaliency>

source§

impl MotionSaliencyTraitConst 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<IMotionStabilizer>) -> Result<()>

source§

fn stabilize( &mut self, size: i32, motions: &Vector<Mat>, range: &impl RangeTraitConst, stabilization_motions: &mut impl MatTrait ) -> Result<()>

source§

impl MotionStabilizationPipelineTraitConst for Ptr<MotionStabilizationPipeline>

source§

impl NaryEltwiseLayerTrait for Ptr<NaryEltwiseLayer>

source§

impl NaryEltwiseLayerTraitConst for Ptr<NaryEltwiseLayer>

source§

impl NormHistogramCostExtractorTrait for Ptr<NormHistogramCostExtractor>

source§

impl NormHistogramCostExtractorTraitConst for Ptr<NormHistogramCostExtractor>

source§

impl NormalBayesClassifierTrait for Ptr<NormalBayesClassifier>

source§

impl NormalBayesClassifierTraitConst for Ptr<NormalBayesClassifier>

source§

fn as_raw_NormalBayesClassifier(&self) -> *const c_void

source§

fn predict_prob( &self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, output_probs: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts the response for sample(s). Read more
source§

fn predict_prob_def( &self, inputs: &impl ToInputArray, outputs: &mut impl ToOutputArray, output_probs: &mut impl ToOutputArray ) -> Result<f32>

Predicts the response for sample(s). Read more
source§

impl NormalizeBBoxLayerTrait for 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 impl MatTrait, unnamed_2: &impl RangeTraitConst ) -> 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 impl MatTrait, unnamed_2: &mut impl MatTrait ) -> 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: &impl ToInputArray, points1: &impl ToInputArray, mask: &mut impl 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: &impl MatTraitConst, result: &mut impl MatTrait ) -> 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 impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

Recognize text using Beam Search. Read more
source§

fn run_multiple_def( &mut self, image: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

Recognize text using Beam Search. Read more
source§

fn run_multiple_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_multiple_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

fn run( &mut self, image: &impl ToInputArray, min_confidence: i32, component_level: i32 ) -> Result<String>

C++ default parameters Read more
source§

fn run_def( &mut self, image: &impl ToInputArray, min_confidence: i32 ) -> Result<String>

source§

fn run_mask( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, min_confidence: i32, component_level: i32 ) -> Result<String>

C++ default parameters Read more
source§

fn run_mask_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, min_confidence: i32 ) -> Result<String>

source§

impl OCRBeamSearchDecoderTraitConst for 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: &impl ToInputArray, recognition_probabilities: &mut Vector<Vector<f64>>, oversegmentation: &mut Vector<i32> ) -> Result<()>

The character classifier must return a (ranked list of) class(es) id(’s) Read more
source§

fn get_window_size(&mut self) -> Result<i32>

source§

fn get_step_size(&mut self) -> Result<i32>

source§

impl OCRBeamSearchDecoder_ClassifierCallbackTraitConst for 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 impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

Recognize text using HMM. Read more
source§

fn run_multiple_def( &mut self, image: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

Recognize text using HMM. Read more
source§

fn run_multiple_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

Recognize text using HMM. Read more
source§

fn run_multiple_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

Recognize text using HMM. Read more
source§

fn run( &mut self, image: &impl ToInputArray, min_confidence: i32, component_level: i32 ) -> Result<String>

C++ default parameters Read more
source§

fn run_def( &mut self, image: &impl ToInputArray, min_confidence: i32 ) -> Result<String>

source§

fn run_mask( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, min_confidence: i32, component_level: i32 ) -> Result<String>

C++ default parameters Read more
source§

fn run_mask_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, min_confidence: i32 ) -> Result<String>

source§

impl OCRHMMDecoderTraitConst for 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: &impl ToInputArray, out_class: &mut Vector<i32>, out_confidence: &mut Vector<f64> ) -> Result<()>

The character classifier must return a (ranked list of) class(es) id(’s) Read more
source§

impl OCRHMMDecoder_ClassifierCallbackTraitConst for Ptr<OCRHMMDecoder_ClassifierCallback>

source§

impl OCRHolisticWordRecognizerTrait for Ptr<OCRHolisticWordRecognizer>

source§

fn as_raw_mut_OCRHolisticWordRecognizer(&mut self) -> *mut c_void

source§

fn run( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_def( &mut self, image: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

fn run_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

Recognize text using a segmentation based word-spotting/classifier cnn. Read more
source§

fn run_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

Recognize text using a segmentation based word-spotting/classifier cnn. Read more
source§

impl OCRHolisticWordRecognizerTraitConst for Ptr<OCRHolisticWordRecognizer>

source§

impl OCRTesseractTrait for Ptr<OCRTesseract>

source§

fn as_raw_mut_OCRTesseract(&mut self) -> *mut c_void

source§

fn run_multiple( &mut self, image: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

Recognize text using the tesseract-ocr API. Read more
source§

fn run_multiple_def( &mut self, image: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

Recognize text using the tesseract-ocr API. Read more
source§

fn run_multiple_mask( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String, component_rects: &mut Vector<Rect>, component_texts: &mut Vector<String>, component_confidences: &mut Vector<f32>, component_level: i32 ) -> Result<()>

C++ default parameters Read more
source§

fn run_multiple_mask_def( &mut self, image: &mut impl MatTrait, mask: &mut impl MatTrait, output_text: &mut String ) -> Result<()>

source§

fn run( &mut self, image: &impl ToInputArray, min_confidence: i32, component_level: i32 ) -> Result<String>

C++ default parameters Read more
source§

fn run_def( &mut self, image: &impl ToInputArray, min_confidence: i32 ) -> Result<String>

source§

fn run_mask( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, min_confidence: i32, component_level: i32 ) -> Result<String>

C++ default parameters Read more
source§

fn run_mask_def( &mut self, image: &impl ToInputArray, mask: &impl ToInputArray, min_confidence: i32 ) -> Result<String>

source§

fn set_white_list(&mut self, char_whitelist: &str) -> Result<()>

source§

impl OCRTesseractTraitConst for Ptr<OCRTesseract>

source§

impl ORBTrait for Ptr<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 ORBTraitConst for Ptr<ORB>

source§

impl ObjectnessBINGTrait for Ptr<ObjectnessBING>

source§

fn as_raw_mut_ObjectnessBING(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray ) -> Result<bool>

source§

fn read(&mut self) -> Result<()>

source§

fn getobjectness_values(&mut self) -> Result<Vector<f32>>

Return the list of the rectangles’ objectness value, Read more
source§

fn set_training_path(&mut self, training_path: &str) -> Result<()>

This is a utility function that allows to set the correct path from which the algorithm will load the trained model. Read more
source§

fn set_bb_res_dir(&mut self, results_dir: &str) -> Result<()>

This is a utility function that allows to set an arbitrary path in which the algorithm will save the optional results Read more
source§

fn set_base(&mut self, val: f64) -> Result<()>

source§

fn set_nss(&mut self, val: i32) -> Result<()>

source§

fn set_w(&mut self, val: i32) -> Result<()>

source§

impl ObjectnessBINGTraitConst for Ptr<ObjectnessBING>

source§

impl ObjectnessTrait for Ptr<Objectness>

source§

impl ObjectnessTrait for Ptr<ObjectnessBING>

source§

impl ObjectnessTraitConst for Ptr<Objectness>

source§

impl ObjectnessTraitConst for Ptr<ObjectnessBING>

source§

impl OdometryFrameTrait for Ptr<OdometryFrame>

source§

impl OdometryFrameTraitConst for Ptr<OdometryFrame>

source§

impl OdometryTrait for Ptr<FastICPOdometry>

source§

fn as_raw_mut_Odometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

See also Read more
source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
source§

impl OdometryTrait for Ptr<ICPOdometry>

source§

fn as_raw_mut_Odometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

See also Read more
source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
source§

impl OdometryTrait for Ptr<Odometry>

source§

fn as_raw_mut_Odometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

See also Read more
source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
source§

impl OdometryTrait for Ptr<RgbdICPOdometry>

source§

fn as_raw_mut_Odometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

See also Read more
source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
source§

impl OdometryTrait for Ptr<RgbdOdometry>

source§

fn as_raw_mut_Odometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

See also Read more
source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

See also Read more
source§

impl OdometryTraitConst for Ptr<FastICPOdometry>

source§

fn as_raw_Odometry(&self) -> *const c_void

source§

fn compute( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§

fn compute_def( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§

fn compute2( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn compute2_def( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32 ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
source§

impl OdometryTraitConst for Ptr<ICPOdometry>

source§

fn as_raw_Odometry(&self) -> *const c_void

source§

fn compute( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§

fn compute_def( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§

fn compute2( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn compute2_def( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32 ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
source§

impl OdometryTraitConst for Ptr<Odometry>

source§

fn as_raw_Odometry(&self) -> *const c_void

source§

fn compute( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§

fn compute_def( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§

fn compute2( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn compute2_def( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32 ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
source§

impl OdometryTraitConst for Ptr<RgbdICPOdometry>

source§

fn as_raw_Odometry(&self) -> *const c_void

source§

fn compute( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§

fn compute_def( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§

fn compute2( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn compute2_def( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32 ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
source§

impl OdometryTraitConst for Ptr<RgbdOdometry>

source§

fn as_raw_Odometry(&self) -> *const c_void

source§

fn compute( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§

fn compute_def( &self, src_image: &impl MatTraitConst, src_depth: &impl MatTraitConst, src_mask: &impl MatTraitConst, dst_image: &impl MatTraitConst, dst_depth: &impl MatTraitConst, dst_mask: &impl MatTraitConst, rt: &mut impl ToOutputArray ) -> Result<bool>

Method to compute a transformation from the source frame to the destination one. Some odometry algorithms do not used some data of frames (eg. ICP does not use images). In such case corresponding arguments can be set as empty Mat. The method returns true if all internal computations were possible (e.g. there were enough correspondences, system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§

fn compute2( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray, init_rt: &impl MatTraitConst ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn compute2_def( &self, src_frame: &mut Ptr<OdometryFrame>, dst_frame: &mut Ptr<OdometryFrame>, rt: &mut impl ToOutputArray ) -> Result<bool>

One more method to compute a transformation from the source frame to the destination one. It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§

fn prepare_frame_cache( &self, frame: &mut Ptr<OdometryFrame>, cache_type: i32 ) -> Result<Size>

Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution of the prepared frame. Read more
source§

fn get_camera_matrix(&self) -> Result<Mat>

See also Read more
source§

fn get_transform_type(&self) -> Result<i32>

See also Read more
source§

impl OnePassStabilizerTrait for Ptr<OnePassStabilizer>

source§

impl OnePassStabilizerTraitConst for Ptr<OnePassStabilizer>

source§

impl OpticalFlowPCAFlowTrait for Ptr<OpticalFlowPCAFlow>

source§

fn as_raw_mut_OpticalFlowPCAFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray ) -> Result<()>

source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl OpticalFlowPCAFlowTraitConst for Ptr<OpticalFlowPCAFlow>

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 PCTSignaturesSQFDTrait for Ptr<PCTSignaturesSQFD>

source§

impl PCTSignaturesSQFDTraitConst for Ptr<PCTSignaturesSQFD>

source§

fn as_raw_PCTSignaturesSQFD(&self) -> *const c_void

source§

fn compute_quadratic_form_distance( &self, _signature0: &impl ToInputArray, _signature1: &impl ToInputArray ) -> Result<f32>

Computes Signature Quadratic Form Distance of two signatures. Read more
source§

fn compute_quadratic_form_distances( &self, source_signature: &impl MatTraitConst, image_signatures: &Vector<Mat>, distances: &mut Vector<f32> ) -> Result<()>

Computes Signature Quadratic Form Distance between the reference signature and each of the other image signatures. Read more
source§

impl PCTSignaturesTrait for Ptr<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 PCTSignaturesTraitConst for Ptr<PCTSignatures>

source§

fn as_raw_PCTSignatures(&self) -> *const c_void

source§

fn compute_signature( &self, image: &impl ToInputArray, signature: &mut impl ToOutputArray ) -> Result<()>

Computes signature of given image. Read more
source§

fn compute_signatures( &self, images: &Vector<Mat>, signatures: &mut Vector<Mat> ) -> Result<()>

Computes signatures for multiple images in parallel. Read more
source§

fn get_sample_count(&self) -> Result<i32>

Number of initial samples taken from the image.
source§

fn get_grayscale_bits(&self) -> Result<i32>

Color resolution of the greyscale bitmap represented in allocated bits (i.e., value 4 means that 16 shades of grey are used). The greyscale bitmap is used for computing contrast and entropy values.
source§

fn get_window_radius(&self) -> Result<i32>

Size of the texture sampling window used to compute contrast and entropy (center of the window is always in the pixel selected by x,y coordinates of the corresponding feature sample).
source§

fn get_weight_x(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_weight_y(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_weight_l(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_weight_a(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_weight_b(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_weight_contrast(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_weight_entropy(&self) -> Result<f32>

Weights (multiplicative constants) that linearly stretch individual axes of the feature space (x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy)
source§

fn get_sampling_points(&self) -> Result<Vector<Point2f>>

Initial samples taken from the image. These sampled features become the input for clustering.
source§

fn get_init_seed_indexes(&self) -> Result<Vector<i32>>

** clusterizer *** Read more
source§

fn get_init_seed_count(&self) -> Result<i32>

Number of initial seeds (initial number of clusters) for the k-means algorithm.
source§

fn get_iteration_count(&self) -> Result<i32>

Number of iterations of the k-means clustering. We use fixed number of iterations, since the modified clustering is pruning clusters (not iteratively refining k clusters).
source§

fn get_max_clusters_count(&self) -> Result<i32>

Maximal number of generated clusters. If the number is exceeded, the clusters are sorted by their weights and the smallest clusters are cropped.
source§

fn get_cluster_min_size(&self) -> Result<i32>

This parameter multiplied by the index of iteration gives lower limit for cluster size. Clusters containing fewer points than specified by the limit have their centroid dismissed and points are reassigned.
source§

fn get_joining_distance(&self) -> Result<f32>

Threshold euclidean distance between two centroids. If two cluster centers are closer than this distance, one of the centroid is dismissed and points are reassigned.
source§

fn get_drop_threshold(&self) -> Result<f32>

Remove centroids in k-means whose weight is lesser or equal to given threshold.
source§

fn get_distance_function(&self) -> Result<i32>

Distance function selector used for measuring distance between two points in k-means.
source§

impl PHashTrait for 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 PhaseUnwrappingTrait for Ptr<HistogramPhaseUnwrapping>

source§

fn as_raw_mut_PhaseUnwrapping(&mut self) -> *mut c_void

source§

fn unwrap_phase_map( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray, shadow_mask: &impl ToInputArray ) -> Result<()>

Unwraps a 2D phase map. Read more
source§

fn unwrap_phase_map_def( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray ) -> Result<()>

Unwraps a 2D phase map. Read more
source§

impl PhaseUnwrappingTrait for Ptr<PhaseUnwrapping>

source§

fn as_raw_mut_PhaseUnwrapping(&mut self) -> *mut c_void

source§

fn unwrap_phase_map( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray, shadow_mask: &impl ToInputArray ) -> Result<()>

Unwraps a 2D phase map. Read more
source§

fn unwrap_phase_map_def( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray ) -> Result<()>

Unwraps a 2D phase map. Read more
source§

impl PhaseUnwrappingTraitConst for Ptr<HistogramPhaseUnwrapping>

source§

impl PhaseUnwrappingTraitConst for Ptr<PhaseUnwrapping>

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 Plot2dTrait for Ptr<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 impl ToOutputArray) -> Result<()>

source§

impl Plot2dTraitConst for Ptr<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<Pose3DPtr>

source§

fn write_pose(&mut self, file_name: &str) -> Result<i32>

source§

fn read_pose(&mut self, file_name: &str) -> Result<i32>

source§

impl Pose3DTraitConst for 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 PredictCollectorTrait for Ptr<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 PredictCollectorTrait 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 PredictCollectorTraitConst for Ptr<PredictCollector>

source§

impl PredictCollectorTraitConst for Ptr<StandardCollector>

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<PyrLkOptFlowEstimatorBase>

source§

impl PyrLkOptFlowEstimatorBaseTrait for Ptr<SparsePyrLkOptFlowEstimator>

source§

impl PyrLkOptFlowEstimatorBaseTrait for Ptr<SparsePyrLkOptFlowEstimatorGpu>

source§

impl PyrLkOptFlowEstimatorBaseTraitConst for Ptr<DensePyrLkOptFlowEstimatorGpu>

source§

impl PyrLkOptFlowEstimatorBaseTraitConst for Ptr<PyrLkOptFlowEstimatorBase>

source§

impl PyrLkOptFlowEstimatorBaseTraitConst for Ptr<SparsePyrLkOptFlowEstimator>

source§

impl PyrLkOptFlowEstimatorBaseTraitConst for Ptr<SparsePyrLkOptFlowEstimatorGpu>

source§

impl QRCodeEncoderTrait for Ptr<QRCodeEncoder>

source§

fn as_raw_mut_QRCodeEncoder(&mut self) -> *mut c_void

source§

fn encode( &mut self, encoded_info: &str, qrcode: &mut impl ToOutputArray ) -> Result<()>

Generates QR code from input string. Read more
source§

fn encode_structured_append( &mut self, encoded_info: &str, qrcodes: &mut impl ToOutputArray ) -> Result<()>

Generates QR code from input string in Structured Append mode. The encoded message is splitting over a number of QR codes. Read more
source§

impl QRCodeEncoderTraitConst for Ptr<QRCodeEncoder>

source§

impl QualityBRISQUETrait for Ptr<QualityBRISQUE>

source§

fn as_raw_mut_QualityBRISQUE(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Computes BRISQUE quality score for input image Read more
source§

impl QualityBRISQUETraitConst for Ptr<QualityBRISQUE>

source§

impl QualityBaseTrait for Ptr<QualityBRISQUE>

source§

fn as_raw_mut_QualityBase(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityBaseTrait for Ptr<QualityBase>

source§

fn as_raw_mut_QualityBase(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityBaseTrait for Ptr<QualityGMSD>

source§

fn as_raw_mut_QualityBase(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityBaseTrait for Ptr<QualityMSE>

source§

fn as_raw_mut_QualityBase(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityBaseTrait for Ptr<QualityPSNR>

source§

fn as_raw_mut_QualityBase(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityBaseTrait for Ptr<QualitySSIM>

source§

fn as_raw_mut_QualityBase(&mut self) -> *mut c_void

source§

fn compute(&mut self, img: &impl ToInputArray) -> Result<Scalar>

Compute quality score per channel with the per-channel score in each element of the resulting cv::Scalar. See specific algorithm for interpreting result scores Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityBaseTraitConst for Ptr<QualityBRISQUE>

source§

fn as_raw_QualityBase(&self) -> *const c_void

source§

fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityBaseTraitConst for Ptr<QualityBase>

source§

fn as_raw_QualityBase(&self) -> *const c_void

source§

fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityBaseTraitConst for Ptr<QualityGMSD>

source§

fn as_raw_QualityBase(&self) -> *const c_void

source§

fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityBaseTraitConst for Ptr<QualityMSE>

source§

fn as_raw_QualityBase(&self) -> *const c_void

source§

fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityBaseTraitConst for Ptr<QualityPSNR>

source§

fn as_raw_QualityBase(&self) -> *const c_void

source§

fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityBaseTraitConst for Ptr<QualitySSIM>

source§

fn as_raw_QualityBase(&self) -> *const c_void

source§

fn get_quality_map(&self, dst: &mut impl ToOutputArray) -> Result<()>

Returns output quality map that was generated during computation, if supported by the algorithm
source§

fn empty(&self) -> Result<bool>

Implements Algorithm::empty()
source§

impl QualityGMSDTrait for Ptr<QualityGMSD>

source§

fn as_raw_mut_QualityGMSD(&mut self) -> *mut c_void

source§

fn compute(&mut self, cmp: &impl ToInputArray) -> Result<Scalar>

Compute GMSD Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityGMSDTraitConst for 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: &impl ToInputArray) -> Result<Scalar>

Computes MSE for reference images supplied in class constructor and provided comparison images Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

impl QualityMSETraitConst for 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: &impl ToInputArray) -> Result<Scalar>

Compute the PSNR Read more
source§

fn clear(&mut self) -> Result<()>

Implements Algorithm::clear()
source§

fn set_max_pixel_value(&mut self, val: f64) -> Result<()>

sets the maximum pixel value used for PSNR computation Read more
source§

impl QualityPSNRTraitConst for 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: &impl 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 QuasiDenseStereoTrait for Ptr<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: &impl MatTraitConst, img_right: &impl MatTraitConst ) -> Result<()>

Main process of the algorithm. This method computes the sparse seeds and then densifies them. Read more
source§

fn get_match(&mut self, x: i32, y: i32) -> Result<Point2f>

Specify pixel coordinates in the left image and get its corresponding location in the right image. Read more
source§

fn get_disparity(&mut self) -> Result<Mat>

Compute and return the disparity map based on the correspondences found in the “process” method. Read more
source§

impl QuasiDenseStereoTraitConst for Ptr<QuasiDenseStereo>

source§

impl RFFeatureGetterTrait for Ptr<RFFeatureGetter>

source§

impl RFFeatureGetterTraitConst for Ptr<RFFeatureGetter>

source§

fn as_raw_RFFeatureGetter(&self) -> *const c_void

source§

fn get_features( &self, src: &impl MatTraitConst, features: &mut impl MatTrait, gnrm_rad: i32, gsmth_rad: i32, shrink: i32, out_num: i32, grad_num: i32 ) -> Result<()>

source§

impl RICInterpolatorTrait for Ptr<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_k_def(&mut self) -> Result<()>

K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of Hu2017 uses 32. Read more
source§

fn set_cost_map(&mut self, cost_map: &impl MatTraitConst) -> Result<()>

Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term. This implementation is based on a rather simple gradient-based edge map estimation. To used more complex edge map estimator (e.g. StructuredEdgeDetection that has been used in the original publication) that may lead to improved accuracies, the internal edge map estimation can be bypassed here. Read more
source§

fn set_superpixel_size(&mut self, sp_size: i32) -> Result<()>

Get the internal cost, i.e. edge map, used for estimating the edge-aware term. Read more
source§

fn set_superpixel_size_def(&mut self) -> Result<()>

Get the internal cost, i.e. edge map, used for estimating the edge-aware term. Read more
source§

fn set_superpixel_nn_cnt(&mut self, sp_nn: i32) -> Result<()>

Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. Read more
source§

fn set_superpixel_nn_cnt_def(&mut self) -> Result<()>

Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. Read more
source§

fn set_superpixel_ruler(&mut self, ruler: f32) -> Result<()>

Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. Read more
source§

fn set_superpixel_ruler_def(&mut self) -> Result<()>

Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. Read more
source§

fn set_superpixel_mode(&mut self, mode: i32) -> Result<()>

Parameter to choose superpixel algorithm variant to use: Read more
source§

fn set_superpixel_mode_def(&mut self) -> Result<()>

Parameter to choose superpixel algorithm variant to use: Read more
source§

fn set_alpha(&mut self, alpha: f32) -> Result<()>

Alpha is a parameter defining a global weight for transforming geodesic distance into weight. Read more
source§

fn set_alpha_def(&mut self) -> Result<()>

Alpha is a parameter defining a global weight for transforming geodesic distance into weight. Read more
source§

fn set_model_iter(&mut self, model_iter: i32) -> Result<()>

Parameter defining the number of iterations for piece-wise affine model estimation. Read more
source§

fn set_model_iter_def(&mut self) -> Result<()>

Parameter defining the number of iterations for piece-wise affine model estimation. Read more
source§

fn set_refine_models(&mut self, refine_modles: bool) -> Result<()>

Parameter to choose wether additional refinement of the piece-wise affine models is employed. Read more
source§

fn set_refine_models_def(&mut self) -> Result<()>

Parameter to choose wether additional refinement of the piece-wise affine models is employed. Read more
source§

fn set_max_flow(&mut self, max_flow: f32) -> Result<()>

MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. Read more
source§

fn set_max_flow_def(&mut self) -> Result<()>

MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. Read more
source§

fn set_use_variational_refinement( &mut self, use_variational_refinement: bool ) -> Result<()>

Parameter to choose wether the VariationalRefinement post-processing is employed. Read more
source§

fn set_use_variational_refinement_def(&mut self) -> Result<()>

Parameter to choose wether the VariationalRefinement post-processing is employed. Read more
source§

fn set_use_global_smoother_filter(&mut self, use_fgs: bool) -> Result<()>

Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more
source§

fn set_use_global_smoother_filter_def(&mut self) -> Result<()>

Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more
source§

fn set_fgs_lambda(&mut self, lambda: f32) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
source§

fn set_fgs_lambda_def(&mut self) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
source§

fn set_fgs_sigma(&mut self, sigma: f32) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
source§

fn set_fgs_sigma_def(&mut self) -> Result<()>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
source§

impl RICInterpolatorTraitConst for Ptr<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. Read more
source§

fn get_superpixel_size(&self) -> Result<i32>

Get the internal cost, i.e. edge map, used for estimating the edge-aware term. Read more
source§

fn get_superpixel_nn_cnt(&self) -> Result<i32>

Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. Read more
source§

fn get_superpixel_ruler(&self) -> Result<f32>

Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. Read more
source§

fn get_superpixel_mode(&self) -> Result<i32>

Parameter to choose superpixel algorithm variant to use: Read more
source§

fn get_alpha(&self) -> Result<f32>

Alpha is a parameter defining a global weight for transforming geodesic distance into weight. Read more
source§

fn get_model_iter(&self) -> Result<i32>

Parameter defining the number of iterations for piece-wise affine model estimation. Read more
source§

fn get_refine_models(&self) -> Result<bool>

Parameter to choose wether additional refinement of the piece-wise affine models is employed. Read more
source§

fn get_max_flow(&self) -> Result<f32>

MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. Read more
source§

fn get_use_variational_refinement(&self) -> Result<bool>

Parameter to choose wether the VariationalRefinement post-processing is employed. Read more
source§

fn get_use_global_smoother_filter(&self) -> Result<bool>

Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more
source§

fn get_fgs_lambda(&self) -> Result<f32>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
source§

fn get_fgs_sigma(&self) -> Result<f32>

Sets the respective fastGlobalSmootherFilter() parameter. Read more
source§

impl RLOFOpticalFlowParameterTrait for 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 RNNLayerTrait for Ptr<RNNLayer>

source§

fn as_raw_mut_RNNLayer(&mut self) -> *mut c_void

source§

fn set_weights( &mut self, wxh: &impl MatTraitConst, bh: &impl MatTraitConst, whh: &impl MatTraitConst, who: &impl MatTraitConst, bo: &impl MatTraitConst ) -> Result<()>

Setups learned weights. Read more
source§

fn set_produce_hidden_output(&mut self, produce: bool) -> Result<()>

If this flag is set to true then layer will produce @f$ h_t @f$ as second output. @details Shape of the second output is the same as first output. Read more
source§

fn set_produce_hidden_output_def(&mut self) -> Result<()>

If this flag is set to true then layer will produce @f$ h_t @f$ as second output. @details Shape of the second output is the same as first output. Read more
source§

impl RNNLayerTraitConst for Ptr<RNNLayer>

source§

impl RTreesTrait for Ptr<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 RTreesTraitConst for Ptr<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: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<()>

Returns the result of each individual tree in the forest. In case the model is a regression problem, the method will return each of the trees’ results for each of the sample cases. If the model is a classifier, it will return a Mat with samples + 1 rows, where the first row gives the class number and the following rows return the votes each class had for each sample. Read more
source§

fn get_oob_error(&self) -> Result<f64>

source§

impl RadialVarianceHashTrait for 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: &impl MatTraitConst) -> Result<Mat>

source§

fn get_projection(&mut self) -> Result<Mat>

source§

impl RadialVarianceHashTraitConst for Ptr<RadialVarianceHash>

source§

impl Rapid_GOSTrackerTrait for Ptr<Rapid_GOSTracker>

source§

impl Rapid_GOSTrackerTraitConst for Ptr<Rapid_GOSTracker>

source§

impl Rapid_OLSTrackerTrait for Ptr<Rapid_OLSTracker>

source§

impl Rapid_OLSTrackerTraitConst for Ptr<Rapid_OLSTracker>

source§

impl Rapid_RapidTrait for Ptr<Rapid_Rapid>

source§

impl Rapid_RapidTraitConst for Ptr<Rapid_Rapid>

source§

impl Rapid_TrackerTrait for Ptr<Rapid_GOSTracker>

source§

fn as_raw_mut_Rapid_Tracker(&mut self) -> *mut c_void

source§

fn compute( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, termcrit: TermCriteria ) -> Result<f32>

C++ default parameters Read more
source§

fn compute_def( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray ) -> Result<f32>

source§

fn clear_state(&mut self) -> Result<()>

source§

impl Rapid_TrackerTrait for Ptr<Rapid_OLSTracker>

source§

fn as_raw_mut_Rapid_Tracker(&mut self) -> *mut c_void

source§

fn compute( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, termcrit: TermCriteria ) -> Result<f32>

C++ default parameters Read more
source§

fn compute_def( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray ) -> Result<f32>

source§

fn clear_state(&mut self) -> Result<()>

source§

impl Rapid_TrackerTrait for Ptr<Rapid_Rapid>

source§

fn as_raw_mut_Rapid_Tracker(&mut self) -> *mut c_void

source§

fn compute( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, termcrit: TermCriteria ) -> Result<f32>

C++ default parameters Read more
source§

fn compute_def( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray ) -> Result<f32>

source§

fn clear_state(&mut self) -> Result<()>

source§

impl Rapid_TrackerTrait for Ptr<Rapid_Tracker>

source§

fn as_raw_mut_Rapid_Tracker(&mut self) -> *mut c_void

source§

fn compute( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray, termcrit: TermCriteria ) -> Result<f32>

C++ default parameters Read more
source§

fn compute_def( &mut self, img: &impl ToInputArray, num: i32, len: i32, k: &impl ToInputArray, rvec: &mut impl ToInputOutputArray, tvec: &mut impl ToInputOutputArray ) -> Result<f32>

source§

fn clear_state(&mut self) -> Result<()>

source§

impl Rapid_TrackerTraitConst for Ptr<Rapid_GOSTracker>

source§

impl Rapid_TrackerTraitConst for Ptr<Rapid_OLSTracker>

source§

impl Rapid_TrackerTraitConst for Ptr<Rapid_Rapid>

source§

impl Rapid_TrackerTraitConst for Ptr<Rapid_Tracker>

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 ReduceLayerTrait for Ptr<ReduceLayer>

source§

impl ReduceLayerTraitConst for Ptr<ReduceLayer>

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 RetinaFastToneMappingTrait for Ptr<RetinaFastToneMapping>

source§

fn as_raw_mut_RetinaFastToneMapping(&mut self) -> *mut c_void

source§

fn apply_fast_tone_mapping( &mut self, input_image: &impl ToInputArray, output_tone_mapped_image: &mut impl ToOutputArray ) -> Result<()>

applies a luminance correction (initially High Dynamic Range (HDR) tone mapping) Read more
source§

fn setup( &mut self, photoreceptors_neighborhood_radius: f32, ganglioncells_neighborhood_radius: f32, mean_luminance_modulator_k: f32 ) -> Result<()>

updates tone mapping behaviors by adjusing the local luminance computation area Read more
source§

fn setup_def(&mut self) -> Result<()>

updates tone mapping behaviors by adjusing the local luminance computation area Read more
source§

impl RetinaFastToneMappingTraitConst for Ptr<RetinaFastToneMapping>

source§

impl RetinaTrait for Ptr<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_file_def(&mut self) -> Result<()>

Try to open an XML retina parameters file to adjust current retina instance setup Read more
source§

fn setup_from_storage( &mut self, fs: &mut impl FileStorageTrait, apply_default_setup_on_failure: bool ) -> Result<()>

Try to open an XML retina parameters file to adjust current retina instance setup Read more
source§

fn setup_from_storage_def( &mut self, fs: &mut impl FileStorageTrait ) -> Result<()>

@overload Read more
source§

fn setup(&mut self, new_parameters: impl RetinaParametersTrait) -> Result<()>

Try to open an XML retina parameters file to adjust current retina instance setup Read more
source§

fn get_parameters(&mut self) -> Result<RetinaParameters>

Returns Read more
source§

fn print_setup(&mut self) -> Result<String>

Outputs a string showing the used parameters setup Read more
source§

fn setup_op_land_ipl_parvo_channel( &mut self, color_mode: bool, normalise_output: bool, photoreceptors_local_adaptation_sensitivity: f32, photoreceptors_temporal_constant: f32, photoreceptors_spatial_constant: f32, horizontal_cells_gain: f32, hcells_temporal_constant: f32, hcells_spatial_constant: f32, ganglion_cells_sensitivity: f32 ) -> Result<()>

Setup the OPL and IPL parvo channels (see biologocal model) Read more
source§

fn setup_op_land_ipl_parvo_channel_def(&mut self) -> Result<()>

Setup the OPL and IPL parvo channels (see biologocal model) Read more
source§

fn setup_ipl_magno_channel( &mut self, normalise_output: bool, parasol_cells_beta: f32, parasol_cells_tau: f32, parasol_cells_k: f32, amacrin_cells_temporal_cut_frequency: f32, v0_compression_parameter: f32, local_adaptintegration_tau: f32, local_adaptintegration_k: f32 ) -> Result<()>

Set parameters values for the Inner Plexiform Layer (IPL) magnocellular channel Read more
source§

fn setup_ipl_magno_channel_def(&mut self) -> Result<()>

Set parameters values for the Inner Plexiform Layer (IPL) magnocellular channel Read more
source§

fn run(&mut self, input_image: &impl ToInputArray) -> Result<()>

Method which allows retina to be applied on an input image, Read more
source§

fn apply_fast_tone_mapping( &mut self, input_image: &impl ToInputArray, output_tone_mapped_image: &mut impl ToOutputArray ) -> Result<()>

Method which processes an image in the aim to correct its luminance correct backlight problems, enhance details in shadows. Read more
source§

fn get_parvo( &mut self, retina_output_parvo: &mut impl ToOutputArray ) -> Result<()>

Accessor of the details channel of the retina (models foveal vision). Read more
source§

fn get_parvo_raw_to( &mut self, retina_output_parvo: &mut impl ToOutputArray ) -> Result<()>

Accessor of the details channel of the retina (models foveal vision). Read more
source§

fn get_magno( &mut self, retina_output_magno: &mut impl ToOutputArray ) -> Result<()>

Accessor of the motion channel of the retina (models peripheral vision). Read more
source§

fn get_magno_raw_to( &mut self, retina_output_magno: &mut impl ToOutputArray ) -> Result<()>

Accessor of the motion channel of the retina (models peripheral vision). Read more
source§

fn set_color_saturation( &mut self, saturate_colors: bool, color_saturation_value: f32 ) -> Result<()>

Activate color saturation as the final step of the color demultiplexing process -> this saturation is a sigmoide function applied to each channel of the demultiplexed image. Read more
source§

fn set_color_saturation_def(&mut self) -> Result<()>

Activate color saturation as the final step of the color demultiplexing process -> this saturation is a sigmoide function applied to each channel of the demultiplexed image. Read more
source§

fn clear_buffers(&mut self) -> Result<()>

Clears all retina buffers Read more
source§

fn activate_moving_contours_processing(&mut self, activate: bool) -> Result<()>

Activate/desactivate the Magnocellular pathway processing (motion information extraction), by default, it is activated Read more
source§

fn activate_contours_processing(&mut self, activate: bool) -> Result<()>

Activate/desactivate the Parvocellular pathway processing (contours information extraction), by default, it is activated Read more
source§

impl RetinaTraitConst for Ptr<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 impl FileStorageTrait) -> Result<()>

Write xml/yml formated parameters information Read more
source§

fn get_magno_raw(&self) -> Result<Mat>

Accessor of the motion channel of the retina (models peripheral vision). Read more
source§

fn get_parvo_raw(&self) -> Result<Mat>

Accessor of the details channel of the retina (models foveal vision). Read more
source§

impl RgbdFrameTrait for 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: &impl MatTraitConst) -> Result<()>

source§

fn set_min_depth(&mut self, val: f64) -> Result<()>

source§

fn set_max_depth(&mut self, val: f64) -> Result<()>

source§

fn set_max_depth_diff(&mut self, val: f64) -> Result<()>

source§

fn set_max_points_part(&mut self, val: f64) -> Result<()>

source§

fn set_iteration_counts(&mut self, val: &impl MatTraitConst) -> Result<()>

source§

fn set_min_gradient_magnitudes( &mut self, val: &impl MatTraitConst ) -> Result<()>

source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

source§

fn set_max_translation(&mut self, val: f64) -> Result<()>

source§

fn set_max_rotation(&mut self, val: f64) -> Result<()>

source§

impl RgbdICPOdometryTraitConst for 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: &impl MatTraitConst) -> 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: &impl ToInputArray, normals: &mut impl ToOutputArray ) -> Result<()>

Given a set of 3d points in a depth image, compute the normals at each point. Read more
source§

fn initialize(&self) -> Result<()>

Initializes some data that is cached for later computation If that function is not called, it will be called the first time normals are computed
source§

fn get_rows(&self) -> Result<i32>

source§

fn get_cols(&self) -> Result<i32>

source§

fn get_window_size(&self) -> Result<i32>

source§

fn get_depth(&self) -> Result<i32>

source§

fn get_k(&self) -> Result<Mat>

source§

fn get_method(&self) -> Result<i32>

source§

impl RgbdOdometryTrait for Ptr<RgbdOdometry>

source§

fn as_raw_mut_RgbdOdometry(&mut self) -> *mut c_void

source§

fn set_camera_matrix(&mut self, val: &impl MatTraitConst) -> Result<()>

source§

fn set_min_depth(&mut self, val: f64) -> Result<()>

source§

fn set_max_depth(&mut self, val: f64) -> Result<()>

source§

fn set_max_depth_diff(&mut self, val: f64) -> Result<()>

source§

fn set_iteration_counts(&mut self, val: &impl MatTraitConst) -> Result<()>

source§

fn set_min_gradient_magnitudes( &mut self, val: &impl MatTraitConst ) -> Result<()>

source§

fn set_max_points_part(&mut self, val: f64) -> Result<()>

source§

fn set_transform_type(&mut self, val: i32) -> Result<()>

source§

fn set_max_translation(&mut self, val: f64) -> Result<()>

source§

fn set_max_rotation(&mut self, val: f64) -> Result<()>

source§

impl RgbdOdometryTraitConst for 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: &impl ToInputArray, normals: &impl ToInputArray, mask: &mut impl ToOutputArray, plane_coefficients: &mut impl ToOutputArray ) -> Result<()>

Find The planes in a depth image Read more
source§

fn apply_1( &mut self, points3d: &impl ToInputArray, mask: &mut impl ToOutputArray, plane_coefficients: &mut impl ToOutputArray ) -> Result<()>

Find The planes in a depth image but without doing a normal check, which is faster but less accurate Read more
source§

fn set_block_size(&mut self, val: i32) -> Result<()>

source§

fn set_min_size(&mut self, val: i32) -> Result<()>

source§

fn set_method(&mut self, val: i32) -> Result<()>

source§

fn set_threshold(&mut self, val: f64) -> Result<()>

source§

fn set_sensor_error_a(&mut self, val: f64) -> Result<()>

source§

fn set_sensor_error_b(&mut self, val: f64) -> Result<()>

source§

fn set_sensor_error_c(&mut self, val: f64) -> Result<()>

source§

impl RgbdPlaneTraitConst for Ptr<RgbdPlane>

source§

impl RidgeDetectionFilterTrait for Ptr<RidgeDetectionFilter>

source§

fn as_raw_mut_RidgeDetectionFilter(&mut self) -> *mut c_void

source§

fn get_ridge_filtered_image( &mut self, _img: &impl ToInputArray, out: &mut impl ToOutputArray ) -> Result<()>

Apply Ridge detection filter on input image. Read more
source§

impl RidgeDetectionFilterTraitConst for Ptr<RidgeDetectionFilter>

source§

impl RoundLayerTrait for Ptr<RoundLayer>

source§

impl RoundLayerTraitConst for Ptr<RoundLayer>

source§

impl SFMLibmvEuclideanReconstructionTrait for Ptr<SFMLibmvEuclideanReconstruction>

source§

fn as_raw_mut_SFMLibmvEuclideanReconstruction(&mut self) -> *mut c_void

source§

fn run(&mut self, points2d: &impl ToInputArray) -> Result<()>

Calls the pipeline in order to perform Eclidean reconstruction. Read more
source§

fn run_1( &mut self, points2d: &impl ToInputArray, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray ) -> Result<()>

Calls the pipeline in order to perform Eclidean reconstruction. Read more
source§

fn run_2(&mut self, images: &Vector<String>) -> Result<()>

Calls the pipeline in order to perform Eclidean reconstruction. Read more
source§

fn run_3( &mut self, images: &Vector<String>, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray ) -> Result<()>

Calls the pipeline in order to perform Eclidean reconstruction. Read more
source§

fn get_points(&mut self, points3d: &mut impl ToOutputArray) -> Result<()>

Returns the estimated 3d points. Read more
source§

fn get_cameras( &mut self, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray ) -> Result<()>

Returns the estimated camera extrinsic parameters. Read more
source§

fn set_reconstruction_options( &mut self, libmv_reconstruction_options: libmv_ReconstructionOptions ) -> Result<()>

Setter method for reconstruction options. Read more
source§

fn set_camera_intrinsic_options( &mut self, libmv_camera_intrinsics_options: libmv_CameraIntrinsicsOptions ) -> Result<()>

Setter method for camera intrinsic options. Read more
source§

impl SFMLibmvEuclideanReconstructionTraitConst for Ptr<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 SIFTTrait for Ptr<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 SIFTTraitConst for Ptr<SIFT>

source§

impl SURFTrait for Ptr<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 SURFTraitConst for Ptr<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 impl GpuMatTrait ) -> Result<()>

upload host keypoints to device memory
source§

fn download_keypoints( &mut self, keypoints_gpu: &impl GpuMatTraitConst, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

download keypoints from device to host memory
source§

fn download_descriptors( &mut self, descriptors_gpu: &impl GpuMatTraitConst, descriptors: &mut Vector<f32> ) -> Result<()>

download descriptors from device to host memory
source§

fn apply( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut impl GpuMatTrait ) -> Result<()>

finds the keypoints using fast hessian detector used in SURF supports CV_8UC1 images keypoints will have nFeature cols and 6 rows keypoints.ptr(X_ROW)[i] will contain x coordinate of i’th feature keypoints.ptr(Y_ROW)[i] will contain y coordinate of i’th feature keypoints.ptr(LAPLACIAN_ROW)[i] will contain laplacian sign of i’th feature keypoints.ptr(OCTAVE_ROW)[i] will contain octave of i’th feature keypoints.ptr(SIZE_ROW)[i] will contain size of i’th feature keypoints.ptr(ANGLE_ROW)[i] will contain orientation of i’th feature keypoints.ptr(HESSIAN_ROW)[i] will contain response of i’th feature
source§

fn apply_1( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut impl GpuMatTrait, descriptors: &mut impl GpuMatTrait, use_provided_keypoints: bool ) -> Result<()>

finds the keypoints and computes their descriptors. Optionally it can compute descriptors for the user-provided keypoints and recompute keypoints direction Read more
source§

fn apply_def( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut impl GpuMatTrait, descriptors: &mut impl GpuMatTrait ) -> Result<()>

finds the keypoints and computes their descriptors. Optionally it can compute descriptors for the user-provided keypoints and recompute keypoints direction Read more
source§

fn detect( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut impl GpuMatTrait ) -> Result<()>

Finds the keypoints using fast hessian detector used in SURF Read more
source§

fn apply_2( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut Vector<KeyPoint> ) -> Result<()>

source§

fn apply_3( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl GpuMatTrait, use_provided_keypoints: bool ) -> Result<()>

C++ default parameters Read more
source§

fn apply_def_1( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl GpuMatTrait ) -> Result<()>

source§

fn detect_with_descriptors( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut impl GpuMatTrait, descriptors: &mut impl GpuMatTrait, use_provided_keypoints: bool ) -> Result<()>

Finds the keypoints and computes their descriptors using fast hessian detector used in SURF Read more
source§

fn detect_with_descriptors_def( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut impl GpuMatTrait, descriptors: &mut impl GpuMatTrait ) -> Result<()>

Finds the keypoints and computes their descriptors using fast hessian detector used in SURF Read more
source§

fn apply_4( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut Vector<KeyPoint>, descriptors: &mut Vector<f32>, use_provided_keypoints: bool ) -> Result<()>

C++ default parameters Read more
source§

fn apply_def_2( &mut self, img: &impl GpuMatTraitConst, mask: &impl GpuMatTraitConst, keypoints: &mut Vector<KeyPoint>, descriptors: &mut Vector<f32> ) -> Result<()>

source§

fn release_memory(&mut self) -> Result<()>

source§

impl SURF_CUDATraitConst for 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 SVMSGDTrait for Ptr<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_optimal_parameters_def(&mut self) -> Result<()>

Function sets optimal parameters values for chosen SVM SGD model. Read more
source§

fn set_svmsgd_type(&mut self, svmsgd_type: i32) -> Result<()>

%Algorithm type, one of SVMSGD::SvmsgdType. Read more
source§

fn set_margin_type(&mut self, margin_type: i32) -> Result<()>

%Margin type, one of SVMSGD::MarginType. Read more
source§

fn set_margin_regularization( &mut self, margin_regularization: f32 ) -> Result<()>

Parameter marginRegularization of a %SVMSGD optimization problem. Read more
source§

fn set_initial_step_size(&mut self, initial_step_size: f32) -> Result<()>

Parameter initialStepSize of a %SVMSGD optimization problem. Read more
source§

fn set_step_decreasing_power( &mut self, step_decreasing_power: f32 ) -> Result<()>

Parameter stepDecreasingPower of a %SVMSGD optimization problem. Read more
source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

Termination criteria of the training algorithm. You can specify the maximum number of iterations (maxCount) and/or how much the error could change between the iterations to make the algorithm continue (epsilon). Read more
source§

impl SVMSGDTraitConst for Ptr<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 SVMTrait for Ptr<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: &impl MatTraitConst) -> Result<()>

Optional weights in the SVM::C_SVC problem, assigned to particular classes. They are multiplied by C so the parameter C of class i becomes classWeights(i) * C. Thus these weights affect the misclassification penalty for different classes. The larger weight, the larger penalty on misclassification of data from the corresponding class. Default value is empty Mat. Read more
source§

fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>

Termination criteria of the iterative %SVM training procedure which solves a partial case of constrained quadratic optimization problem. You can specify tolerance and/or the maximum number of iterations. Default value is TermCriteria( TermCriteria::MAX_ITER + TermCriteria::EPS, 1000, FLT_EPSILON ); Read more
source§

fn set_kernel(&mut self, kernel_type: i32) -> Result<()>

Initialize with one of predefined kernels. See SVM::KernelTypes.
source§

fn set_custom_kernel(&mut self, _kernel: &Ptr<SVM_Kernel>) -> Result<()>

Initialize with custom kernel. See SVM::Kernel class for implementation details
source§

fn train_auto( &mut self, data: &Ptr<TrainData>, k_fold: i32, cgrid: impl ParamGridTrait, gamma_grid: impl ParamGridTrait, p_grid: impl ParamGridTrait, nu_grid: impl ParamGridTrait, coeff_grid: impl ParamGridTrait, degree_grid: impl ParamGridTrait, balanced: bool ) -> Result<bool>

Trains an %SVM with optimal parameters. Read more
source§

fn train_auto_def(&mut self, data: &Ptr<TrainData>) -> Result<bool>

Trains an %SVM with optimal parameters. Read more
source§

fn train_auto_with_data( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray, k_fold: i32, cgrid: Ptr<ParamGrid>, gamma_grid: Ptr<ParamGrid>, p_grid: Ptr<ParamGrid>, nu_grid: Ptr<ParamGrid>, coeff_grid: Ptr<ParamGrid>, degree_grid: Ptr<ParamGrid>, balanced: bool ) -> Result<bool>

Trains an %SVM with optimal parameters Read more
source§

fn train_auto_with_data_def( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray ) -> Result<bool>

Trains an %SVM with optimal parameters Read more
source§

impl SVMTraitConst for Ptr<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 impl ToOutputArray, svidx: &mut impl ToOutputArray ) -> Result<f64>

Retrieves the decision function Read more
source§

impl SVM_KernelTrait for Ptr<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_KernelTraitConst for Ptr<SVM_Kernel>

source§

impl SaliencyTrait for Ptr<MotionSaliency>

source§

fn as_raw_mut_Saliency(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
source§

impl SaliencyTrait for Ptr<MotionSaliencyBinWangApr2014>

source§

fn as_raw_mut_Saliency(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
source§

impl SaliencyTrait for Ptr<Objectness>

source§

fn as_raw_mut_Saliency(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
source§

impl SaliencyTrait for Ptr<ObjectnessBING>

source§

fn as_raw_mut_Saliency(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
source§

impl SaliencyTrait for Ptr<Saliency>

source§

fn as_raw_mut_Saliency(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
source§

impl SaliencyTrait for Ptr<StaticSaliency>

source§

fn as_raw_mut_Saliency(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
source§

impl SaliencyTrait for Ptr<StaticSaliencyFineGrained>

source§

fn as_raw_mut_Saliency(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
source§

impl SaliencyTrait for Ptr<StaticSaliencySpectralResidual>

source§

fn as_raw_mut_Saliency(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray ) -> Result<bool>

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
source§

impl SaliencyTraitConst for Ptr<MotionSaliency>

source§

impl SaliencyTraitConst for Ptr<MotionSaliencyBinWangApr2014>

source§

impl SaliencyTraitConst for Ptr<Objectness>

source§

impl SaliencyTraitConst for Ptr<ObjectnessBING>

source§

impl SaliencyTraitConst for Ptr<Saliency>

source§

impl SaliencyTraitConst for Ptr<StaticSaliency>

source§

impl SaliencyTraitConst for Ptr<StaticSaliencyFineGrained>

source§

impl SaliencyTraitConst for Ptr<StaticSaliencySpectralResidual>

source§

impl SavedIndexParamsTrait for Ptr<SavedIndexParams>

source§

impl SavedIndexParamsTraitConst for Ptr<SavedIndexParams>

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 ScanSegmentTrait for Ptr<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: &impl ToInputArray) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the ScanSegment object. Read more
source§

fn get_labels(&mut self, labels_out: &mut impl ToOutputArray) -> Result<()>

Returns the segmentation labeling of the image. Read more
source§

fn get_label_contour_mask( &mut self, image: &mut impl ToOutputArray, thick_line: bool ) -> Result<()>

Returns the mask of the superpixel segmentation stored in the ScanSegment object. Read more
source§

fn get_label_contour_mask_def( &mut self, image: &mut impl ToOutputArray ) -> Result<()>

Returns the mask of the superpixel segmentation stored in the ScanSegment object. Read more
source§

impl ScanSegmentTraitConst for Ptr<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 SelectiveSearchSegmentationStrategyColorTrait for Ptr<SelectiveSearchSegmentationStrategyColor>

source§

impl SelectiveSearchSegmentationStrategyColorTraitConst for Ptr<SelectiveSearchSegmentationStrategyColor>

source§

impl SelectiveSearchSegmentationStrategyFillTrait for Ptr<SelectiveSearchSegmentationStrategyFill>

source§

impl SelectiveSearchSegmentationStrategyFillTraitConst for Ptr<SelectiveSearchSegmentationStrategyFill>

source§

impl SelectiveSearchSegmentationStrategyMultipleTrait for Ptr<SelectiveSearchSegmentationStrategyMultiple>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategyMultiple( &mut self ) -> *mut c_void

source§

fn add_strategy( &mut self, g: Ptr<SelectiveSearchSegmentationStrategy>, weight: f32 ) -> Result<()>

Add a new sub-strategy Read more
source§

fn clear_strategies(&mut self) -> Result<()>

Remove all sub-strategies
source§

impl SelectiveSearchSegmentationStrategyMultipleTraitConst for Ptr<SelectiveSearchSegmentationStrategyMultiple>

source§

impl SelectiveSearchSegmentationStrategySizeTrait for Ptr<SelectiveSearchSegmentationStrategySize>

source§

impl SelectiveSearchSegmentationStrategySizeTraitConst for Ptr<SelectiveSearchSegmentationStrategySize>

source§

impl SelectiveSearchSegmentationStrategyTextureTrait for Ptr<SelectiveSearchSegmentationStrategyTexture>

source§

impl SelectiveSearchSegmentationStrategyTextureTraitConst for Ptr<SelectiveSearchSegmentationStrategyTexture>

source§

impl SelectiveSearchSegmentationStrategyTrait for Ptr<SelectiveSearchSegmentationStrategy>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void

source§

fn set_image( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, image_id: i32 ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn set_image_def( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
source§

impl SelectiveSearchSegmentationStrategyTrait for Ptr<SelectiveSearchSegmentationStrategyColor>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void

source§

fn set_image( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, image_id: i32 ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn set_image_def( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
source§

impl SelectiveSearchSegmentationStrategyTrait for Ptr<SelectiveSearchSegmentationStrategyFill>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void

source§

fn set_image( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, image_id: i32 ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn set_image_def( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
source§

impl SelectiveSearchSegmentationStrategyTrait for Ptr<SelectiveSearchSegmentationStrategyMultiple>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void

source§

fn set_image( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, image_id: i32 ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn set_image_def( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
source§

impl SelectiveSearchSegmentationStrategyTrait for Ptr<SelectiveSearchSegmentationStrategySize>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void

source§

fn set_image( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, image_id: i32 ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn set_image_def( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
source§

impl SelectiveSearchSegmentationStrategyTrait for Ptr<SelectiveSearchSegmentationStrategyTexture>

source§

fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void

source§

fn set_image( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray, image_id: i32 ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn set_image_def( &mut self, img: &impl ToInputArray, regions: &impl ToInputArray, sizes: &impl ToInputArray ) -> Result<()>

Set a initial image, with a segmentation. Read more
source§

fn get(&mut self, r1: i32, r2: i32) -> Result<f32>

Return the score between two regions (between 0 and 1) Read more
source§

fn merge(&mut self, r1: i32, r2: i32) -> Result<()>

Inform the strategy that two regions will be merged Read more
source§

impl SelectiveSearchSegmentationStrategyTraitConst for Ptr<SelectiveSearchSegmentationStrategy>

source§

impl SelectiveSearchSegmentationStrategyTraitConst for Ptr<SelectiveSearchSegmentationStrategyColor>

source§

impl SelectiveSearchSegmentationStrategyTraitConst for Ptr<SelectiveSearchSegmentationStrategyFill>

source§

impl SelectiveSearchSegmentationStrategyTraitConst for Ptr<SelectiveSearchSegmentationStrategyMultiple>

source§

impl SelectiveSearchSegmentationStrategyTraitConst for Ptr<SelectiveSearchSegmentationStrategySize>

source§

impl SelectiveSearchSegmentationStrategyTraitConst for Ptr<SelectiveSearchSegmentationStrategyTexture>

source§

impl SelectiveSearchSegmentationTrait for Ptr<SelectiveSearchSegmentation>

source§

fn as_raw_mut_SelectiveSearchSegmentation(&mut self) -> *mut c_void

source§

fn set_base_image(&mut self, img: &impl ToInputArray) -> Result<()>

Set a image used by switch* functions to initialize the class Read more
source§

fn switch_to_single_strategy(&mut self, k: i32, sigma: f32) -> Result<()>

Initialize the class with the ‘Single stragegy’ parameters describled in uijlings2013selective. Read more
source§

fn switch_to_single_strategy_def(&mut self) -> Result<()>

Initialize the class with the ‘Single stragegy’ parameters describled in uijlings2013selective. Read more
source§

fn switch_to_selective_search_fast( &mut self, base_k: i32, inc_k: i32, sigma: f32 ) -> Result<()>

Initialize the class with the ‘Selective search fast’ parameters describled in uijlings2013selective. Read more
source§

fn switch_to_selective_search_fast_def(&mut self) -> Result<()>

Initialize the class with the ‘Selective search fast’ parameters describled in uijlings2013selective. Read more
source§

fn switch_to_selective_search_quality( &mut self, base_k: i32, inc_k: i32, sigma: f32 ) -> Result<()>

Initialize the class with the ‘Selective search fast’ parameters describled in uijlings2013selective. Read more
source§

fn switch_to_selective_search_quality_def(&mut self) -> Result<()>

Initialize the class with the ‘Selective search fast’ parameters describled in uijlings2013selective. Read more
source§

fn add_image(&mut self, img: &impl ToInputArray) -> Result<()>

Add a new image in the list of images to process. Read more
source§

fn clear_images(&mut self) -> Result<()>

Clear the list of images to process
source§

fn add_graph_segmentation(&mut self, g: Ptr<GraphSegmentation>) -> Result<()>

Add a new graph segmentation in the list of graph segementations to process. Read more
source§

fn clear_graph_segmentations(&mut self) -> Result<()>

Clear the list of graph segmentations to process;
source§

fn add_strategy( &mut self, s: Ptr<SelectiveSearchSegmentationStrategy> ) -> Result<()>

Add a new strategy in the list of strategy to process. Read more
source§

fn clear_strategies(&mut self) -> Result<()>

Clear the list of strategy to process;
source§

fn process(&mut self, rects: &mut Vector<Rect>) -> Result<()>

Based on all images, graph segmentations and stragies, computes all possible rects and return them Read more
source§

impl SelectiveSearchSegmentationTraitConst for Ptr<SelectiveSearchSegmentation>

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 ShapeContextDistanceExtractorTrait for Ptr<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: &impl ToInputArray, image2: &impl ToInputArray ) -> Result<()>

Set the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost. Read more
source§

fn set_iterations(&mut self, iterations: i32) -> Result<()>

source§

fn set_cost_extractor( &mut self, comparer: Ptr<HistogramCostExtractor> ) -> Result<()>

Set the algorithm used for building the shape context descriptor cost matrix. Read more
source§

fn set_std_dev(&mut self, sigma: f32) -> Result<()>

Set the value of the standard deviation for the Gaussian window for the image appearance cost. Read more
source§

fn set_transform_algorithm( &mut self, transformer: Ptr<ShapeTransformer> ) -> Result<()>

Set the algorithm used for aligning the shapes. Read more
source§

impl ShapeContextDistanceExtractorTraitConst for Ptr<ShapeContextDistanceExtractor>

source§

impl ShapeDistanceExtractorTrait for Ptr<HausdorffDistanceExtractor>

source§

fn as_raw_mut_ShapeDistanceExtractor(&mut self) -> *mut c_void

source§

fn compute_distance( &mut self, contour1: &impl ToInputArray, contour2: &impl ToInputArray ) -> Result<f32>

Compute the shape distance between two shapes defined by its contours. Read more
source§

impl ShapeDistanceExtractorTrait for Ptr<ShapeContextDistanceExtractor>

source§

fn as_raw_mut_ShapeDistanceExtractor(&mut self) -> *mut c_void

source§

fn compute_distance( &mut self, contour1: &impl ToInputArray, contour2: &impl ToInputArray ) -> Result<f32>

Compute the shape distance between two shapes defined by its contours. Read more
source§

impl ShapeDistanceExtractorTrait for Ptr<ShapeDistanceExtractor>

source§

fn as_raw_mut_ShapeDistanceExtractor(&mut self) -> *mut c_void

source§

fn compute_distance( &mut self, contour1: &impl ToInputArray, contour2: &impl ToInputArray ) -> Result<f32>

Compute the shape distance between two shapes defined by its contours. Read more
source§

impl ShapeDistanceExtractorTraitConst for Ptr<HausdorffDistanceExtractor>

source§

impl ShapeDistanceExtractorTraitConst for Ptr<ShapeContextDistanceExtractor>

source§

impl ShapeDistanceExtractorTraitConst for Ptr<ShapeDistanceExtractor>

source§

impl ShapeTransformerTrait for Ptr<AffineTransformer>

source§

fn as_raw_mut_ShapeTransformer(&mut self) -> *mut c_void

source§

fn estimate_transformation( &mut self, transforming_shape: &impl ToInputArray, target_shape: &impl ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more
source§

fn apply_transformation( &mut self, input: &impl ToInputArray, output: &mut impl ToOutputArray ) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
source§

fn apply_transformation_def(&mut self, input: &impl ToInputArray) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
source§

impl ShapeTransformerTrait for Ptr<ShapeTransformer>

source§

fn as_raw_mut_ShapeTransformer(&mut self) -> *mut c_void

source§

fn estimate_transformation( &mut self, transforming_shape: &impl ToInputArray, target_shape: &impl ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more
source§

fn apply_transformation( &mut self, input: &impl ToInputArray, output: &mut impl ToOutputArray ) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
source§

fn apply_transformation_def(&mut self, input: &impl ToInputArray) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
source§

impl ShapeTransformerTrait for Ptr<ThinPlateSplineShapeTransformer>

source§

fn as_raw_mut_ShapeTransformer(&mut self) -> *mut c_void

source§

fn estimate_transformation( &mut self, transforming_shape: &impl ToInputArray, target_shape: &impl ToInputArray, matches: &mut Vector<DMatch> ) -> Result<()>

Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more
source§

fn apply_transformation( &mut self, input: &impl ToInputArray, output: &mut impl ToOutputArray ) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
source§

fn apply_transformation_def(&mut self, input: &impl ToInputArray) -> Result<f32>

Apply a transformation, given a pre-estimated transformation parameters. Read more
source§

impl ShapeTransformerTraitConst for Ptr<AffineTransformer>

source§

fn as_raw_ShapeTransformer(&self) -> *const c_void

source§

fn warp_image( &self, transforming_image: &impl ToInputArray, output: &mut impl ToOutputArray, flags: i32, border_mode: i32, border_value: Scalar ) -> Result<()>

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
source§

fn warp_image_def( &self, transforming_image: &impl ToInputArray, output: &mut impl ToOutputArray ) -> Result<()>

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
source§

impl ShapeTransformerTraitConst for Ptr<ShapeTransformer>

source§

fn as_raw_ShapeTransformer(&self) -> *const c_void

source§

fn warp_image( &self, transforming_image: &impl ToInputArray, output: &mut impl ToOutputArray, flags: i32, border_mode: i32, border_value: Scalar ) -> Result<()>

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
source§

fn warp_image_def( &self, transforming_image: &impl ToInputArray, output: &mut impl ToOutputArray ) -> Result<()>

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
source§

impl ShapeTransformerTraitConst for Ptr<ThinPlateSplineShapeTransformer>

source§

fn as_raw_ShapeTransformer(&self) -> *const c_void

source§

fn warp_image( &self, transforming_image: &impl ToInputArray, output: &mut impl ToOutputArray, flags: i32, border_mode: i32, border_value: Scalar ) -> Result<()>

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
source§

fn warp_image_def( &self, transforming_image: &impl ToInputArray, output: &mut impl ToOutputArray ) -> Result<()>

Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
source§

impl ShiftLayerInt8Trait for Ptr<ShiftLayerInt8>

source§

impl ShiftLayerInt8TraitConst for Ptr<ShiftLayerInt8>

source§

impl ShiftLayerTrait for Ptr<ShiftLayer>

source§

impl ShiftLayerTraitConst for Ptr<ShiftLayer>

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 ShuffleChannelLayerTrait for Ptr<ShuffleChannelLayer>

source§

impl ShuffleChannelLayerTraitConst for Ptr<ShuffleChannelLayer>

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 SimpleBlobDetectorTrait for Ptr<SimpleBlobDetector>

source§

impl SimpleBlobDetectorTraitConst for Ptr<SimpleBlobDetector>

source§

impl SimpleWBTrait for Ptr<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 SimpleWBTraitConst for Ptr<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 SinusoidalPatternTrait for Ptr<SinusoidalPattern>

source§

fn as_raw_mut_SinusoidalPattern(&mut self) -> *mut c_void

source§

fn compute_phase_map( &mut self, pattern_images: &impl ToInputArray, wrapped_phase_map: &mut impl ToOutputArray, shadow_mask: &mut impl ToOutputArray, fundamental: &impl ToInputArray ) -> Result<()>

Compute a wrapped phase map from sinusoidal patterns. Read more
source§

fn compute_phase_map_def( &mut self, pattern_images: &impl ToInputArray, wrapped_phase_map: &mut impl ToOutputArray ) -> Result<()>

Compute a wrapped phase map from sinusoidal patterns. Read more
source§

fn unwrap_phase_map( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray, cam_size: Size, shadow_mask: &impl ToInputArray ) -> Result<()>

Unwrap the wrapped phase map to remove phase ambiguities. Read more
source§

fn unwrap_phase_map_def( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray, cam_size: Size ) -> Result<()>

Unwrap the wrapped phase map to remove phase ambiguities. Read more
source§

fn find_pro_cam_matches( &mut self, proj_unwrapped_phase_map: &impl ToInputArray, cam_unwrapped_phase_map: &impl ToInputArray, matches: &mut impl ToOutputArray ) -> Result<()>

Find correspondences between the two devices thanks to unwrapped phase maps. Read more
source§

fn compute_data_modulation_term( &mut self, pattern_images: &impl ToInputArray, data_modulation_term: &mut impl ToOutputArray, shadow_mask: &impl ToInputArray ) -> Result<()>

compute the data modulation term. Read more
source§

impl SinusoidalPatternTraitConst for Ptr<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 SparseMatchInterpolatorTrait for Ptr<EdgeAwareInterpolator>

source§

fn as_raw_mut_SparseMatchInterpolator(&mut self) -> *mut c_void

source§

fn interpolate( &mut self, from_image: &impl ToInputArray, from_points: &impl ToInputArray, to_image: &impl ToInputArray, to_points: &impl ToInputArray, dense_flow: &mut impl ToOutputArray ) -> Result<()>

Interpolate input sparse matches. Read more
source§

impl SparseMatchInterpolatorTrait for Ptr<RICInterpolator>

source§

fn as_raw_mut_SparseMatchInterpolator(&mut self) -> *mut c_void

source§

fn interpolate( &mut self, from_image: &impl ToInputArray, from_points: &impl ToInputArray, to_image: &impl ToInputArray, to_points: &impl ToInputArray, dense_flow: &mut impl ToOutputArray ) -> Result<()>

Interpolate input sparse matches. Read more
source§

impl SparseMatchInterpolatorTrait for Ptr<SparseMatchInterpolator>

source§

fn as_raw_mut_SparseMatchInterpolator(&mut self) -> *mut c_void

source§

fn interpolate( &mut self, from_image: &impl ToInputArray, from_points: &impl ToInputArray, to_image: &impl ToInputArray, to_points: &impl ToInputArray, dense_flow: &mut impl ToOutputArray ) -> Result<()>

Interpolate input sparse matches. Read more
source§

impl SparseMatchInterpolatorTraitConst for Ptr<EdgeAwareInterpolator>

source§

impl SparseMatchInterpolatorTraitConst for Ptr<RICInterpolator>

source§

impl SparseMatchInterpolatorTraitConst for Ptr<SparseMatchInterpolator>

source§

impl SparseOpticalFlowTrait for Ptr<SparseOpticalFlow>

source§

fn as_raw_mut_SparseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, err: &mut impl ToOutputArray ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

fn calc_def( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

impl SparseOpticalFlowTrait for Ptr<SparsePyrLKOpticalFlow>

source§

fn as_raw_mut_SparseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, err: &mut impl ToOutputArray ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

fn calc_def( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

impl SparseOpticalFlowTrait for Ptr<SparseRLOFOpticalFlow>

source§

fn as_raw_mut_SparseOpticalFlow(&mut self) -> *mut c_void

source§

fn calc( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, err: &mut impl ToOutputArray ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

fn calc_def( &mut self, prev_img: &impl ToInputArray, next_img: &impl ToInputArray, prev_pts: &impl ToInputArray, next_pts: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray ) -> Result<()>

Calculates a sparse optical flow. Read more
source§

impl SparseOpticalFlowTraitConst for Ptr<SparseOpticalFlow>

source§

impl SparseOpticalFlowTraitConst for Ptr<SparsePyrLKOpticalFlow>

source§

impl SparseOpticalFlowTraitConst for Ptr<SparseRLOFOpticalFlow>

source§

impl SparsePyrLKOpticalFlowTrait for Ptr<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 SparsePyrLKOpticalFlowTraitConst for Ptr<SparsePyrLKOpticalFlow>

source§

impl SparsePyrLkOptFlowEstimatorGpuTrait for Ptr<SparsePyrLkOptFlowEstimatorGpu>

source§

fn as_raw_mut_SparsePyrLkOptFlowEstimatorGpu(&mut self) -> *mut c_void

source§

fn run( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, points0: &impl ToInputArray, points1: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, errors: &mut impl ToOutputArray ) -> Result<()>

source§

fn run_1( &mut self, frame0: &impl GpuMatTraitConst, frame1: &impl GpuMatTraitConst, points0: &impl GpuMatTraitConst, points1: &mut impl GpuMatTrait, status: &mut impl GpuMatTrait, errors: &mut impl GpuMatTrait ) -> Result<()>

source§

fn run_2( &mut self, frame0: &impl GpuMatTraitConst, frame1: &impl GpuMatTraitConst, points0: &impl GpuMatTraitConst, points1: &mut impl GpuMatTrait, status: &mut impl GpuMatTrait ) -> Result<()>

source§

impl SparsePyrLkOptFlowEstimatorGpuTraitConst for 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: &impl ToInputArray, frame1: &impl ToInputArray, points0: &impl ToInputArray, points1: &mut impl ToInputOutputArray, status: &mut impl ToOutputArray, errors: &mut impl ToOutputArray ) -> Result<()>

source§

impl SparsePyrLkOptFlowEstimatorTraitConst for Ptr<SparsePyrLkOptFlowEstimator>

source§

impl SparseRLOFOpticalFlowTrait for Ptr<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 SparseRLOFOpticalFlowTraitConst for Ptr<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. * 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 StabilizerBaseTrait for Ptr<OnePassStabilizer>

source§

impl StabilizerBaseTrait for Ptr<StabilizerBase>

source§

impl StabilizerBaseTrait for Ptr<TwoPassStabilizer>

source§

impl StabilizerBaseTraitConst for Ptr<OnePassStabilizer>

source§

impl StabilizerBaseTraitConst for Ptr<StabilizerBase>

source§

impl StabilizerBaseTraitConst 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§

fn get_results_def(&self) -> Result<Vector<Tuple<(i32, f64)>>>

Return results as vector Read more
source§

impl StarDetectorTrait for Ptr<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 StarDetectorTraitConst for Ptr<StarDetector>

source§

impl StatModelTrait for Ptr<ANN_MLP>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModelTrait for Ptr<Boost>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModelTrait for Ptr<DTrees>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModelTrait for Ptr<EM>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModelTrait for Ptr<KNearest>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModelTrait for Ptr<LogisticRegression>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModelTrait for Ptr<NormalBayesClassifier>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModelTrait for Ptr<RTrees>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModelTrait for Ptr<SVM>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModelTrait for Ptr<SVMSGD>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModelTrait for Ptr<StatModel>

source§

fn as_raw_mut_StatModel(&mut self) -> *mut c_void

source§

fn train_with_data( &mut self, train_data: &Ptr<TrainData>, flags: i32 ) -> Result<bool>

Trains the statistical model Read more
source§

fn train_with_data_def(&mut self, train_data: &Ptr<TrainData>) -> Result<bool>

Trains the statistical model Read more
source§

fn train( &mut self, samples: &impl ToInputArray, layout: i32, responses: &impl ToInputArray ) -> Result<bool>

Trains the statistical model Read more
source§

impl StatModelTraitConst for Ptr<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<TrainData>, test: bool, resp: &mut impl ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelTraitConst for Ptr<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<TrainData>, test: bool, resp: &mut impl ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelTraitConst for Ptr<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<TrainData>, test: bool, resp: &mut impl ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelTraitConst for Ptr<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<TrainData>, test: bool, resp: &mut impl ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelTraitConst for Ptr<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<TrainData>, test: bool, resp: &mut impl ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelTraitConst for Ptr<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<TrainData>, test: bool, resp: &mut impl ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelTraitConst for Ptr<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<TrainData>, test: bool, resp: &mut impl ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelTraitConst for Ptr<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<TrainData>, test: bool, resp: &mut impl ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelTraitConst for Ptr<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<TrainData>, test: bool, resp: &mut impl ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelTraitConst for Ptr<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<TrainData>, test: bool, resp: &mut impl ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StatModelTraitConst for Ptr<StatModel>

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<TrainData>, test: bool, resp: &mut impl ToOutputArray ) -> Result<f32>

Computes error on the training or test dataset Read more
source§

fn predict( &self, samples: &impl ToInputArray, results: &mut impl ToOutputArray, flags: i32 ) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

fn predict_def(&self, samples: &impl ToInputArray) -> Result<f32>

Predicts response(s) for the provided sample(s) Read more
source§

impl StaticSaliencyFineGrainedTrait for Ptr<StaticSaliencyFineGrained>

source§

fn as_raw_mut_StaticSaliencyFineGrained(&mut self) -> *mut c_void

source§

fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl 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: &impl ToInputArray, saliency_map: &mut impl ToOutputArray ) -> Result<bool>

source§

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

source§

fn set_image_width(&mut self, val: i32) -> Result<()>

source§

fn set_image_height(&mut self, val: i32) -> Result<()>

source§

impl StaticSaliencySpectralResidualTraitConst for Ptr<StaticSaliencySpectralResidual>

source§

impl StaticSaliencyTrait for Ptr<StaticSaliency>

source§

fn as_raw_mut_StaticSaliency(&mut self) -> *mut c_void

source§

fn compute_binary_map( &mut self, _saliency_map: &impl ToInputArray, _binary_map: &mut impl ToOutputArray ) -> Result<bool>

This function perform a binary map of given saliency map. This is obtained in this way: Read more
source§

impl StaticSaliencyTrait for Ptr<StaticSaliencyFineGrained>

source§

fn as_raw_mut_StaticSaliency(&mut self) -> *mut c_void

source§

fn compute_binary_map( &mut self, _saliency_map: &impl ToInputArray, _binary_map: &mut impl ToOutputArray ) -> Result<bool>

This function perform a binary map of given saliency map. This is obtained in this way: Read more
source§

impl StaticSaliencyTrait for Ptr<StaticSaliencySpectralResidual>

source§

fn as_raw_mut_StaticSaliency(&mut self) -> *mut c_void

source§

fn compute_binary_map( &mut self, _saliency_map: &impl ToInputArray, _binary_map: &mut impl ToOutputArray ) -> Result<bool>

This function perform a binary map of given saliency map. This is obtained in this way: Read more
source§

impl StaticSaliencyTraitConst for Ptr<StaticSaliency>

source§

impl StaticSaliencyTraitConst for Ptr<StaticSaliencyFineGrained>

source§

impl StaticSaliencyTraitConst for Ptr<StaticSaliencySpectralResidual>

source§

impl StereoBMTrait for Ptr<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 StereoBMTrait for Ptr<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 StereoBMTraitConst for Ptr<CUDA_StereoBM>

source§

impl StereoBMTraitConst for Ptr<StereoBM>

source§

impl StereoMatcherTrait for Ptr<CUDA_StereoBM>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcherTrait for Ptr<CUDA_StereoBeliefPropagation>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcherTrait for Ptr<CUDA_StereoConstantSpaceBP>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcherTrait for Ptr<CUDA_StereoSGM>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcherTrait for Ptr<StereoBM>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcherTrait for Ptr<StereoMatcher>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcherTrait for Ptr<StereoSGBM>

source§

fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void

source§

fn compute( &mut self, left: &impl ToInputArray, right: &impl ToInputArray, disparity: &mut impl ToOutputArray ) -> Result<()>

Computes disparity map for the specified stereo pair Read more
source§

fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>

source§

fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>

source§

fn set_block_size(&mut self, block_size: i32) -> Result<()>

source§

fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>

source§

fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>

source§

fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>

source§

impl StereoMatcherTraitConst for Ptr<CUDA_StereoBM>

source§

impl StereoMatcherTraitConst for Ptr<CUDA_StereoBeliefPropagation>

source§

impl StereoMatcherTraitConst for Ptr<CUDA_StereoConstantSpaceBP>

source§

impl StereoMatcherTraitConst for Ptr<CUDA_StereoSGM>

source§

impl StereoMatcherTraitConst for Ptr<StereoBM>

source§

impl StereoMatcherTraitConst for Ptr<StereoMatcher>

source§

impl StereoMatcherTraitConst for Ptr<StereoSGBM>

source§

impl StereoSGBMTrait for Ptr<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 StereoSGBMTrait for Ptr<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 StereoSGBMTraitConst for Ptr<CUDA_StereoSGM>

source§

impl StereoSGBMTraitConst for Ptr<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<Detail_FeaturesMatcher>>

source§

fn set_features_matcher( &mut self, features_matcher: Ptr<Detail_FeaturesMatcher> ) -> Result<()>

source§

fn set_matching_mask(&mut self, mask: &impl UMatTraitConst) -> Result<()>

source§

fn bundle_adjuster_1(&mut self) -> Result<Ptr<Detail_BundleAdjusterBase>>

source§

fn set_bundle_adjuster( &mut self, bundle_adjuster: Ptr<Detail_BundleAdjusterBase> ) -> Result<()>

source§

fn estimator_1(&mut self) -> Result<Ptr<Detail_Estimator>>

source§

fn set_estimator(&mut self, estimator: Ptr<Detail_Estimator>) -> Result<()>

source§

fn warper_1(&mut self) -> Result<Ptr<WarperCreator>>

source§

fn set_warper(&mut self, creator: Ptr<WarperCreator>) -> Result<()>

source§

fn exposure_compensator_1(&mut self) -> Result<Ptr<Detail_ExposureCompensator>>

source§

fn set_exposure_compensator( &mut self, exposure_comp: Ptr<Detail_ExposureCompensator> ) -> Result<()>

source§

fn seam_finder_1(&mut self) -> Result<Ptr<Detail_SeamFinder>>

source§

fn set_seam_finder(&mut self, seam_finder: Ptr<Detail_SeamFinder>) -> Result<()>

source§

fn blender_1(&mut self) -> Result<Ptr<Detail_Blender>>

source§

fn set_blender(&mut self, b: Ptr<Detail_Blender>) -> Result<()>

source§

fn estimate_transform( &mut self, images: &impl ToInputArray, masks: &impl ToInputArray ) -> Result<Stitcher_Status>

These functions try to match the given images and to estimate rotations of each camera. Read more
source§

fn estimate_transform_def( &mut self, images: &impl ToInputArray ) -> Result<Stitcher_Status>

These functions try to match the given images and to estimate rotations of each camera. Read more
source§

fn set_transform( &mut self, images: &impl ToInputArray, cameras: &Vector<Detail_CameraParams>, component: &Vector<i32> ) -> Result<Stitcher_Status>

These function restors camera rotation and camera intrinsics of each camera that can be got with Stitcher::cameras call Read more
source§

fn set_transform_1( &mut self, images: &impl ToInputArray, cameras: &Vector<Detail_CameraParams> ) -> Result<Stitcher_Status>

These function restors camera rotation and camera intrinsics of each camera that can be got with Stitcher::cameras call Read more
source§

fn compose_panorama( &mut self, pano: &mut impl ToOutputArray ) -> Result<Stitcher_Status>

These functions try to compose the given images (or images stored internally from the other function calls) into the final pano under the assumption that the image transformations were estimated before. Read more
source§

fn compose_panorama_images( &mut self, images: &impl ToInputArray, pano: &mut impl ToOutputArray ) -> Result<Stitcher_Status>

These functions try to compose the given images (or images stored internally from the other function calls) into the final pano under the assumption that the image transformations were estimated before. Read more
source§

fn stitch( &mut self, images: &impl ToInputArray, pano: &mut impl ToOutputArray ) -> Result<Stitcher_Status>

These functions try to stitch the given images. Read more
source§

fn stitch_mask( &mut self, images: &impl ToInputArray, masks: &impl ToInputArray, pano: &mut impl ToOutputArray ) -> Result<Stitcher_Status>

These functions try to stitch the given images. Read more
source§

impl StitcherTraitConst for Ptr<Stitcher>

source§

impl StructuredEdgeDetectionTrait for Ptr<StructuredEdgeDetection>

source§

impl StructuredEdgeDetectionTraitConst for Ptr<StructuredEdgeDetection>

source§

fn as_raw_StructuredEdgeDetection(&self) -> *const c_void

source§

fn detect_edges( &self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

The function detects edges in src and draw them to dst. Read more
source§

fn compute_orientation( &self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

The function computes orientation from edge image. Read more
source§

fn edges_nms( &self, edge_image: &impl ToInputArray, orientation_image: &impl ToInputArray, dst: &mut impl ToOutputArray, r: i32, s: i32, m: f32, is_parallel: bool ) -> Result<()>

The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction. Read more
source§

fn edges_nms_def( &self, edge_image: &impl ToInputArray, orientation_image: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction. Read more
source§

impl StructuredLightPatternTrait for Ptr<GrayCodePattern>

source§

fn as_raw_mut_StructuredLightPattern(&mut self) -> *mut c_void

source§

fn generate(&mut self, pattern_images: &mut impl ToOutputArray) -> Result<bool>

Generates the structured light pattern to project. Read more
source§

impl StructuredLightPatternTrait for Ptr<SinusoidalPattern>

source§

fn as_raw_mut_StructuredLightPattern(&mut self) -> *mut c_void

source§

fn generate(&mut self, pattern_images: &mut impl ToOutputArray) -> Result<bool>

Generates the structured light pattern to project. Read more
source§

impl StructuredLightPatternTrait for Ptr<StructuredLightPattern>

source§

fn as_raw_mut_StructuredLightPattern(&mut self) -> *mut c_void

source§

fn generate(&mut self, pattern_images: &mut impl ToOutputArray) -> Result<bool>

Generates the structured light pattern to project. Read more
source§

impl StructuredLightPatternTraitConst for Ptr<GrayCodePattern>

source§

fn as_raw_StructuredLightPattern(&self) -> *const c_void

source§

fn decode( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut impl ToOutputArray, black_images: &impl ToInputArray, white_images: &impl ToInputArray, flags: i32 ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
source§

fn decode_def( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut impl ToOutputArray ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
source§

impl StructuredLightPatternTraitConst for Ptr<SinusoidalPattern>

source§

fn as_raw_StructuredLightPattern(&self) -> *const c_void

source§

fn decode( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut impl ToOutputArray, black_images: &impl ToInputArray, white_images: &impl ToInputArray, flags: i32 ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
source§

fn decode_def( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut impl ToOutputArray ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
source§

impl StructuredLightPatternTraitConst for Ptr<StructuredLightPattern>

source§

fn as_raw_StructuredLightPattern(&self) -> *const c_void

source§

fn decode( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut impl ToOutputArray, black_images: &impl ToInputArray, white_images: &impl ToInputArray, flags: i32 ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
source§

fn decode_def( &self, pattern_images: &Vector<Vector<Mat>>, disparity_map: &mut impl ToOutputArray ) -> Result<bool>

Decodes the structured light pattern, generating a disparity map Read more
source§

impl SuperRes_BroxOpticalFlowTrait for Ptr<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_BroxOpticalFlowTraitConst for Ptr<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_DenseOpticalFlowExtTrait for Ptr<SuperRes_BroxOpticalFlow>

source§

fn as_raw_mut_SuperRes_DenseOpticalFlowExt(&mut self) -> *mut c_void

source§

fn calc( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, flow2: &mut impl ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn calc_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray ) -> Result<()>

source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl SuperRes_DenseOpticalFlowExtTrait for Ptr<SuperRes_DenseOpticalFlowExt>

source§

fn as_raw_mut_SuperRes_DenseOpticalFlowExt(&mut self) -> *mut c_void

source§

fn calc( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, flow2: &mut impl ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn calc_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray ) -> Result<()>

source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl SuperRes_DenseOpticalFlowExtTrait for Ptr<SuperRes_DualTVL1OpticalFlow>

source§

fn as_raw_mut_SuperRes_DenseOpticalFlowExt(&mut self) -> *mut c_void

source§

fn calc( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, flow2: &mut impl ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn calc_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray ) -> Result<()>

source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl SuperRes_DenseOpticalFlowExtTrait for Ptr<SuperRes_FarnebackOpticalFlow>

source§

fn as_raw_mut_SuperRes_DenseOpticalFlowExt(&mut self) -> *mut c_void

source§

fn calc( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, flow2: &mut impl ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn calc_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray ) -> Result<()>

source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl SuperRes_DenseOpticalFlowExtTrait for Ptr<SuperRes_PyrLKOpticalFlow>

source§

fn as_raw_mut_SuperRes_DenseOpticalFlowExt(&mut self) -> *mut c_void

source§

fn calc( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray, flow2: &mut impl ToOutputArray ) -> Result<()>

C++ default parameters Read more
source§

fn calc_def( &mut self, frame0: &impl ToInputArray, frame1: &impl ToInputArray, flow1: &mut impl ToOutputArray ) -> Result<()>

source§

fn collect_garbage(&mut self) -> Result<()>

source§

impl SuperRes_DenseOpticalFlowExtTraitConst for Ptr<SuperRes_BroxOpticalFlow>

source§

impl SuperRes_DenseOpticalFlowExtTraitConst for Ptr<SuperRes_DenseOpticalFlowExt>

source§

impl SuperRes_DenseOpticalFlowExtTraitConst for Ptr<SuperRes_DualTVL1OpticalFlow>

source§

impl SuperRes_DenseOpticalFlowExtTraitConst for Ptr<SuperRes_FarnebackOpticalFlow>

source§

impl SuperRes_DenseOpticalFlowExtTraitConst for Ptr<SuperRes_PyrLKOpticalFlow>

source§

impl SuperRes_DualTVL1OpticalFlowTrait for Ptr<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_DualTVL1OpticalFlowTraitConst for Ptr<SuperRes_DualTVL1OpticalFlow>

source§

impl SuperRes_FarnebackOpticalFlowTrait for Ptr<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_FarnebackOpticalFlowTraitConst for Ptr<SuperRes_FarnebackOpticalFlow>

source§

impl SuperRes_FrameSourceTrait for Ptr<SuperRes_FrameSource>

source§

fn as_raw_mut_SuperRes_FrameSource(&mut self) -> *mut c_void

source§

fn next_frame(&mut self, frame: &mut impl ToOutputArray) -> Result<()>

source§

fn reset(&mut self) -> Result<()>

source§

impl SuperRes_FrameSourceTrait for Ptr<SuperRes_SuperResolution>

source§

fn as_raw_mut_SuperRes_FrameSource(&mut self) -> *mut c_void

source§

fn next_frame(&mut self, frame: &mut impl ToOutputArray) -> Result<()>

source§

fn reset(&mut self) -> Result<()>

source§

impl SuperRes_FrameSourceTraitConst for Ptr<SuperRes_FrameSource>

source§

impl SuperRes_FrameSourceTraitConst for Ptr<SuperRes_SuperResolution>

source§

impl SuperRes_PyrLKOpticalFlowTrait for Ptr<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_PyrLKOpticalFlowTraitConst for Ptr<SuperRes_PyrLKOpticalFlow>

source§

impl SuperRes_SuperResolutionTrait for Ptr<SuperRes_SuperResolution>

source§

fn as_raw_mut_SuperRes_SuperResolution(&mut self) -> *mut c_void

source§

fn set_input(&mut self, frame_source: &Ptr<SuperRes_FrameSource>) -> Result<()>

Set input frame source for Super Resolution algorithm. Read more
source§

fn next_frame(&mut self, frame: &mut impl ToOutputArray) -> Result<()>

Process next frame from input and return output result. Read more
source§

fn reset(&mut self) -> Result<()>

source§

fn collect_garbage(&mut self) -> Result<()>

Clear all inner buffers.
source§

fn set_scale(&mut self, val: i32) -> Result<()>

Scale factor Read more
source§

fn set_iterations(&mut self, val: i32) -> Result<()>

Iterations count Read more
source§

fn set_tau(&mut self, val: f64) -> Result<()>

Asymptotic value of steepest descent method Read more
source§

fn set_lambda(&mut self, val: f64) -> Result<()>

Weight parameter to balance data term and smoothness term Read more
source§

fn set_alpha(&mut self, val: f64) -> Result<()>

Parameter of spacial distribution in Bilateral-TV Read more
source§

fn set_kernel_size(&mut self, val: i32) -> Result<()>

Kernel size of Bilateral-TV filter Read more
source§

fn set_blur_kernel_size(&mut self, val: i32) -> Result<()>

Gaussian blur kernel size Read more
source§

fn set_blur_sigma(&mut self, val: f64) -> Result<()>

Gaussian blur sigma Read more
source§

fn set_temporal_area_radius(&mut self, val: i32) -> Result<()>

Radius of the temporal search area Read more
source§

fn set_optical_flow( &mut self, val: &Ptr<SuperRes_DenseOpticalFlowExt> ) -> Result<()>

Dense optical flow algorithm Read more
source§

impl SuperRes_SuperResolutionTraitConst for Ptr<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<SuperRes_DenseOpticalFlowExt>>

Dense optical flow algorithm Read more
source§

impl SuperpixelLSCTrait for Ptr<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 iterate_def(&mut self) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelLSC object. Read more
source§

fn enforce_label_connectivity(&mut self, min_element_size: i32) -> Result<()>

Enforce label connectivity. Read more
source§

fn enforce_label_connectivity_def(&mut self) -> Result<()>

Enforce label connectivity. Read more
source§

impl SuperpixelLSCTraitConst for Ptr<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 impl ToOutputArray) -> Result<()>

Returns the segmentation labeling of the image. Read more
source§

fn get_label_contour_mask( &self, image: &mut impl ToOutputArray, thick_line: bool ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelLSC object. Read more
source§

fn get_label_contour_mask_def( &self, image: &mut impl ToOutputArray ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelLSC object. Read more
source§

impl SuperpixelSEEDSTrait for Ptr<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: &impl ToInputArray, num_iterations: i32 ) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelSEEDS object. Read more
source§

fn iterate_def(&mut self, img: &impl ToInputArray) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelSEEDS object. Read more
source§

fn get_labels(&mut self, labels_out: &mut impl ToOutputArray) -> Result<()>

Returns the segmentation labeling of the image. Read more
source§

fn get_label_contour_mask( &mut self, image: &mut impl ToOutputArray, thick_line: bool ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelSEEDS object. Read more
source§

fn get_label_contour_mask_def( &mut self, image: &mut impl ToOutputArray ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelSEEDS object. Read more
source§

impl SuperpixelSEEDSTraitConst for Ptr<SuperpixelSEEDS>

source§

impl SuperpixelSLICTrait for Ptr<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 iterate_def(&mut self) -> Result<()>

Calculates the superpixel segmentation on a given image with the initialized parameters in the SuperpixelSLIC object. Read more
source§

fn enforce_label_connectivity(&mut self, min_element_size: i32) -> Result<()>

Enforce label connectivity. Read more
source§

fn enforce_label_connectivity_def(&mut self) -> Result<()>

Enforce label connectivity. Read more
source§

impl SuperpixelSLICTraitConst for Ptr<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 impl ToOutputArray) -> Result<()>

Returns the segmentation labeling of the image. Read more
source§

fn get_label_contour_mask( &self, image: &mut impl ToOutputArray, thick_line: bool ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelSLIC object. Read more
source§

fn get_label_contour_mask_def( &self, image: &mut impl ToOutputArray ) -> Result<()>

Returns the mask of the superpixel segmentation stored in SuperpixelSLIC object. Read more
source§

impl SwishLayerTrait for 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 impl ToOutputArray, gt_mask: &mut impl ToOutputArray ) -> Result<()>

Obtain the next frame in the sequence. Read more
source§

impl SyntheticSequenceGeneratorTraitConst for Ptr<SyntheticSequenceGenerator>

source§

impl TBMRTrait for Ptr<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 TBMRTraitConst for Ptr<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 TextDetectorCNNTrait for Ptr<TextDetectorCNN>

source§

fn as_raw_mut_TextDetectorCNN(&mut self) -> *mut c_void

source§

fn detect( &mut self, input_image: &impl ToInputArray, bbox: &mut Vector<Rect>, confidence: &mut Vector<f32> ) -> Result<()>

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
source§

impl TextDetectorCNNTraitConst for Ptr<TextDetectorCNN>

source§

impl TextDetectorTrait for Ptr<TextDetector>

source§

fn as_raw_mut_TextDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, input_image: &impl ToInputArray, bbox: &mut Vector<Rect>, confidence: &mut Vector<f32> ) -> Result<()>

Method that provides a quick and simple interface to detect text inside an image Read more
source§

impl TextDetectorTrait for Ptr<TextDetectorCNN>

source§

fn as_raw_mut_TextDetector(&mut self) -> *mut c_void

source§

fn detect( &mut self, input_image: &impl ToInputArray, bbox: &mut Vector<Rect>, confidence: &mut Vector<f32> ) -> Result<()>

Method that provides a quick and simple interface to detect text inside an image Read more
source§

impl TextDetectorTraitConst for Ptr<TextDetector>

source§

impl TextDetectorTraitConst for Ptr<TextDetectorCNN>

source§

impl ThinPlateSplineShapeTransformerTrait for Ptr<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 ThinPlateSplineShapeTransformerTraitConst for Ptr<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: &impl ToInputArray) -> Result<()>

source§

fn estimate( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst, ok: &mut bool ) -> Result<Mat>

C++ default parameters Read more
source§

fn estimate_def( &mut self, frame0: &impl MatTraitConst, frame1: &impl MatTraitConst ) -> Result<Mat>

source§

impl ToFileMotionWriterTraitConst for Ptr<ToFileMotionWriter>

source§

impl TonemapDragoTrait for Ptr<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 TonemapDragoTraitConst for Ptr<TonemapDrago>

source§

impl TonemapDurandTrait for Ptr<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 TonemapDurandTraitConst for Ptr<TonemapDurand>

source§

impl TonemapMantiukTrait for Ptr<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 TonemapMantiukTraitConst for Ptr<TonemapMantiuk>

source§

impl TonemapReinhardTrait for Ptr<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 TonemapReinhardTraitConst for Ptr<TonemapReinhard>

source§

impl TonemapTrait for Ptr<Tonemap>

source§

fn as_raw_mut_Tonemap(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Tonemaps image Read more
source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

source§

impl TonemapTrait for Ptr<TonemapDrago>

source§

fn as_raw_mut_Tonemap(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Tonemaps image Read more
source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

source§

impl TonemapTrait for Ptr<TonemapDurand>

source§

fn as_raw_mut_Tonemap(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Tonemaps image Read more
source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

source§

impl TonemapTrait for Ptr<TonemapMantiuk>

source§

fn as_raw_mut_Tonemap(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Tonemaps image Read more
source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

source§

impl TonemapTrait for Ptr<TonemapReinhard>

source§

fn as_raw_mut_Tonemap(&mut self) -> *mut c_void

source§

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Tonemaps image Read more
source§

fn set_gamma(&mut self, gamma: f32) -> Result<()>

source§

impl TonemapTraitConst for Ptr<Tonemap>

source§

impl TonemapTraitConst for Ptr<TonemapDrago>

source§

impl TonemapTraitConst for Ptr<TonemapDurand>

source§

impl TonemapTraitConst for Ptr<TonemapMantiuk>

source§

impl TonemapTraitConst for Ptr<TonemapReinhard>

source§

impl TrackerCSRTTrait for Ptr<TrackerCSRT>

source§

impl TrackerCSRTTraitConst for Ptr<TrackerCSRT>

source§

impl TrackerDaSiamRPNTrait for Ptr<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 TrackerDaSiamRPNTraitConst for Ptr<TrackerDaSiamRPN>

source§

impl TrackerGOTURNTrait for Ptr<TrackerGOTURN>

source§

impl TrackerGOTURNTraitConst for Ptr<TrackerGOTURN>

source§

impl TrackerKCFTrait for Ptr<TrackerKCF>

source§

impl TrackerKCFTraitConst for Ptr<TrackerKCF>

source§

impl TrackerMILTrait for Ptr<TrackerMIL>

source§

impl TrackerMILTraitConst for Ptr<TrackerMIL>

source§

impl TrackerNanoTrait for Ptr<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 TrackerNanoTraitConst for Ptr<TrackerNano>

source§

impl TrackerTrait for Ptr<Tracker>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl TrackerTrait for Ptr<TrackerCSRT>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl TrackerTrait for Ptr<TrackerDaSiamRPN>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl TrackerTrait for Ptr<TrackerGOTURN>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl TrackerTrait for Ptr<TrackerKCF>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl TrackerTrait for Ptr<TrackerMIL>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl TrackerTrait for Ptr<TrackerNano>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl TrackerTrait for Ptr<TrackerVit>

source§

fn as_raw_mut_Tracker(&mut self) -> *mut c_void

source§

fn init(&mut self, image: &impl ToInputArray, bounding_box: Rect) -> Result<()>

Initialize the tracker with a known bounding box that surrounded the target Read more
source§

fn update( &mut self, image: &impl ToInputArray, bounding_box: &mut Rect ) -> Result<bool>

Update the tracker, find the new most likely bounding box for the target Read more
source§

impl TrackerTraitConst for Ptr<Tracker>

source§

impl TrackerTraitConst for Ptr<TrackerCSRT>

source§

impl TrackerTraitConst for Ptr<TrackerDaSiamRPN>

source§

impl TrackerTraitConst for Ptr<TrackerGOTURN>

source§

impl TrackerTraitConst for Ptr<TrackerKCF>

source§

impl TrackerTraitConst for Ptr<TrackerMIL>

source§

impl TrackerTraitConst for Ptr<TrackerNano>

source§

impl TrackerTraitConst for Ptr<TrackerVit>

source§

impl TrackerVitTrait for Ptr<TrackerVit>

source§

fn as_raw_mut_TrackerVit(&mut self) -> *mut c_void

source§

fn get_tracking_score(&mut self) -> Result<f32>

Return tracking score
source§

impl TrackerVitTraitConst for Ptr<TrackerVit>

source§

impl TrainDataTrait for Ptr<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_def(&mut self, count: i32) -> Result<()>

Splits the training data into the training and test parts Read more
source§

fn set_train_test_split_ratio( &mut self, ratio: f64, shuffle: bool ) -> Result<()>

Splits the training data into the training and test parts Read more
source§

fn set_train_test_split_ratio_def(&mut self, ratio: f64) -> Result<()>

Splits the training data into the training and test parts Read more
source§

fn shuffle_train_test(&mut self) -> Result<()>

source§

impl TrainDataTraitConst for Ptr<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: &impl ToInputArray, sidx: i32, buf: &mut f32 ) -> Result<()>

source§

fn get_samples(&self) -> Result<Mat>

source§

fn get_missing(&self) -> Result<Mat>

source§

fn get_train_samples( &self, layout: i32, compress_samples: bool, compress_vars: bool ) -> Result<Mat>

Returns matrix of train samples Read more
source§

fn get_train_samples_def(&self) -> Result<Mat>

Returns matrix of train samples Read more
source§

fn get_train_responses(&self) -> Result<Mat>

Returns the vector of responses Read more
source§

fn get_train_norm_cat_responses(&self) -> Result<Mat>

Returns the vector of normalized categorical responses Read more
source§

fn get_test_responses(&self) -> Result<Mat>

source§

fn get_test_norm_cat_responses(&self) -> Result<Mat>

source§

fn get_responses(&self) -> Result<Mat>

source§

fn get_norm_cat_responses(&self) -> Result<Mat>

source§

fn get_sample_weights(&self) -> Result<Mat>

source§

fn get_train_sample_weights(&self) -> Result<Mat>

source§

fn get_test_sample_weights(&self) -> Result<Mat>

source§

fn get_var_idx(&self) -> Result<Mat>

source§

fn get_var_type(&self) -> Result<Mat>

source§

fn get_var_symbol_flags(&self) -> Result<Mat>

source§

fn get_response_type(&self) -> Result<i32>

source§

fn get_train_sample_idx(&self) -> Result<Mat>

source§

fn get_test_sample_idx(&self) -> Result<Mat>

source§

fn get_values( &self, vi: i32, sidx: &impl ToInputArray, values: &mut f32 ) -> Result<()>

source§

fn get_norm_cat_values( &self, vi: i32, sidx: &impl ToInputArray, values: &mut i32 ) -> Result<()>

source§

fn get_default_subst_values(&self) -> Result<Mat>

source§

fn get_cat_count(&self, vi: i32) -> Result<i32>

source§

fn get_class_labels(&self) -> Result<Mat>

Returns the vector of class labels Read more
source§

fn get_cat_ofs(&self) -> Result<Mat>

source§

fn get_cat_map(&self) -> Result<Mat>

source§

fn get_test_samples(&self) -> Result<Mat>

Returns matrix of test samples
source§

fn get_names(&self, names: &mut Vector<String>) -> Result<()>

Returns vector of symbolic names captured in loadFromCSV()
source§

impl TransientAreasSegmentationModuleTrait for Ptr<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_file_def(&mut self) -> Result<()>

try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
source§

fn setup_from_storage( &mut self, fs: &mut impl FileStorageTrait, apply_default_setup_on_failure: bool ) -> Result<()>

try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
source§

fn setup_from_storage_def( &mut self, fs: &mut impl FileStorageTrait ) -> Result<()>

try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
source§

fn setup(&mut self, new_parameters: SegmentationParameters) -> Result<()>

try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
source§

fn get_parameters(&mut self) -> Result<SegmentationParameters>

return the current parameters setup
source§

fn print_setup(&mut self) -> Result<String>

parameters setup display method Read more
source§

fn run( &mut self, input_to_segment: &impl ToInputArray, channel_index: i32 ) -> Result<()>

main processing method, get result using methods getSegmentationPicture() Read more
source§

fn run_def(&mut self, input_to_segment: &impl ToInputArray) -> Result<()>

main processing method, get result using methods getSegmentationPicture() Read more
source§

fn get_segmentation_picture( &mut self, transient_areas: &mut impl ToOutputArray ) -> Result<()>

access function return the last segmentation result: a boolean picture which is resampled between 0 and 255 for a display purpose
source§

fn clear_all_buffers(&mut self) -> Result<()>

cleans all the buffers of the instance
source§

impl TransientAreasSegmentationModuleTraitConst for Ptr<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 impl FileStorageTrait) -> 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: impl RansacParamsTrait) -> Result<()>

source§

fn process( &mut self, frame_size: Size, points0: &impl ToInputArray, points1: &impl ToInputArray, mask: &mut impl ToOutputArray ) -> Result<()>

source§

impl TranslationBasedLocalOutlierRejectorTraitConst for 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 VGGTrait for Ptr<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 VGGTraitConst for Ptr<VGG>

source§

impl VariationalRefinementTrait for Ptr<VariationalRefinement>

source§

fn as_raw_mut_VariationalRefinement(&mut self) -> *mut c_void

source§

fn calc_uv( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow_u: &mut impl ToInputOutputArray, flow_v: &mut impl ToInputOutputArray ) -> Result<()>

[calc] function overload to handle separate horizontal (u) and vertical (v) flow components (to avoid extra splits/merges)
source§

fn set_fixed_point_iterations(&mut self, val: i32) -> Result<()>

Number of outer (fixed-point) iterations in the minimization procedure. Read more
source§

fn set_sor_iterations(&mut self, val: i32) -> Result<()>

Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve the respective linear system. Read more
source§

fn set_omega(&mut self, val: f32) -> Result<()>

Relaxation factor in SOR Read more
source§

fn set_alpha(&mut self, val: f32) -> Result<()>

Weight of the smoothness term Read more
source§

fn set_delta(&mut self, val: f32) -> Result<()>

Weight of the color constancy term Read more
source§

fn set_gamma(&mut self, val: f32) -> Result<()>

Weight of the gradient constancy term Read more
source§

impl VariationalRefinementTraitConst for Ptr<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 WBDetectorTrait for Ptr<WBDetector>

source§

fn as_raw_mut_WBDetector(&mut self) -> *mut c_void

source§

fn read(&mut self, node: &impl FileNodeTraitConst) -> Result<()>

Read detector from FileNode. Read more
source§

fn train(&mut self, pos_samples: &str, neg_imgs: &str) -> Result<()>

Train WaldBoost detector Read more
source§

fn detect( &mut self, img: &impl MatTraitConst, bboxes: &mut Vector<Rect>, confidences: &mut Vector<f64> ) -> Result<()>

Detect objects on image using WaldBoost detector Read more
source§

impl WBDetectorTraitConst for Ptr<WBDetector>

source§

fn as_raw_WBDetector(&self) -> *const c_void

source§

fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>

Write detector to FileStorage. Read more
source§

impl WarperCreatorTrait for Ptr<AffineWarper>

source§

impl WarperCreatorTrait for Ptr<CompressedRectilinearPortraitWarper>

source§

impl WarperCreatorTrait for Ptr<CompressedRectilinearWarper>

source§

impl WarperCreatorTrait for Ptr<CylindricalWarper>

source§

impl WarperCreatorTrait for Ptr<CylindricalWarperGpu>

source§

impl WarperCreatorTrait for Ptr<FisheyeWarper>

source§

impl WarperCreatorTrait for Ptr<MercatorWarper>

source§

impl WarperCreatorTrait for Ptr<PaniniPortraitWarper>

source§

impl WarperCreatorTrait for Ptr<PaniniWarper>

source§

impl WarperCreatorTrait for Ptr<PlaneWarper>

source§

impl WarperCreatorTrait for Ptr<PlaneWarperGpu>

source§

impl WarperCreatorTrait for Ptr<SphericalWarper>

source§

impl WarperCreatorTrait for Ptr<SphericalWarperGpu>

source§

impl WarperCreatorTrait for Ptr<StereographicWarper>

source§

impl WarperCreatorTrait for Ptr<TransverseMercatorWarper>

source§

impl WarperCreatorTrait for Ptr<WarperCreator>

source§

impl WarperCreatorTraitConst for Ptr<AffineWarper>

source§

impl WarperCreatorTraitConst for Ptr<CompressedRectilinearPortraitWarper>

source§

impl WarperCreatorTraitConst for Ptr<CompressedRectilinearWarper>

source§

impl WarperCreatorTraitConst for Ptr<CylindricalWarper>

source§

impl WarperCreatorTraitConst for Ptr<CylindricalWarperGpu>

source§

impl WarperCreatorTraitConst for Ptr<FisheyeWarper>

source§

impl WarperCreatorTraitConst for Ptr<MercatorWarper>

source§

impl WarperCreatorTraitConst for Ptr<PaniniPortraitWarper>

source§

impl WarperCreatorTraitConst for Ptr<PaniniWarper>

source§

impl WarperCreatorTraitConst for Ptr<PlaneWarper>

source§

impl WarperCreatorTraitConst for Ptr<PlaneWarperGpu>

source§

impl WarperCreatorTraitConst for Ptr<SphericalWarper>

source§

impl WarperCreatorTraitConst for Ptr<SphericalWarperGpu>

source§

impl WarperCreatorTraitConst for Ptr<StereographicWarper>

source§

impl WarperCreatorTraitConst for Ptr<TransverseMercatorWarper>

source§

impl WarperCreatorTraitConst for Ptr<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 impl MatTrait, range: &impl RangeTraitConst ) -> Result<()>

source§

impl WeightingDeblurerTraitConst for Ptr<WeightingDeblurer>

source§

impl WhiteBalancerTrait for Ptr<GrayworldWB>

source§

fn as_raw_mut_WhiteBalancer(&mut self) -> *mut c_void

source§

fn balance_white( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Applies white balancing to the input image Read more
source§

impl WhiteBalancerTrait for Ptr<LearningBasedWB>

source§

fn as_raw_mut_WhiteBalancer(&mut self) -> *mut c_void

source§

fn balance_white( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Applies white balancing to the input image Read more
source§

impl WhiteBalancerTrait for Ptr<SimpleWB>

source§

fn as_raw_mut_WhiteBalancer(&mut self) -> *mut c_void

source§

fn balance_white( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Applies white balancing to the input image Read more
source§

impl WhiteBalancerTrait for Ptr<WhiteBalancer>

source§

fn as_raw_mut_WhiteBalancer(&mut self) -> *mut c_void

source§

fn balance_white( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray ) -> Result<()>

Applies white balancing to the input image Read more
source§

impl WhiteBalancerTraitConst for Ptr<GrayworldWB>

source§

impl WhiteBalancerTraitConst for Ptr<LearningBasedWB>

source§

impl WhiteBalancerTraitConst for Ptr<SimpleWB>

source§

impl WhiteBalancerTraitConst for Ptr<WhiteBalancer>

source§

impl WindowSceneTrait for Ptr<WindowScene>

source§

fn as_raw_mut_WindowScene(&mut self) -> *mut c_void

source§

fn set_background(&mut self, image: &impl ToInputArray) -> Result<()>

set window background to custom image/ color Read more
source§

fn set_background_color(&mut self, color: Scalar) -> Result<()>

set window background to custom image/ color Read more
source§

fn set_compositors(&mut self, names: &Vector<String>) -> Result<()>

enable an ordered chain of full-screen post processing effects Read more
source§

fn create_entity( &mut self, name: &str, meshname: &str, tvec: &impl ToInputArray, rot: &impl ToInputArray ) -> Result<()>

place an entity of a mesh in the scene Read more
source§

fn create_entity_def(&mut self, name: &str, meshname: &str) -> Result<()>

place an entity of a mesh in the scene Read more
source§

fn remove_entity(&mut self, name: &str) -> Result<()>

remove an entity from the scene Read more
source§

fn set_entity_property( &mut self, name: &str, prop: i32, value: &str, sub_entity_idx: i32 ) -> Result<()>

set the property of an entity to the given value Read more
source§

fn set_entity_property_def( &mut self, name: &str, prop: i32, value: &str ) -> Result<()>

set the property of an entity to the given value Read more
source§

fn set_entity_property_1( &mut self, name: &str, prop: i32, value: Scalar ) -> Result<()>

set the property of an entity to the given value Read more
source§

fn get_entity_property( &mut self, name: &str, prop: i32, value: &mut impl ToOutputArray ) -> Result<()>

get the property of an entity Read more
source§

fn create_camera_entity( &mut self, name: &str, k: &impl ToInputArray, imsize: Size, z_far: f32, tvec: &impl ToInputArray, rot: &impl ToInputArray, color: Scalar ) -> Result<Rect2d>

convenience method to visualize a camera position Read more
source§

fn create_camera_entity_def( &mut self, name: &str, k: &impl ToInputArray, imsize: Size, z_far: f32 ) -> Result<Rect2d>

convenience method to visualize a camera position Read more
source§

fn create_light_entity( &mut self, name: &str, tvec: &impl ToInputArray, rot: &impl ToInputArray, diffuse_color: Scalar, specular_color: Scalar ) -> Result<()>

creates a point light in the scene Read more
source§

fn create_light_entity_def(&mut self, name: &str) -> Result<()>

creates a point light in the scene Read more
source§

fn update_entity_pose( &mut self, name: &str, tvec: &impl ToInputArray, rot: &impl ToInputArray ) -> Result<()>

update entity pose by transformation in the parent coordinate space. (pre-rotation) Read more
source§

fn update_entity_pose_def(&mut self, name: &str) -> Result<()>

update entity pose by transformation in the parent coordinate space. (pre-rotation) Read more
source§

fn set_entity_pose( &mut self, name: &str, tvec: &impl ToInputArray, rot: &impl ToInputArray, invert: bool ) -> Result<()>

set entity pose in the world coordinate space. Read more
source§

fn set_entity_pose_def(&mut self, name: &str) -> Result<()>

set entity pose in the world coordinate space. Read more
source§

fn get_entity_pose( &mut self, name: &str, r: &mut impl ToOutputArray, tvec: &mut impl ToOutputArray, invert: bool ) -> Result<()>

Retrieves the current pose of an entity Read more
source§

fn get_entity_pose_def(&mut self, name: &str) -> Result<()>

Retrieves the current pose of an entity Read more
source§

fn get_entity_animations( &mut self, name: &str, out: &mut Vector<String> ) -> Result<()>

get a list of available entity animations Read more
source§

fn play_entity_animation( &mut self, name: &str, animname: &str, loop_: bool ) -> Result<()>

play entity animation Read more
source§

fn play_entity_animation_def( &mut self, name: &str, animname: &str ) -> Result<()>

play entity animation Read more
source§

fn stop_entity_animation(&mut self, name: &str, animname: &str) -> Result<()>

stop entity animation Read more
source§

fn get_screenshot(&mut self, frame: &mut impl ToOutputArray) -> Result<()>

read back the image generated by the last call to [waitKey]
source§

fn get_compositor_texture( &mut self, compname: &str, texname: &str, out: &mut impl ToOutputArray, mrt_index: i32 ) -> Result<()>

read back the texture of an active compositor Read more
source§

fn get_compositor_texture_def( &mut self, compname: &str, texname: &str, out: &mut impl ToOutputArray ) -> Result<()>

read back the texture of an active compositor Read more
source§

fn get_depth(&mut self, depth: &mut impl ToOutputArray) -> Result<()>

get the depth for the current frame. Read more
source§

fn fix_camera_yaw_axis( &mut self, use_fixed: bool, up: &impl ToInputArray ) -> Result<()>

convenience method to force the “up” axis to stay fixed Read more
source§

fn fix_camera_yaw_axis_def(&mut self, use_fixed: bool) -> Result<()>

convenience method to force the “up” axis to stay fixed Read more
source§

fn set_camera_pose( &mut self, tvec: &impl ToInputArray, rot: &impl ToInputArray, invert: bool ) -> Result<()>

Sets the current camera pose Read more
source§

fn set_camera_pose_def(&mut self) -> Result<()>

Sets the current camera pose Read more
source§

fn set_camera_look_at( &mut self, target: &str, offset: &impl ToInputArray ) -> Result<()>

convenience method to orient the camera to a specific entity Read more
source§

fn set_camera_look_at_def(&mut self, target: &str) -> Result<()>

convenience method to orient the camera to a specific entity Read more
source§

fn set_entity_look_at( &mut self, origin: &str, target: &str, offset: &impl ToInputArray ) -> Result<()>

convenience method to orient an entity to a specific entity. If target is an empty string the entity looks at the given offset point Read more
source§

fn set_entity_look_at_def(&mut self, origin: &str, target: &str) -> Result<()>

convenience method to orient an entity to a specific entity. If target is an empty string the entity looks at the given offset point Read more
source§

fn get_camera_pose( &mut self, r: &mut impl ToOutputArray, tvec: &mut impl ToOutputArray, invert: bool ) -> Result<()>

Retrieves the current camera pose Read more
source§

fn get_camera_pose_def(&mut self) -> Result<()>

Retrieves the current camera pose Read more
source§

fn set_camera_intrinsics( &mut self, k: &impl ToInputArray, imsize: Size, z_near: f32, z_far: f32 ) -> Result<()>

set intrinsics of the camera Read more
source§

fn set_camera_intrinsics_def( &mut self, k: &impl ToInputArray, imsize: Size ) -> Result<()>

set intrinsics of the camera Read more
source§

fn update(&mut self) -> Result<()>

render this window, but do not swap buffers. Automatically called by [ovis::waitKey]
source§

impl WindowSceneTraitConst for Ptr<WindowScene>

source§

impl WobbleSuppressorBaseTrait for Ptr<MoreAccurateMotionWobbleSuppressor>

source§

fn as_raw_mut_WobbleSuppressorBase(&mut self) -> *mut c_void

source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase> ) -> Result<()>

source§

fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait ) -> Result<()>

source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl WobbleSuppressorBaseTrait for Ptr<MoreAccurateMotionWobbleSuppressorBase>

source§

fn as_raw_mut_WobbleSuppressorBase(&mut self) -> *mut c_void

source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase> ) -> Result<()>

source§

fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait ) -> Result<()>

source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl WobbleSuppressorBaseTrait for Ptr<MoreAccurateMotionWobbleSuppressorGpu>

source§

fn as_raw_mut_WobbleSuppressorBase(&mut self) -> *mut c_void

source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase> ) -> Result<()>

source§

fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait ) -> Result<()>

source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl WobbleSuppressorBaseTrait for Ptr<NullWobbleSuppressor>

source§

fn as_raw_mut_WobbleSuppressorBase(&mut self) -> *mut c_void

source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase> ) -> Result<()>

source§

fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait ) -> Result<()>

source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl WobbleSuppressorBaseTrait for Ptr<WobbleSuppressorBase>

source§

fn as_raw_mut_WobbleSuppressorBase(&mut self) -> *mut c_void

source§

fn set_motion_estimator( &mut self, val: Ptr<ImageMotionEstimatorBase> ) -> Result<()>

source§

fn suppress( &mut self, idx: i32, frame: &impl MatTraitConst, result: &mut impl MatTrait ) -> Result<()>

source§

fn set_frame_count(&mut self, val: i32) -> Result<()>

source§

fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_motions2(&mut self, val: &Vector<Mat>) -> Result<()>

source§

fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>

source§

impl WobbleSuppressorBaseTraitConst for Ptr<MoreAccurateMotionWobbleSuppressor>

source§

impl WobbleSuppressorBaseTraitConst for Ptr<MoreAccurateMotionWobbleSuppressorBase>

source§

impl WobbleSuppressorBaseTraitConst for Ptr<MoreAccurateMotionWobbleSuppressorGpu>

source§

impl WobbleSuppressorBaseTraitConst for Ptr<NullWobbleSuppressor>

source§

impl WobbleSuppressorBaseTraitConst for Ptr<WobbleSuppressorBase>

Auto Trait Implementations§

§

impl<T> Freeze for Ptr<T>
where T: ?Sized,

§

impl<T> RefUnwindSafe for Ptr<T>
where T: RefUnwindSafe + ?Sized,

§

impl<T> !Send for Ptr<T>

§

impl<T> !Sync for Ptr<T>

§

impl<T> Unpin for Ptr<T>
where T: Unpin + ?Sized,

§

impl<T> UnwindSafe for Ptr<T>
where T: UnwindSafe + ?Sized,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Mat> ModifyInplace for Mat
where Mat: Boxed,

source§

unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Mat, &mut Mat) -> Res ) -> Res

Helper function to call OpenCV functions that allow in-place modification of a Mat or another similar object. By passing a mutable reference to the Mat to this function your closure will get called with the read reference and a write references to the same Mat. This is of course unsafe as it breaks the Rust aliasing rules, but it might be useful for some performance sensitive operations. One example of an OpenCV function that allows such in-place modification is imgproc::threshold. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.