pub struct Ptr<T: ?Sized>where
Self: PtrExtern,{ /* private fields */ }
Expand description
Implementations§
source§impl Ptr<Board>
impl Ptr<Board>
pub fn as_raw_PtrOfBoard(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBoard(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<CharucoBoard>
impl Ptr<CharucoBoard>
pub fn as_raw_PtrOfCharucoBoard(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCharucoBoard(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<DetectorParameters>
impl Ptr<DetectorParameters>
pub fn as_raw_PtrOfDetectorParameters(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetectorParameters(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Dictionary>
impl Ptr<Dictionary>
pub fn as_raw_PtrOfDictionary(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDictionary(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<EstimateParameters>
impl Ptr<EstimateParameters>
pub fn as_raw_PtrOfEstimateParameters(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfEstimateParameters(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<GridBoard>
impl Ptr<GridBoard>
pub fn as_raw_PtrOfGridBoard(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGridBoard(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn BackgroundSubtractorCNT>
impl Ptr<dyn BackgroundSubtractorCNT>
pub fn as_raw_PtrOfBackgroundSubtractorCNT(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBackgroundSubtractorCNT(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn BackgroundSubtractorGMG>
impl Ptr<dyn BackgroundSubtractorGMG>
pub fn as_raw_PtrOfBackgroundSubtractorGMG(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBackgroundSubtractorGMG(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn BackgroundSubtractorGSOC>
impl Ptr<dyn BackgroundSubtractorGSOC>
pub fn as_raw_PtrOfBackgroundSubtractorGSOC(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBackgroundSubtractorGSOC(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn BackgroundSubtractorLSBP>
impl Ptr<dyn BackgroundSubtractorLSBP>
pub fn as_raw_PtrOfBackgroundSubtractorLSBP(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBackgroundSubtractorLSBP(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn BackgroundSubtractorMOG>
impl Ptr<dyn BackgroundSubtractorMOG>
pub fn as_raw_PtrOfBackgroundSubtractorMOG(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBackgroundSubtractorMOG(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SyntheticSequenceGenerator>
impl Ptr<SyntheticSequenceGenerator>
pub fn as_raw_PtrOfSyntheticSequenceGenerator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSyntheticSequenceGenerator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Retina>
impl Ptr<dyn Retina>
pub fn as_raw_PtrOfRetina(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRetina(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn RetinaFastToneMapping>
impl Ptr<dyn RetinaFastToneMapping>
pub fn as_raw_PtrOfRetinaFastToneMapping(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRetinaFastToneMapping(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TransientAreasSegmentationModule>
impl Ptr<dyn TransientAreasSegmentationModule>
pub fn as_raw_PtrOfTransientAreasSegmentationModule(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTransientAreasSegmentationModule(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn LMSolver>
impl Ptr<dyn LMSolver>
pub fn as_raw_PtrOfLMSolver(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLMSolver(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn LMSolver_Callback>
impl Ptr<dyn LMSolver_Callback>
pub fn as_raw_PtrOfLMSolver_Callback(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLMSolver_Callback(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn StereoBM>
impl Ptr<dyn StereoBM>
pub fn as_raw_PtrOfStereoBM(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfStereoBM(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn StereoMatcher>
impl Ptr<dyn StereoMatcher>
pub fn as_raw_PtrOfStereoMatcher(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfStereoMatcher(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn StereoSGBM>
impl Ptr<dyn StereoSGBM>
pub fn as_raw_PtrOfStereoSGBM(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfStereoSGBM(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ConjGradSolver>
impl Ptr<dyn ConjGradSolver>
pub fn as_raw_PtrOfConjGradSolver(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfConjGradSolver(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DownhillSolver>
impl Ptr<dyn DownhillSolver>
pub fn as_raw_PtrOfDownhillSolver(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDownhillSolver(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<FileStorage>
impl Ptr<FileStorage>
pub fn as_raw_PtrOfFileStorage(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFileStorage(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Formatted>
impl Ptr<dyn Formatted>
pub fn as_raw_PtrOfFormatted(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFormatted(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Formatter>
impl Ptr<dyn Formatter>
pub fn as_raw_PtrOfFormatter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFormatter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn GpuMat_Allocator>
impl Ptr<dyn GpuMat_Allocator>
pub fn as_raw_PtrOfGpuMat_Allocator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGpuMat_Allocator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn MinProblemSolver_Function>
impl Ptr<dyn MinProblemSolver_Function>
pub fn as_raw_PtrOfMinProblemSolver_Function(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMinProblemSolver_Function(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<OriginalClassName>
impl Ptr<OriginalClassName>
pub fn as_raw_PtrOfOriginalClassName(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfOriginalClassName(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<f32>
impl Ptr<f32>
pub fn as_raw_PtrOff32(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOff32(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Convolution>
impl Ptr<dyn Convolution>
pub fn as_raw_PtrOfConvolution(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfConvolution(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DFT>
impl Ptr<dyn DFT>
pub fn as_raw_PtrOfDFT(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDFT(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn LookUpTable>
impl Ptr<dyn LookUpTable>
pub fn as_raw_PtrOfLookUpTable(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLookUpTable(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_BackgroundSubtractorMOG>
impl Ptr<dyn CUDA_BackgroundSubtractorMOG>
pub fn as_raw_PtrOfCUDA_BackgroundSubtractorMOG(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_BackgroundSubtractorMOG(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_BackgroundSubtractorMOG2>
impl Ptr<dyn CUDA_BackgroundSubtractorMOG2>
pub fn as_raw_PtrOfCUDA_BackgroundSubtractorMOG2(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_BackgroundSubtractorMOG2(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn EncoderCallBack>
impl Ptr<dyn EncoderCallBack>
pub fn as_raw_PtrOfEncoderCallBack(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfEncoderCallBack(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn RawVideoSource>
impl Ptr<dyn RawVideoSource>
pub fn as_raw_PtrOfRawVideoSource(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRawVideoSource(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn VideoReader>
impl Ptr<dyn VideoReader>
pub fn as_raw_PtrOfVideoReader(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfVideoReader(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn VideoWriter>
impl Ptr<dyn VideoWriter>
pub fn as_raw_PtrOfVideoWriter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfVideoWriter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_DescriptorMatcher>
impl Ptr<dyn CUDA_DescriptorMatcher>
pub fn as_raw_PtrOfCUDA_DescriptorMatcher(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_DescriptorMatcher(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_FastFeatureDetector>
impl Ptr<dyn CUDA_FastFeatureDetector>
pub fn as_raw_PtrOfCUDA_FastFeatureDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_FastFeatureDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_ORB>
impl Ptr<dyn CUDA_ORB>
pub fn as_raw_PtrOfCUDA_ORB(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_ORB(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Filter>
impl Ptr<dyn Filter>
pub fn as_raw_PtrOfFilter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFilter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_CLAHE>
impl Ptr<dyn CUDA_CLAHE>
pub fn as_raw_PtrOfCUDA_CLAHE(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_CLAHE(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_CannyEdgeDetector>
impl Ptr<dyn CUDA_CannyEdgeDetector>
pub fn as_raw_PtrOfCUDA_CannyEdgeDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_CannyEdgeDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_CornernessCriteria>
impl Ptr<dyn CUDA_CornernessCriteria>
pub fn as_raw_PtrOfCUDA_CornernessCriteria(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_CornernessCriteria(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_CornersDetector>
impl Ptr<dyn CUDA_CornersDetector>
pub fn as_raw_PtrOfCUDA_CornersDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_CornersDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_HoughCirclesDetector>
impl Ptr<dyn CUDA_HoughCirclesDetector>
pub fn as_raw_PtrOfCUDA_HoughCirclesDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_HoughCirclesDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_HoughLinesDetector>
impl Ptr<dyn CUDA_HoughLinesDetector>
pub fn as_raw_PtrOfCUDA_HoughLinesDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_HoughLinesDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_HoughSegmentDetector>
impl Ptr<dyn CUDA_HoughSegmentDetector>
pub fn as_raw_PtrOfCUDA_HoughSegmentDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_HoughSegmentDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_TemplateMatching>
impl Ptr<dyn CUDA_TemplateMatching>
pub fn as_raw_PtrOfCUDA_TemplateMatching(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_TemplateMatching(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CascadeClassifier>
impl Ptr<dyn CascadeClassifier>
pub fn as_raw_PtrOfCascadeClassifier(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCascadeClassifier(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn HOG>
impl Ptr<dyn HOG>
pub fn as_raw_PtrOfHOG(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfHOG(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_BroxOpticalFlow>
impl Ptr<dyn CUDA_BroxOpticalFlow>
pub fn as_raw_PtrOfCUDA_BroxOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_BroxOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_DensePyrLKOpticalFlow>
impl Ptr<dyn CUDA_DensePyrLKOpticalFlow>
pub fn as_raw_PtrOfCUDA_DensePyrLKOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_DensePyrLKOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_FarnebackOpticalFlow>
impl Ptr<dyn CUDA_FarnebackOpticalFlow>
pub fn as_raw_PtrOfCUDA_FarnebackOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_FarnebackOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
impl Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
pub fn as_raw_PtrOfCUDA_NvidiaOpticalFlow_1_0(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_NvidiaOpticalFlow_1_0(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
impl Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
pub fn as_raw_PtrOfCUDA_NvidiaOpticalFlow_2_0(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_NvidiaOpticalFlow_2_0(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_OpticalFlowDual_TVL1>
impl Ptr<dyn CUDA_OpticalFlowDual_TVL1>
pub fn as_raw_PtrOfCUDA_OpticalFlowDual_TVL1(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_OpticalFlowDual_TVL1(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
impl Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
pub fn as_raw_PtrOfCUDA_SparsePyrLKOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_SparsePyrLKOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_DisparityBilateralFilter>
impl Ptr<dyn CUDA_DisparityBilateralFilter>
pub fn as_raw_PtrOfCUDA_DisparityBilateralFilter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_DisparityBilateralFilter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_StereoBM>
impl Ptr<dyn CUDA_StereoBM>
pub fn as_raw_PtrOfCUDA_StereoBM(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_StereoBM(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_StereoBeliefPropagation>
impl Ptr<dyn CUDA_StereoBeliefPropagation>
pub fn as_raw_PtrOfCUDA_StereoBeliefPropagation(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_StereoBeliefPropagation(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_StereoConstantSpaceBP>
impl Ptr<dyn CUDA_StereoConstantSpaceBP>
pub fn as_raw_PtrOfCUDA_StereoConstantSpaceBP(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_StereoConstantSpaceBP(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CUDA_StereoSGM>
impl Ptr<dyn CUDA_StereoSGM>
pub fn as_raw_PtrOfCUDA_StereoSGM(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCUDA_StereoSGM(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<AbsLayer>
impl Ptr<AbsLayer>
pub fn as_raw_PtrOfAbsLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAbsLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<AccumLayer>
impl Ptr<AccumLayer>
pub fn as_raw_PtrOfAccumLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAccumLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<AcosLayer>
impl Ptr<AcosLayer>
pub fn as_raw_PtrOfAcosLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAcosLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<AcoshLayer>
impl Ptr<AcoshLayer>
pub fn as_raw_PtrOfAcoshLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAcoshLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ActivationLayer>
impl Ptr<ActivationLayer>
pub fn as_raw_PtrOfActivationLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfActivationLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ActivationLayerInt8>
impl Ptr<ActivationLayerInt8>
pub fn as_raw_PtrOfActivationLayerInt8(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfActivationLayerInt8(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ArgLayer>
impl Ptr<ArgLayer>
pub fn as_raw_PtrOfArgLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfArgLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<AsinLayer>
impl Ptr<AsinLayer>
pub fn as_raw_PtrOfAsinLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAsinLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<AsinhLayer>
impl Ptr<AsinhLayer>
pub fn as_raw_PtrOfAsinhLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAsinhLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<AtanLayer>
impl Ptr<AtanLayer>
pub fn as_raw_PtrOfAtanLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAtanLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<AtanhLayer>
impl Ptr<AtanhLayer>
pub fn as_raw_PtrOfAtanhLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAtanhLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<BNLLLayer>
impl Ptr<BNLLLayer>
pub fn as_raw_PtrOfBNLLLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBNLLLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<BackendNode>
impl Ptr<BackendNode>
pub fn as_raw_PtrOfBackendNode(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBackendNode(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn BackendWrapper>
impl Ptr<dyn BackendWrapper>
pub fn as_raw_PtrOfBackendWrapper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBackendWrapper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<BaseConvolutionLayer>
impl Ptr<BaseConvolutionLayer>
pub fn as_raw_PtrOfBaseConvolutionLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBaseConvolutionLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<BatchNormLayer>
impl Ptr<BatchNormLayer>
pub fn as_raw_PtrOfBatchNormLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBatchNormLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<BatchNormLayerInt8>
impl Ptr<BatchNormLayerInt8>
pub fn as_raw_PtrOfBatchNormLayerInt8(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBatchNormLayerInt8(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<CeilLayer>
impl Ptr<CeilLayer>
pub fn as_raw_PtrOfCeilLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCeilLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<CeluLayer>
impl Ptr<CeluLayer>
pub fn as_raw_PtrOfCeluLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCeluLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ConcatLayer>
impl Ptr<ConcatLayer>
pub fn as_raw_PtrOfConcatLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfConcatLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<CorrelationLayer>
impl Ptr<CorrelationLayer>
pub fn as_raw_PtrOfCorrelationLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCorrelationLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<CosLayer>
impl Ptr<CosLayer>
pub fn as_raw_PtrOfCosLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCosLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<CoshLayer>
impl Ptr<CoshLayer>
pub fn as_raw_PtrOfCoshLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCoshLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<CumSumLayer>
impl Ptr<CumSumLayer>
pub fn as_raw_PtrOfCumSumLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCumSumLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<DataAugmentationLayer>
impl Ptr<DataAugmentationLayer>
pub fn as_raw_PtrOfDataAugmentationLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDataAugmentationLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<DequantizeLayer>
impl Ptr<DequantizeLayer>
pub fn as_raw_PtrOfDequantizeLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDequantizeLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<DetectionOutputLayer>
impl Ptr<DetectionOutputLayer>
pub fn as_raw_PtrOfDetectionOutputLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetectionOutputLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ELULayer>
impl Ptr<ELULayer>
pub fn as_raw_PtrOfELULayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfELULayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<EltwiseLayer>
impl Ptr<EltwiseLayer>
pub fn as_raw_PtrOfEltwiseLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfEltwiseLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<EltwiseLayerInt8>
impl Ptr<EltwiseLayerInt8>
pub fn as_raw_PtrOfEltwiseLayerInt8(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfEltwiseLayerInt8(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ErfLayer>
impl Ptr<ErfLayer>
pub fn as_raw_PtrOfErfLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfErfLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ExpLayer>
impl Ptr<ExpLayer>
pub fn as_raw_PtrOfExpLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfExpLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<FlattenLayer>
impl Ptr<FlattenLayer>
pub fn as_raw_PtrOfFlattenLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFlattenLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<FloorLayer>
impl Ptr<FloorLayer>
pub fn as_raw_PtrOfFloorLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFloorLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<FlowWarpLayer>
impl Ptr<FlowWarpLayer>
pub fn as_raw_PtrOfFlowWarpLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFlowWarpLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<GRULayer>
impl Ptr<GRULayer>
pub fn as_raw_PtrOfGRULayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGRULayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<HardSigmoidLayer>
impl Ptr<HardSigmoidLayer>
pub fn as_raw_PtrOfHardSigmoidLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfHardSigmoidLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<HardSwishLayer>
impl Ptr<HardSwishLayer>
pub fn as_raw_PtrOfHardSwishLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfHardSwishLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<InnerProductLayer>
impl Ptr<InnerProductLayer>
pub fn as_raw_PtrOfInnerProductLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfInnerProductLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<InnerProductLayerInt8>
impl Ptr<InnerProductLayerInt8>
pub fn as_raw_PtrOfInnerProductLayerInt8(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfInnerProductLayerInt8(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<LRNLayer>
impl Ptr<LRNLayer>
pub fn as_raw_PtrOfLRNLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLRNLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn LSTMLayer>
impl Ptr<dyn LSTMLayer>
pub fn as_raw_PtrOfLSTMLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLSTMLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Layer>
impl Ptr<Layer>
pub fn as_raw_PtrOfLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<LogLayer>
impl Ptr<LogLayer>
pub fn as_raw_PtrOfLogLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLogLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MVNLayer>
impl Ptr<MVNLayer>
pub fn as_raw_PtrOfMVNLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMVNLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MaxUnpoolLayer>
impl Ptr<MaxUnpoolLayer>
pub fn as_raw_PtrOfMaxUnpoolLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMaxUnpoolLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MishLayer>
impl Ptr<MishLayer>
pub fn as_raw_PtrOfMishLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMishLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<NormalizeBBoxLayer>
impl Ptr<NormalizeBBoxLayer>
pub fn as_raw_PtrOfNormalizeBBoxLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfNormalizeBBoxLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<NotLayer>
impl Ptr<NotLayer>
pub fn as_raw_PtrOfNotLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfNotLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PaddingLayer>
impl Ptr<PaddingLayer>
pub fn as_raw_PtrOfPaddingLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPaddingLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PermuteLayer>
impl Ptr<PermuteLayer>
pub fn as_raw_PtrOfPermuteLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPermuteLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PoolingLayer>
impl Ptr<PoolingLayer>
pub fn as_raw_PtrOfPoolingLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPoolingLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PoolingLayerInt8>
impl Ptr<PoolingLayerInt8>
pub fn as_raw_PtrOfPoolingLayerInt8(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPoolingLayerInt8(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PowerLayer>
impl Ptr<PowerLayer>
pub fn as_raw_PtrOfPowerLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPowerLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PriorBoxLayer>
impl Ptr<PriorBoxLayer>
pub fn as_raw_PtrOfPriorBoxLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPriorBoxLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ProposalLayer>
impl Ptr<ProposalLayer>
pub fn as_raw_PtrOfProposalLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfProposalLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<QuantizeLayer>
impl Ptr<QuantizeLayer>
pub fn as_raw_PtrOfQuantizeLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfQuantizeLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn RNNLayer>
impl Ptr<dyn RNNLayer>
pub fn as_raw_PtrOfRNNLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRNNLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ReLU6Layer>
impl Ptr<ReLU6Layer>
pub fn as_raw_PtrOfReLU6Layer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfReLU6Layer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ReLULayer>
impl Ptr<ReLULayer>
pub fn as_raw_PtrOfReLULayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfReLULayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ReciprocalLayer>
impl Ptr<ReciprocalLayer>
pub fn as_raw_PtrOfReciprocalLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfReciprocalLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ReduceLayer>
impl Ptr<ReduceLayer>
pub fn as_raw_PtrOfReduceLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfReduceLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ReduceLayerInt8>
impl Ptr<ReduceLayerInt8>
pub fn as_raw_PtrOfReduceLayerInt8(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfReduceLayerInt8(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<RegionLayer>
impl Ptr<RegionLayer>
pub fn as_raw_PtrOfRegionLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRegionLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ReorgLayer>
impl Ptr<ReorgLayer>
pub fn as_raw_PtrOfReorgLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfReorgLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<RequantizeLayer>
impl Ptr<RequantizeLayer>
pub fn as_raw_PtrOfRequantizeLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRequantizeLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ReshapeLayer>
impl Ptr<ReshapeLayer>
pub fn as_raw_PtrOfReshapeLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfReshapeLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ResizeLayer>
impl Ptr<ResizeLayer>
pub fn as_raw_PtrOfResizeLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfResizeLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<RoundLayer>
impl Ptr<RoundLayer>
pub fn as_raw_PtrOfRoundLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRoundLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ScaleLayer>
impl Ptr<ScaleLayer>
pub fn as_raw_PtrOfScaleLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfScaleLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ScaleLayerInt8>
impl Ptr<ScaleLayerInt8>
pub fn as_raw_PtrOfScaleLayerInt8(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfScaleLayerInt8(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SeluLayer>
impl Ptr<SeluLayer>
pub fn as_raw_PtrOfSeluLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSeluLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ShrinkLayer>
impl Ptr<ShrinkLayer>
pub fn as_raw_PtrOfShrinkLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfShrinkLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SigmoidLayer>
impl Ptr<SigmoidLayer>
pub fn as_raw_PtrOfSigmoidLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSigmoidLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SignLayer>
impl Ptr<SignLayer>
pub fn as_raw_PtrOfSignLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSignLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SinLayer>
impl Ptr<SinLayer>
pub fn as_raw_PtrOfSinLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSinLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SinhLayer>
impl Ptr<SinhLayer>
pub fn as_raw_PtrOfSinhLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSinhLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SliceLayer>
impl Ptr<SliceLayer>
pub fn as_raw_PtrOfSliceLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSliceLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SoftmaxLayer>
impl Ptr<SoftmaxLayer>
pub fn as_raw_PtrOfSoftmaxLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSoftmaxLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SoftmaxLayerInt8>
impl Ptr<SoftmaxLayerInt8>
pub fn as_raw_PtrOfSoftmaxLayerInt8(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSoftmaxLayerInt8(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SoftplusLayer>
impl Ptr<SoftplusLayer>
pub fn as_raw_PtrOfSoftplusLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSoftplusLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SoftsignLayer>
impl Ptr<SoftsignLayer>
pub fn as_raw_PtrOfSoftsignLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSoftsignLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SplitLayer>
impl Ptr<SplitLayer>
pub fn as_raw_PtrOfSplitLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSplitLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SqrtLayer>
impl Ptr<SqrtLayer>
pub fn as_raw_PtrOfSqrtLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSqrtLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SwishLayer>
impl Ptr<SwishLayer>
pub fn as_raw_PtrOfSwishLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSwishLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<TanHLayer>
impl Ptr<TanHLayer>
pub fn as_raw_PtrOfTanHLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTanHLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<TanLayer>
impl Ptr<TanLayer>
pub fn as_raw_PtrOfTanLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTanLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ThresholdedReluLayer>
impl Ptr<ThresholdedReluLayer>
pub fn as_raw_PtrOfThresholdedReluLayer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfThresholdedReluLayer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<DnnSuperResImpl>
impl Ptr<DnnSuperResImpl>
pub fn as_raw_PtrOfDnnSuperResImpl(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDnnSuperResImpl(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DPMDetector>
impl Ptr<dyn DPMDetector>
pub fn as_raw_PtrOfDPMDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDPMDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn BIF>
impl Ptr<dyn BIF>
pub fn as_raw_PtrOfBIF(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBIF(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn EigenFaceRecognizer>
impl Ptr<dyn EigenFaceRecognizer>
pub fn as_raw_PtrOfEigenFaceRecognizer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfEigenFaceRecognizer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Facemark>
impl Ptr<dyn Facemark>
pub fn as_raw_PtrOfFacemark(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFacemark(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn FacemarkAAM>
impl Ptr<dyn FacemarkAAM>
pub fn as_raw_PtrOfFacemarkAAM(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFacemarkAAM(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn FacemarkKazemi>
impl Ptr<dyn FacemarkKazemi>
pub fn as_raw_PtrOfFacemarkKazemi(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFacemarkKazemi(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn FacemarkLBF>
impl Ptr<dyn FacemarkLBF>
pub fn as_raw_PtrOfFacemarkLBF(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFacemarkLBF(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn FisherFaceRecognizer>
impl Ptr<dyn FisherFaceRecognizer>
pub fn as_raw_PtrOfFisherFaceRecognizer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFisherFaceRecognizer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn LBPHFaceRecognizer>
impl Ptr<dyn LBPHFaceRecognizer>
pub fn as_raw_PtrOfLBPHFaceRecognizer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLBPHFaceRecognizer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn MACE>
impl Ptr<dyn MACE>
pub fn as_raw_PtrOfMACE(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMACE(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn PredictCollector>
impl Ptr<dyn PredictCollector>
pub fn as_raw_PtrOfPredictCollector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPredictCollector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<StandardCollector>
impl Ptr<StandardCollector>
pub fn as_raw_PtrOfStandardCollector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfStandardCollector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn AKAZE>
impl Ptr<dyn AKAZE>
pub fn as_raw_PtrOfAKAZE(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAKAZE(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn AffineFeature>
impl Ptr<dyn AffineFeature>
pub fn as_raw_PtrOfAffineFeature(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAffineFeature(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn AgastFeatureDetector>
impl Ptr<dyn AgastFeatureDetector>
pub fn as_raw_PtrOfAgastFeatureDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAgastFeatureDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<BFMatcher>
impl Ptr<BFMatcher>
pub fn as_raw_PtrOfBFMatcher(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBFMatcher(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<BRISK>
impl Ptr<BRISK>
pub fn as_raw_PtrOfBRISK(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBRISK(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DescriptorMatcher>
impl Ptr<dyn DescriptorMatcher>
pub fn as_raw_PtrOfDescriptorMatcher(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDescriptorMatcher(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn FastFeatureDetector>
impl Ptr<dyn FastFeatureDetector>
pub fn as_raw_PtrOfFastFeatureDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFastFeatureDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Feature2D>
impl Ptr<Feature2D>
pub fn as_raw_PtrOfFeature2D(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFeature2D(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<FlannBasedMatcher>
impl Ptr<FlannBasedMatcher>
pub fn as_raw_PtrOfFlannBasedMatcher(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFlannBasedMatcher(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn GFTTDetector>
impl Ptr<dyn GFTTDetector>
pub fn as_raw_PtrOfGFTTDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGFTTDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn KAZE>
impl Ptr<dyn KAZE>
pub fn as_raw_PtrOfKAZE(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfKAZE(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn MSER>
impl Ptr<dyn MSER>
pub fn as_raw_PtrOfMSER(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMSER(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ORB>
impl Ptr<dyn ORB>
pub fn as_raw_PtrOfORB(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfORB(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SIFT>
impl Ptr<SIFT>
pub fn as_raw_PtrOfSIFT(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSIFT(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SimpleBlobDetector>
impl Ptr<SimpleBlobDetector>
pub fn as_raw_PtrOfSimpleBlobDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSimpleBlobDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<IndexParams>
impl Ptr<IndexParams>
pub fn as_raw_PtrOfIndexParams(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfIndexParams(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SearchParams>
impl Ptr<SearchParams>
pub fn as_raw_PtrOfSearchParams(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSearchParams(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn FreeType2>
impl Ptr<dyn FreeType2>
pub fn as_raw_PtrOfFreeType2(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFreeType2(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn HDF5>
impl Ptr<dyn HDF5>
pub fn as_raw_PtrOfHDF5(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfHDF5(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn HfsSegment>
impl Ptr<dyn HfsSegment>
pub fn as_raw_PtrOfHfsSegment(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfHfsSegment(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<AverageHash>
impl Ptr<AverageHash>
pub fn as_raw_PtrOfAverageHash(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAverageHash(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<BlockMeanHash>
impl Ptr<BlockMeanHash>
pub fn as_raw_PtrOfBlockMeanHash(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBlockMeanHash(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ColorMomentHash>
impl Ptr<ColorMomentHash>
pub fn as_raw_PtrOfColorMomentHash(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfColorMomentHash(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MarrHildrethHash>
impl Ptr<MarrHildrethHash>
pub fn as_raw_PtrOfMarrHildrethHash(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMarrHildrethHash(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PHash>
impl Ptr<PHash>
pub fn as_raw_PtrOfPHash(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPHash(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<RadialVarianceHash>
impl Ptr<RadialVarianceHash>
pub fn as_raw_PtrOfRadialVarianceHash(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRadialVarianceHash(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CLAHE>
impl Ptr<dyn CLAHE>
pub fn as_raw_PtrOfCLAHE(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCLAHE(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn GeneralizedHoughBallard>
impl Ptr<dyn GeneralizedHoughBallard>
pub fn as_raw_PtrOfGeneralizedHoughBallard(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGeneralizedHoughBallard(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn GeneralizedHoughGuil>
impl Ptr<dyn GeneralizedHoughGuil>
pub fn as_raw_PtrOfGeneralizedHoughGuil(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGeneralizedHoughGuil(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn LineSegmentDetector>
impl Ptr<dyn LineSegmentDetector>
pub fn as_raw_PtrOfLineSegmentDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLineSegmentDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<BinaryDescriptor>
impl Ptr<BinaryDescriptor>
pub fn as_raw_PtrOfBinaryDescriptor(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBinaryDescriptor(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<BinaryDescriptorMatcher>
impl Ptr<BinaryDescriptorMatcher>
pub fn as_raw_PtrOfBinaryDescriptorMatcher(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBinaryDescriptorMatcher(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<LSDDetector>
impl Ptr<LSDDetector>
pub fn as_raw_PtrOfLSDDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLSDDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn MCC_CChecker>
impl Ptr<dyn MCC_CChecker>
pub fn as_raw_PtrOfMCC_CChecker(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMCC_CChecker(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn MCC_CCheckerDetector>
impl Ptr<dyn MCC_CCheckerDetector>
pub fn as_raw_PtrOfMCC_CCheckerDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMCC_CCheckerDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn MCC_CCheckerDraw>
impl Ptr<dyn MCC_CCheckerDraw>
pub fn as_raw_PtrOfMCC_CCheckerDraw(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMCC_CCheckerDraw(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MCC_DetectorParameters>
impl Ptr<MCC_DetectorParameters>
pub fn as_raw_PtrOfMCC_DetectorParameters(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMCC_DetectorParameters(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ANN_MLP>
impl Ptr<dyn ANN_MLP>
pub fn as_raw_PtrOfANN_MLP(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfANN_MLP(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Boost>
impl Ptr<dyn Boost>
pub fn as_raw_PtrOfBoost(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBoost(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DTrees>
impl Ptr<dyn DTrees>
pub fn as_raw_PtrOfDTrees(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDTrees(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn EM>
impl Ptr<dyn EM>
pub fn as_raw_PtrOfEM(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfEM(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn KNearest>
impl Ptr<dyn KNearest>
pub fn as_raw_PtrOfKNearest(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfKNearest(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn LogisticRegression>
impl Ptr<dyn LogisticRegression>
pub fn as_raw_PtrOfLogisticRegression(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLogisticRegression(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn NormalBayesClassifier>
impl Ptr<dyn NormalBayesClassifier>
pub fn as_raw_PtrOfNormalBayesClassifier(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfNormalBayesClassifier(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ParamGrid>
impl Ptr<ParamGrid>
pub fn as_raw_PtrOfParamGrid(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfParamGrid(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn RTrees>
impl Ptr<dyn RTrees>
pub fn as_raw_PtrOfRTrees(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRTrees(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SVM>
impl Ptr<dyn SVM>
pub fn as_raw_PtrOfSVM(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSVM(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SVMSGD>
impl Ptr<dyn SVMSGD>
pub fn as_raw_PtrOfSVMSGD(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSVMSGD(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SVM_Kernel>
impl Ptr<dyn SVM_Kernel>
pub fn as_raw_PtrOfSVM_Kernel(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSVM_Kernel(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TrainData>
impl Ptr<dyn TrainData>
pub fn as_raw_PtrOfTrainData(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTrainData(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn BaseCascadeClassifier>
impl Ptr<dyn BaseCascadeClassifier>
pub fn as_raw_PtrOfBaseCascadeClassifier(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBaseCascadeClassifier(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn BaseCascadeClassifier_MaskGenerator>
impl Ptr<dyn BaseCascadeClassifier_MaskGenerator>
pub fn as_raw_PtrOfBaseCascadeClassifier_MaskGenerator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBaseCascadeClassifier_MaskGenerator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DetectionBasedTracker_IDetector>
impl Ptr<dyn DetectionBasedTracker_IDetector>
pub fn as_raw_PtrOfDetectionBasedTracker_IDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetectionBasedTracker_IDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn FaceDetectorYN>
impl Ptr<dyn FaceDetectorYN>
pub fn as_raw_PtrOfFaceDetectorYN(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFaceDetectorYN(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn FaceRecognizerSF>
impl Ptr<dyn FaceRecognizerSF>
pub fn as_raw_PtrOfFaceRecognizerSF(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFaceRecognizerSF(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn QRCodeEncoder>
impl Ptr<dyn QRCodeEncoder>
pub fn as_raw_PtrOfQRCodeEncoder(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfQRCodeEncoder(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DenseRLOFOpticalFlow>
impl Ptr<dyn DenseRLOFOpticalFlow>
pub fn as_raw_PtrOfDenseRLOFOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDenseRLOFOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DualTVL1OpticalFlow>
impl Ptr<dyn DualTVL1OpticalFlow>
pub fn as_raw_PtrOfDualTVL1OpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDualTVL1OpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<GPCTrainingSamples>
impl Ptr<GPCTrainingSamples>
pub fn as_raw_PtrOfGPCTrainingSamples(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGPCTrainingSamples(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<GPCTree>
impl Ptr<GPCTree>
pub fn as_raw_PtrOfGPCTree(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGPCTree(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PCAPrior>
impl Ptr<PCAPrior>
pub fn as_raw_PtrOfPCAPrior(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPCAPrior(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<RLOFOpticalFlowParameter>
impl Ptr<RLOFOpticalFlowParameter>
pub fn as_raw_PtrOfRLOFOpticalFlowParameter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRLOFOpticalFlowParameter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SparseRLOFOpticalFlow>
impl Ptr<dyn SparseRLOFOpticalFlow>
pub fn as_raw_PtrOfSparseRLOFOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSparseRLOFOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn WindowScene>
impl Ptr<dyn WindowScene>
pub fn as_raw_PtrOfWindowScene(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfWindowScene(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn HistogramPhaseUnwrapping>
impl Ptr<dyn HistogramPhaseUnwrapping>
pub fn as_raw_PtrOfHistogramPhaseUnwrapping(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfHistogramPhaseUnwrapping(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn AlignMTB>
impl Ptr<dyn AlignMTB>
pub fn as_raw_PtrOfAlignMTB(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAlignMTB(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CalibrateDebevec>
impl Ptr<dyn CalibrateDebevec>
pub fn as_raw_PtrOfCalibrateDebevec(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCalibrateDebevec(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn CalibrateRobertson>
impl Ptr<dyn CalibrateRobertson>
pub fn as_raw_PtrOfCalibrateRobertson(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCalibrateRobertson(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn MergeDebevec>
impl Ptr<dyn MergeDebevec>
pub fn as_raw_PtrOfMergeDebevec(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMergeDebevec(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn MergeMertens>
impl Ptr<dyn MergeMertens>
pub fn as_raw_PtrOfMergeMertens(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMergeMertens(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn MergeRobertson>
impl Ptr<dyn MergeRobertson>
pub fn as_raw_PtrOfMergeRobertson(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMergeRobertson(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Tonemap>
impl Ptr<dyn Tonemap>
pub fn as_raw_PtrOfTonemap(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTonemap(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TonemapDrago>
impl Ptr<dyn TonemapDrago>
pub fn as_raw_PtrOfTonemapDrago(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTonemapDrago(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TonemapMantiuk>
impl Ptr<dyn TonemapMantiuk>
pub fn as_raw_PtrOfTonemapMantiuk(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTonemapMantiuk(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TonemapReinhard>
impl Ptr<dyn TonemapReinhard>
pub fn as_raw_PtrOfTonemapReinhard(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTonemapReinhard(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Plot2d>
impl Ptr<dyn Plot2d>
pub fn as_raw_PtrOfPlot2d(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPlot2d(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<QualityBRISQUE>
impl Ptr<QualityBRISQUE>
pub fn as_raw_PtrOfQualityBRISQUE(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfQualityBRISQUE(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<QualityGMSD>
impl Ptr<QualityGMSD>
pub fn as_raw_PtrOfQualityGMSD(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfQualityGMSD(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<QualityMSE>
impl Ptr<QualityMSE>
pub fn as_raw_PtrOfQualityMSE(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfQualityMSE(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<QualityPSNR>
impl Ptr<QualityPSNR>
pub fn as_raw_PtrOfQualityPSNR(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfQualityPSNR(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<QualitySSIM>
impl Ptr<QualitySSIM>
pub fn as_raw_PtrOfQualitySSIM(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfQualitySSIM(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn OLSTracker>
impl Ptr<dyn OLSTracker>
pub fn as_raw_PtrOfOLSTracker(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfOLSTracker(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Rapid>
impl Ptr<dyn Rapid>
pub fn as_raw_PtrOfRapid(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRapid(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ColoredKinfu_ColoredKinFu>
impl Ptr<dyn ColoredKinfu_ColoredKinFu>
pub fn as_raw_PtrOfColoredKinfu_ColoredKinFu(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfColoredKinfu_ColoredKinFu(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ColoredKinfu_Params>
impl Ptr<ColoredKinfu_Params>
pub fn as_raw_PtrOfColoredKinfu_Params(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfColoredKinfu_Params(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<DepthCleaner>
impl Ptr<DepthCleaner>
pub fn as_raw_PtrOfDepthCleaner(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDepthCleaner(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Dynafu_DynaFu>
impl Ptr<dyn Dynafu_DynaFu>
pub fn as_raw_PtrOfDynafu_DynaFu(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDynafu_DynaFu(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<FastICPOdometry>
impl Ptr<FastICPOdometry>
pub fn as_raw_PtrOfFastICPOdometry(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFastICPOdometry(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ICPOdometry>
impl Ptr<ICPOdometry>
pub fn as_raw_PtrOfICPOdometry(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfICPOdometry(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Kinfu_Detail_PoseGraph>
impl Ptr<dyn Kinfu_Detail_PoseGraph>
pub fn as_raw_PtrOfKinfu_Detail_PoseGraph(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfKinfu_Detail_PoseGraph(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Kinfu_KinFu>
impl Ptr<dyn Kinfu_KinFu>
pub fn as_raw_PtrOfKinfu_KinFu(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfKinfu_KinFu(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Kinfu_Params>
impl Ptr<Kinfu_Params>
pub fn as_raw_PtrOfKinfu_Params(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfKinfu_Params(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Kinfu_Volume>
impl Ptr<dyn Kinfu_Volume>
pub fn as_raw_PtrOfKinfu_Volume(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfKinfu_Volume(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Kinfu_VolumeParams>
impl Ptr<Kinfu_VolumeParams>
pub fn as_raw_PtrOfKinfu_VolumeParams(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfKinfu_VolumeParams(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn LargeKinfu>
impl Ptr<dyn LargeKinfu>
pub fn as_raw_PtrOfLargeKinfu(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLargeKinfu(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Linemod_ColorGradient>
impl Ptr<Linemod_ColorGradient>
pub fn as_raw_PtrOfLinemod_ColorGradient(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLinemod_ColorGradient(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Linemod_DepthNormal>
impl Ptr<Linemod_DepthNormal>
pub fn as_raw_PtrOfLinemod_DepthNormal(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLinemod_DepthNormal(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Linemod_Detector>
impl Ptr<Linemod_Detector>
pub fn as_raw_PtrOfLinemod_Detector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLinemod_Detector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Linemod_Modality>
impl Ptr<dyn Linemod_Modality>
pub fn as_raw_PtrOfLinemod_Modality(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLinemod_Modality(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Linemod_QuantizedPyramid>
impl Ptr<dyn Linemod_QuantizedPyramid>
pub fn as_raw_PtrOfLinemod_QuantizedPyramid(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLinemod_QuantizedPyramid(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Odometry>
impl Ptr<dyn Odometry>
pub fn as_raw_PtrOfOdometry(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfOdometry(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<OdometryFrame>
impl Ptr<OdometryFrame>
pub fn as_raw_PtrOfOdometryFrame(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfOdometryFrame(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Params>
impl Ptr<Params>
pub fn as_raw_PtrOfParams(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfParams(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<RgbdFrame>
impl Ptr<RgbdFrame>
pub fn as_raw_PtrOfRgbdFrame(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRgbdFrame(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<RgbdICPOdometry>
impl Ptr<RgbdICPOdometry>
pub fn as_raw_PtrOfRgbdICPOdometry(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRgbdICPOdometry(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<RgbdNormals>
impl Ptr<RgbdNormals>
pub fn as_raw_PtrOfRgbdNormals(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRgbdNormals(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<RgbdOdometry>
impl Ptr<RgbdOdometry>
pub fn as_raw_PtrOfRgbdOdometry(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRgbdOdometry(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<RgbdPlane>
impl Ptr<RgbdPlane>
pub fn as_raw_PtrOfRgbdPlane(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRgbdPlane(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MotionSaliencyBinWangApr2014>
impl Ptr<MotionSaliencyBinWangApr2014>
pub fn as_raw_PtrOfMotionSaliencyBinWangApr2014(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMotionSaliencyBinWangApr2014(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ObjectnessBING>
impl Ptr<ObjectnessBING>
pub fn as_raw_PtrOfObjectnessBING(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfObjectnessBING(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<StaticSaliencyFineGrained>
impl Ptr<StaticSaliencyFineGrained>
pub fn as_raw_PtrOfStaticSaliencyFineGrained(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfStaticSaliencyFineGrained(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<StaticSaliencySpectralResidual>
impl Ptr<StaticSaliencySpectralResidual>
pub fn as_raw_PtrOfStaticSaliencySpectralResidual(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfStaticSaliencySpectralResidual(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SFMLibmvEuclideanReconstruction>
impl Ptr<dyn SFMLibmvEuclideanReconstruction>
pub fn as_raw_PtrOfSFMLibmvEuclideanReconstruction(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSFMLibmvEuclideanReconstruction(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn AffineTransformer>
impl Ptr<dyn AffineTransformer>
pub fn as_raw_PtrOfAffineTransformer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAffineTransformer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ChiHistogramCostExtractor>
impl Ptr<dyn ChiHistogramCostExtractor>
pub fn as_raw_PtrOfChiHistogramCostExtractor(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfChiHistogramCostExtractor(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn EMDHistogramCostExtractor>
impl Ptr<dyn EMDHistogramCostExtractor>
pub fn as_raw_PtrOfEMDHistogramCostExtractor(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfEMDHistogramCostExtractor(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn EMDL1HistogramCostExtractor>
impl Ptr<dyn EMDL1HistogramCostExtractor>
pub fn as_raw_PtrOfEMDL1HistogramCostExtractor(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfEMDL1HistogramCostExtractor(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn HausdorffDistanceExtractor>
impl Ptr<dyn HausdorffDistanceExtractor>
pub fn as_raw_PtrOfHausdorffDistanceExtractor(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfHausdorffDistanceExtractor(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn HistogramCostExtractor>
impl Ptr<dyn HistogramCostExtractor>
pub fn as_raw_PtrOfHistogramCostExtractor(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfHistogramCostExtractor(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn NormHistogramCostExtractor>
impl Ptr<dyn NormHistogramCostExtractor>
pub fn as_raw_PtrOfNormHistogramCostExtractor(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfNormHistogramCostExtractor(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ShapeContextDistanceExtractor>
impl Ptr<dyn ShapeContextDistanceExtractor>
pub fn as_raw_PtrOfShapeContextDistanceExtractor(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfShapeContextDistanceExtractor(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ShapeTransformer>
impl Ptr<dyn ShapeTransformer>
pub fn as_raw_PtrOfShapeTransformer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfShapeTransformer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ThinPlateSplineShapeTransformer>
impl Ptr<dyn ThinPlateSplineShapeTransformer>
pub fn as_raw_PtrOfThinPlateSplineShapeTransformer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfThinPlateSplineShapeTransformer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn QuasiDenseStereo>
impl Ptr<dyn QuasiDenseStereo>
pub fn as_raw_PtrOfQuasiDenseStereo(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfQuasiDenseStereo(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<AffineWarper>
impl Ptr<AffineWarper>
pub fn as_raw_PtrOfAffineWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAffineWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<CompressedRectilinearPortraitWarper>
impl Ptr<CompressedRectilinearPortraitWarper>
pub fn as_raw_PtrOfCompressedRectilinearPortraitWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCompressedRectilinearPortraitWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<CompressedRectilinearWarper>
impl Ptr<CompressedRectilinearWarper>
pub fn as_raw_PtrOfCompressedRectilinearWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCompressedRectilinearWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<CylindricalWarper>
impl Ptr<CylindricalWarper>
pub fn as_raw_PtrOfCylindricalWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCylindricalWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<CylindricalWarperGpu>
impl Ptr<CylindricalWarperGpu>
pub fn as_raw_PtrOfCylindricalWarperGpu(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfCylindricalWarperGpu(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_AffineBasedEstimator>
impl Ptr<Detail_AffineBasedEstimator>
pub fn as_raw_PtrOfDetail_AffineBasedEstimator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_AffineBasedEstimator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_BestOf2NearestMatcher>
impl Ptr<Detail_BestOf2NearestMatcher>
pub fn as_raw_PtrOfDetail_BestOf2NearestMatcher(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_BestOf2NearestMatcher(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_Blender>
impl Ptr<Detail_Blender>
pub fn as_raw_PtrOfDetail_Blender(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_Blender(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Detail_BlocksCompensator>
impl Ptr<dyn Detail_BlocksCompensator>
pub fn as_raw_PtrOfDetail_BlocksCompensator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_BlocksCompensator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_BundleAdjusterAffine>
impl Ptr<Detail_BundleAdjusterAffine>
pub fn as_raw_PtrOfDetail_BundleAdjusterAffine(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_BundleAdjusterAffine(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_BundleAdjusterAffinePartial>
impl Ptr<Detail_BundleAdjusterAffinePartial>
pub fn as_raw_PtrOfDetail_BundleAdjusterAffinePartial(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_BundleAdjusterAffinePartial(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Detail_BundleAdjusterBase>
impl Ptr<dyn Detail_BundleAdjusterBase>
pub fn as_raw_PtrOfDetail_BundleAdjusterBase(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_BundleAdjusterBase(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_BundleAdjusterRay>
impl Ptr<Detail_BundleAdjusterRay>
pub fn as_raw_PtrOfDetail_BundleAdjusterRay(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_BundleAdjusterRay(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_BundleAdjusterReproj>
impl Ptr<Detail_BundleAdjusterReproj>
pub fn as_raw_PtrOfDetail_BundleAdjusterReproj(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_BundleAdjusterReproj(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_ChannelsCompensator>
impl Ptr<Detail_ChannelsCompensator>
pub fn as_raw_PtrOfDetail_ChannelsCompensator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_ChannelsCompensator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_DpSeamFinder>
impl Ptr<Detail_DpSeamFinder>
pub fn as_raw_PtrOfDetail_DpSeamFinder(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_DpSeamFinder(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Detail_Estimator>
impl Ptr<dyn Detail_Estimator>
pub fn as_raw_PtrOfDetail_Estimator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_Estimator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Detail_ExposureCompensator>
impl Ptr<dyn Detail_ExposureCompensator>
pub fn as_raw_PtrOfDetail_ExposureCompensator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_ExposureCompensator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_FeatherBlender>
impl Ptr<Detail_FeatherBlender>
pub fn as_raw_PtrOfDetail_FeatherBlender(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_FeatherBlender(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Detail_FeaturesMatcher>
impl Ptr<dyn Detail_FeaturesMatcher>
pub fn as_raw_PtrOfDetail_FeaturesMatcher(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_FeaturesMatcher(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_GainCompensator>
impl Ptr<Detail_GainCompensator>
pub fn as_raw_PtrOfDetail_GainCompensator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_GainCompensator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_GraphCutSeamFinder>
impl Ptr<Detail_GraphCutSeamFinder>
pub fn as_raw_PtrOfDetail_GraphCutSeamFinder(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_GraphCutSeamFinder(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_HomographyBasedEstimator>
impl Ptr<Detail_HomographyBasedEstimator>
pub fn as_raw_PtrOfDetail_HomographyBasedEstimator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_HomographyBasedEstimator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_MultiBandBlender>
impl Ptr<Detail_MultiBandBlender>
pub fn as_raw_PtrOfDetail_MultiBandBlender(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_MultiBandBlender(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_NoBundleAdjuster>
impl Ptr<Detail_NoBundleAdjuster>
pub fn as_raw_PtrOfDetail_NoBundleAdjuster(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_NoBundleAdjuster(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_NoExposureCompensator>
impl Ptr<Detail_NoExposureCompensator>
pub fn as_raw_PtrOfDetail_NoExposureCompensator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_NoExposureCompensator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Detail_NoSeamFinder>
impl Ptr<Detail_NoSeamFinder>
pub fn as_raw_PtrOfDetail_NoSeamFinder(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_NoSeamFinder(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Detail_PairwiseSeamFinder>
impl Ptr<dyn Detail_PairwiseSeamFinder>
pub fn as_raw_PtrOfDetail_PairwiseSeamFinder(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_PairwiseSeamFinder(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Detail_RotationWarper>
impl Ptr<dyn Detail_RotationWarper>
pub fn as_raw_PtrOfDetail_RotationWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_RotationWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Detail_SeamFinder>
impl Ptr<dyn Detail_SeamFinder>
pub fn as_raw_PtrOfDetail_SeamFinder(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDetail_SeamFinder(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<FisheyeWarper>
impl Ptr<FisheyeWarper>
pub fn as_raw_PtrOfFisheyeWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFisheyeWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MercatorWarper>
impl Ptr<MercatorWarper>
pub fn as_raw_PtrOfMercatorWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMercatorWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PaniniPortraitWarper>
impl Ptr<PaniniPortraitWarper>
pub fn as_raw_PtrOfPaniniPortraitWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPaniniPortraitWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PaniniWarper>
impl Ptr<PaniniWarper>
pub fn as_raw_PtrOfPaniniWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPaniniWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PlaneWarper>
impl Ptr<PlaneWarper>
pub fn as_raw_PtrOfPlaneWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPlaneWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PlaneWarperGpu>
impl Ptr<PlaneWarperGpu>
pub fn as_raw_PtrOfPlaneWarperGpu(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPlaneWarperGpu(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SphericalWarper>
impl Ptr<SphericalWarper>
pub fn as_raw_PtrOfSphericalWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSphericalWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SphericalWarperGpu>
impl Ptr<SphericalWarperGpu>
pub fn as_raw_PtrOfSphericalWarperGpu(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSphericalWarperGpu(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<StereographicWarper>
impl Ptr<StereographicWarper>
pub fn as_raw_PtrOfStereographicWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfStereographicWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Stitcher>
impl Ptr<Stitcher>
pub fn as_raw_PtrOfStitcher(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfStitcher(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<TransverseMercatorWarper>
impl Ptr<TransverseMercatorWarper>
pub fn as_raw_PtrOfTransverseMercatorWarper(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTransverseMercatorWarper(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn WarperCreator>
impl Ptr<dyn WarperCreator>
pub fn as_raw_PtrOfWarperCreator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfWarperCreator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn GrayCodePattern>
impl Ptr<dyn GrayCodePattern>
pub fn as_raw_PtrOfGrayCodePattern(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGrayCodePattern(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SinusoidalPattern>
impl Ptr<dyn SinusoidalPattern>
pub fn as_raw_PtrOfSinusoidalPattern(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSinusoidalPattern(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SinusoidalPattern_Params>
impl Ptr<SinusoidalPattern_Params>
pub fn as_raw_PtrOfSinusoidalPattern_Params(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSinusoidalPattern_Params(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Superres_BroxOpticalFlow>
impl Ptr<dyn Superres_BroxOpticalFlow>
pub fn as_raw_PtrOfSuperres_BroxOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSuperres_BroxOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Superres_DenseOpticalFlowExt>
impl Ptr<dyn Superres_DenseOpticalFlowExt>
pub fn as_raw_PtrOfSuperres_DenseOpticalFlowExt(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSuperres_DenseOpticalFlowExt(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Superres_DualTVL1OpticalFlow>
impl Ptr<dyn Superres_DualTVL1OpticalFlow>
pub fn as_raw_PtrOfSuperres_DualTVL1OpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSuperres_DualTVL1OpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Superres_FarnebackOpticalFlow>
impl Ptr<dyn Superres_FarnebackOpticalFlow>
pub fn as_raw_PtrOfSuperres_FarnebackOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSuperres_FarnebackOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Superres_FrameSource>
impl Ptr<dyn Superres_FrameSource>
pub fn as_raw_PtrOfSuperres_FrameSource(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSuperres_FrameSource(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Superres_PyrLKOpticalFlow>
impl Ptr<dyn Superres_PyrLKOpticalFlow>
pub fn as_raw_PtrOfSuperres_PyrLKOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSuperres_PyrLKOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn Superres_SuperResolution>
impl Ptr<dyn Superres_SuperResolution>
pub fn as_raw_PtrOfSuperres_SuperResolution(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSuperres_SuperResolution(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<Pose3D>
impl Ptr<Pose3D>
pub fn as_raw_PtrOfPose3D(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPose3D(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<PoseCluster3D>
impl Ptr<PoseCluster3D>
pub fn as_raw_PtrOfPoseCluster3D(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPoseCluster3D(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ERFilter>
impl Ptr<dyn ERFilter>
pub fn as_raw_PtrOfERFilter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfERFilter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ERFilter_Callback>
impl Ptr<dyn ERFilter_Callback>
pub fn as_raw_PtrOfERFilter_Callback(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfERFilter_Callback(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<OCRBeamSearchDecoder>
impl Ptr<OCRBeamSearchDecoder>
pub fn as_raw_PtrOfOCRBeamSearchDecoder(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfOCRBeamSearchDecoder(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<OCRBeamSearchDecoder_ClassifierCallback>
impl Ptr<OCRBeamSearchDecoder_ClassifierCallback>
pub fn as_raw_PtrOfOCRBeamSearchDecoder_ClassifierCallback(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfOCRBeamSearchDecoder_ClassifierCallback(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<OCRHMMDecoder>
impl Ptr<OCRHMMDecoder>
pub fn as_raw_PtrOfOCRHMMDecoder(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfOCRHMMDecoder(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<OCRHMMDecoder_ClassifierCallback>
impl Ptr<OCRHMMDecoder_ClassifierCallback>
pub fn as_raw_PtrOfOCRHMMDecoder_ClassifierCallback(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfOCRHMMDecoder_ClassifierCallback(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn OCRHolisticWordRecognizer>
impl Ptr<dyn OCRHolisticWordRecognizer>
pub fn as_raw_PtrOfOCRHolisticWordRecognizer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfOCRHolisticWordRecognizer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn OCRTesseract>
impl Ptr<dyn OCRTesseract>
pub fn as_raw_PtrOfOCRTesseract(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfOCRTesseract(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TextDetectorCNN>
impl Ptr<dyn TextDetectorCNN>
pub fn as_raw_PtrOfTextDetectorCNN(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTextDetectorCNN(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TrackerCSRT>
impl Ptr<dyn TrackerCSRT>
pub fn as_raw_PtrOfTrackerCSRT(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTrackerCSRT(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TrackerKCF>
impl Ptr<dyn TrackerKCF>
pub fn as_raw_PtrOfTrackerKCF(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTrackerKCF(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn BackgroundSubtractorKNN>
impl Ptr<dyn BackgroundSubtractorKNN>
pub fn as_raw_PtrOfBackgroundSubtractorKNN(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBackgroundSubtractorKNN(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn BackgroundSubtractorMOG2>
impl Ptr<dyn BackgroundSubtractorMOG2>
pub fn as_raw_PtrOfBackgroundSubtractorMOG2(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBackgroundSubtractorMOG2(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DISOpticalFlow>
impl Ptr<dyn DISOpticalFlow>
pub fn as_raw_PtrOfDISOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDISOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DenseOpticalFlow>
impl Ptr<dyn DenseOpticalFlow>
pub fn as_raw_PtrOfDenseOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDenseOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn FarnebackOpticalFlow>
impl Ptr<dyn FarnebackOpticalFlow>
pub fn as_raw_PtrOfFarnebackOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFarnebackOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SparseOpticalFlow>
impl Ptr<dyn SparseOpticalFlow>
pub fn as_raw_PtrOfSparseOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSparseOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SparsePyrLKOpticalFlow>
impl Ptr<dyn SparsePyrLKOpticalFlow>
pub fn as_raw_PtrOfSparsePyrLKOpticalFlow(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSparsePyrLKOpticalFlow(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TrackerDaSiamRPN>
impl Ptr<dyn TrackerDaSiamRPN>
pub fn as_raw_PtrOfTrackerDaSiamRPN(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTrackerDaSiamRPN(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TrackerGOTURN>
impl Ptr<dyn TrackerGOTURN>
pub fn as_raw_PtrOfTrackerGOTURN(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTrackerGOTURN(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TrackerMIL>
impl Ptr<dyn TrackerMIL>
pub fn as_raw_PtrOfTrackerMIL(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTrackerMIL(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn VariationalRefinement>
impl Ptr<dyn VariationalRefinement>
pub fn as_raw_PtrOfVariationalRefinement(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfVariationalRefinement(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ColorAverageInpainter>
impl Ptr<ColorAverageInpainter>
pub fn as_raw_PtrOfColorAverageInpainter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfColorAverageInpainter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ColorInpainter>
impl Ptr<ColorInpainter>
pub fn as_raw_PtrOfColorInpainter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfColorInpainter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ConsistentMosaicInpainter>
impl Ptr<ConsistentMosaicInpainter>
pub fn as_raw_PtrOfConsistentMosaicInpainter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfConsistentMosaicInpainter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DeblurerBase>
impl Ptr<dyn DeblurerBase>
pub fn as_raw_PtrOfDeblurerBase(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDeblurerBase(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<DensePyrLkOptFlowEstimatorGpu>
impl Ptr<DensePyrLkOptFlowEstimatorGpu>
pub fn as_raw_PtrOfDensePyrLkOptFlowEstimatorGpu(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDensePyrLkOptFlowEstimatorGpu(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<FromFileMotionReader>
impl Ptr<FromFileMotionReader>
pub fn as_raw_PtrOfFromFileMotionReader(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFromFileMotionReader(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<GaussianMotionFilter>
impl Ptr<GaussianMotionFilter>
pub fn as_raw_PtrOfGaussianMotionFilter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGaussianMotionFilter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn IDenseOptFlowEstimator>
impl Ptr<dyn IDenseOptFlowEstimator>
pub fn as_raw_PtrOfIDenseOptFlowEstimator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfIDenseOptFlowEstimator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn IFrameSource>
impl Ptr<dyn IFrameSource>
pub fn as_raw_PtrOfIFrameSource(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfIFrameSource(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ILog>
impl Ptr<dyn ILog>
pub fn as_raw_PtrOfILog(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfILog(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn IMotionStabilizer>
impl Ptr<dyn IMotionStabilizer>
pub fn as_raw_PtrOfIMotionStabilizer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfIMotionStabilizer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn IOutlierRejector>
impl Ptr<dyn IOutlierRejector>
pub fn as_raw_PtrOfIOutlierRejector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfIOutlierRejector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ISparseOptFlowEstimator>
impl Ptr<dyn ISparseOptFlowEstimator>
pub fn as_raw_PtrOfISparseOptFlowEstimator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfISparseOptFlowEstimator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ImageMotionEstimatorBase>
impl Ptr<dyn ImageMotionEstimatorBase>
pub fn as_raw_PtrOfImageMotionEstimatorBase(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfImageMotionEstimatorBase(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn InpainterBase>
impl Ptr<dyn InpainterBase>
pub fn as_raw_PtrOfInpainterBase(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfInpainterBase(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<InpaintingPipeline>
impl Ptr<InpaintingPipeline>
pub fn as_raw_PtrOfInpaintingPipeline(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfInpaintingPipeline(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<KeypointBasedMotionEstimator>
impl Ptr<KeypointBasedMotionEstimator>
pub fn as_raw_PtrOfKeypointBasedMotionEstimator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfKeypointBasedMotionEstimator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<KeypointBasedMotionEstimatorGpu>
impl Ptr<KeypointBasedMotionEstimatorGpu>
pub fn as_raw_PtrOfKeypointBasedMotionEstimatorGpu(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfKeypointBasedMotionEstimatorGpu(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<LogToStdout>
impl Ptr<LogToStdout>
pub fn as_raw_PtrOfLogToStdout(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLogToStdout(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<LpMotionStabilizer>
impl Ptr<LpMotionStabilizer>
pub fn as_raw_PtrOfLpMotionStabilizer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLpMotionStabilizer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MaskFrameSource>
impl Ptr<MaskFrameSource>
pub fn as_raw_PtrOfMaskFrameSource(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMaskFrameSource(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>
impl Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>
pub fn as_raw_PtrOfMoreAccurateMotionWobbleSuppressorBase(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMoreAccurateMotionWobbleSuppressorBase(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn MotionEstimatorBase>
impl Ptr<dyn MotionEstimatorBase>
pub fn as_raw_PtrOfMotionEstimatorBase(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMotionEstimatorBase(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MotionEstimatorL1>
impl Ptr<MotionEstimatorL1>
pub fn as_raw_PtrOfMotionEstimatorL1(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMotionEstimatorL1(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MotionEstimatorRansacL2>
impl Ptr<MotionEstimatorRansacL2>
pub fn as_raw_PtrOfMotionEstimatorRansacL2(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMotionEstimatorRansacL2(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn MotionFilterBase>
impl Ptr<dyn MotionFilterBase>
pub fn as_raw_PtrOfMotionFilterBase(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMotionFilterBase(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MotionInpainter>
impl Ptr<MotionInpainter>
pub fn as_raw_PtrOfMotionInpainter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMotionInpainter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MotionStabilizationPipeline>
impl Ptr<MotionStabilizationPipeline>
pub fn as_raw_PtrOfMotionStabilizationPipeline(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMotionStabilizationPipeline(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<NullDeblurer>
impl Ptr<NullDeblurer>
pub fn as_raw_PtrOfNullDeblurer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfNullDeblurer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<NullFrameSource>
impl Ptr<NullFrameSource>
pub fn as_raw_PtrOfNullFrameSource(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfNullFrameSource(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<NullInpainter>
impl Ptr<NullInpainter>
pub fn as_raw_PtrOfNullInpainter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfNullInpainter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<NullLog>
impl Ptr<NullLog>
pub fn as_raw_PtrOfNullLog(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfNullLog(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<NullOutlierRejector>
impl Ptr<NullOutlierRejector>
pub fn as_raw_PtrOfNullOutlierRejector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfNullOutlierRejector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<NullWobbleSuppressor>
impl Ptr<NullWobbleSuppressor>
pub fn as_raw_PtrOfNullWobbleSuppressor(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfNullWobbleSuppressor(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<OnePassStabilizer>
impl Ptr<OnePassStabilizer>
pub fn as_raw_PtrOfOnePassStabilizer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfOnePassStabilizer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SparsePyrLkOptFlowEstimator>
impl Ptr<SparsePyrLkOptFlowEstimator>
pub fn as_raw_PtrOfSparsePyrLkOptFlowEstimator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSparsePyrLkOptFlowEstimator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SparsePyrLkOptFlowEstimatorGpu>
impl Ptr<SparsePyrLkOptFlowEstimatorGpu>
pub fn as_raw_PtrOfSparsePyrLkOptFlowEstimatorGpu(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSparsePyrLkOptFlowEstimatorGpu(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ToFileMotionWriter>
impl Ptr<ToFileMotionWriter>
pub fn as_raw_PtrOfToFileMotionWriter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfToFileMotionWriter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<TranslationBasedLocalOutlierRejector>
impl Ptr<TranslationBasedLocalOutlierRejector>
pub fn as_raw_PtrOfTranslationBasedLocalOutlierRejector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTranslationBasedLocalOutlierRejector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<TwoPassStabilizer>
impl Ptr<TwoPassStabilizer>
pub fn as_raw_PtrOfTwoPassStabilizer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTwoPassStabilizer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<VideoFileSource>
impl Ptr<VideoFileSource>
pub fn as_raw_PtrOfVideoFileSource(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfVideoFileSource(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<WeightingDeblurer>
impl Ptr<WeightingDeblurer>
pub fn as_raw_PtrOfWeightingDeblurer(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfWeightingDeblurer(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn WobbleSuppressorBase>
impl Ptr<dyn WobbleSuppressorBase>
pub fn as_raw_PtrOfWobbleSuppressorBase(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfWobbleSuppressorBase(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn AffineFeature2D>
impl Ptr<dyn AffineFeature2D>
pub fn as_raw_PtrOfAffineFeature2D(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAffineFeature2D(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<BEBLID>
impl Ptr<BEBLID>
pub fn as_raw_PtrOfBEBLID(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBEBLID(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn BoostDesc>
impl Ptr<dyn BoostDesc>
pub fn as_raw_PtrOfBoostDesc(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBoostDesc(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<BriefDescriptorExtractor>
impl Ptr<BriefDescriptorExtractor>
pub fn as_raw_PtrOfBriefDescriptorExtractor(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfBriefDescriptorExtractor(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DAISY>
impl Ptr<dyn DAISY>
pub fn as_raw_PtrOfDAISY(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDAISY(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<FREAK>
impl Ptr<FREAK>
pub fn as_raw_PtrOfFREAK(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFREAK(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<HarrisLaplaceFeatureDetector>
impl Ptr<HarrisLaplaceFeatureDetector>
pub fn as_raw_PtrOfHarrisLaplaceFeatureDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfHarrisLaplaceFeatureDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<LATCH>
impl Ptr<LATCH>
pub fn as_raw_PtrOfLATCH(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLATCH(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<LUCID>
impl Ptr<LUCID>
pub fn as_raw_PtrOfLUCID(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLUCID(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<MSDDetector>
impl Ptr<MSDDetector>
pub fn as_raw_PtrOfMSDDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfMSDDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn PCTSignatures>
impl Ptr<dyn PCTSignatures>
pub fn as_raw_PtrOfPCTSignatures(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPCTSignatures(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn PCTSignaturesSQFD>
impl Ptr<dyn PCTSignaturesSQFD>
pub fn as_raw_PtrOfPCTSignaturesSQFD(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfPCTSignaturesSQFD(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SURF>
impl Ptr<dyn SURF>
pub fn as_raw_PtrOfSURF(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSURF(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<SURF_CUDA>
impl Ptr<SURF_CUDA>
pub fn as_raw_PtrOfSURF_CUDA(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSURF_CUDA(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<StarDetector>
impl Ptr<StarDetector>
pub fn as_raw_PtrOfStarDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfStarDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TBMR>
impl Ptr<dyn TBMR>
pub fn as_raw_PtrOfTBMR(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTBMR(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn VGG>
impl Ptr<dyn VGG>
pub fn as_raw_PtrOfVGG(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfVGG(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn AdaptiveManifoldFilter>
impl Ptr<dyn AdaptiveManifoldFilter>
pub fn as_raw_PtrOfAdaptiveManifoldFilter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfAdaptiveManifoldFilter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<ContourFitting>
impl Ptr<ContourFitting>
pub fn as_raw_PtrOfContourFitting(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfContourFitting(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DTFilter>
impl Ptr<dyn DTFilter>
pub fn as_raw_PtrOfDTFilter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDTFilter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn DisparityWLSFilter>
impl Ptr<dyn DisparityWLSFilter>
pub fn as_raw_PtrOfDisparityWLSFilter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfDisparityWLSFilter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn EdgeAwareInterpolator>
impl Ptr<dyn EdgeAwareInterpolator>
pub fn as_raw_PtrOfEdgeAwareInterpolator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfEdgeAwareInterpolator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn EdgeBoxes>
impl Ptr<dyn EdgeBoxes>
pub fn as_raw_PtrOfEdgeBoxes(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfEdgeBoxes(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn EdgeDrawing>
impl Ptr<dyn EdgeDrawing>
pub fn as_raw_PtrOfEdgeDrawing(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfEdgeDrawing(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn FastBilateralSolverFilter>
impl Ptr<dyn FastBilateralSolverFilter>
pub fn as_raw_PtrOfFastBilateralSolverFilter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFastBilateralSolverFilter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn FastGlobalSmootherFilter>
impl Ptr<dyn FastGlobalSmootherFilter>
pub fn as_raw_PtrOfFastGlobalSmootherFilter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFastGlobalSmootherFilter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn FastLineDetector>
impl Ptr<dyn FastLineDetector>
pub fn as_raw_PtrOfFastLineDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfFastLineDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn GraphSegmentation>
impl Ptr<dyn GraphSegmentation>
pub fn as_raw_PtrOfGraphSegmentation(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGraphSegmentation(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn GuidedFilter>
impl Ptr<dyn GuidedFilter>
pub fn as_raw_PtrOfGuidedFilter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGuidedFilter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn RFFeatureGetter>
impl Ptr<dyn RFFeatureGetter>
pub fn as_raw_PtrOfRFFeatureGetter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRFFeatureGetter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn RICInterpolator>
impl Ptr<dyn RICInterpolator>
pub fn as_raw_PtrOfRICInterpolator(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRICInterpolator(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn RidgeDetectionFilter>
impl Ptr<dyn RidgeDetectionFilter>
pub fn as_raw_PtrOfRidgeDetectionFilter(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfRidgeDetectionFilter(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn ScanSegment>
impl Ptr<dyn ScanSegment>
pub fn as_raw_PtrOfScanSegment(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfScanSegment(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SelectiveSearchSegmentation>
impl Ptr<dyn SelectiveSearchSegmentation>
pub fn as_raw_PtrOfSelectiveSearchSegmentation(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSelectiveSearchSegmentation(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SelectiveSearchSegmentationStrategy>
impl Ptr<dyn SelectiveSearchSegmentationStrategy>
pub fn as_raw_PtrOfSelectiveSearchSegmentationStrategy(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSelectiveSearchSegmentationStrategy(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SelectiveSearchSegmentationStrategyColor>
impl Ptr<dyn SelectiveSearchSegmentationStrategyColor>
pub fn as_raw_PtrOfSelectiveSearchSegmentationStrategyColor(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSelectiveSearchSegmentationStrategyColor(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SelectiveSearchSegmentationStrategyFill>
impl Ptr<dyn SelectiveSearchSegmentationStrategyFill>
pub fn as_raw_PtrOfSelectiveSearchSegmentationStrategyFill(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSelectiveSearchSegmentationStrategyFill(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>
impl Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>
pub fn as_raw_PtrOfSelectiveSearchSegmentationStrategyMultiple(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSelectiveSearchSegmentationStrategyMultiple(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SelectiveSearchSegmentationStrategySize>
impl Ptr<dyn SelectiveSearchSegmentationStrategySize>
pub fn as_raw_PtrOfSelectiveSearchSegmentationStrategySize(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSelectiveSearchSegmentationStrategySize(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SelectiveSearchSegmentationStrategyTexture>
impl Ptr<dyn SelectiveSearchSegmentationStrategyTexture>
pub fn as_raw_PtrOfSelectiveSearchSegmentationStrategyTexture(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSelectiveSearchSegmentationStrategyTexture(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn StructuredEdgeDetection>
impl Ptr<dyn StructuredEdgeDetection>
pub fn as_raw_PtrOfStructuredEdgeDetection(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfStructuredEdgeDetection(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SuperpixelLSC>
impl Ptr<dyn SuperpixelLSC>
pub fn as_raw_PtrOfSuperpixelLSC(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSuperpixelLSC(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SuperpixelSEEDS>
impl Ptr<dyn SuperpixelSEEDS>
pub fn as_raw_PtrOfSuperpixelSEEDS(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSuperpixelSEEDS(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SuperpixelSLIC>
impl Ptr<dyn SuperpixelSLIC>
pub fn as_raw_PtrOfSuperpixelSLIC(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSuperpixelSLIC(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn WBDetector>
impl Ptr<dyn WBDetector>
pub fn as_raw_PtrOfWBDetector(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfWBDetector(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn GrayworldWB>
impl Ptr<dyn GrayworldWB>
pub fn as_raw_PtrOfGrayworldWB(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfGrayworldWB(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn LearningBasedWB>
impl Ptr<dyn LearningBasedWB>
pub fn as_raw_PtrOfLearningBasedWB(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfLearningBasedWB(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn SimpleWB>
impl Ptr<dyn SimpleWB>
pub fn as_raw_PtrOfSimpleWB(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfSimpleWB(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
source§impl Ptr<dyn TonemapDurand>
impl Ptr<dyn TonemapDurand>
pub fn as_raw_PtrOfTonemapDurand(
&self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSend
pub fn as_raw_mut_PtrOfTonemapDurand(
&mut self
) -> <Self as OpenCVTypeExternContainer<'_>>::ExternSendMut
Methods from Deref<Target = f32>§
pub const RADIX: u32 = 2u32
pub const MANTISSA_DIGITS: u32 = 24u32
pub const DIGITS: u32 = 6u32
pub const EPSILON: f32 = 1.1920929E-7f32
pub const MIN: f32 = -3.40282347E+38f32
pub const MIN_POSITIVE: f32 = 1.17549435E-38f32
pub const MAX: f32 = 3.40282347E+38f32
pub const MIN_EXP: i32 = -125i32
pub const MAX_EXP: i32 = 128i32
pub const MIN_10_EXP: i32 = -37i32
pub const MAX_10_EXP: i32 = 38i32
pub const NAN: f32 = NaNf32
pub const INFINITY: f32 = +Inff32
pub const NEG_INFINITY: f32 = -Inff32
1.62.0 · sourcepub fn total_cmp(&self, other: &f32) -> Ordering
pub fn total_cmp(&self, other: &f32) -> Ordering
Return the ordering between self
and other
.
Unlike the standard partial comparison between floating point numbers,
this comparison always produces an ordering in accordance to
the totalOrder
predicate as defined in the IEEE 754 (2008 revision)
floating point standard. The values are ordered in the following sequence:
- negative quiet NaN
- negative signaling NaN
- negative infinity
- negative numbers
- negative subnormal numbers
- negative zero
- positive zero
- positive subnormal numbers
- positive numbers
- positive infinity
- positive signaling NaN
- positive quiet NaN.
The ordering established by this function does not always agree with the
PartialOrd
and PartialEq
implementations of f32
. For example,
they consider negative and positive zero equal, while total_cmp
doesn’t.
The interpretation of the signaling NaN bit follows the definition in the IEEE 754 standard, which may not match the interpretation by some of the older, non-conformant (e.g. MIPS) hardware implementations.
Example
struct GoodBoy {
name: String,
weight: f32,
}
let mut bois = vec![
GoodBoy { name: "Pucci".to_owned(), weight: 0.1 },
GoodBoy { name: "Woofer".to_owned(), weight: 99.0 },
GoodBoy { name: "Yapper".to_owned(), weight: 10.0 },
GoodBoy { name: "Chonk".to_owned(), weight: f32::INFINITY },
GoodBoy { name: "Abs. Unit".to_owned(), weight: f32::NAN },
GoodBoy { name: "Floaty".to_owned(), weight: -5.0 },
];
bois.sort_by(|a, b| a.weight.total_cmp(&b.weight));
Trait Implementations§
source§impl AKAZE for Ptr<dyn AKAZE>
impl AKAZE for Ptr<dyn AKAZE>
fn as_raw_mut_AKAZE(&mut self) -> *mut c_void
fn set_descriptor_type(&mut self, dtype: AKAZE_DescriptorType) -> Result<()>
fn set_descriptor_size(&mut self, dsize: i32) -> Result<()>
fn set_descriptor_channels(&mut self, dch: i32) -> Result<()>
fn set_threshold(&mut self, threshold: f64) -> Result<()>
fn set_n_octaves(&mut self, octaves: i32) -> Result<()>
fn set_n_octave_layers(&mut self, octave_layers: i32) -> Result<()>
fn set_diffusivity(&mut self, diff: KAZE_DiffusivityType) -> Result<()>
source§impl AKAZEConst for Ptr<dyn AKAZE>
impl AKAZEConst for Ptr<dyn AKAZE>
fn as_raw_AKAZE(&self) -> *const c_void
fn get_descriptor_type(&self) -> Result<AKAZE_DescriptorType>
fn get_descriptor_size(&self) -> Result<i32>
fn get_descriptor_channels(&self) -> Result<i32>
fn get_threshold(&self) -> Result<f64>
fn get_n_octaves(&self) -> Result<i32>
fn get_n_octave_layers(&self) -> Result<i32>
fn get_diffusivity(&self) -> Result<KAZE_DiffusivityType>
fn get_default_name(&self) -> Result<String>
source§impl ANN_MLP for Ptr<dyn ANN_MLP>
impl ANN_MLP for Ptr<dyn ANN_MLP>
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<()>
fn set_train_method(&mut self, method: i32, param1: f64, param2: f64) -> Result<()>
Sets training method and common parameters. Read more
source§fn set_activation_function(
&mut self,
typ: i32,
param1: f64,
param2: f64
) -> Result<()>
fn set_activation_function(
&mut self,
typ: i32,
param1: f64,
param2: f64
) -> Result<()>
Initialize the activation function for each neuron.
Currently the default and the only fully supported activation function is ANN_MLP::SIGMOID_SYM. Read more
source§fn set_layer_sizes(&mut self, _layer_sizes: &dyn ToInputArray) -> Result<()>
fn set_layer_sizes(&mut self, _layer_sizes: &dyn ToInputArray) -> Result<()>
Integer vector specifying the number of neurons in each layer including the input and output layers.
The very first element specifies the number of elements in the input layer.
The last element - number of elements in the output layer. Default value is empty Mat. Read more
source§fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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§impl ANN_MLPConst for Ptr<dyn ANN_MLP>
impl ANN_MLPConst for Ptr<dyn ANN_MLP>
fn as_raw_ANN_MLP(&self) -> *const c_void
source§fn get_train_method(&self) -> Result<i32>
fn get_train_method(&self) -> Result<i32>
Returns current training method
source§fn get_layer_sizes(&self) -> Result<Mat>
fn get_layer_sizes(&self) -> Result<Mat>
Integer vector specifying the number of neurons in each layer including the input and output layers.
The very first element specifies the number of elements in the input layer.
The last element - number of elements in the output layer. Read more
source§fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_term_criteria(&self) -> Result<TermCriteria>
Termination criteria of the training algorithm.
You can specify the maximum number of iterations (maxCount) and/or how much the error could
change between the iterations to make the algorithm continue (epsilon). Default value is
TermCriteria(TermCriteria::MAX_ITER + TermCriteria::EPS, 1000, 0.01). Read more
source§fn get_backprop_weight_scale(&self) -> Result<f64>
fn get_backprop_weight_scale(&self) -> Result<f64>
BPROP: Strength of the weight gradient term.
The recommended value is about 0.1. Default value is 0.1. Read more
source§fn get_backprop_momentum_scale(&self) -> Result<f64>
fn get_backprop_momentum_scale(&self) -> Result<f64>
BPROP: Strength of the momentum term (the difference between weights on the 2 previous iterations).
This parameter provides some inertia to smooth the random fluctuations of the weights. It can
vary from 0 (the feature is disabled) to 1 and beyond. The value 0.1 or so is good enough.
Default value is 0.1. Read more
source§fn get_rprop_dw0(&self) -> Result<f64>
fn get_rprop_dw0(&self) -> Result<f64>
RPROP: Initial value inline formula of update-values inline formula.
Default value is 0.1. Read more
source§fn get_rprop_dw_plus(&self) -> Result<f64>
fn get_rprop_dw_plus(&self) -> Result<f64>
RPROP: Increase factor inline formula.
It must be >1. Default value is 1.2. Read more
source§fn get_rprop_dw_minus(&self) -> Result<f64>
fn get_rprop_dw_minus(&self) -> Result<f64>
RPROP: Decrease factor inline formula.
It must be <1. Default value is 0.5. Read more
source§fn get_rprop_dw_min(&self) -> Result<f64>
fn get_rprop_dw_min(&self) -> Result<f64>
RPROP: Update-values lower limit inline formula.
It must be positive. Default value is FLT_EPSILON. Read more
source§fn get_rprop_dw_max(&self) -> Result<f64>
fn get_rprop_dw_max(&self) -> Result<f64>
RPROP: Update-values upper limit inline formula.
It must be >1. Default value is 50. Read more
source§fn get_anneal_initial_t(&self) -> Result<f64>
fn get_anneal_initial_t(&self) -> Result<f64>
ANNEAL: Update initial temperature.
It must be >=0. Default value is 10. Read more
source§fn get_anneal_final_t(&self) -> Result<f64>
fn get_anneal_final_t(&self) -> Result<f64>
ANNEAL: Update final temperature.
It must be >=0 and less than initialT. Default value is 0.1. Read more
source§fn get_anneal_cooling_ratio(&self) -> Result<f64>
fn get_anneal_cooling_ratio(&self) -> Result<f64>
ANNEAL: Update cooling ratio.
It must be >0 and less than 1. Default value is 0.95. Read more
source§fn get_anneal_ite_per_step(&self) -> Result<i32>
fn get_anneal_ite_per_step(&self) -> Result<i32>
ANNEAL: Update iteration per step.
It must be >0 . Default value is 10. Read more
fn get_weights(&self, layer_idx: i32) -> Result<Mat>
source§impl AbsLayerTrait for Ptr<AbsLayer>
impl AbsLayerTrait for Ptr<AbsLayer>
fn as_raw_mut_AbsLayer(&mut self) -> *mut c_void
source§impl AbsLayerTraitConst for Ptr<AbsLayer>
impl AbsLayerTraitConst for Ptr<AbsLayer>
fn as_raw_AbsLayer(&self) -> *const c_void
source§impl AccumLayerTrait for Ptr<AccumLayer>
impl AccumLayerTrait for Ptr<AccumLayer>
fn as_raw_mut_AccumLayer(&mut self) -> *mut c_void
source§impl AccumLayerTraitConst for Ptr<AccumLayer>
impl AccumLayerTraitConst for Ptr<AccumLayer>
fn as_raw_AccumLayer(&self) -> *const c_void
source§impl AcosLayerTrait for Ptr<AcosLayer>
impl AcosLayerTrait for Ptr<AcosLayer>
fn as_raw_mut_AcosLayer(&mut self) -> *mut c_void
source§impl AcosLayerTraitConst for Ptr<AcosLayer>
impl AcosLayerTraitConst for Ptr<AcosLayer>
fn as_raw_AcosLayer(&self) -> *const c_void
source§impl AcoshLayerTrait for Ptr<AcoshLayer>
impl AcoshLayerTrait for Ptr<AcoshLayer>
fn as_raw_mut_AcoshLayer(&mut self) -> *mut c_void
source§impl AcoshLayerTraitConst for Ptr<AcoshLayer>
impl AcoshLayerTraitConst for Ptr<AcoshLayer>
fn as_raw_AcoshLayer(&self) -> *const c_void
source§impl ActivationLayerInt8Trait for Ptr<ActivationLayerInt8>
impl ActivationLayerInt8Trait for Ptr<ActivationLayerInt8>
fn as_raw_mut_ActivationLayerInt8(&mut self) -> *mut c_void
source§impl ActivationLayerInt8TraitConst for Ptr<ActivationLayerInt8>
impl ActivationLayerInt8TraitConst for Ptr<ActivationLayerInt8>
fn as_raw_ActivationLayerInt8(&self) -> *const c_void
source§impl ActivationLayerTrait for Ptr<AbsLayer>
impl ActivationLayerTrait for Ptr<AbsLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<AcosLayer>
impl ActivationLayerTrait for Ptr<AcosLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<AcoshLayer>
impl ActivationLayerTrait for Ptr<AcoshLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ActivationLayer>
impl ActivationLayerTrait for Ptr<ActivationLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ActivationLayerInt8>
impl ActivationLayerTrait for Ptr<ActivationLayerInt8>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<AsinLayer>
impl ActivationLayerTrait for Ptr<AsinLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<AsinhLayer>
impl ActivationLayerTrait for Ptr<AsinhLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<AtanLayer>
impl ActivationLayerTrait for Ptr<AtanLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<AtanhLayer>
impl ActivationLayerTrait for Ptr<AtanhLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<BNLLLayer>
impl ActivationLayerTrait for Ptr<BNLLLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<BatchNormLayer>
impl ActivationLayerTrait for Ptr<BatchNormLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<BatchNormLayerInt8>
impl ActivationLayerTrait for Ptr<BatchNormLayerInt8>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<CeilLayer>
impl ActivationLayerTrait for Ptr<CeilLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<CeluLayer>
impl ActivationLayerTrait for Ptr<CeluLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<CosLayer>
impl ActivationLayerTrait for Ptr<CosLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<CoshLayer>
impl ActivationLayerTrait for Ptr<CoshLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ELULayer>
impl ActivationLayerTrait for Ptr<ELULayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ErfLayer>
impl ActivationLayerTrait for Ptr<ErfLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ExpLayer>
impl ActivationLayerTrait for Ptr<ExpLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<FloorLayer>
impl ActivationLayerTrait for Ptr<FloorLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<HardSigmoidLayer>
impl ActivationLayerTrait for Ptr<HardSigmoidLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<HardSwishLayer>
impl ActivationLayerTrait for Ptr<HardSwishLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<LogLayer>
impl ActivationLayerTrait for Ptr<LogLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<MishLayer>
impl ActivationLayerTrait for Ptr<MishLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<NotLayer>
impl ActivationLayerTrait for Ptr<NotLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<PowerLayer>
impl ActivationLayerTrait for Ptr<PowerLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ReLU6Layer>
impl ActivationLayerTrait for Ptr<ReLU6Layer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ReLULayer>
impl ActivationLayerTrait for Ptr<ReLULayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ReciprocalLayer>
impl ActivationLayerTrait for Ptr<ReciprocalLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<RoundLayer>
impl ActivationLayerTrait for Ptr<RoundLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<SeluLayer>
impl ActivationLayerTrait for Ptr<SeluLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ShrinkLayer>
impl ActivationLayerTrait for Ptr<ShrinkLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<SigmoidLayer>
impl ActivationLayerTrait for Ptr<SigmoidLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<SignLayer>
impl ActivationLayerTrait for Ptr<SignLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<SinLayer>
impl ActivationLayerTrait for Ptr<SinLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<SinhLayer>
impl ActivationLayerTrait for Ptr<SinhLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<SoftplusLayer>
impl ActivationLayerTrait for Ptr<SoftplusLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<SoftsignLayer>
impl ActivationLayerTrait for Ptr<SoftsignLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<SqrtLayer>
impl ActivationLayerTrait for Ptr<SqrtLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<SwishLayer>
impl ActivationLayerTrait for Ptr<SwishLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<TanHLayer>
impl ActivationLayerTrait for Ptr<TanHLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<TanLayer>
impl ActivationLayerTrait for Ptr<TanLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTrait for Ptr<ThresholdedReluLayer>
impl ActivationLayerTrait for Ptr<ThresholdedReluLayer>
fn as_raw_mut_ActivationLayer(&mut self) -> *mut c_void
source§impl ActivationLayerTraitConst for Ptr<AbsLayer>
impl ActivationLayerTraitConst for Ptr<AbsLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<AcosLayer>
impl ActivationLayerTraitConst for Ptr<AcosLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<AcoshLayer>
impl ActivationLayerTraitConst for Ptr<AcoshLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ActivationLayer>
impl ActivationLayerTraitConst for Ptr<ActivationLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ActivationLayerInt8>
impl ActivationLayerTraitConst for Ptr<ActivationLayerInt8>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<AsinLayer>
impl ActivationLayerTraitConst for Ptr<AsinLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<AsinhLayer>
impl ActivationLayerTraitConst for Ptr<AsinhLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<AtanLayer>
impl ActivationLayerTraitConst for Ptr<AtanLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<AtanhLayer>
impl ActivationLayerTraitConst for Ptr<AtanhLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<BNLLLayer>
impl ActivationLayerTraitConst for Ptr<BNLLLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<BatchNormLayer>
impl ActivationLayerTraitConst for Ptr<BatchNormLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<BatchNormLayerInt8>
impl ActivationLayerTraitConst for Ptr<BatchNormLayerInt8>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<CeilLayer>
impl ActivationLayerTraitConst for Ptr<CeilLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<CeluLayer>
impl ActivationLayerTraitConst for Ptr<CeluLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<CosLayer>
impl ActivationLayerTraitConst for Ptr<CosLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<CoshLayer>
impl ActivationLayerTraitConst for Ptr<CoshLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ELULayer>
impl ActivationLayerTraitConst for Ptr<ELULayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ErfLayer>
impl ActivationLayerTraitConst for Ptr<ErfLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ExpLayer>
impl ActivationLayerTraitConst for Ptr<ExpLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<FloorLayer>
impl ActivationLayerTraitConst for Ptr<FloorLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<HardSigmoidLayer>
impl ActivationLayerTraitConst for Ptr<HardSigmoidLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<HardSwishLayer>
impl ActivationLayerTraitConst for Ptr<HardSwishLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<LogLayer>
impl ActivationLayerTraitConst for Ptr<LogLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<MishLayer>
impl ActivationLayerTraitConst for Ptr<MishLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<NotLayer>
impl ActivationLayerTraitConst for Ptr<NotLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<PowerLayer>
impl ActivationLayerTraitConst for Ptr<PowerLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ReLU6Layer>
impl ActivationLayerTraitConst for Ptr<ReLU6Layer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ReLULayer>
impl ActivationLayerTraitConst for Ptr<ReLULayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ReciprocalLayer>
impl ActivationLayerTraitConst for Ptr<ReciprocalLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<RoundLayer>
impl ActivationLayerTraitConst for Ptr<RoundLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<SeluLayer>
impl ActivationLayerTraitConst for Ptr<SeluLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ShrinkLayer>
impl ActivationLayerTraitConst for Ptr<ShrinkLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<SigmoidLayer>
impl ActivationLayerTraitConst for Ptr<SigmoidLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<SignLayer>
impl ActivationLayerTraitConst for Ptr<SignLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<SinLayer>
impl ActivationLayerTraitConst for Ptr<SinLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<SinhLayer>
impl ActivationLayerTraitConst for Ptr<SinhLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<SoftplusLayer>
impl ActivationLayerTraitConst for Ptr<SoftplusLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<SoftsignLayer>
impl ActivationLayerTraitConst for Ptr<SoftsignLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<SqrtLayer>
impl ActivationLayerTraitConst for Ptr<SqrtLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<SwishLayer>
impl ActivationLayerTraitConst for Ptr<SwishLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<TanHLayer>
impl ActivationLayerTraitConst for Ptr<TanHLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<TanLayer>
impl ActivationLayerTraitConst for Ptr<TanLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl ActivationLayerTraitConst for Ptr<ThresholdedReluLayer>
impl ActivationLayerTraitConst for Ptr<ThresholdedReluLayer>
fn as_raw_ActivationLayer(&self) -> *const c_void
fn forward_slice(
&self,
src: &f32,
dst: &mut f32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
fn forward_slice_1(
&self,
src: &i32,
lut: &i32,
dst: &mut i32,
len: i32,
out_plane_size: size_t,
cn0: i32,
cn1: i32
) -> Result<()>
source§impl AdaptiveManifoldFilter for Ptr<dyn AdaptiveManifoldFilter>
impl AdaptiveManifoldFilter for Ptr<dyn AdaptiveManifoldFilter>
fn as_raw_mut_AdaptiveManifoldFilter(&mut self) -> *mut c_void
source§fn filter(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
joint: &dyn ToInputArray
) -> Result<()>
fn filter(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
joint: &dyn ToInputArray
) -> Result<()>
Apply high-dimensional filtering using adaptive manifolds. Read more
fn collect_garbage(&mut self) -> Result<()>
source§impl AdaptiveManifoldFilterConst for Ptr<dyn AdaptiveManifoldFilter>
impl AdaptiveManifoldFilterConst for Ptr<dyn AdaptiveManifoldFilter>
fn as_raw_AdaptiveManifoldFilter(&self) -> *const c_void
source§impl AffineFeature for Ptr<dyn AffineFeature>
impl AffineFeature for Ptr<dyn AffineFeature>
source§impl AffineFeature2D for Ptr<dyn AffineFeature2D>
impl AffineFeature2D for Ptr<dyn AffineFeature2D>
fn as_raw_mut_AffineFeature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<Elliptic_KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<Elliptic_KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in the image using the wrapped detector and
performs affine adaptation to augment them with their elliptic regions. Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<Elliptic_KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<Elliptic_KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes descriptors for their surrounding
regions, after warping them into circles. Read more
source§impl AffineFeature2D for Ptr<dyn TBMR>
impl AffineFeature2D for Ptr<dyn TBMR>
fn as_raw_mut_AffineFeature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<Elliptic_KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<Elliptic_KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in the image using the wrapped detector and
performs affine adaptation to augment them with their elliptic regions. Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<Elliptic_KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<Elliptic_KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes descriptors for their surrounding
regions, after warping them into circles. Read more
source§impl AffineFeature2DConst for Ptr<dyn AffineFeature2D>
impl AffineFeature2DConst for Ptr<dyn AffineFeature2D>
fn as_raw_AffineFeature2D(&self) -> *const c_void
source§impl AffineFeature2DConst for Ptr<dyn TBMR>
impl AffineFeature2DConst for Ptr<dyn TBMR>
fn as_raw_AffineFeature2D(&self) -> *const c_void
source§impl AffineFeatureConst for Ptr<dyn AffineFeature>
impl AffineFeatureConst for Ptr<dyn AffineFeature>
source§impl AffineTransformer for Ptr<dyn AffineTransformer>
impl AffineTransformer for Ptr<dyn AffineTransformer>
source§impl AffineTransformerConst for Ptr<dyn AffineTransformer>
impl AffineTransformerConst for Ptr<dyn AffineTransformer>
fn as_raw_AffineTransformer(&self) -> *const c_void
fn get_full_affine(&self) -> Result<bool>
source§impl AffineWarperTrait for Ptr<AffineWarper>
impl AffineWarperTrait for Ptr<AffineWarper>
fn as_raw_mut_AffineWarper(&mut self) -> *mut c_void
source§impl AffineWarperTraitConst for Ptr<AffineWarper>
impl AffineWarperTraitConst for Ptr<AffineWarper>
source§impl AgastFeatureDetector for Ptr<dyn AgastFeatureDetector>
impl AgastFeatureDetector for Ptr<dyn AgastFeatureDetector>
source§impl AgastFeatureDetectorConst for Ptr<dyn AgastFeatureDetector>
impl AgastFeatureDetectorConst for Ptr<dyn AgastFeatureDetector>
fn as_raw_AgastFeatureDetector(&self) -> *const c_void
fn get_threshold(&self) -> Result<i32>
fn get_nonmax_suppression(&self) -> Result<bool>
fn get_type(&self) -> Result<AgastFeatureDetector_DetectorType>
fn get_default_name(&self) -> Result<String>
source§impl AlgorithmTrait for Ptr<AbsLayer>
impl AlgorithmTrait for Ptr<AbsLayer>
source§impl AlgorithmTrait for Ptr<AccumLayer>
impl AlgorithmTrait for Ptr<AccumLayer>
source§impl AlgorithmTrait for Ptr<AcosLayer>
impl AlgorithmTrait for Ptr<AcosLayer>
source§impl AlgorithmTrait for Ptr<AcoshLayer>
impl AlgorithmTrait for Ptr<AcoshLayer>
source§impl AlgorithmTrait for Ptr<ActivationLayer>
impl AlgorithmTrait for Ptr<ActivationLayer>
source§impl AlgorithmTrait for Ptr<ActivationLayerInt8>
impl AlgorithmTrait for Ptr<ActivationLayerInt8>
source§impl AlgorithmTrait for Ptr<ArgLayer>
impl AlgorithmTrait for Ptr<ArgLayer>
source§impl AlgorithmTrait for Ptr<AsinLayer>
impl AlgorithmTrait for Ptr<AsinLayer>
source§impl AlgorithmTrait for Ptr<AsinhLayer>
impl AlgorithmTrait for Ptr<AsinhLayer>
source§impl AlgorithmTrait for Ptr<AtanLayer>
impl AlgorithmTrait for Ptr<AtanLayer>
source§impl AlgorithmTrait for Ptr<AtanhLayer>
impl AlgorithmTrait for Ptr<AtanhLayer>
source§impl AlgorithmTrait for Ptr<AverageHash>
impl AlgorithmTrait for Ptr<AverageHash>
source§impl AlgorithmTrait for Ptr<BEBLID>
impl AlgorithmTrait for Ptr<BEBLID>
source§impl AlgorithmTrait for Ptr<BFMatcher>
impl AlgorithmTrait for Ptr<BFMatcher>
source§impl AlgorithmTrait for Ptr<BNLLLayer>
impl AlgorithmTrait for Ptr<BNLLLayer>
source§impl AlgorithmTrait for Ptr<BRISK>
impl AlgorithmTrait for Ptr<BRISK>
source§impl AlgorithmTrait for Ptr<BaseConvolutionLayer>
impl AlgorithmTrait for Ptr<BaseConvolutionLayer>
source§impl AlgorithmTrait for Ptr<BatchNormLayer>
impl AlgorithmTrait for Ptr<BatchNormLayer>
source§impl AlgorithmTrait for Ptr<BatchNormLayerInt8>
impl AlgorithmTrait for Ptr<BatchNormLayerInt8>
source§impl AlgorithmTrait for Ptr<BinaryDescriptor>
impl AlgorithmTrait for Ptr<BinaryDescriptor>
source§impl AlgorithmTrait for Ptr<BinaryDescriptorMatcher>
impl AlgorithmTrait for Ptr<BinaryDescriptorMatcher>
source§impl AlgorithmTrait for Ptr<BlockMeanHash>
impl AlgorithmTrait for Ptr<BlockMeanHash>
source§impl AlgorithmTrait for Ptr<BriefDescriptorExtractor>
impl AlgorithmTrait for Ptr<BriefDescriptorExtractor>
source§impl AlgorithmTrait for Ptr<CeilLayer>
impl AlgorithmTrait for Ptr<CeilLayer>
source§impl AlgorithmTrait for Ptr<CeluLayer>
impl AlgorithmTrait for Ptr<CeluLayer>
source§impl AlgorithmTrait for Ptr<ColorMomentHash>
impl AlgorithmTrait for Ptr<ColorMomentHash>
source§impl AlgorithmTrait for Ptr<ConcatLayer>
impl AlgorithmTrait for Ptr<ConcatLayer>
source§impl AlgorithmTrait for Ptr<ContourFitting>
impl AlgorithmTrait for Ptr<ContourFitting>
source§impl AlgorithmTrait for Ptr<CorrelationLayer>
impl AlgorithmTrait for Ptr<CorrelationLayer>
source§impl AlgorithmTrait for Ptr<CosLayer>
impl AlgorithmTrait for Ptr<CosLayer>
source§impl AlgorithmTrait for Ptr<CoshLayer>
impl AlgorithmTrait for Ptr<CoshLayer>
source§impl AlgorithmTrait for Ptr<CumSumLayer>
impl AlgorithmTrait for Ptr<CumSumLayer>
source§impl AlgorithmTrait for Ptr<DataAugmentationLayer>
impl AlgorithmTrait for Ptr<DataAugmentationLayer>
source§impl AlgorithmTrait for Ptr<DepthCleaner>
impl AlgorithmTrait for Ptr<DepthCleaner>
source§impl AlgorithmTrait for Ptr<DequantizeLayer>
impl AlgorithmTrait for Ptr<DequantizeLayer>
source§impl AlgorithmTrait for Ptr<DetectionOutputLayer>
impl AlgorithmTrait for Ptr<DetectionOutputLayer>
source§impl AlgorithmTrait for Ptr<ELULayer>
impl AlgorithmTrait for Ptr<ELULayer>
source§impl AlgorithmTrait for Ptr<EltwiseLayer>
impl AlgorithmTrait for Ptr<EltwiseLayer>
source§impl AlgorithmTrait for Ptr<EltwiseLayerInt8>
impl AlgorithmTrait for Ptr<EltwiseLayerInt8>
source§impl AlgorithmTrait for Ptr<ErfLayer>
impl AlgorithmTrait for Ptr<ErfLayer>
source§impl AlgorithmTrait for Ptr<ExpLayer>
impl AlgorithmTrait for Ptr<ExpLayer>
source§impl AlgorithmTrait for Ptr<FREAK>
impl AlgorithmTrait for Ptr<FREAK>
source§impl AlgorithmTrait for Ptr<FastICPOdometry>
impl AlgorithmTrait for Ptr<FastICPOdometry>
source§impl AlgorithmTrait for Ptr<Feature2D>
impl AlgorithmTrait for Ptr<Feature2D>
source§impl AlgorithmTrait for Ptr<FlannBasedMatcher>
impl AlgorithmTrait for Ptr<FlannBasedMatcher>
source§impl AlgorithmTrait for Ptr<FlattenLayer>
impl AlgorithmTrait for Ptr<FlattenLayer>
source§impl AlgorithmTrait for Ptr<FloorLayer>
impl AlgorithmTrait for Ptr<FloorLayer>
source§impl AlgorithmTrait for Ptr<FlowWarpLayer>
impl AlgorithmTrait for Ptr<FlowWarpLayer>
source§impl AlgorithmTrait for Ptr<GPCTree>
impl AlgorithmTrait for Ptr<GPCTree>
source§impl AlgorithmTrait for Ptr<GRULayer>
impl AlgorithmTrait for Ptr<GRULayer>
source§impl AlgorithmTrait for Ptr<HardSigmoidLayer>
impl AlgorithmTrait for Ptr<HardSigmoidLayer>
source§impl AlgorithmTrait for Ptr<HardSwishLayer>
impl AlgorithmTrait for Ptr<HardSwishLayer>
source§impl AlgorithmTrait for Ptr<ICPOdometry>
impl AlgorithmTrait for Ptr<ICPOdometry>
source§impl AlgorithmTrait for Ptr<InnerProductLayer>
impl AlgorithmTrait for Ptr<InnerProductLayer>
source§impl AlgorithmTrait for Ptr<InnerProductLayerInt8>
impl AlgorithmTrait for Ptr<InnerProductLayerInt8>
source§impl AlgorithmTrait for Ptr<LATCH>
impl AlgorithmTrait for Ptr<LATCH>
source§impl AlgorithmTrait for Ptr<LRNLayer>
impl AlgorithmTrait for Ptr<LRNLayer>
source§impl AlgorithmTrait for Ptr<LSDDetector>
impl AlgorithmTrait for Ptr<LSDDetector>
source§impl AlgorithmTrait for Ptr<LUCID>
impl AlgorithmTrait for Ptr<LUCID>
source§impl AlgorithmTrait for Ptr<Layer>
impl AlgorithmTrait for Ptr<Layer>
source§impl AlgorithmTrait for Ptr<LogLayer>
impl AlgorithmTrait for Ptr<LogLayer>
source§impl AlgorithmTrait for Ptr<MSDDetector>
impl AlgorithmTrait for Ptr<MSDDetector>
source§impl AlgorithmTrait for Ptr<MVNLayer>
impl AlgorithmTrait for Ptr<MVNLayer>
source§impl AlgorithmTrait for Ptr<MarrHildrethHash>
impl AlgorithmTrait for Ptr<MarrHildrethHash>
source§impl AlgorithmTrait for Ptr<MaxUnpoolLayer>
impl AlgorithmTrait for Ptr<MaxUnpoolLayer>
source§impl AlgorithmTrait for Ptr<MishLayer>
impl AlgorithmTrait for Ptr<MishLayer>
source§impl AlgorithmTrait for Ptr<NormalizeBBoxLayer>
impl AlgorithmTrait for Ptr<NormalizeBBoxLayer>
source§impl AlgorithmTrait for Ptr<NotLayer>
impl AlgorithmTrait for Ptr<NotLayer>
source§impl AlgorithmTrait for Ptr<ObjectnessBING>
impl AlgorithmTrait for Ptr<ObjectnessBING>
source§impl AlgorithmTrait for Ptr<PHash>
impl AlgorithmTrait for Ptr<PHash>
source§impl AlgorithmTrait for Ptr<PaddingLayer>
impl AlgorithmTrait for Ptr<PaddingLayer>
source§impl AlgorithmTrait for Ptr<PermuteLayer>
impl AlgorithmTrait for Ptr<PermuteLayer>
source§impl AlgorithmTrait for Ptr<PoolingLayer>
impl AlgorithmTrait for Ptr<PoolingLayer>
source§impl AlgorithmTrait for Ptr<PoolingLayerInt8>
impl AlgorithmTrait for Ptr<PoolingLayerInt8>
source§impl AlgorithmTrait for Ptr<PowerLayer>
impl AlgorithmTrait for Ptr<PowerLayer>
source§impl AlgorithmTrait for Ptr<PriorBoxLayer>
impl AlgorithmTrait for Ptr<PriorBoxLayer>
source§impl AlgorithmTrait for Ptr<ProposalLayer>
impl AlgorithmTrait for Ptr<ProposalLayer>
source§impl AlgorithmTrait for Ptr<QualityBRISQUE>
impl AlgorithmTrait for Ptr<QualityBRISQUE>
source§impl AlgorithmTrait for Ptr<QualityGMSD>
impl AlgorithmTrait for Ptr<QualityGMSD>
source§impl AlgorithmTrait for Ptr<QualityMSE>
impl AlgorithmTrait for Ptr<QualityMSE>
source§impl AlgorithmTrait for Ptr<QualityPSNR>
impl AlgorithmTrait for Ptr<QualityPSNR>
source§impl AlgorithmTrait for Ptr<QualitySSIM>
impl AlgorithmTrait for Ptr<QualitySSIM>
source§impl AlgorithmTrait for Ptr<QuantizeLayer>
impl AlgorithmTrait for Ptr<QuantizeLayer>
source§impl AlgorithmTrait for Ptr<RadialVarianceHash>
impl AlgorithmTrait for Ptr<RadialVarianceHash>
source§impl AlgorithmTrait for Ptr<ReLU6Layer>
impl AlgorithmTrait for Ptr<ReLU6Layer>
source§impl AlgorithmTrait for Ptr<ReLULayer>
impl AlgorithmTrait for Ptr<ReLULayer>
source§impl AlgorithmTrait for Ptr<ReciprocalLayer>
impl AlgorithmTrait for Ptr<ReciprocalLayer>
source§impl AlgorithmTrait for Ptr<ReduceLayer>
impl AlgorithmTrait for Ptr<ReduceLayer>
source§impl AlgorithmTrait for Ptr<ReduceLayerInt8>
impl AlgorithmTrait for Ptr<ReduceLayerInt8>
source§impl AlgorithmTrait for Ptr<RegionLayer>
impl AlgorithmTrait for Ptr<RegionLayer>
source§impl AlgorithmTrait for Ptr<ReorgLayer>
impl AlgorithmTrait for Ptr<ReorgLayer>
source§impl AlgorithmTrait for Ptr<RequantizeLayer>
impl AlgorithmTrait for Ptr<RequantizeLayer>
source§impl AlgorithmTrait for Ptr<ReshapeLayer>
impl AlgorithmTrait for Ptr<ReshapeLayer>
source§impl AlgorithmTrait for Ptr<ResizeLayer>
impl AlgorithmTrait for Ptr<ResizeLayer>
source§impl AlgorithmTrait for Ptr<RgbdICPOdometry>
impl AlgorithmTrait for Ptr<RgbdICPOdometry>
source§impl AlgorithmTrait for Ptr<RgbdNormals>
impl AlgorithmTrait for Ptr<RgbdNormals>
source§impl AlgorithmTrait for Ptr<RgbdOdometry>
impl AlgorithmTrait for Ptr<RgbdOdometry>
source§impl AlgorithmTrait for Ptr<RgbdPlane>
impl AlgorithmTrait for Ptr<RgbdPlane>
source§impl AlgorithmTrait for Ptr<RoundLayer>
impl AlgorithmTrait for Ptr<RoundLayer>
source§impl AlgorithmTrait for Ptr<SIFT>
impl AlgorithmTrait for Ptr<SIFT>
source§impl AlgorithmTrait for Ptr<ScaleLayer>
impl AlgorithmTrait for Ptr<ScaleLayer>
source§impl AlgorithmTrait for Ptr<ScaleLayerInt8>
impl AlgorithmTrait for Ptr<ScaleLayerInt8>
source§impl AlgorithmTrait for Ptr<SeluLayer>
impl AlgorithmTrait for Ptr<SeluLayer>
source§impl AlgorithmTrait for Ptr<ShrinkLayer>
impl AlgorithmTrait for Ptr<ShrinkLayer>
source§impl AlgorithmTrait for Ptr<SigmoidLayer>
impl AlgorithmTrait for Ptr<SigmoidLayer>
source§impl AlgorithmTrait for Ptr<SignLayer>
impl AlgorithmTrait for Ptr<SignLayer>
source§impl AlgorithmTrait for Ptr<SimpleBlobDetector>
impl AlgorithmTrait for Ptr<SimpleBlobDetector>
source§impl AlgorithmTrait for Ptr<SinLayer>
impl AlgorithmTrait for Ptr<SinLayer>
source§impl AlgorithmTrait for Ptr<SinhLayer>
impl AlgorithmTrait for Ptr<SinhLayer>
source§impl AlgorithmTrait for Ptr<SliceLayer>
impl AlgorithmTrait for Ptr<SliceLayer>
source§impl AlgorithmTrait for Ptr<SoftmaxLayer>
impl AlgorithmTrait for Ptr<SoftmaxLayer>
source§impl AlgorithmTrait for Ptr<SoftmaxLayerInt8>
impl AlgorithmTrait for Ptr<SoftmaxLayerInt8>
source§impl AlgorithmTrait for Ptr<SoftplusLayer>
impl AlgorithmTrait for Ptr<SoftplusLayer>
source§impl AlgorithmTrait for Ptr<SoftsignLayer>
impl AlgorithmTrait for Ptr<SoftsignLayer>
source§impl AlgorithmTrait for Ptr<SplitLayer>
impl AlgorithmTrait for Ptr<SplitLayer>
source§impl AlgorithmTrait for Ptr<SqrtLayer>
impl AlgorithmTrait for Ptr<SqrtLayer>
source§impl AlgorithmTrait for Ptr<StarDetector>
impl AlgorithmTrait for Ptr<StarDetector>
source§impl AlgorithmTrait for Ptr<SwishLayer>
impl AlgorithmTrait for Ptr<SwishLayer>
source§impl AlgorithmTrait for Ptr<TanHLayer>
impl AlgorithmTrait for Ptr<TanHLayer>
source§impl AlgorithmTrait for Ptr<TanLayer>
impl AlgorithmTrait for Ptr<TanLayer>
source§impl AlgorithmTrait for Ptr<ThresholdedReluLayer>
impl AlgorithmTrait for Ptr<ThresholdedReluLayer>
source§impl AlgorithmTrait for Ptr<dyn AKAZE>
impl AlgorithmTrait for Ptr<dyn AKAZE>
source§impl AlgorithmTrait for Ptr<dyn ANN_MLP>
impl AlgorithmTrait for Ptr<dyn ANN_MLP>
source§impl AlgorithmTrait for Ptr<dyn AdaptiveManifoldFilter>
impl AlgorithmTrait for Ptr<dyn AdaptiveManifoldFilter>
source§impl AlgorithmTrait for Ptr<dyn AffineFeature>
impl AlgorithmTrait for Ptr<dyn AffineFeature>
source§impl AlgorithmTrait for Ptr<dyn AffineFeature2D>
impl AlgorithmTrait for Ptr<dyn AffineFeature2D>
source§impl AlgorithmTrait for Ptr<dyn AffineTransformer>
impl AlgorithmTrait for Ptr<dyn AffineTransformer>
source§impl AlgorithmTrait for Ptr<dyn AgastFeatureDetector>
impl AlgorithmTrait for Ptr<dyn AgastFeatureDetector>
source§impl AlgorithmTrait for Ptr<dyn AlignMTB>
impl AlgorithmTrait for Ptr<dyn AlignMTB>
source§impl AlgorithmTrait for Ptr<dyn BIF>
impl AlgorithmTrait for Ptr<dyn BIF>
source§impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorCNT>
impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorCNT>
source§impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorGMG>
impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorGMG>
source§impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorGSOC>
impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorGSOC>
source§impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorKNN>
impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorKNN>
source§impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorLSBP>
impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorLSBP>
source§impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorMOG>
impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorMOG>
source§impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorMOG2>
impl AlgorithmTrait for Ptr<dyn BackgroundSubtractorMOG2>
source§impl AlgorithmTrait for Ptr<dyn BaseCascadeClassifier>
impl AlgorithmTrait for Ptr<dyn BaseCascadeClassifier>
source§impl AlgorithmTrait for Ptr<dyn Boost>
impl AlgorithmTrait for Ptr<dyn Boost>
source§impl AlgorithmTrait for Ptr<dyn BoostDesc>
impl AlgorithmTrait for Ptr<dyn BoostDesc>
source§impl AlgorithmTrait for Ptr<dyn CLAHE>
impl AlgorithmTrait for Ptr<dyn CLAHE>
source§impl AlgorithmTrait for Ptr<dyn CUDA_BackgroundSubtractorMOG>
impl AlgorithmTrait for Ptr<dyn CUDA_BackgroundSubtractorMOG>
source§impl AlgorithmTrait for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
impl AlgorithmTrait for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
source§impl AlgorithmTrait for Ptr<dyn CUDA_BroxOpticalFlow>
impl AlgorithmTrait for Ptr<dyn CUDA_BroxOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn CUDA_CLAHE>
impl AlgorithmTrait for Ptr<dyn CUDA_CLAHE>
source§impl AlgorithmTrait for Ptr<dyn CUDA_CannyEdgeDetector>
impl AlgorithmTrait for Ptr<dyn CUDA_CannyEdgeDetector>
source§impl AlgorithmTrait for Ptr<dyn CUDA_CornernessCriteria>
impl AlgorithmTrait for Ptr<dyn CUDA_CornernessCriteria>
source§impl AlgorithmTrait for Ptr<dyn CUDA_CornersDetector>
impl AlgorithmTrait for Ptr<dyn CUDA_CornersDetector>
source§impl AlgorithmTrait for Ptr<dyn CUDA_DensePyrLKOpticalFlow>
impl AlgorithmTrait for Ptr<dyn CUDA_DensePyrLKOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn CUDA_DescriptorMatcher>
impl AlgorithmTrait for Ptr<dyn CUDA_DescriptorMatcher>
source§impl AlgorithmTrait for Ptr<dyn CUDA_DisparityBilateralFilter>
impl AlgorithmTrait for Ptr<dyn CUDA_DisparityBilateralFilter>
source§impl AlgorithmTrait for Ptr<dyn CUDA_FarnebackOpticalFlow>
impl AlgorithmTrait for Ptr<dyn CUDA_FarnebackOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn CUDA_FastFeatureDetector>
impl AlgorithmTrait for Ptr<dyn CUDA_FastFeatureDetector>
source§impl AlgorithmTrait for Ptr<dyn CUDA_HoughCirclesDetector>
impl AlgorithmTrait for Ptr<dyn CUDA_HoughCirclesDetector>
source§impl AlgorithmTrait for Ptr<dyn CUDA_HoughLinesDetector>
impl AlgorithmTrait for Ptr<dyn CUDA_HoughLinesDetector>
source§impl AlgorithmTrait for Ptr<dyn CUDA_HoughSegmentDetector>
impl AlgorithmTrait for Ptr<dyn CUDA_HoughSegmentDetector>
source§impl AlgorithmTrait for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
impl AlgorithmTrait for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
source§impl AlgorithmTrait for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
impl AlgorithmTrait for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
source§impl AlgorithmTrait for Ptr<dyn CUDA_ORB>
impl AlgorithmTrait for Ptr<dyn CUDA_ORB>
source§impl AlgorithmTrait for Ptr<dyn CUDA_OpticalFlowDual_TVL1>
impl AlgorithmTrait for Ptr<dyn CUDA_OpticalFlowDual_TVL1>
source§impl AlgorithmTrait for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
impl AlgorithmTrait for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn CUDA_StereoBM>
impl AlgorithmTrait for Ptr<dyn CUDA_StereoBM>
source§impl AlgorithmTrait for Ptr<dyn CUDA_StereoBeliefPropagation>
impl AlgorithmTrait for Ptr<dyn CUDA_StereoBeliefPropagation>
source§impl AlgorithmTrait for Ptr<dyn CUDA_StereoConstantSpaceBP>
impl AlgorithmTrait for Ptr<dyn CUDA_StereoConstantSpaceBP>
source§impl AlgorithmTrait for Ptr<dyn CUDA_StereoSGM>
impl AlgorithmTrait for Ptr<dyn CUDA_StereoSGM>
source§impl AlgorithmTrait for Ptr<dyn CUDA_TemplateMatching>
impl AlgorithmTrait for Ptr<dyn CUDA_TemplateMatching>
source§impl AlgorithmTrait for Ptr<dyn CalibrateDebevec>
impl AlgorithmTrait for Ptr<dyn CalibrateDebevec>
source§impl AlgorithmTrait for Ptr<dyn CalibrateRobertson>
impl AlgorithmTrait for Ptr<dyn CalibrateRobertson>
source§impl AlgorithmTrait for Ptr<dyn CascadeClassifier>
impl AlgorithmTrait for Ptr<dyn CascadeClassifier>
source§impl AlgorithmTrait for Ptr<dyn ChiHistogramCostExtractor>
impl AlgorithmTrait for Ptr<dyn ChiHistogramCostExtractor>
source§impl AlgorithmTrait for Ptr<dyn ConjGradSolver>
impl AlgorithmTrait for Ptr<dyn ConjGradSolver>
source§impl AlgorithmTrait for Ptr<dyn Convolution>
impl AlgorithmTrait for Ptr<dyn Convolution>
source§impl AlgorithmTrait for Ptr<dyn DAISY>
impl AlgorithmTrait for Ptr<dyn DAISY>
source§impl AlgorithmTrait for Ptr<dyn DFT>
impl AlgorithmTrait for Ptr<dyn DFT>
source§impl AlgorithmTrait for Ptr<dyn DISOpticalFlow>
impl AlgorithmTrait for Ptr<dyn DISOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn DTFilter>
impl AlgorithmTrait for Ptr<dyn DTFilter>
source§impl AlgorithmTrait for Ptr<dyn DTrees>
impl AlgorithmTrait for Ptr<dyn DTrees>
source§impl AlgorithmTrait for Ptr<dyn DenseOpticalFlow>
impl AlgorithmTrait for Ptr<dyn DenseOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn DenseRLOFOpticalFlow>
impl AlgorithmTrait for Ptr<dyn DenseRLOFOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn DescriptorMatcher>
impl AlgorithmTrait for Ptr<dyn DescriptorMatcher>
source§impl AlgorithmTrait for Ptr<dyn DisparityWLSFilter>
impl AlgorithmTrait for Ptr<dyn DisparityWLSFilter>
source§impl AlgorithmTrait for Ptr<dyn DownhillSolver>
impl AlgorithmTrait for Ptr<dyn DownhillSolver>
source§impl AlgorithmTrait for Ptr<dyn DualTVL1OpticalFlow>
impl AlgorithmTrait for Ptr<dyn DualTVL1OpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn EM>
impl AlgorithmTrait for Ptr<dyn EM>
source§impl AlgorithmTrait for Ptr<dyn EMDHistogramCostExtractor>
impl AlgorithmTrait for Ptr<dyn EMDHistogramCostExtractor>
source§impl AlgorithmTrait for Ptr<dyn EMDL1HistogramCostExtractor>
impl AlgorithmTrait for Ptr<dyn EMDL1HistogramCostExtractor>
source§impl AlgorithmTrait for Ptr<dyn ERFilter>
impl AlgorithmTrait for Ptr<dyn ERFilter>
source§impl AlgorithmTrait for Ptr<dyn EdgeAwareInterpolator>
impl AlgorithmTrait for Ptr<dyn EdgeAwareInterpolator>
source§impl AlgorithmTrait for Ptr<dyn EdgeBoxes>
impl AlgorithmTrait for Ptr<dyn EdgeBoxes>
source§impl AlgorithmTrait for Ptr<dyn EdgeDrawing>
impl AlgorithmTrait for Ptr<dyn EdgeDrawing>
source§impl AlgorithmTrait for Ptr<dyn EigenFaceRecognizer>
impl AlgorithmTrait for Ptr<dyn EigenFaceRecognizer>
source§impl AlgorithmTrait for Ptr<dyn Facemark>
impl AlgorithmTrait for Ptr<dyn Facemark>
source§impl AlgorithmTrait for Ptr<dyn FacemarkAAM>
impl AlgorithmTrait for Ptr<dyn FacemarkAAM>
source§impl AlgorithmTrait for Ptr<dyn FacemarkKazemi>
impl AlgorithmTrait for Ptr<dyn FacemarkKazemi>
source§impl AlgorithmTrait for Ptr<dyn FacemarkLBF>
impl AlgorithmTrait for Ptr<dyn FacemarkLBF>
source§impl AlgorithmTrait for Ptr<dyn FarnebackOpticalFlow>
impl AlgorithmTrait for Ptr<dyn FarnebackOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn FastBilateralSolverFilter>
impl AlgorithmTrait for Ptr<dyn FastBilateralSolverFilter>
source§impl AlgorithmTrait for Ptr<dyn FastFeatureDetector>
impl AlgorithmTrait for Ptr<dyn FastFeatureDetector>
source§impl AlgorithmTrait for Ptr<dyn FastGlobalSmootherFilter>
impl AlgorithmTrait for Ptr<dyn FastGlobalSmootherFilter>
source§impl AlgorithmTrait for Ptr<dyn FastLineDetector>
impl AlgorithmTrait for Ptr<dyn FastLineDetector>
source§impl AlgorithmTrait for Ptr<dyn Filter>
impl AlgorithmTrait for Ptr<dyn Filter>
source§impl AlgorithmTrait for Ptr<dyn FisherFaceRecognizer>
impl AlgorithmTrait for Ptr<dyn FisherFaceRecognizer>
source§impl AlgorithmTrait for Ptr<dyn FreeType2>
impl AlgorithmTrait for Ptr<dyn FreeType2>
source§impl AlgorithmTrait for Ptr<dyn GFTTDetector>
impl AlgorithmTrait for Ptr<dyn GFTTDetector>
source§impl AlgorithmTrait for Ptr<dyn GeneralizedHoughBallard>
impl AlgorithmTrait for Ptr<dyn GeneralizedHoughBallard>
source§impl AlgorithmTrait for Ptr<dyn GeneralizedHoughGuil>
impl AlgorithmTrait for Ptr<dyn GeneralizedHoughGuil>
source§impl AlgorithmTrait for Ptr<dyn GraphSegmentation>
impl AlgorithmTrait for Ptr<dyn GraphSegmentation>
source§impl AlgorithmTrait for Ptr<dyn GrayCodePattern>
impl AlgorithmTrait for Ptr<dyn GrayCodePattern>
source§impl AlgorithmTrait for Ptr<dyn GrayworldWB>
impl AlgorithmTrait for Ptr<dyn GrayworldWB>
source§impl AlgorithmTrait for Ptr<dyn GuidedFilter>
impl AlgorithmTrait for Ptr<dyn GuidedFilter>
source§impl AlgorithmTrait for Ptr<dyn HOG>
impl AlgorithmTrait for Ptr<dyn HOG>
source§impl AlgorithmTrait for Ptr<dyn HausdorffDistanceExtractor>
impl AlgorithmTrait for Ptr<dyn HausdorffDistanceExtractor>
source§impl AlgorithmTrait for Ptr<dyn HfsSegment>
impl AlgorithmTrait for Ptr<dyn HfsSegment>
source§impl AlgorithmTrait for Ptr<dyn HistogramCostExtractor>
impl AlgorithmTrait for Ptr<dyn HistogramCostExtractor>
source§impl AlgorithmTrait for Ptr<dyn HistogramPhaseUnwrapping>
impl AlgorithmTrait for Ptr<dyn HistogramPhaseUnwrapping>
source§impl AlgorithmTrait for Ptr<dyn KAZE>
impl AlgorithmTrait for Ptr<dyn KAZE>
source§impl AlgorithmTrait for Ptr<dyn KNearest>
impl AlgorithmTrait for Ptr<dyn KNearest>
source§impl AlgorithmTrait for Ptr<dyn LBPHFaceRecognizer>
impl AlgorithmTrait for Ptr<dyn LBPHFaceRecognizer>
source§impl AlgorithmTrait for Ptr<dyn LMSolver>
impl AlgorithmTrait for Ptr<dyn LMSolver>
source§impl AlgorithmTrait for Ptr<dyn LSTMLayer>
impl AlgorithmTrait for Ptr<dyn LSTMLayer>
source§impl AlgorithmTrait for Ptr<dyn LearningBasedWB>
impl AlgorithmTrait for Ptr<dyn LearningBasedWB>
source§impl AlgorithmTrait for Ptr<dyn LineSegmentDetector>
impl AlgorithmTrait for Ptr<dyn LineSegmentDetector>
source§impl AlgorithmTrait for Ptr<dyn LogisticRegression>
impl AlgorithmTrait for Ptr<dyn LogisticRegression>
source§impl AlgorithmTrait for Ptr<dyn LookUpTable>
impl AlgorithmTrait for Ptr<dyn LookUpTable>
source§impl AlgorithmTrait for Ptr<dyn MACE>
impl AlgorithmTrait for Ptr<dyn MACE>
source§impl AlgorithmTrait for Ptr<dyn MCC_CCheckerDetector>
impl AlgorithmTrait for Ptr<dyn MCC_CCheckerDetector>
source§impl AlgorithmTrait for Ptr<dyn MSER>
impl AlgorithmTrait for Ptr<dyn MSER>
source§impl AlgorithmTrait for Ptr<dyn MergeDebevec>
impl AlgorithmTrait for Ptr<dyn MergeDebevec>
source§impl AlgorithmTrait for Ptr<dyn MergeMertens>
impl AlgorithmTrait for Ptr<dyn MergeMertens>
source§impl AlgorithmTrait for Ptr<dyn MergeRobertson>
impl AlgorithmTrait for Ptr<dyn MergeRobertson>
source§impl AlgorithmTrait for Ptr<dyn NormHistogramCostExtractor>
impl AlgorithmTrait for Ptr<dyn NormHistogramCostExtractor>
source§impl AlgorithmTrait for Ptr<dyn NormalBayesClassifier>
impl AlgorithmTrait for Ptr<dyn NormalBayesClassifier>
source§impl AlgorithmTrait for Ptr<dyn OLSTracker>
impl AlgorithmTrait for Ptr<dyn OLSTracker>
source§impl AlgorithmTrait for Ptr<dyn ORB>
impl AlgorithmTrait for Ptr<dyn ORB>
source§impl AlgorithmTrait for Ptr<dyn Odometry>
impl AlgorithmTrait for Ptr<dyn Odometry>
source§impl AlgorithmTrait for Ptr<dyn PCTSignatures>
impl AlgorithmTrait for Ptr<dyn PCTSignatures>
source§impl AlgorithmTrait for Ptr<dyn PCTSignaturesSQFD>
impl AlgorithmTrait for Ptr<dyn PCTSignaturesSQFD>
source§impl AlgorithmTrait for Ptr<dyn Plot2d>
impl AlgorithmTrait for Ptr<dyn Plot2d>
source§impl AlgorithmTrait for Ptr<dyn RFFeatureGetter>
impl AlgorithmTrait for Ptr<dyn RFFeatureGetter>
source§impl AlgorithmTrait for Ptr<dyn RICInterpolator>
impl AlgorithmTrait for Ptr<dyn RICInterpolator>
source§impl AlgorithmTrait for Ptr<dyn RNNLayer>
impl AlgorithmTrait for Ptr<dyn RNNLayer>
source§impl AlgorithmTrait for Ptr<dyn RTrees>
impl AlgorithmTrait for Ptr<dyn RTrees>
source§impl AlgorithmTrait for Ptr<dyn Rapid>
impl AlgorithmTrait for Ptr<dyn Rapid>
source§impl AlgorithmTrait for Ptr<dyn Retina>
impl AlgorithmTrait for Ptr<dyn Retina>
source§impl AlgorithmTrait for Ptr<dyn RetinaFastToneMapping>
impl AlgorithmTrait for Ptr<dyn RetinaFastToneMapping>
source§impl AlgorithmTrait for Ptr<dyn RidgeDetectionFilter>
impl AlgorithmTrait for Ptr<dyn RidgeDetectionFilter>
source§impl AlgorithmTrait for Ptr<dyn SURF>
impl AlgorithmTrait for Ptr<dyn SURF>
source§impl AlgorithmTrait for Ptr<dyn SVM>
impl AlgorithmTrait for Ptr<dyn SVM>
source§impl AlgorithmTrait for Ptr<dyn SVMSGD>
impl AlgorithmTrait for Ptr<dyn SVMSGD>
source§impl AlgorithmTrait for Ptr<dyn SVM_Kernel>
impl AlgorithmTrait for Ptr<dyn SVM_Kernel>
source§impl AlgorithmTrait for Ptr<dyn ScanSegment>
impl AlgorithmTrait for Ptr<dyn ScanSegment>
source§impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentation>
impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentation>
source§impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategy>
impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategy>
source§impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategyColor>
impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategyColor>
source§impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategyFill>
impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategyFill>
source§impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategySize>
impl AlgorithmTrait for Ptr<dyn SelectiveSearchSegmentationStrategySize>
source§impl AlgorithmTrait for Ptr<dyn ShapeContextDistanceExtractor>
impl AlgorithmTrait for Ptr<dyn ShapeContextDistanceExtractor>
source§impl AlgorithmTrait for Ptr<dyn ShapeTransformer>
impl AlgorithmTrait for Ptr<dyn ShapeTransformer>
source§impl AlgorithmTrait for Ptr<dyn SimpleWB>
impl AlgorithmTrait for Ptr<dyn SimpleWB>
source§impl AlgorithmTrait for Ptr<dyn SinusoidalPattern>
impl AlgorithmTrait for Ptr<dyn SinusoidalPattern>
source§impl AlgorithmTrait for Ptr<dyn SparseOpticalFlow>
impl AlgorithmTrait for Ptr<dyn SparseOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn SparsePyrLKOpticalFlow>
impl AlgorithmTrait for Ptr<dyn SparsePyrLKOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn SparseRLOFOpticalFlow>
impl AlgorithmTrait for Ptr<dyn SparseRLOFOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn StereoBM>
impl AlgorithmTrait for Ptr<dyn StereoBM>
source§impl AlgorithmTrait for Ptr<dyn StereoMatcher>
impl AlgorithmTrait for Ptr<dyn StereoMatcher>
source§impl AlgorithmTrait for Ptr<dyn StereoSGBM>
impl AlgorithmTrait for Ptr<dyn StereoSGBM>
source§impl AlgorithmTrait for Ptr<dyn StructuredEdgeDetection>
impl AlgorithmTrait for Ptr<dyn StructuredEdgeDetection>
source§impl AlgorithmTrait for Ptr<dyn SuperpixelLSC>
impl AlgorithmTrait for Ptr<dyn SuperpixelLSC>
source§impl AlgorithmTrait for Ptr<dyn SuperpixelSEEDS>
impl AlgorithmTrait for Ptr<dyn SuperpixelSEEDS>
source§impl AlgorithmTrait for Ptr<dyn SuperpixelSLIC>
impl AlgorithmTrait for Ptr<dyn SuperpixelSLIC>
source§impl AlgorithmTrait for Ptr<dyn Superres_BroxOpticalFlow>
impl AlgorithmTrait for Ptr<dyn Superres_BroxOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn Superres_DenseOpticalFlowExt>
impl AlgorithmTrait for Ptr<dyn Superres_DenseOpticalFlowExt>
source§impl AlgorithmTrait for Ptr<dyn Superres_DualTVL1OpticalFlow>
impl AlgorithmTrait for Ptr<dyn Superres_DualTVL1OpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn Superres_FarnebackOpticalFlow>
impl AlgorithmTrait for Ptr<dyn Superres_FarnebackOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn Superres_PyrLKOpticalFlow>
impl AlgorithmTrait for Ptr<dyn Superres_PyrLKOpticalFlow>
source§impl AlgorithmTrait for Ptr<dyn Superres_SuperResolution>
impl AlgorithmTrait for Ptr<dyn Superres_SuperResolution>
source§impl AlgorithmTrait for Ptr<dyn TBMR>
impl AlgorithmTrait for Ptr<dyn TBMR>
source§impl AlgorithmTrait for Ptr<dyn ThinPlateSplineShapeTransformer>
impl AlgorithmTrait for Ptr<dyn ThinPlateSplineShapeTransformer>
source§impl AlgorithmTrait for Ptr<dyn Tonemap>
impl AlgorithmTrait for Ptr<dyn Tonemap>
source§impl AlgorithmTrait for Ptr<dyn TonemapDrago>
impl AlgorithmTrait for Ptr<dyn TonemapDrago>
source§impl AlgorithmTrait for Ptr<dyn TonemapDurand>
impl AlgorithmTrait for Ptr<dyn TonemapDurand>
source§impl AlgorithmTrait for Ptr<dyn TonemapMantiuk>
impl AlgorithmTrait for Ptr<dyn TonemapMantiuk>
source§impl AlgorithmTrait for Ptr<dyn TonemapReinhard>
impl AlgorithmTrait for Ptr<dyn TonemapReinhard>
source§impl AlgorithmTrait for Ptr<dyn TransientAreasSegmentationModule>
impl AlgorithmTrait for Ptr<dyn TransientAreasSegmentationModule>
source§impl AlgorithmTrait for Ptr<dyn VGG>
impl AlgorithmTrait for Ptr<dyn VGG>
source§impl AlgorithmTrait for Ptr<dyn VariationalRefinement>
impl AlgorithmTrait for Ptr<dyn VariationalRefinement>
source§impl AlgorithmTraitConst for Ptr<AbsLayer>
impl AlgorithmTraitConst for Ptr<AbsLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<AccumLayer>
impl AlgorithmTraitConst for Ptr<AccumLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<AcosLayer>
impl AlgorithmTraitConst for Ptr<AcosLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<AcoshLayer>
impl AlgorithmTraitConst for Ptr<AcoshLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ActivationLayer>
impl AlgorithmTraitConst for Ptr<ActivationLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ActivationLayerInt8>
impl AlgorithmTraitConst for Ptr<ActivationLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ArgLayer>
impl AlgorithmTraitConst for Ptr<ArgLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<AsinLayer>
impl AlgorithmTraitConst for Ptr<AsinLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<AsinhLayer>
impl AlgorithmTraitConst for Ptr<AsinhLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<AtanLayer>
impl AlgorithmTraitConst for Ptr<AtanLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<AtanhLayer>
impl AlgorithmTraitConst for Ptr<AtanhLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<AverageHash>
impl AlgorithmTraitConst for Ptr<AverageHash>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<BEBLID>
impl AlgorithmTraitConst for Ptr<BEBLID>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<BFMatcher>
impl AlgorithmTraitConst for Ptr<BFMatcher>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<BNLLLayer>
impl AlgorithmTraitConst for Ptr<BNLLLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<BRISK>
impl AlgorithmTraitConst for Ptr<BRISK>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<BaseConvolutionLayer>
impl AlgorithmTraitConst for Ptr<BaseConvolutionLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<BatchNormLayer>
impl AlgorithmTraitConst for Ptr<BatchNormLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<BatchNormLayerInt8>
impl AlgorithmTraitConst for Ptr<BatchNormLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<BinaryDescriptor>
impl AlgorithmTraitConst for Ptr<BinaryDescriptor>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<BinaryDescriptorMatcher>
impl AlgorithmTraitConst for Ptr<BinaryDescriptorMatcher>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<BlockMeanHash>
impl AlgorithmTraitConst for Ptr<BlockMeanHash>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<BriefDescriptorExtractor>
impl AlgorithmTraitConst for Ptr<BriefDescriptorExtractor>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<CeilLayer>
impl AlgorithmTraitConst for Ptr<CeilLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<CeluLayer>
impl AlgorithmTraitConst for Ptr<CeluLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ColorMomentHash>
impl AlgorithmTraitConst for Ptr<ColorMomentHash>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ConcatLayer>
impl AlgorithmTraitConst for Ptr<ConcatLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ContourFitting>
impl AlgorithmTraitConst for Ptr<ContourFitting>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<CorrelationLayer>
impl AlgorithmTraitConst for Ptr<CorrelationLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<CosLayer>
impl AlgorithmTraitConst for Ptr<CosLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<CoshLayer>
impl AlgorithmTraitConst for Ptr<CoshLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<CumSumLayer>
impl AlgorithmTraitConst for Ptr<CumSumLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<DataAugmentationLayer>
impl AlgorithmTraitConst for Ptr<DataAugmentationLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<DepthCleaner>
impl AlgorithmTraitConst for Ptr<DepthCleaner>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<DequantizeLayer>
impl AlgorithmTraitConst for Ptr<DequantizeLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<DetectionOutputLayer>
impl AlgorithmTraitConst for Ptr<DetectionOutputLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ELULayer>
impl AlgorithmTraitConst for Ptr<ELULayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<EltwiseLayer>
impl AlgorithmTraitConst for Ptr<EltwiseLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<EltwiseLayerInt8>
impl AlgorithmTraitConst for Ptr<EltwiseLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ErfLayer>
impl AlgorithmTraitConst for Ptr<ErfLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ExpLayer>
impl AlgorithmTraitConst for Ptr<ExpLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<FREAK>
impl AlgorithmTraitConst for Ptr<FREAK>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<FastICPOdometry>
impl AlgorithmTraitConst for Ptr<FastICPOdometry>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<Feature2D>
impl AlgorithmTraitConst for Ptr<Feature2D>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<FlannBasedMatcher>
impl AlgorithmTraitConst for Ptr<FlannBasedMatcher>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<FlattenLayer>
impl AlgorithmTraitConst for Ptr<FlattenLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<FloorLayer>
impl AlgorithmTraitConst for Ptr<FloorLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<FlowWarpLayer>
impl AlgorithmTraitConst for Ptr<FlowWarpLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<GPCTree>
impl AlgorithmTraitConst for Ptr<GPCTree>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<GRULayer>
impl AlgorithmTraitConst for Ptr<GRULayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<HardSigmoidLayer>
impl AlgorithmTraitConst for Ptr<HardSigmoidLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<HardSwishLayer>
impl AlgorithmTraitConst for Ptr<HardSwishLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<HarrisLaplaceFeatureDetector>
impl AlgorithmTraitConst for Ptr<HarrisLaplaceFeatureDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ICPOdometry>
impl AlgorithmTraitConst for Ptr<ICPOdometry>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<InnerProductLayer>
impl AlgorithmTraitConst for Ptr<InnerProductLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<InnerProductLayerInt8>
impl AlgorithmTraitConst for Ptr<InnerProductLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<LATCH>
impl AlgorithmTraitConst for Ptr<LATCH>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<LRNLayer>
impl AlgorithmTraitConst for Ptr<LRNLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<LSDDetector>
impl AlgorithmTraitConst for Ptr<LSDDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<LUCID>
impl AlgorithmTraitConst for Ptr<LUCID>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<Layer>
impl AlgorithmTraitConst for Ptr<Layer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<LogLayer>
impl AlgorithmTraitConst for Ptr<LogLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<MSDDetector>
impl AlgorithmTraitConst for Ptr<MSDDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<MVNLayer>
impl AlgorithmTraitConst for Ptr<MVNLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<MarrHildrethHash>
impl AlgorithmTraitConst for Ptr<MarrHildrethHash>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<MaxUnpoolLayer>
impl AlgorithmTraitConst for Ptr<MaxUnpoolLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<MishLayer>
impl AlgorithmTraitConst for Ptr<MishLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<MotionSaliencyBinWangApr2014>
impl AlgorithmTraitConst for Ptr<MotionSaliencyBinWangApr2014>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<NormalizeBBoxLayer>
impl AlgorithmTraitConst for Ptr<NormalizeBBoxLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<NotLayer>
impl AlgorithmTraitConst for Ptr<NotLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ObjectnessBING>
impl AlgorithmTraitConst for Ptr<ObjectnessBING>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<PHash>
impl AlgorithmTraitConst for Ptr<PHash>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<PaddingLayer>
impl AlgorithmTraitConst for Ptr<PaddingLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<PermuteLayer>
impl AlgorithmTraitConst for Ptr<PermuteLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<PoolingLayer>
impl AlgorithmTraitConst for Ptr<PoolingLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<PoolingLayerInt8>
impl AlgorithmTraitConst for Ptr<PoolingLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<PowerLayer>
impl AlgorithmTraitConst for Ptr<PowerLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<PriorBoxLayer>
impl AlgorithmTraitConst for Ptr<PriorBoxLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ProposalLayer>
impl AlgorithmTraitConst for Ptr<ProposalLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<QualityBRISQUE>
impl AlgorithmTraitConst for Ptr<QualityBRISQUE>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<QualityGMSD>
impl AlgorithmTraitConst for Ptr<QualityGMSD>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<QualityMSE>
impl AlgorithmTraitConst for Ptr<QualityMSE>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<QualityPSNR>
impl AlgorithmTraitConst for Ptr<QualityPSNR>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<QualitySSIM>
impl AlgorithmTraitConst for Ptr<QualitySSIM>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<QuantizeLayer>
impl AlgorithmTraitConst for Ptr<QuantizeLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<RadialVarianceHash>
impl AlgorithmTraitConst for Ptr<RadialVarianceHash>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ReLU6Layer>
impl AlgorithmTraitConst for Ptr<ReLU6Layer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ReLULayer>
impl AlgorithmTraitConst for Ptr<ReLULayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ReciprocalLayer>
impl AlgorithmTraitConst for Ptr<ReciprocalLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ReduceLayer>
impl AlgorithmTraitConst for Ptr<ReduceLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ReduceLayerInt8>
impl AlgorithmTraitConst for Ptr<ReduceLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<RegionLayer>
impl AlgorithmTraitConst for Ptr<RegionLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ReorgLayer>
impl AlgorithmTraitConst for Ptr<ReorgLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<RequantizeLayer>
impl AlgorithmTraitConst for Ptr<RequantizeLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ReshapeLayer>
impl AlgorithmTraitConst for Ptr<ReshapeLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ResizeLayer>
impl AlgorithmTraitConst for Ptr<ResizeLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<RgbdICPOdometry>
impl AlgorithmTraitConst for Ptr<RgbdICPOdometry>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<RgbdNormals>
impl AlgorithmTraitConst for Ptr<RgbdNormals>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<RgbdOdometry>
impl AlgorithmTraitConst for Ptr<RgbdOdometry>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<RgbdPlane>
impl AlgorithmTraitConst for Ptr<RgbdPlane>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<RoundLayer>
impl AlgorithmTraitConst for Ptr<RoundLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SIFT>
impl AlgorithmTraitConst for Ptr<SIFT>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ScaleLayer>
impl AlgorithmTraitConst for Ptr<ScaleLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ScaleLayerInt8>
impl AlgorithmTraitConst for Ptr<ScaleLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SeluLayer>
impl AlgorithmTraitConst for Ptr<SeluLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ShrinkLayer>
impl AlgorithmTraitConst for Ptr<ShrinkLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SigmoidLayer>
impl AlgorithmTraitConst for Ptr<SigmoidLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SignLayer>
impl AlgorithmTraitConst for Ptr<SignLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SimpleBlobDetector>
impl AlgorithmTraitConst for Ptr<SimpleBlobDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SinLayer>
impl AlgorithmTraitConst for Ptr<SinLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SinhLayer>
impl AlgorithmTraitConst for Ptr<SinhLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SliceLayer>
impl AlgorithmTraitConst for Ptr<SliceLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SoftmaxLayer>
impl AlgorithmTraitConst for Ptr<SoftmaxLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SoftmaxLayerInt8>
impl AlgorithmTraitConst for Ptr<SoftmaxLayerInt8>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SoftplusLayer>
impl AlgorithmTraitConst for Ptr<SoftplusLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SoftsignLayer>
impl AlgorithmTraitConst for Ptr<SoftsignLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SplitLayer>
impl AlgorithmTraitConst for Ptr<SplitLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SqrtLayer>
impl AlgorithmTraitConst for Ptr<SqrtLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<StarDetector>
impl AlgorithmTraitConst for Ptr<StarDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<StaticSaliencyFineGrained>
impl AlgorithmTraitConst for Ptr<StaticSaliencyFineGrained>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<StaticSaliencySpectralResidual>
impl AlgorithmTraitConst for Ptr<StaticSaliencySpectralResidual>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SwishLayer>
impl AlgorithmTraitConst for Ptr<SwishLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<SyntheticSequenceGenerator>
impl AlgorithmTraitConst for Ptr<SyntheticSequenceGenerator>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<TanHLayer>
impl AlgorithmTraitConst for Ptr<TanHLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<TanLayer>
impl AlgorithmTraitConst for Ptr<TanLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<ThresholdedReluLayer>
impl AlgorithmTraitConst for Ptr<ThresholdedReluLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn AKAZE>
impl AlgorithmTraitConst for Ptr<dyn AKAZE>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn ANN_MLP>
impl AlgorithmTraitConst for Ptr<dyn ANN_MLP>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn AdaptiveManifoldFilter>
impl AlgorithmTraitConst for Ptr<dyn AdaptiveManifoldFilter>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn AffineFeature>
impl AlgorithmTraitConst for Ptr<dyn AffineFeature>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn AffineFeature2D>
impl AlgorithmTraitConst for Ptr<dyn AffineFeature2D>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn AffineTransformer>
impl AlgorithmTraitConst for Ptr<dyn AffineTransformer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn AgastFeatureDetector>
impl AlgorithmTraitConst for Ptr<dyn AgastFeatureDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn AlignMTB>
impl AlgorithmTraitConst for Ptr<dyn AlignMTB>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn BIF>
impl AlgorithmTraitConst for Ptr<dyn BIF>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorCNT>
impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorCNT>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorGMG>
impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorGMG>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorGSOC>
impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorGSOC>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorKNN>
impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorKNN>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorLSBP>
impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorLSBP>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorMOG>
impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorMOG>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorMOG2>
impl AlgorithmTraitConst for Ptr<dyn BackgroundSubtractorMOG2>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn BaseCascadeClassifier>
impl AlgorithmTraitConst for Ptr<dyn BaseCascadeClassifier>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Boost>
impl AlgorithmTraitConst for Ptr<dyn Boost>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn BoostDesc>
impl AlgorithmTraitConst for Ptr<dyn BoostDesc>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CLAHE>
impl AlgorithmTraitConst for Ptr<dyn CLAHE>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_BackgroundSubtractorMOG>
impl AlgorithmTraitConst for Ptr<dyn CUDA_BackgroundSubtractorMOG>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
impl AlgorithmTraitConst for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_BroxOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn CUDA_BroxOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_CLAHE>
impl AlgorithmTraitConst for Ptr<dyn CUDA_CLAHE>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_CannyEdgeDetector>
impl AlgorithmTraitConst for Ptr<dyn CUDA_CannyEdgeDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_CornernessCriteria>
impl AlgorithmTraitConst for Ptr<dyn CUDA_CornernessCriteria>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_CornersDetector>
impl AlgorithmTraitConst for Ptr<dyn CUDA_CornersDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_DensePyrLKOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn CUDA_DensePyrLKOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_DescriptorMatcher>
impl AlgorithmTraitConst for Ptr<dyn CUDA_DescriptorMatcher>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_DisparityBilateralFilter>
impl AlgorithmTraitConst for Ptr<dyn CUDA_DisparityBilateralFilter>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_FarnebackOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn CUDA_FarnebackOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_FastFeatureDetector>
impl AlgorithmTraitConst for Ptr<dyn CUDA_FastFeatureDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_HoughCirclesDetector>
impl AlgorithmTraitConst for Ptr<dyn CUDA_HoughCirclesDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_HoughLinesDetector>
impl AlgorithmTraitConst for Ptr<dyn CUDA_HoughLinesDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_HoughSegmentDetector>
impl AlgorithmTraitConst for Ptr<dyn CUDA_HoughSegmentDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
impl AlgorithmTraitConst for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
impl AlgorithmTraitConst for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_ORB>
impl AlgorithmTraitConst for Ptr<dyn CUDA_ORB>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_OpticalFlowDual_TVL1>
impl AlgorithmTraitConst for Ptr<dyn CUDA_OpticalFlowDual_TVL1>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_StereoBM>
impl AlgorithmTraitConst for Ptr<dyn CUDA_StereoBM>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_StereoBeliefPropagation>
impl AlgorithmTraitConst for Ptr<dyn CUDA_StereoBeliefPropagation>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_StereoConstantSpaceBP>
impl AlgorithmTraitConst for Ptr<dyn CUDA_StereoConstantSpaceBP>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_StereoSGM>
impl AlgorithmTraitConst for Ptr<dyn CUDA_StereoSGM>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CUDA_TemplateMatching>
impl AlgorithmTraitConst for Ptr<dyn CUDA_TemplateMatching>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CalibrateDebevec>
impl AlgorithmTraitConst for Ptr<dyn CalibrateDebevec>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CalibrateRobertson>
impl AlgorithmTraitConst for Ptr<dyn CalibrateRobertson>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn CascadeClassifier>
impl AlgorithmTraitConst for Ptr<dyn CascadeClassifier>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn ChiHistogramCostExtractor>
impl AlgorithmTraitConst for Ptr<dyn ChiHistogramCostExtractor>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn ConjGradSolver>
impl AlgorithmTraitConst for Ptr<dyn ConjGradSolver>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Convolution>
impl AlgorithmTraitConst for Ptr<dyn Convolution>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn DAISY>
impl AlgorithmTraitConst for Ptr<dyn DAISY>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn DFT>
impl AlgorithmTraitConst for Ptr<dyn DFT>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn DISOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn DISOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn DTFilter>
impl AlgorithmTraitConst for Ptr<dyn DTFilter>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn DTrees>
impl AlgorithmTraitConst for Ptr<dyn DTrees>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn DenseOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn DenseOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn DenseRLOFOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn DenseRLOFOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn DescriptorMatcher>
impl AlgorithmTraitConst for Ptr<dyn DescriptorMatcher>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn DisparityWLSFilter>
impl AlgorithmTraitConst for Ptr<dyn DisparityWLSFilter>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn DownhillSolver>
impl AlgorithmTraitConst for Ptr<dyn DownhillSolver>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn DualTVL1OpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn DualTVL1OpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn EM>
impl AlgorithmTraitConst for Ptr<dyn EM>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn EMDHistogramCostExtractor>
impl AlgorithmTraitConst for Ptr<dyn EMDHistogramCostExtractor>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn EMDL1HistogramCostExtractor>
impl AlgorithmTraitConst for Ptr<dyn EMDL1HistogramCostExtractor>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn ERFilter>
impl AlgorithmTraitConst for Ptr<dyn ERFilter>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn EdgeAwareInterpolator>
impl AlgorithmTraitConst for Ptr<dyn EdgeAwareInterpolator>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn EdgeBoxes>
impl AlgorithmTraitConst for Ptr<dyn EdgeBoxes>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn EdgeDrawing>
impl AlgorithmTraitConst for Ptr<dyn EdgeDrawing>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn EigenFaceRecognizer>
impl AlgorithmTraitConst for Ptr<dyn EigenFaceRecognizer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Facemark>
impl AlgorithmTraitConst for Ptr<dyn Facemark>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn FacemarkAAM>
impl AlgorithmTraitConst for Ptr<dyn FacemarkAAM>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn FacemarkKazemi>
impl AlgorithmTraitConst for Ptr<dyn FacemarkKazemi>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn FacemarkLBF>
impl AlgorithmTraitConst for Ptr<dyn FacemarkLBF>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn FarnebackOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn FarnebackOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn FastBilateralSolverFilter>
impl AlgorithmTraitConst for Ptr<dyn FastBilateralSolverFilter>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn FastFeatureDetector>
impl AlgorithmTraitConst for Ptr<dyn FastFeatureDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn FastGlobalSmootherFilter>
impl AlgorithmTraitConst for Ptr<dyn FastGlobalSmootherFilter>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn FastLineDetector>
impl AlgorithmTraitConst for Ptr<dyn FastLineDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Filter>
impl AlgorithmTraitConst for Ptr<dyn Filter>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn FisherFaceRecognizer>
impl AlgorithmTraitConst for Ptr<dyn FisherFaceRecognizer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn FreeType2>
impl AlgorithmTraitConst for Ptr<dyn FreeType2>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn GFTTDetector>
impl AlgorithmTraitConst for Ptr<dyn GFTTDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn GeneralizedHoughBallard>
impl AlgorithmTraitConst for Ptr<dyn GeneralizedHoughBallard>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn GeneralizedHoughGuil>
impl AlgorithmTraitConst for Ptr<dyn GeneralizedHoughGuil>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn GraphSegmentation>
impl AlgorithmTraitConst for Ptr<dyn GraphSegmentation>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn GrayCodePattern>
impl AlgorithmTraitConst for Ptr<dyn GrayCodePattern>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn GrayworldWB>
impl AlgorithmTraitConst for Ptr<dyn GrayworldWB>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn GuidedFilter>
impl AlgorithmTraitConst for Ptr<dyn GuidedFilter>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn HOG>
impl AlgorithmTraitConst for Ptr<dyn HOG>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn HausdorffDistanceExtractor>
impl AlgorithmTraitConst for Ptr<dyn HausdorffDistanceExtractor>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn HfsSegment>
impl AlgorithmTraitConst for Ptr<dyn HfsSegment>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn HistogramCostExtractor>
impl AlgorithmTraitConst for Ptr<dyn HistogramCostExtractor>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn HistogramPhaseUnwrapping>
impl AlgorithmTraitConst for Ptr<dyn HistogramPhaseUnwrapping>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn KAZE>
impl AlgorithmTraitConst for Ptr<dyn KAZE>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn KNearest>
impl AlgorithmTraitConst for Ptr<dyn KNearest>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn LBPHFaceRecognizer>
impl AlgorithmTraitConst for Ptr<dyn LBPHFaceRecognizer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn LMSolver>
impl AlgorithmTraitConst for Ptr<dyn LMSolver>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn LSTMLayer>
impl AlgorithmTraitConst for Ptr<dyn LSTMLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn LearningBasedWB>
impl AlgorithmTraitConst for Ptr<dyn LearningBasedWB>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn LineSegmentDetector>
impl AlgorithmTraitConst for Ptr<dyn LineSegmentDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn LogisticRegression>
impl AlgorithmTraitConst for Ptr<dyn LogisticRegression>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn LookUpTable>
impl AlgorithmTraitConst for Ptr<dyn LookUpTable>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn MACE>
impl AlgorithmTraitConst for Ptr<dyn MACE>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn MCC_CCheckerDetector>
impl AlgorithmTraitConst for Ptr<dyn MCC_CCheckerDetector>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn MSER>
impl AlgorithmTraitConst for Ptr<dyn MSER>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn MergeDebevec>
impl AlgorithmTraitConst for Ptr<dyn MergeDebevec>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn MergeMertens>
impl AlgorithmTraitConst for Ptr<dyn MergeMertens>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn MergeRobertson>
impl AlgorithmTraitConst for Ptr<dyn MergeRobertson>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn NormHistogramCostExtractor>
impl AlgorithmTraitConst for Ptr<dyn NormHistogramCostExtractor>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn NormalBayesClassifier>
impl AlgorithmTraitConst for Ptr<dyn NormalBayesClassifier>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn OLSTracker>
impl AlgorithmTraitConst for Ptr<dyn OLSTracker>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn ORB>
impl AlgorithmTraitConst for Ptr<dyn ORB>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Odometry>
impl AlgorithmTraitConst for Ptr<dyn Odometry>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn PCTSignatures>
impl AlgorithmTraitConst for Ptr<dyn PCTSignatures>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn PCTSignaturesSQFD>
impl AlgorithmTraitConst for Ptr<dyn PCTSignaturesSQFD>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Plot2d>
impl AlgorithmTraitConst for Ptr<dyn Plot2d>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn RFFeatureGetter>
impl AlgorithmTraitConst for Ptr<dyn RFFeatureGetter>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn RICInterpolator>
impl AlgorithmTraitConst for Ptr<dyn RICInterpolator>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn RNNLayer>
impl AlgorithmTraitConst for Ptr<dyn RNNLayer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn RTrees>
impl AlgorithmTraitConst for Ptr<dyn RTrees>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Rapid>
impl AlgorithmTraitConst for Ptr<dyn Rapid>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Retina>
impl AlgorithmTraitConst for Ptr<dyn Retina>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn RetinaFastToneMapping>
impl AlgorithmTraitConst for Ptr<dyn RetinaFastToneMapping>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn RidgeDetectionFilter>
impl AlgorithmTraitConst for Ptr<dyn RidgeDetectionFilter>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SURF>
impl AlgorithmTraitConst for Ptr<dyn SURF>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SVM>
impl AlgorithmTraitConst for Ptr<dyn SVM>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SVMSGD>
impl AlgorithmTraitConst for Ptr<dyn SVMSGD>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SVM_Kernel>
impl AlgorithmTraitConst for Ptr<dyn SVM_Kernel>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn ScanSegment>
impl AlgorithmTraitConst for Ptr<dyn ScanSegment>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentation>
impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentation>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategy>
impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategy>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategyColor>
impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategyColor>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategyFill>
impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategyFill>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>
impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategySize>
impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategySize>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>
impl AlgorithmTraitConst for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn ShapeContextDistanceExtractor>
impl AlgorithmTraitConst for Ptr<dyn ShapeContextDistanceExtractor>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn ShapeTransformer>
impl AlgorithmTraitConst for Ptr<dyn ShapeTransformer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SimpleWB>
impl AlgorithmTraitConst for Ptr<dyn SimpleWB>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SinusoidalPattern>
impl AlgorithmTraitConst for Ptr<dyn SinusoidalPattern>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SparseOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn SparseOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SparsePyrLKOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn SparsePyrLKOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SparseRLOFOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn SparseRLOFOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn StereoBM>
impl AlgorithmTraitConst for Ptr<dyn StereoBM>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn StereoMatcher>
impl AlgorithmTraitConst for Ptr<dyn StereoMatcher>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn StereoSGBM>
impl AlgorithmTraitConst for Ptr<dyn StereoSGBM>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn StructuredEdgeDetection>
impl AlgorithmTraitConst for Ptr<dyn StructuredEdgeDetection>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SuperpixelLSC>
impl AlgorithmTraitConst for Ptr<dyn SuperpixelLSC>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SuperpixelSEEDS>
impl AlgorithmTraitConst for Ptr<dyn SuperpixelSEEDS>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn SuperpixelSLIC>
impl AlgorithmTraitConst for Ptr<dyn SuperpixelSLIC>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Superres_BroxOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn Superres_BroxOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Superres_DenseOpticalFlowExt>
impl AlgorithmTraitConst for Ptr<dyn Superres_DenseOpticalFlowExt>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Superres_DualTVL1OpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn Superres_DualTVL1OpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Superres_FarnebackOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn Superres_FarnebackOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Superres_PyrLKOpticalFlow>
impl AlgorithmTraitConst for Ptr<dyn Superres_PyrLKOpticalFlow>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Superres_SuperResolution>
impl AlgorithmTraitConst for Ptr<dyn Superres_SuperResolution>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn TBMR>
impl AlgorithmTraitConst for Ptr<dyn TBMR>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn ThinPlateSplineShapeTransformer>
impl AlgorithmTraitConst for Ptr<dyn ThinPlateSplineShapeTransformer>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn Tonemap>
impl AlgorithmTraitConst for Ptr<dyn Tonemap>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn TonemapDrago>
impl AlgorithmTraitConst for Ptr<dyn TonemapDrago>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn TonemapDurand>
impl AlgorithmTraitConst for Ptr<dyn TonemapDurand>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn TonemapMantiuk>
impl AlgorithmTraitConst for Ptr<dyn TonemapMantiuk>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn TonemapReinhard>
impl AlgorithmTraitConst for Ptr<dyn TonemapReinhard>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn TransientAreasSegmentationModule>
impl AlgorithmTraitConst for Ptr<dyn TransientAreasSegmentationModule>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn VGG>
impl AlgorithmTraitConst for Ptr<dyn VGG>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlgorithmTraitConst for Ptr<dyn VariationalRefinement>
impl AlgorithmTraitConst for Ptr<dyn VariationalRefinement>
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings
Stores algorithm parameters in a file storage Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§impl AlignExposures for Ptr<dyn AlignMTB>
impl AlignExposures for Ptr<dyn AlignMTB>
fn as_raw_mut_AlignExposures(&mut self) -> *mut c_void
source§fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut Vector<Mat>,
times: &dyn ToInputArray,
response: &dyn ToInputArray
) -> Result<()>
fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut Vector<Mat>,
times: &dyn ToInputArray,
response: &dyn ToInputArray
) -> Result<()>
Aligns images Read more
source§impl AlignExposuresConst for Ptr<dyn AlignMTB>
impl AlignExposuresConst for Ptr<dyn AlignMTB>
fn as_raw_AlignExposures(&self) -> *const c_void
source§impl AlignMTB for Ptr<dyn AlignMTB>
impl AlignMTB for Ptr<dyn AlignMTB>
fn as_raw_mut_AlignMTB(&mut self) -> *mut c_void
fn process_with_response(
&mut self,
src: &dyn ToInputArray,
dst: &mut Vector<Mat>,
times: &dyn ToInputArray,
response: &dyn ToInputArray
) -> Result<()>
source§fn process(&mut self, src: &dyn ToInputArray, dst: &mut Vector<Mat>) -> Result<()>
fn process(&mut self, src: &dyn ToInputArray, dst: &mut Vector<Mat>) -> Result<()>
Short version of process, that doesn’t take extra arguments. Read more
source§fn calculate_shift(
&mut self,
img0: &dyn ToInputArray,
img1: &dyn ToInputArray
) -> Result<Point>
fn calculate_shift(
&mut self,
img0: &dyn ToInputArray,
img1: &dyn ToInputArray
) -> Result<Point>
Calculates shift between two images, i. e. how to shift the second image to correspond it with the
first. Read more
source§fn shift_mat(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
shift: Point
) -> Result<()>
fn shift_mat(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
shift: Point
) -> Result<()>
Helper function, that shift Mat filling new regions with zeros. Read more
source§fn compute_bitmaps(
&mut self,
img: &dyn ToInputArray,
tb: &mut dyn ToOutputArray,
eb: &mut dyn ToOutputArray
) -> Result<()>
fn compute_bitmaps(
&mut self,
img: &dyn ToInputArray,
tb: &mut dyn ToOutputArray,
eb: &mut dyn ToOutputArray
) -> Result<()>
Computes median threshold and exclude bitmaps of given image. Read more
fn set_max_bits(&mut self, max_bits: i32) -> Result<()>
fn set_exclude_range(&mut self, exclude_range: i32) -> Result<()>
fn set_cut(&mut self, value: bool) -> Result<()>
source§impl AlignMTBConst for Ptr<dyn AlignMTB>
impl AlignMTBConst for Ptr<dyn AlignMTB>
source§impl ArgLayerTrait for Ptr<ArgLayer>
impl ArgLayerTrait for Ptr<ArgLayer>
fn as_raw_mut_ArgLayer(&mut self) -> *mut c_void
source§impl ArgLayerTraitConst for Ptr<ArgLayer>
impl ArgLayerTraitConst for Ptr<ArgLayer>
fn as_raw_ArgLayer(&self) -> *const c_void
source§impl AsinLayerTrait for Ptr<AsinLayer>
impl AsinLayerTrait for Ptr<AsinLayer>
fn as_raw_mut_AsinLayer(&mut self) -> *mut c_void
source§impl AsinLayerTraitConst for Ptr<AsinLayer>
impl AsinLayerTraitConst for Ptr<AsinLayer>
fn as_raw_AsinLayer(&self) -> *const c_void
source§impl AsinhLayerTrait for Ptr<AsinhLayer>
impl AsinhLayerTrait for Ptr<AsinhLayer>
fn as_raw_mut_AsinhLayer(&mut self) -> *mut c_void
source§impl AsinhLayerTraitConst for Ptr<AsinhLayer>
impl AsinhLayerTraitConst for Ptr<AsinhLayer>
fn as_raw_AsinhLayer(&self) -> *const c_void
source§impl AtanLayerTrait for Ptr<AtanLayer>
impl AtanLayerTrait for Ptr<AtanLayer>
fn as_raw_mut_AtanLayer(&mut self) -> *mut c_void
source§impl AtanLayerTraitConst for Ptr<AtanLayer>
impl AtanLayerTraitConst for Ptr<AtanLayer>
fn as_raw_AtanLayer(&self) -> *const c_void
source§impl AtanhLayerTrait for Ptr<AtanhLayer>
impl AtanhLayerTrait for Ptr<AtanhLayer>
fn as_raw_mut_AtanhLayer(&mut self) -> *mut c_void
source§impl AtanhLayerTraitConst for Ptr<AtanhLayer>
impl AtanhLayerTraitConst for Ptr<AtanhLayer>
fn as_raw_AtanhLayer(&self) -> *const c_void
source§impl AverageHashTrait for Ptr<AverageHash>
impl AverageHashTrait for Ptr<AverageHash>
fn as_raw_mut_AverageHash(&mut self) -> *mut c_void
source§impl AverageHashTraitConst for Ptr<AverageHash>
impl AverageHashTraitConst for Ptr<AverageHash>
fn as_raw_AverageHash(&self) -> *const c_void
source§impl BEBLIDTrait for Ptr<BEBLID>
impl BEBLIDTrait for Ptr<BEBLID>
fn as_raw_mut_BEBLID(&mut self) -> *mut c_void
source§impl BEBLIDTraitConst for Ptr<BEBLID>
impl BEBLIDTraitConst for Ptr<BEBLID>
fn as_raw_BEBLID(&self) -> *const c_void
source§impl BFMatcherTrait for Ptr<BFMatcher>
impl BFMatcherTrait for Ptr<BFMatcher>
fn as_raw_mut_BFMatcher(&mut self) -> *mut c_void
source§impl BFMatcherTraitConst for Ptr<BFMatcher>
impl BFMatcherTraitConst for Ptr<BFMatcher>
source§impl BIFConst for Ptr<dyn BIF>
impl BIFConst for Ptr<dyn BIF>
fn as_raw_BIF(&self) -> *const c_void
source§fn compute(
&self,
image: &dyn ToInputArray,
features: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&self,
image: &dyn ToInputArray,
features: &mut dyn ToOutputArray
) -> Result<()>
Computes features sby input image. Read more
source§impl BNLLLayerTrait for Ptr<BNLLLayer>
impl BNLLLayerTrait for Ptr<BNLLLayer>
fn as_raw_mut_BNLLLayer(&mut self) -> *mut c_void
source§impl BNLLLayerTraitConst for Ptr<BNLLLayer>
impl BNLLLayerTraitConst for Ptr<BNLLLayer>
fn as_raw_BNLLLayer(&self) -> *const c_void
source§impl BRISKTrait for Ptr<BRISK>
impl BRISKTrait for Ptr<BRISK>
source§impl BRISKTraitConst for Ptr<BRISK>
impl BRISKTraitConst for Ptr<BRISK>
fn as_raw_BRISK(&self) -> *const c_void
fn get_default_name(&self) -> Result<String>
fn get_threshold(&self) -> Result<i32>
fn get_octaves(&self) -> Result<i32>
source§impl BackendNodeTrait for Ptr<BackendNode>
impl BackendNodeTrait for Ptr<BackendNode>
fn as_raw_mut_BackendNode(&mut self) -> *mut c_void
source§fn set_backend_id(&mut self, val: i32)
fn set_backend_id(&mut self, val: i32)
Backend identifier.
source§impl BackendNodeTraitConst for Ptr<BackendNode>
impl BackendNodeTraitConst for Ptr<BackendNode>
fn as_raw_BackendNode(&self) -> *const c_void
source§fn backend_id(&self) -> i32
fn backend_id(&self) -> i32
Backend identifier.
source§impl BackendWrapper for Ptr<dyn BackendWrapper>
impl BackendWrapper for Ptr<dyn BackendWrapper>
fn as_raw_mut_BackendWrapper(&mut self) -> *mut c_void
source§fn set_backend_id(&mut self, val: i32)
fn set_backend_id(&mut self, val: i32)
Backend identifier.
source§fn set_target_id(&mut self, val: i32)
fn set_target_id(&mut self, val: i32)
Target identifier.
source§fn copy_to_host(&mut self) -> Result<()>
fn copy_to_host(&mut self) -> Result<()>
Transfer data to CPU host memory.
source§fn set_host_dirty(&mut self) -> Result<()>
fn set_host_dirty(&mut self) -> Result<()>
Indicate that an actual data is on CPU.
source§impl BackendWrapperConst for Ptr<dyn BackendWrapper>
impl BackendWrapperConst for Ptr<dyn BackendWrapper>
source§impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorCNT>
impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorCNT>
fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
Computes a foreground mask. Read more
source§impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorGMG>
impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorGMG>
fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
Computes a foreground mask. Read more
source§impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorGSOC>
impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorGSOC>
fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
Computes a foreground mask. Read more
source§impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorKNN>
impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorKNN>
fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
Computes a foreground mask. Read more
source§impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorLSBP>
impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorLSBP>
fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
Computes a foreground mask. Read more
source§impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorMOG>
impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorMOG>
fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
Computes a foreground mask. Read more
source§impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorMOG2>
impl BackgroundSubtractor for Ptr<dyn BackgroundSubtractorMOG2>
fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
Computes a foreground mask. Read more
source§impl BackgroundSubtractor for Ptr<dyn CUDA_BackgroundSubtractorMOG>
impl BackgroundSubtractor for Ptr<dyn CUDA_BackgroundSubtractorMOG>
fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
Computes a foreground mask. Read more
source§impl BackgroundSubtractor for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
impl BackgroundSubtractor for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
fn as_raw_mut_BackgroundSubtractor(&mut self) -> *mut c_void
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
Computes a foreground mask. Read more
source§impl BackgroundSubtractorCNT for Ptr<dyn BackgroundSubtractorCNT>
impl BackgroundSubtractorCNT for Ptr<dyn BackgroundSubtractorCNT>
fn as_raw_mut_BackgroundSubtractorCNT(&mut self) -> *mut c_void
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
C++ default parameters Read more
source§fn set_min_pixel_stability(&mut self, value: i32) -> Result<()>
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<()>
fn set_max_pixel_stability(&mut self, value: i32) -> Result<()>
Sets the maximum allowed credit for a pixel in history.
source§impl BackgroundSubtractorCNTConst for Ptr<dyn BackgroundSubtractorCNT>
impl BackgroundSubtractorCNTConst for Ptr<dyn BackgroundSubtractorCNT>
fn as_raw_BackgroundSubtractorCNT(&self) -> *const c_void
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
source§fn get_min_pixel_stability(&self) -> Result<i32>
fn get_min_pixel_stability(&self) -> Result<i32>
Returns number of frames with same pixel color to consider stable.
source§fn get_max_pixel_stability(&self) -> Result<i32>
fn get_max_pixel_stability(&self) -> Result<i32>
Returns maximum allowed credit for a pixel in history.
source§fn get_use_history(&self) -> Result<bool>
fn get_use_history(&self) -> Result<bool>
Returns if we’re giving a pixel credit for being stable for a long time.
source§fn get_is_parallel(&self) -> Result<bool>
fn get_is_parallel(&self) -> Result<bool>
Returns if we’re parallelizing the algorithm.
source§impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorCNT>
impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorCNT>
fn as_raw_BackgroundSubtractor(&self) -> *const c_void
source§fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
Computes a background image. Read more
source§impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorGMG>
impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorGMG>
fn as_raw_BackgroundSubtractor(&self) -> *const c_void
source§fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
Computes a background image. Read more
source§impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorGSOC>
impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorGSOC>
fn as_raw_BackgroundSubtractor(&self) -> *const c_void
source§fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
Computes a background image. Read more
source§impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorKNN>
impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorKNN>
fn as_raw_BackgroundSubtractor(&self) -> *const c_void
source§fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
Computes a background image. Read more
source§impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorLSBP>
impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorLSBP>
fn as_raw_BackgroundSubtractor(&self) -> *const c_void
source§fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
Computes a background image. Read more
source§impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorMOG>
impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorMOG>
fn as_raw_BackgroundSubtractor(&self) -> *const c_void
source§fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
Computes a background image. Read more
source§impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorMOG2>
impl BackgroundSubtractorConst for Ptr<dyn BackgroundSubtractorMOG2>
fn as_raw_BackgroundSubtractor(&self) -> *const c_void
source§fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
Computes a background image. Read more
source§impl BackgroundSubtractorConst for Ptr<dyn CUDA_BackgroundSubtractorMOG>
impl BackgroundSubtractorConst for Ptr<dyn CUDA_BackgroundSubtractorMOG>
fn as_raw_BackgroundSubtractor(&self) -> *const c_void
source§fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
Computes a background image. Read more
source§impl BackgroundSubtractorConst for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
impl BackgroundSubtractorConst for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
fn as_raw_BackgroundSubtractor(&self) -> *const c_void
source§fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
Computes a background image. Read more
source§impl BackgroundSubtractorGMG for Ptr<dyn BackgroundSubtractorGMG>
impl BackgroundSubtractorGMG for Ptr<dyn BackgroundSubtractorGMG>
fn as_raw_mut_BackgroundSubtractorGMG(&mut self) -> *mut c_void
source§fn set_max_features(&mut self, max_features: i32) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
fn set_update_background_model(&mut self, update: bool) -> Result<()>
Sets the status of background model update
source§impl BackgroundSubtractorGMGConst for Ptr<dyn BackgroundSubtractorGMG>
impl BackgroundSubtractorGMGConst for Ptr<dyn BackgroundSubtractorGMG>
fn as_raw_BackgroundSubtractorGMG(&self) -> *const c_void
source§fn get_max_features(&self) -> Result<i32>
fn get_max_features(&self) -> Result<i32>
Returns total number of distinct colors to maintain in histogram.
source§fn get_default_learning_rate(&self) -> Result<f64>
fn get_default_learning_rate(&self) -> Result<f64>
Returns the learning rate of the algorithm. Read more
source§fn get_num_frames(&self) -> Result<i32>
fn get_num_frames(&self) -> Result<i32>
Returns the number of frames used to initialize background model.
source§fn get_quantization_levels(&self) -> Result<i32>
fn get_quantization_levels(&self) -> Result<i32>
Returns the parameter used for quantization of color-space. Read more
source§fn get_background_prior(&self) -> Result<f64>
fn get_background_prior(&self) -> Result<f64>
Returns the prior probability that each individual pixel is a background pixel.
source§fn get_smoothing_radius(&self) -> Result<i32>
fn get_smoothing_radius(&self) -> Result<i32>
Returns the kernel radius used for morphological operations
source§fn get_decision_threshold(&self) -> Result<f64>
fn get_decision_threshold(&self) -> Result<f64>
Returns the value of decision threshold. Read more
source§fn get_update_background_model(&self) -> Result<bool>
fn get_update_background_model(&self) -> Result<bool>
Returns the status of background model update
source§fn get_min_val(&self) -> Result<f64>
fn get_min_val(&self) -> Result<f64>
Returns the minimum value taken on by pixels in image sequence. Usually 0.
source§fn get_max_val(&self) -> Result<f64>
fn get_max_val(&self) -> Result<f64>
Returns the maximum value taken on by pixels in image sequence. e.g. 1.0 or 255.
source§impl BackgroundSubtractorGSOC for Ptr<dyn BackgroundSubtractorGSOC>
impl BackgroundSubtractorGSOC for Ptr<dyn BackgroundSubtractorGSOC>
fn as_raw_mut_BackgroundSubtractorGSOC(&mut self) -> *mut c_void
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
C++ default parameters Read more
source§impl BackgroundSubtractorGSOCConst for Ptr<dyn BackgroundSubtractorGSOC>
impl BackgroundSubtractorGSOCConst for Ptr<dyn BackgroundSubtractorGSOC>
fn as_raw_BackgroundSubtractorGSOC(&self) -> *const c_void
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
source§impl BackgroundSubtractorKNN for Ptr<dyn BackgroundSubtractorKNN>
impl BackgroundSubtractorKNN for Ptr<dyn BackgroundSubtractorKNN>
fn as_raw_mut_BackgroundSubtractorKNN(&mut self) -> *mut c_void
source§fn set_history(&mut self, history: i32) -> Result<()>
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<()>
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<()>
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<()>
fn setk_nn_samples(&mut self, _nk_nn: i32) -> Result<()>
Sets the k in the kNN. How many nearest neighbours need to match.
source§impl BackgroundSubtractorKNNConst for Ptr<dyn BackgroundSubtractorKNN>
impl BackgroundSubtractorKNNConst for Ptr<dyn BackgroundSubtractorKNN>
fn as_raw_BackgroundSubtractorKNN(&self) -> *const c_void
source§fn get_history(&self) -> Result<i32>
fn get_history(&self) -> Result<i32>
Returns the number of last frames that affect the background model
source§fn get_n_samples(&self) -> Result<i32>
fn get_n_samples(&self) -> Result<i32>
Returns the number of data samples in the background model
source§fn get_dist2_threshold(&self) -> Result<f64>
fn get_dist2_threshold(&self) -> Result<f64>
Returns the threshold on the squared distance between the pixel and the sample Read more
source§impl BackgroundSubtractorLSBP for Ptr<dyn BackgroundSubtractorLSBP>
impl BackgroundSubtractorLSBP for Ptr<dyn BackgroundSubtractorLSBP>
fn as_raw_mut_BackgroundSubtractorLSBP(&mut self) -> *mut c_void
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
C++ default parameters Read more
source§impl BackgroundSubtractorLSBPConst for Ptr<dyn BackgroundSubtractorLSBP>
impl BackgroundSubtractorLSBPConst for Ptr<dyn BackgroundSubtractorLSBP>
fn as_raw_BackgroundSubtractorLSBP(&self) -> *const c_void
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
source§impl BackgroundSubtractorMOG for Ptr<dyn BackgroundSubtractorMOG>
impl BackgroundSubtractorMOG for Ptr<dyn BackgroundSubtractorMOG>
fn as_raw_mut_BackgroundSubtractorMOG(&mut self) -> *mut c_void
fn set_history(&mut self, nframes: i32) -> Result<()>
fn set_n_mixtures(&mut self, nmix: i32) -> Result<()>
fn set_background_ratio(&mut self, background_ratio: f64) -> Result<()>
fn set_noise_sigma(&mut self, noise_sigma: f64) -> Result<()>
source§impl BackgroundSubtractorMOG2 for Ptr<dyn BackgroundSubtractorMOG2>
impl BackgroundSubtractorMOG2 for Ptr<dyn BackgroundSubtractorMOG2>
fn as_raw_mut_BackgroundSubtractorMOG2(&mut self) -> *mut c_void
source§fn set_history(&mut self, history: i32) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
fn set_var_init(&mut self, var_init: f64) -> Result<()>
Sets the initial variance of each gaussian component
fn set_var_min(&mut self, var_min: f64) -> Result<()>
fn set_var_max(&mut self, var_max: f64) -> Result<()>
source§fn set_complexity_reduction_threshold(&mut self, ct: f64) -> Result<()>
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<()>
fn set_detect_shadows(&mut self, detect_shadows: bool) -> Result<()>
Enables or disables shadow detection
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
Computes a foreground mask. Read more
source§impl BackgroundSubtractorMOG2 for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
impl BackgroundSubtractorMOG2 for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
fn as_raw_mut_BackgroundSubtractorMOG2(&mut self) -> *mut c_void
source§fn set_history(&mut self, history: i32) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
fn set_var_init(&mut self, var_init: f64) -> Result<()>
Sets the initial variance of each gaussian component
fn set_var_min(&mut self, var_min: f64) -> Result<()>
fn set_var_max(&mut self, var_max: f64) -> Result<()>
source§fn set_complexity_reduction_threshold(&mut self, ct: f64) -> Result<()>
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<()>
fn set_detect_shadows(&mut self, detect_shadows: bool) -> Result<()>
Enables or disables shadow detection
source§fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
Computes a foreground mask. Read more
source§impl BackgroundSubtractorMOG2Const for Ptr<dyn BackgroundSubtractorMOG2>
impl BackgroundSubtractorMOG2Const for Ptr<dyn BackgroundSubtractorMOG2>
fn as_raw_BackgroundSubtractorMOG2(&self) -> *const c_void
source§fn get_history(&self) -> Result<i32>
fn get_history(&self) -> Result<i32>
Returns the number of last frames that affect the background model
source§fn get_n_mixtures(&self) -> Result<i32>
fn get_n_mixtures(&self) -> Result<i32>
Returns the number of gaussian components in the background model
source§fn get_background_ratio(&self) -> Result<f64>
fn get_background_ratio(&self) -> Result<f64>
Returns the “background ratio” parameter of the algorithm Read more
source§fn get_var_threshold(&self) -> Result<f64>
fn get_var_threshold(&self) -> Result<f64>
Returns the variance threshold for the pixel-model match Read more
source§fn get_var_threshold_gen(&self) -> Result<f64>
fn get_var_threshold_gen(&self) -> Result<f64>
Returns the variance threshold for the pixel-model match used for new mixture component generation Read more
source§fn get_var_init(&self) -> Result<f64>
fn get_var_init(&self) -> Result<f64>
Returns the initial variance of each gaussian component
fn get_var_min(&self) -> Result<f64>
fn get_var_max(&self) -> Result<f64>
source§impl BackgroundSubtractorMOG2Const for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
impl BackgroundSubtractorMOG2Const for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
fn as_raw_BackgroundSubtractorMOG2(&self) -> *const c_void
source§fn get_history(&self) -> Result<i32>
fn get_history(&self) -> Result<i32>
Returns the number of last frames that affect the background model
source§fn get_n_mixtures(&self) -> Result<i32>
fn get_n_mixtures(&self) -> Result<i32>
Returns the number of gaussian components in the background model
source§fn get_background_ratio(&self) -> Result<f64>
fn get_background_ratio(&self) -> Result<f64>
Returns the “background ratio” parameter of the algorithm Read more
source§fn get_var_threshold(&self) -> Result<f64>
fn get_var_threshold(&self) -> Result<f64>
Returns the variance threshold for the pixel-model match Read more
source§fn get_var_threshold_gen(&self) -> Result<f64>
fn get_var_threshold_gen(&self) -> Result<f64>
Returns the variance threshold for the pixel-model match used for new mixture component generation Read more
source§fn get_var_init(&self) -> Result<f64>
fn get_var_init(&self) -> Result<f64>
Returns the initial variance of each gaussian component
fn get_var_min(&self) -> Result<f64>
fn get_var_max(&self) -> Result<f64>
source§impl BackgroundSubtractorMOGConst for Ptr<dyn BackgroundSubtractorMOG>
impl BackgroundSubtractorMOGConst for Ptr<dyn BackgroundSubtractorMOG>
fn as_raw_BackgroundSubtractorMOG(&self) -> *const c_void
fn get_history(&self) -> Result<i32>
fn get_n_mixtures(&self) -> Result<i32>
fn get_background_ratio(&self) -> Result<f64>
fn get_noise_sigma(&self) -> Result<f64>
source§impl BaseCascadeClassifier for Ptr<dyn BaseCascadeClassifier>
impl BaseCascadeClassifier for Ptr<dyn BaseCascadeClassifier>
fn as_raw_mut_BaseCascadeClassifier(&mut self) -> *mut c_void
fn load(&mut self, filename: &str) -> Result<bool>
fn detect_multi_scale(
&mut self,
image: &dyn ToInputArray,
objects: &mut Vector<Rect>,
scale_factor: f64,
min_neighbors: i32,
flags: i32,
min_size: Size,
max_size: Size
) -> Result<()>
fn detect_multi_scale_num(
&mut self,
image: &dyn ToInputArray,
objects: &mut Vector<Rect>,
num_detections: &mut Vector<i32>,
scale_factor: f64,
min_neighbors: i32,
flags: i32,
min_size: Size,
max_size: Size
) -> Result<()>
fn detect_multi_scale_levels(
&mut self,
image: &dyn ToInputArray,
objects: &mut Vector<Rect>,
reject_levels: &mut Vector<i32>,
level_weights: &mut Vector<f64>,
scale_factor: f64,
min_neighbors: i32,
flags: i32,
min_size: Size,
max_size: Size,
output_reject_levels: bool
) -> Result<()>
fn get_old_cascade(&mut self) -> Result<*mut c_void>
fn set_mask_generator(
&mut self,
mask_generator: &Ptr<dyn BaseCascadeClassifier_MaskGenerator>
) -> Result<()>
fn get_mask_generator(
&mut self
) -> Result<Ptr<dyn BaseCascadeClassifier_MaskGenerator>>
source§impl BaseCascadeClassifierConst for Ptr<dyn BaseCascadeClassifier>
impl BaseCascadeClassifierConst for Ptr<dyn BaseCascadeClassifier>
source§impl BaseCascadeClassifier_MaskGeneratorConst for Ptr<dyn BaseCascadeClassifier_MaskGenerator>
impl BaseCascadeClassifier_MaskGeneratorConst for Ptr<dyn BaseCascadeClassifier_MaskGenerator>
source§impl BaseConvolutionLayerTrait for Ptr<BaseConvolutionLayer>
impl BaseConvolutionLayerTrait for Ptr<BaseConvolutionLayer>
fn as_raw_mut_BaseConvolutionLayer(&mut self) -> *mut c_void
fn set_kernel(&mut self, val: Size)
fn set_stride(&mut self, val: Size)
fn set_pad(&mut self, val: Size)
fn set_dilation(&mut self, val: Size)
fn set_adjust_pad(&mut self, val: Size)
fn set_adjust_pads(&mut self, val: Vector<size_t>)
fn set_kernel_size(&mut self, val: Vector<size_t>)
fn set_strides(&mut self, val: Vector<size_t>)
fn set_dilations(&mut self, val: Vector<size_t>)
fn set_pads_begin(&mut self, val: Vector<size_t>)
fn set_pads_end(&mut self, val: Vector<size_t>)
fn set_pad_mode(&mut self, val: &str)
fn set_num_output(&mut self, val: i32)
source§impl BaseConvolutionLayerTraitConst for Ptr<BaseConvolutionLayer>
impl BaseConvolutionLayerTraitConst for Ptr<BaseConvolutionLayer>
fn as_raw_BaseConvolutionLayer(&self) -> *const c_void
fn kernel(&self) -> Size
fn stride(&self) -> Size
fn pad(&self) -> Size
fn dilation(&self) -> Size
fn adjust_pad(&self) -> Size
fn adjust_pads(&self) -> Vector<size_t>
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn dilations(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
fn pad_mode(&self) -> String
fn num_output(&self) -> i32
source§impl BaseOCR for Ptr<OCRBeamSearchDecoder>
impl BaseOCR for Ptr<OCRBeamSearchDecoder>
fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void
source§impl BaseOCR for Ptr<OCRHMMDecoder>
impl BaseOCR for Ptr<OCRHMMDecoder>
fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void
source§impl BaseOCR for Ptr<dyn OCRHolisticWordRecognizer>
impl BaseOCR for Ptr<dyn OCRHolisticWordRecognizer>
fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void
source§impl BaseOCR for Ptr<dyn OCRTesseract>
impl BaseOCR for Ptr<dyn OCRTesseract>
fn as_raw_mut_BaseOCR(&mut self) -> *mut c_void
source§impl BaseOCRConst for Ptr<OCRBeamSearchDecoder>
impl BaseOCRConst for Ptr<OCRBeamSearchDecoder>
fn as_raw_BaseOCR(&self) -> *const c_void
source§impl BaseOCRConst for Ptr<OCRHMMDecoder>
impl BaseOCRConst for Ptr<OCRHMMDecoder>
fn as_raw_BaseOCR(&self) -> *const c_void
source§impl BaseOCRConst for Ptr<dyn OCRHolisticWordRecognizer>
impl BaseOCRConst for Ptr<dyn OCRHolisticWordRecognizer>
fn as_raw_BaseOCR(&self) -> *const c_void
source§impl BaseOCRConst for Ptr<dyn OCRTesseract>
impl BaseOCRConst for Ptr<dyn OCRTesseract>
fn as_raw_BaseOCR(&self) -> *const c_void
source§impl BaseSFM for Ptr<dyn SFMLibmvEuclideanReconstruction>
impl BaseSFM for Ptr<dyn SFMLibmvEuclideanReconstruction>
fn as_raw_mut_BaseSFM(&mut self) -> *mut c_void
fn run(&mut self, points2d: &dyn ToInputArray) -> Result<()>
fn run_1(
&mut self,
points2d: &dyn ToInputArray,
k: &mut dyn ToInputOutputArray,
rs: &mut dyn ToOutputArray,
ts: &mut dyn ToOutputArray,
points3d: &mut dyn ToOutputArray
) -> Result<()>
fn run_2(&mut self, images: &Vector<String>) -> Result<()>
fn run_3(
&mut self,
images: &Vector<String>,
k: &mut dyn ToInputOutputArray,
rs: &mut dyn ToOutputArray,
ts: &mut dyn ToOutputArray,
points3d: &mut dyn ToOutputArray
) -> Result<()>
fn get_points(&mut self, points3d: &mut dyn ToOutputArray) -> Result<()>
fn get_cameras(
&mut self,
rs: &mut dyn ToOutputArray,
ts: &mut dyn ToOutputArray
) -> Result<()>
fn set_reconstruction_options(
&mut self,
libmv_reconstruction_options: libmv_ReconstructionOptions
) -> Result<()>
fn set_camera_intrinsic_options(
&mut self,
libmv_camera_intrinsics_options: libmv_CameraIntrinsicsOptions
) -> Result<()>
source§impl BaseSFMConst for Ptr<dyn SFMLibmvEuclideanReconstruction>
impl BaseSFMConst for Ptr<dyn SFMLibmvEuclideanReconstruction>
source§impl BasicFaceRecognizer for Ptr<dyn EigenFaceRecognizer>
impl BasicFaceRecognizer for Ptr<dyn EigenFaceRecognizer>
source§impl BasicFaceRecognizer for Ptr<dyn FisherFaceRecognizer>
impl BasicFaceRecognizer for Ptr<dyn FisherFaceRecognizer>
source§impl BasicFaceRecognizerConst for Ptr<dyn EigenFaceRecognizer>
impl BasicFaceRecognizerConst for Ptr<dyn EigenFaceRecognizer>
fn as_raw_BasicFaceRecognizer(&self) -> *const c_void
fn get_projections(&self) -> Result<Vector<Mat>>
fn get_labels(&self) -> Result<Mat>
fn get_eigen_values(&self) -> Result<Mat>
fn get_eigen_vectors(&self) -> Result<Mat>
fn get_mean(&self) -> Result<Mat>
fn write(&self, fs: &mut FileStorage) -> Result<()>
fn empty(&self) -> Result<bool>
source§impl BasicFaceRecognizerConst for Ptr<dyn FisherFaceRecognizer>
impl BasicFaceRecognizerConst for Ptr<dyn FisherFaceRecognizer>
fn as_raw_BasicFaceRecognizer(&self) -> *const c_void
fn get_projections(&self) -> Result<Vector<Mat>>
fn get_labels(&self) -> Result<Mat>
fn get_eigen_values(&self) -> Result<Mat>
fn get_eigen_vectors(&self) -> Result<Mat>
fn get_mean(&self) -> Result<Mat>
fn write(&self, fs: &mut FileStorage) -> Result<()>
fn empty(&self) -> Result<bool>
source§impl BatchNormLayerInt8Trait for Ptr<BatchNormLayerInt8>
impl BatchNormLayerInt8Trait for Ptr<BatchNormLayerInt8>
fn as_raw_mut_BatchNormLayerInt8(&mut self) -> *mut c_void
fn set_input_sc(&mut self, val: f32)
fn set_output_sc(&mut self, val: f32)
fn set_input_zp(&mut self, val: i32)
fn set_output_zp(&mut self, val: i32)
source§impl BatchNormLayerTrait for Ptr<BatchNormLayer>
impl BatchNormLayerTrait for Ptr<BatchNormLayer>
fn as_raw_mut_BatchNormLayer(&mut self) -> *mut c_void
fn set_has_weights(&mut self, val: bool)
fn set_has_bias(&mut self, val: bool)
fn set_epsilon(&mut self, val: f32)
source§impl BatchNormLayerTrait for Ptr<BatchNormLayerInt8>
impl BatchNormLayerTrait for Ptr<BatchNormLayerInt8>
fn as_raw_mut_BatchNormLayer(&mut self) -> *mut c_void
fn set_has_weights(&mut self, val: bool)
fn set_has_bias(&mut self, val: bool)
fn set_epsilon(&mut self, val: f32)
source§impl BatchNormLayerTraitConst for Ptr<BatchNormLayer>
impl BatchNormLayerTraitConst for Ptr<BatchNormLayer>
source§impl BinaryDescriptorMatcherTrait for Ptr<BinaryDescriptorMatcher>
impl BinaryDescriptorMatcherTrait for Ptr<BinaryDescriptorMatcher>
fn as_raw_mut_BinaryDescriptorMatcher(&mut self) -> *mut c_void
source§fn match_query(
&mut self,
query_descriptors: &Mat,
matches: &mut Vector<DMatch>,
masks: &Vector<Mat>
) -> Result<()>
fn match_query(
&mut self,
query_descriptors: &Mat,
matches: &mut Vector<DMatch>,
masks: &Vector<Mat>
) -> Result<()>
For every input query descriptor, retrieve the best matching one from a dataset provided from user
or from the one internal to class Read more
source§fn knn_match_query(
&mut self,
query_descriptors: &Mat,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
masks: &Vector<Mat>,
compact_result: bool
) -> Result<()>
fn knn_match_query(
&mut self,
query_descriptors: &Mat,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
masks: &Vector<Mat>,
compact_result: bool
) -> Result<()>
For every input query descriptor, retrieve the best k matching ones from a dataset provided from
user or from the one internal to class Read more
source§fn radius_match_1(
&mut self,
query_descriptors: &Mat,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
masks: &Vector<Mat>,
compact_result: bool
) -> Result<()>
fn radius_match_1(
&mut self,
query_descriptors: &Mat,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
masks: &Vector<Mat>,
compact_result: bool
) -> Result<()>
For every input query descriptor, retrieve, from a dataset provided from user or from the one
internal to class, all the descriptors that are not further than maxDist from input query Read more
source§fn add(&mut self, descriptors: &Vector<Mat>) -> Result<()>
fn add(&mut self, descriptors: &Vector<Mat>) -> Result<()>
Store locally new descriptors to be inserted in dataset, without updating dataset. Read more
source§impl BinaryDescriptorMatcherTraitConst for Ptr<BinaryDescriptorMatcher>
impl BinaryDescriptorMatcherTraitConst for Ptr<BinaryDescriptorMatcher>
fn as_raw_BinaryDescriptorMatcher(&self) -> *const c_void
source§fn match_(
&self,
query_descriptors: &Mat,
train_descriptors: &Mat,
matches: &mut Vector<DMatch>,
mask: &Mat
) -> Result<()>
fn match_(
&self,
query_descriptors: &Mat,
train_descriptors: &Mat,
matches: &mut Vector<DMatch>,
mask: &Mat
) -> Result<()>
For every input query descriptor, retrieve the best matching one from a dataset provided from user
or from the one internal to class Read more
source§fn knn_match(
&self,
query_descriptors: &Mat,
train_descriptors: &Mat,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
mask: &Mat,
compact_result: bool
) -> Result<()>
fn knn_match(
&self,
query_descriptors: &Mat,
train_descriptors: &Mat,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
mask: &Mat,
compact_result: bool
) -> Result<()>
For every input query descriptor, retrieve the best k matching ones from a dataset provided from
user or from the one internal to class Read more
source§fn radius_match(
&self,
query_descriptors: &Mat,
train_descriptors: &Mat,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
mask: &Mat,
compact_result: bool
) -> Result<()>
fn radius_match(
&self,
query_descriptors: &Mat,
train_descriptors: &Mat,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
mask: &Mat,
compact_result: bool
) -> Result<()>
For every input query descriptor, retrieve, from a dataset provided from user or from the one
internal to class, all the descriptors that are not further than maxDist from input query Read more
source§impl BinaryDescriptorTrait for Ptr<BinaryDescriptor>
impl BinaryDescriptorTrait for Ptr<BinaryDescriptor>
fn as_raw_mut_BinaryDescriptor(&mut self) -> *mut c_void
source§fn get_num_of_octaves(&mut self) -> Result<i32>
fn get_num_of_octaves(&mut self) -> Result<i32>
Get current number of octaves
source§fn get_width_of_band(&mut self) -> Result<i32>
fn get_width_of_band(&mut self) -> Result<i32>
Get current width of bands
source§fn get_reduction_ratio(&mut self) -> Result<i32>
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<()>
fn set_reduction_ratio(&mut self, r_ratio: i32) -> Result<()>
Set reduction ratio (used in Gaussian pyramids) Read more
source§impl BinaryDescriptorTraitConst for Ptr<BinaryDescriptor>
impl BinaryDescriptorTraitConst for Ptr<BinaryDescriptor>
fn as_raw_BinaryDescriptor(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Store parameters to a FileStorage object Read more
source§fn detect(
&self,
images: &Vector<Mat>,
keylines: &mut Vector<Vector<KeyLine>>,
masks: &Vector<Mat>
) -> Result<()>
fn detect(
&self,
images: &Vector<Mat>,
keylines: &mut Vector<Vector<KeyLine>>,
masks: &Vector<Mat>
) -> Result<()>
Requires line detection Read more
source§fn compute(
&self,
image: &Mat,
keylines: &mut Vector<KeyLine>,
descriptors: &mut Mat,
return_float_descr: bool
) -> Result<()>
fn compute(
&self,
image: &Mat,
keylines: &mut Vector<KeyLine>,
descriptors: &mut Mat,
return_float_descr: bool
) -> Result<()>
Requires descriptors computation Read more
source§fn compute_1(
&self,
images: &Vector<Mat>,
keylines: &mut Vector<Vector<KeyLine>>,
descriptors: &mut Vector<Mat>,
return_float_descr: bool
) -> Result<()>
fn compute_1(
&self,
images: &Vector<Mat>,
keylines: &mut Vector<Vector<KeyLine>>,
descriptors: &mut Vector<Mat>,
return_float_descr: bool
) -> Result<()>
Requires descriptors computation Read more
source§fn descriptor_size(&self) -> Result<i32>
fn descriptor_size(&self) -> Result<i32>
Return descriptor size
source§fn descriptor_type(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
Return data type
source§fn default_norm(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
returns norm mode
source§impl BlockMeanHashTrait for Ptr<BlockMeanHash>
impl BlockMeanHashTrait for Ptr<BlockMeanHash>
source§impl BlockMeanHashTraitConst for Ptr<BlockMeanHash>
impl BlockMeanHashTraitConst for Ptr<BlockMeanHash>
source§impl BoardTrait for Ptr<Board>
impl BoardTrait for Ptr<Board>
fn as_raw_mut_Board(&mut self) -> *mut c_void
source§fn set_obj_points(&mut self, val: Vector<Vector<Point3f>>)
fn set_obj_points(&mut self, val: Vector<Vector<Point3f>>)
array of object points of all the marker corners in the board
each marker include its 4 corners in this order: Read more
source§fn dictionary(&mut self) -> Ptr<Dictionary>
fn dictionary(&mut self) -> Ptr<Dictionary>
the dictionary of markers employed for this board
source§fn set_dictionary(&mut self, val: Ptr<Dictionary>)
fn set_dictionary(&mut self, val: Ptr<Dictionary>)
the dictionary of markers employed for this board
source§fn set_ids(&mut self, val: Vector<i32>)
fn set_ids(&mut self, val: Vector<i32>)
vector of the identifiers of the markers in the board (same size than objPoints)
The identifiers refers to the board dictionary Read more
source§fn set_right_bottom_border(&mut self, val: Point3f)
fn set_right_bottom_border(&mut self, val: Point3f)
coordinate of the bottom right corner of the board, is set when calling the function create()
source§impl BoardTrait for Ptr<CharucoBoard>
impl BoardTrait for Ptr<CharucoBoard>
fn as_raw_mut_Board(&mut self) -> *mut c_void
source§fn set_obj_points(&mut self, val: Vector<Vector<Point3f>>)
fn set_obj_points(&mut self, val: Vector<Vector<Point3f>>)
array of object points of all the marker corners in the board
each marker include its 4 corners in this order: Read more
source§fn dictionary(&mut self) -> Ptr<Dictionary>
fn dictionary(&mut self) -> Ptr<Dictionary>
the dictionary of markers employed for this board
source§fn set_dictionary(&mut self, val: Ptr<Dictionary>)
fn set_dictionary(&mut self, val: Ptr<Dictionary>)
the dictionary of markers employed for this board
source§fn set_ids(&mut self, val: Vector<i32>)
fn set_ids(&mut self, val: Vector<i32>)
vector of the identifiers of the markers in the board (same size than objPoints)
The identifiers refers to the board dictionary Read more
source§fn set_right_bottom_border(&mut self, val: Point3f)
fn set_right_bottom_border(&mut self, val: Point3f)
coordinate of the bottom right corner of the board, is set when calling the function create()
source§impl BoardTrait for Ptr<GridBoard>
impl BoardTrait for Ptr<GridBoard>
fn as_raw_mut_Board(&mut self) -> *mut c_void
source§fn set_obj_points(&mut self, val: Vector<Vector<Point3f>>)
fn set_obj_points(&mut self, val: Vector<Vector<Point3f>>)
array of object points of all the marker corners in the board
each marker include its 4 corners in this order: Read more
source§fn dictionary(&mut self) -> Ptr<Dictionary>
fn dictionary(&mut self) -> Ptr<Dictionary>
the dictionary of markers employed for this board
source§fn set_dictionary(&mut self, val: Ptr<Dictionary>)
fn set_dictionary(&mut self, val: Ptr<Dictionary>)
the dictionary of markers employed for this board
source§fn set_ids(&mut self, val: Vector<i32>)
fn set_ids(&mut self, val: Vector<i32>)
vector of the identifiers of the markers in the board (same size than objPoints)
The identifiers refers to the board dictionary Read more
source§fn set_right_bottom_border(&mut self, val: Point3f)
fn set_right_bottom_border(&mut self, val: Point3f)
coordinate of the bottom right corner of the board, is set when calling the function create()
source§impl BoardTraitConst for Ptr<Board>
impl BoardTraitConst for Ptr<Board>
fn as_raw_Board(&self) -> *const c_void
source§fn obj_points(&self) -> Vector<Vector<Point3f>>
fn obj_points(&self) -> Vector<Vector<Point3f>>
array of object points of all the marker corners in the board
each marker include its 4 corners in this order: Read more
source§fn ids(&self) -> Vector<i32>
fn ids(&self) -> Vector<i32>
vector of the identifiers of the markers in the board (same size than objPoints)
The identifiers refers to the board dictionary Read more
source§fn right_bottom_border(&self) -> Point3f
fn right_bottom_border(&self) -> Point3f
coordinate of the bottom right corner of the board, is set when calling the function create()
source§impl BoardTraitConst for Ptr<CharucoBoard>
impl BoardTraitConst for Ptr<CharucoBoard>
fn as_raw_Board(&self) -> *const c_void
source§fn obj_points(&self) -> Vector<Vector<Point3f>>
fn obj_points(&self) -> Vector<Vector<Point3f>>
array of object points of all the marker corners in the board
each marker include its 4 corners in this order: Read more
source§fn ids(&self) -> Vector<i32>
fn ids(&self) -> Vector<i32>
vector of the identifiers of the markers in the board (same size than objPoints)
The identifiers refers to the board dictionary Read more
source§fn right_bottom_border(&self) -> Point3f
fn right_bottom_border(&self) -> Point3f
coordinate of the bottom right corner of the board, is set when calling the function create()
source§impl BoardTraitConst for Ptr<GridBoard>
impl BoardTraitConst for Ptr<GridBoard>
fn as_raw_Board(&self) -> *const c_void
source§fn obj_points(&self) -> Vector<Vector<Point3f>>
fn obj_points(&self) -> Vector<Vector<Point3f>>
array of object points of all the marker corners in the board
each marker include its 4 corners in this order: Read more
source§fn ids(&self) -> Vector<i32>
fn ids(&self) -> Vector<i32>
vector of the identifiers of the markers in the board (same size than objPoints)
The identifiers refers to the board dictionary Read more
source§fn right_bottom_border(&self) -> Point3f
fn right_bottom_border(&self) -> Point3f
coordinate of the bottom right corner of the board, is set when calling the function create()
source§impl Boost for Ptr<dyn Boost>
impl Boost for Ptr<dyn Boost>
fn as_raw_mut_Boost(&mut self) -> *mut c_void
source§fn set_boost_type(&mut self, val: i32) -> Result<()>
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<()>
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<()>
fn set_weight_trim_rate(&mut self, val: f64) -> Result<()>
A threshold between 0 and 1 used to save computational time.
Samples with summary weight inline formula do not participate in the next
iteration of training. Set this parameter to 0 to turn off this functionality. Default value is 0.95. Read more
source§impl BoostConst for Ptr<dyn Boost>
impl BoostConst for Ptr<dyn Boost>
source§impl BoostDescConst for Ptr<dyn BoostDesc>
impl BoostDescConst for Ptr<dyn BoostDesc>
fn as_raw_BoostDesc(&self) -> *const c_void
fn get_use_scale_orientation(&self) -> Result<bool>
fn get_scale_factor(&self) -> Result<f32>
source§impl<T: ?Sized> Boxed for Ptr<T>where
Self: PtrExtern,
impl<T: ?Sized> Boxed for Ptr<T>where
Self: PtrExtern,
source§impl BriefDescriptorExtractorTrait for Ptr<BriefDescriptorExtractor>
impl BriefDescriptorExtractorTrait for Ptr<BriefDescriptorExtractor>
fn as_raw_mut_BriefDescriptorExtractor(&mut self) -> *mut c_void
source§impl BriefDescriptorExtractorTraitConst for Ptr<BriefDescriptorExtractor>
impl BriefDescriptorExtractorTraitConst for Ptr<BriefDescriptorExtractor>
fn as_raw_BriefDescriptorExtractor(&self) -> *const c_void
source§impl CLAHE for Ptr<dyn CLAHE>
impl CLAHE for Ptr<dyn CLAHE>
fn as_raw_mut_CLAHE(&mut self) -> *mut c_void
source§fn apply(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn apply(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
source§fn set_clip_limit(&mut self, clip_limit: f64) -> Result<()>
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<()>
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
fn collect_garbage(&mut self) -> Result<()>
source§impl CLAHE for Ptr<dyn CUDA_CLAHE>
impl CLAHE for Ptr<dyn CUDA_CLAHE>
fn as_raw_mut_CLAHE(&mut self) -> *mut c_void
source§fn apply(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn apply(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
source§fn set_clip_limit(&mut self, clip_limit: f64) -> Result<()>
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<()>
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
fn collect_garbage(&mut self) -> Result<()>
source§impl CLAHEConst for Ptr<dyn CLAHE>
impl CLAHEConst for Ptr<dyn CLAHE>
fn as_raw_CLAHE(&self) -> *const c_void
source§fn get_clip_limit(&self) -> Result<f64>
fn get_clip_limit(&self) -> Result<f64>
Returns threshold value for contrast limiting.
source§fn get_tiles_grid_size(&self) -> Result<Size>
fn get_tiles_grid_size(&self) -> Result<Size>
Returns Size defines the number of tiles in row and column.
source§impl CLAHEConst for Ptr<dyn CUDA_CLAHE>
impl CLAHEConst for Ptr<dyn CUDA_CLAHE>
fn as_raw_CLAHE(&self) -> *const c_void
source§fn get_clip_limit(&self) -> Result<f64>
fn get_clip_limit(&self) -> Result<f64>
Returns threshold value for contrast limiting.
source§fn get_tiles_grid_size(&self) -> Result<Size>
fn get_tiles_grid_size(&self) -> Result<Size>
Returns Size defines the number of tiles in row and column.
source§impl CUDA_BackgroundSubtractorMOG for Ptr<dyn CUDA_BackgroundSubtractorMOG>
impl CUDA_BackgroundSubtractorMOG for Ptr<dyn CUDA_BackgroundSubtractorMOG>
fn as_raw_mut_CUDA_BackgroundSubtractorMOG(&mut self) -> *mut c_void
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64,
stream: &mut Stream
) -> Result<()>
fn get_background_image_1(
&mut self,
background_image: &mut GpuMat,
stream: &mut Stream
) -> Result<()>
fn set_history(&mut self, nframes: i32) -> Result<()>
fn set_n_mixtures(&mut self, nmix: i32) -> Result<()>
fn set_background_ratio(&mut self, background_ratio: f64) -> Result<()>
fn set_noise_sigma(&mut self, noise_sigma: f64) -> Result<()>
source§impl CUDA_BackgroundSubtractorMOG2 for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
impl CUDA_BackgroundSubtractorMOG2 for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
fn as_raw_mut_CUDA_BackgroundSubtractorMOG2(&mut self) -> *mut c_void
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64,
stream: &mut Stream
) -> Result<()>
fn get_background_image_1(
&mut self,
background_image: &mut GpuMat,
stream: &mut Stream
) -> Result<()>
source§impl CUDA_BackgroundSubtractorMOG2Const for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
impl CUDA_BackgroundSubtractorMOG2Const for Ptr<dyn CUDA_BackgroundSubtractorMOG2>
fn as_raw_CUDA_BackgroundSubtractorMOG2(&self) -> *const c_void
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
source§impl CUDA_BackgroundSubtractorMOGConst for Ptr<dyn CUDA_BackgroundSubtractorMOG>
impl CUDA_BackgroundSubtractorMOGConst for Ptr<dyn CUDA_BackgroundSubtractorMOG>
fn as_raw_CUDA_BackgroundSubtractorMOG(&self) -> *const c_void
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn get_history(&self) -> Result<i32>
fn get_n_mixtures(&self) -> Result<i32>
fn get_background_ratio(&self) -> Result<f64>
fn get_noise_sigma(&self) -> Result<f64>
source§impl CUDA_BroxOpticalFlow for Ptr<dyn CUDA_BroxOpticalFlow>
impl CUDA_BroxOpticalFlow for Ptr<dyn CUDA_BroxOpticalFlow>
fn as_raw_mut_CUDA_BroxOpticalFlow(&mut self) -> *mut c_void
fn set_flow_smoothness(&mut self, alpha: f64) -> Result<()>
fn set_gradient_constancy_importance(&mut self, gamma: f64) -> Result<()>
fn set_pyramid_scale_factor(&mut self, scale_factor: f64) -> Result<()>
fn set_inner_iterations(&mut self, inner_iterations: i32) -> Result<()>
fn set_outer_iterations(&mut self, outer_iterations: i32) -> Result<()>
fn set_solver_iterations(&mut self, solver_iterations: i32) -> Result<()>
source§impl CUDA_BroxOpticalFlowConst for Ptr<dyn CUDA_BroxOpticalFlow>
impl CUDA_BroxOpticalFlowConst for Ptr<dyn CUDA_BroxOpticalFlow>
fn as_raw_CUDA_BroxOpticalFlow(&self) -> *const c_void
fn get_flow_smoothness(&self) -> Result<f64>
fn get_gradient_constancy_importance(&self) -> Result<f64>
fn get_pyramid_scale_factor(&self) -> Result<f64>
source§fn get_inner_iterations(&self) -> Result<i32>
fn get_inner_iterations(&self) -> Result<i32>
number of lagged non-linearity iterations (inner loop)
source§fn get_outer_iterations(&self) -> Result<i32>
fn get_outer_iterations(&self) -> Result<i32>
number of warping iterations (number of pyramid levels)
source§fn get_solver_iterations(&self) -> Result<i32>
fn get_solver_iterations(&self) -> Result<i32>
number of linear system solver iterations
source§impl CUDA_CLAHE for Ptr<dyn CUDA_CLAHE>
impl CUDA_CLAHE for Ptr<dyn CUDA_CLAHE>
fn as_raw_mut_CUDA_CLAHE(&mut self) -> *mut c_void
source§fn apply(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn apply(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. Read more
source§impl CUDA_CLAHEConst for Ptr<dyn CUDA_CLAHE>
impl CUDA_CLAHEConst for Ptr<dyn CUDA_CLAHE>
fn as_raw_CUDA_CLAHE(&self) -> *const c_void
source§impl CUDA_CannyEdgeDetector for Ptr<dyn CUDA_CannyEdgeDetector>
impl CUDA_CannyEdgeDetector for Ptr<dyn CUDA_CannyEdgeDetector>
fn as_raw_mut_CUDA_CannyEdgeDetector(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
edges: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
edges: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
source§fn detect_1(
&mut self,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
edges: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn detect_1(
&mut self,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
edges: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn set_low_threshold(&mut self, low_thresh: f64) -> Result<()>
fn set_high_threshold(&mut self, high_thresh: f64) -> Result<()>
fn set_apperture_size(&mut self, apperture_size: i32) -> Result<()>
fn set_l2_gradient(&mut self, l2gradient: bool) -> Result<()>
source§impl CUDA_CannyEdgeDetectorConst for Ptr<dyn CUDA_CannyEdgeDetector>
impl CUDA_CannyEdgeDetectorConst for Ptr<dyn CUDA_CannyEdgeDetector>
fn as_raw_CUDA_CannyEdgeDetector(&self) -> *const c_void
fn get_low_threshold(&self) -> Result<f64>
fn get_high_threshold(&self) -> Result<f64>
fn get_apperture_size(&self) -> Result<i32>
fn get_l2_gradient(&self) -> Result<bool>
source§impl CUDA_CornernessCriteria for Ptr<dyn CUDA_CornernessCriteria>
impl CUDA_CornernessCriteria for Ptr<dyn CUDA_CornernessCriteria>
fn as_raw_mut_CUDA_CornernessCriteria(&mut self) -> *mut c_void
source§fn compute(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn compute(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Computes the cornerness criteria at each image pixel. Read more
source§impl CUDA_CornernessCriteriaConst for Ptr<dyn CUDA_CornernessCriteria>
impl CUDA_CornernessCriteriaConst for Ptr<dyn CUDA_CornernessCriteria>
fn as_raw_CUDA_CornernessCriteria(&self) -> *const c_void
source§impl CUDA_CornersDetector for Ptr<dyn CUDA_CornersDetector>
impl CUDA_CornersDetector for Ptr<dyn CUDA_CornersDetector>
fn as_raw_mut_CUDA_CornersDetector(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
corners: &mut dyn ToOutputArray,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
corners: &mut dyn ToOutputArray,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
Determines strong corners on an image. Read more
source§impl CUDA_CornersDetectorConst for Ptr<dyn CUDA_CornersDetector>
impl CUDA_CornersDetectorConst for Ptr<dyn CUDA_CornersDetector>
fn as_raw_CUDA_CornersDetector(&self) -> *const c_void
source§impl CUDA_DenseOpticalFlow for Ptr<dyn CUDA_BroxOpticalFlow>
impl CUDA_DenseOpticalFlow for Ptr<dyn CUDA_BroxOpticalFlow>
fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream
) -> Result<()>
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream
) -> Result<()>
Calculates a dense optical flow. Read more
source§impl CUDA_DenseOpticalFlow for Ptr<dyn CUDA_DensePyrLKOpticalFlow>
impl CUDA_DenseOpticalFlow for Ptr<dyn CUDA_DensePyrLKOpticalFlow>
fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream
) -> Result<()>
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream
) -> Result<()>
Calculates a dense optical flow. Read more
source§impl CUDA_DenseOpticalFlow for Ptr<dyn CUDA_FarnebackOpticalFlow>
impl CUDA_DenseOpticalFlow for Ptr<dyn CUDA_FarnebackOpticalFlow>
fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream
) -> Result<()>
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream
) -> Result<()>
Calculates a dense optical flow. Read more
source§impl CUDA_DenseOpticalFlow for Ptr<dyn CUDA_OpticalFlowDual_TVL1>
impl CUDA_DenseOpticalFlow for Ptr<dyn CUDA_OpticalFlowDual_TVL1>
fn as_raw_mut_CUDA_DenseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream
) -> Result<()>
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream
) -> Result<()>
Calculates a dense optical flow. Read more
source§impl CUDA_DenseOpticalFlowConst for Ptr<dyn CUDA_BroxOpticalFlow>
impl CUDA_DenseOpticalFlowConst for Ptr<dyn CUDA_BroxOpticalFlow>
fn as_raw_CUDA_DenseOpticalFlow(&self) -> *const c_void
source§impl CUDA_DenseOpticalFlowConst for Ptr<dyn CUDA_DensePyrLKOpticalFlow>
impl CUDA_DenseOpticalFlowConst for Ptr<dyn CUDA_DensePyrLKOpticalFlow>
fn as_raw_CUDA_DenseOpticalFlow(&self) -> *const c_void
source§impl CUDA_DenseOpticalFlowConst for Ptr<dyn CUDA_FarnebackOpticalFlow>
impl CUDA_DenseOpticalFlowConst for Ptr<dyn CUDA_FarnebackOpticalFlow>
fn as_raw_CUDA_DenseOpticalFlow(&self) -> *const c_void
source§impl CUDA_DenseOpticalFlowConst for Ptr<dyn CUDA_OpticalFlowDual_TVL1>
impl CUDA_DenseOpticalFlowConst for Ptr<dyn CUDA_OpticalFlowDual_TVL1>
fn as_raw_CUDA_DenseOpticalFlow(&self) -> *const c_void
source§impl CUDA_DensePyrLKOpticalFlow for Ptr<dyn CUDA_DensePyrLKOpticalFlow>
impl CUDA_DensePyrLKOpticalFlow for Ptr<dyn CUDA_DensePyrLKOpticalFlow>
fn as_raw_mut_CUDA_DensePyrLKOpticalFlow(&mut self) -> *mut c_void
fn set_win_size(&mut self, win_size: Size) -> Result<()>
fn set_max_level(&mut self, max_level: i32) -> Result<()>
fn set_num_iters(&mut self, iters: i32) -> Result<()>
fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()>
source§impl CUDA_DensePyrLKOpticalFlowConst for Ptr<dyn CUDA_DensePyrLKOpticalFlow>
impl CUDA_DensePyrLKOpticalFlowConst for Ptr<dyn CUDA_DensePyrLKOpticalFlow>
fn as_raw_CUDA_DensePyrLKOpticalFlow(&self) -> *const c_void
fn get_win_size(&self) -> Result<Size>
fn get_max_level(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
fn get_use_initial_flow(&self) -> Result<bool>
source§impl CUDA_DescriptorMatcher for Ptr<dyn CUDA_DescriptorMatcher>
impl CUDA_DescriptorMatcher for Ptr<dyn CUDA_DescriptorMatcher>
fn as_raw_mut_CUDA_DescriptorMatcher(&mut self) -> *mut c_void
source§fn add(&mut self, descriptors: &Vector<GpuMat>) -> Result<()>
fn add(&mut self, descriptors: &Vector<GpuMat>) -> Result<()>
Adds descriptors to train a descriptor collection. Read more
source§fn match_(
&mut self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
mask: &dyn ToInputArray
) -> Result<()>
fn match_(
&mut self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
mask: &dyn ToInputArray
) -> Result<()>
Finds the best match for each descriptor from a query set (blocking version). Read more
source§fn match__1(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
masks: &Vector<GpuMat>
) -> Result<()>
fn match__1(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
masks: &Vector<GpuMat>
) -> Result<()>
Finds the best match for each descriptor from a query set (blocking version). Read more
source§fn match_async(
&mut self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut dyn ToOutputArray,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
fn match_async(
&mut self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut dyn ToOutputArray,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
Finds the best match for each descriptor from a query set (asynchronous version). Read more
source§fn match_async_1(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut dyn ToOutputArray,
masks: &Vector<GpuMat>,
stream: &mut Stream
) -> Result<()>
fn match_async_1(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut dyn ToOutputArray,
masks: &Vector<GpuMat>,
stream: &mut Stream
) -> Result<()>
Finds the best match for each descriptor from a query set (asynchronous version). Read more
source§fn match_convert(
&mut self,
gpu_matches: &dyn ToInputArray,
matches: &mut Vector<DMatch>
) -> Result<()>
fn match_convert(
&mut self,
gpu_matches: &dyn ToInputArray,
matches: &mut Vector<DMatch>
) -> Result<()>
Converts matches array from internal representation to standard matches vector. Read more
source§fn knn_match(
&mut self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn knn_match(
&mut self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
Finds the k best matches for each descriptor from a query set (blocking version). Read more
source§fn knn_match_1(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
masks: &Vector<GpuMat>,
compact_result: bool
) -> Result<()>
fn knn_match_1(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
masks: &Vector<GpuMat>,
compact_result: bool
) -> Result<()>
Finds the k best matches for each descriptor from a query set (blocking version). Read more
source§fn knn_match_async(
&mut self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut dyn ToOutputArray,
k: i32,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
fn knn_match_async(
&mut self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut dyn ToOutputArray,
k: i32,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
Finds the k best matches for each descriptor from a query set (asynchronous version). Read more
source§fn knn_match_async_1(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut dyn ToOutputArray,
k: i32,
masks: &Vector<GpuMat>,
stream: &mut Stream
) -> Result<()>
fn knn_match_async_1(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut dyn ToOutputArray,
k: i32,
masks: &Vector<GpuMat>,
stream: &mut Stream
) -> Result<()>
Finds the k best matches for each descriptor from a query set (asynchronous version). Read more
source§fn knn_match_convert(
&mut self,
gpu_matches: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
compact_result: bool
) -> Result<()>
fn knn_match_convert(
&mut self,
gpu_matches: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
compact_result: bool
) -> Result<()>
Converts matches array from internal representation to standard matches vector. Read more
source§fn radius_match(
&mut self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn radius_match(
&mut self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
For each query descriptor, finds the training descriptors not farther than the specified distance (blocking version). Read more
source§fn radius_match_1(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
masks: &Vector<GpuMat>,
compact_result: bool
) -> Result<()>
fn radius_match_1(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
masks: &Vector<GpuMat>,
compact_result: bool
) -> Result<()>
For each query descriptor, finds the training descriptors not farther than the specified distance (blocking version). Read more
source§fn radius_match_async(
&mut self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut dyn ToOutputArray,
max_distance: f32,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
fn radius_match_async(
&mut self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut dyn ToOutputArray,
max_distance: f32,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
For each query descriptor, finds the training descriptors not farther than the specified distance (asynchronous version). Read more
source§fn radius_match_async_1(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut dyn ToOutputArray,
max_distance: f32,
masks: &Vector<GpuMat>,
stream: &mut Stream
) -> Result<()>
fn radius_match_async_1(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut dyn ToOutputArray,
max_distance: f32,
masks: &Vector<GpuMat>,
stream: &mut Stream
) -> Result<()>
For each query descriptor, finds the training descriptors not farther than the specified distance (asynchronous version). Read more
source§impl CUDA_DescriptorMatcherConst for Ptr<dyn CUDA_DescriptorMatcher>
impl CUDA_DescriptorMatcherConst for Ptr<dyn CUDA_DescriptorMatcher>
fn as_raw_CUDA_DescriptorMatcher(&self) -> *const c_void
source§fn is_mask_supported(&self) -> Result<bool>
fn is_mask_supported(&self) -> Result<bool>
Returns true if the descriptor matcher supports masking permissible matches.
source§impl CUDA_DisparityBilateralFilter for Ptr<dyn CUDA_DisparityBilateralFilter>
impl CUDA_DisparityBilateralFilter for Ptr<dyn CUDA_DisparityBilateralFilter>
fn as_raw_mut_CUDA_DisparityBilateralFilter(&mut self) -> *mut c_void
source§fn apply(
&mut self,
disparity: &dyn ToInputArray,
image: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn apply(
&mut self,
disparity: &dyn ToInputArray,
image: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Refines a disparity map using joint bilateral filtering. Read more
fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>
fn set_radius(&mut self, radius: i32) -> Result<()>
fn set_num_iters(&mut self, iters: i32) -> Result<()>
fn set_edge_threshold(&mut self, edge_threshold: f64) -> Result<()>
fn set_max_disc_threshold(&mut self, max_disc_threshold: f64) -> Result<()>
fn set_sigma_range(&mut self, sigma_range: f64) -> Result<()>
source§impl CUDA_DisparityBilateralFilterConst for Ptr<dyn CUDA_DisparityBilateralFilter>
impl CUDA_DisparityBilateralFilterConst for Ptr<dyn CUDA_DisparityBilateralFilter>
fn as_raw_CUDA_DisparityBilateralFilter(&self) -> *const c_void
fn get_num_disparities(&self) -> Result<i32>
fn get_radius(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
source§fn get_edge_threshold(&self) -> Result<f64>
fn get_edge_threshold(&self) -> Result<f64>
truncation of data continuity
source§fn get_max_disc_threshold(&self) -> Result<f64>
fn get_max_disc_threshold(&self) -> Result<f64>
truncation of disparity continuity
source§fn get_sigma_range(&self) -> Result<f64>
fn get_sigma_range(&self) -> Result<f64>
filter range sigma
source§impl CUDA_FarnebackOpticalFlow for Ptr<dyn CUDA_FarnebackOpticalFlow>
impl CUDA_FarnebackOpticalFlow for Ptr<dyn CUDA_FarnebackOpticalFlow>
fn as_raw_mut_CUDA_FarnebackOpticalFlow(&mut self) -> *mut c_void
fn set_num_levels(&mut self, num_levels: i32) -> Result<()>
fn set_pyr_scale(&mut self, pyr_scale: f64) -> Result<()>
fn set_fast_pyramids(&mut self, fast_pyramids: bool) -> Result<()>
fn set_win_size(&mut self, win_size: i32) -> Result<()>
fn set_num_iters(&mut self, num_iters: i32) -> Result<()>
fn set_poly_n(&mut self, poly_n: i32) -> Result<()>
fn set_poly_sigma(&mut self, poly_sigma: f64) -> Result<()>
fn set_flags(&mut self, flags: i32) -> Result<()>
source§impl CUDA_FarnebackOpticalFlowConst for Ptr<dyn CUDA_FarnebackOpticalFlow>
impl CUDA_FarnebackOpticalFlowConst for Ptr<dyn CUDA_FarnebackOpticalFlow>
fn as_raw_CUDA_FarnebackOpticalFlow(&self) -> *const c_void
fn get_num_levels(&self) -> Result<i32>
fn get_pyr_scale(&self) -> Result<f64>
fn get_fast_pyramids(&self) -> Result<bool>
fn get_win_size(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
fn get_poly_n(&self) -> Result<i32>
fn get_poly_sigma(&self) -> Result<f64>
fn get_flags(&self) -> Result<i32>
source§impl CUDA_FastFeatureDetector for Ptr<dyn CUDA_FastFeatureDetector>
impl CUDA_FastFeatureDetector for Ptr<dyn CUDA_FastFeatureDetector>
source§impl CUDA_FastFeatureDetectorConst for Ptr<dyn CUDA_FastFeatureDetector>
impl CUDA_FastFeatureDetectorConst for Ptr<dyn CUDA_FastFeatureDetector>
fn as_raw_CUDA_FastFeatureDetector(&self) -> *const c_void
fn get_max_num_points(&self) -> Result<i32>
source§impl CUDA_Feature2DAsync for Ptr<dyn CUDA_FastFeatureDetector>
impl CUDA_Feature2DAsync for Ptr<dyn CUDA_FastFeatureDetector>
fn as_raw_mut_CUDA_Feature2DAsync(&mut self) -> *mut c_void
source§fn detect_async(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut dyn ToOutputArray,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
fn detect_async(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut dyn ToOutputArray,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
Detects keypoints in an image. Read more
source§fn compute_async(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut dyn ToOutputArray,
descriptors: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn compute_async(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut dyn ToOutputArray,
descriptors: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image. Read more
source§fn detect_and_compute_async(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut dyn ToOutputArray,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool,
stream: &mut Stream
) -> Result<()>
fn detect_and_compute_async(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut dyn ToOutputArray,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool,
stream: &mut Stream
) -> Result<()>
Detects keypoints and computes the descriptors. Read more
source§impl CUDA_Feature2DAsync for Ptr<dyn CUDA_ORB>
impl CUDA_Feature2DAsync for Ptr<dyn CUDA_ORB>
fn as_raw_mut_CUDA_Feature2DAsync(&mut self) -> *mut c_void
source§fn detect_async(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut dyn ToOutputArray,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
fn detect_async(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut dyn ToOutputArray,
mask: &dyn ToInputArray,
stream: &mut Stream
) -> Result<()>
Detects keypoints in an image. Read more
source§fn compute_async(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut dyn ToOutputArray,
descriptors: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn compute_async(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut dyn ToOutputArray,
descriptors: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image. Read more
source§fn detect_and_compute_async(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut dyn ToOutputArray,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool,
stream: &mut Stream
) -> Result<()>
fn detect_and_compute_async(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut dyn ToOutputArray,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool,
stream: &mut Stream
) -> Result<()>
Detects keypoints and computes the descriptors. Read more
source§impl CUDA_Feature2DAsyncConst for Ptr<dyn CUDA_FastFeatureDetector>
impl CUDA_Feature2DAsyncConst for Ptr<dyn CUDA_FastFeatureDetector>
fn as_raw_CUDA_Feature2DAsync(&self) -> *const c_void
source§impl CUDA_Feature2DAsyncConst for Ptr<dyn CUDA_ORB>
impl CUDA_Feature2DAsyncConst for Ptr<dyn CUDA_ORB>
fn as_raw_CUDA_Feature2DAsync(&self) -> *const c_void
source§impl CUDA_HoughCirclesDetector for Ptr<dyn CUDA_HoughCirclesDetector>
impl CUDA_HoughCirclesDetector for Ptr<dyn CUDA_HoughCirclesDetector>
fn as_raw_mut_CUDA_HoughCirclesDetector(&mut self) -> *mut c_void
source§fn detect(
&mut self,
src: &dyn ToInputArray,
circles: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn detect(
&mut self,
src: &dyn ToInputArray,
circles: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Finds circles in a grayscale image using the Hough transform. Read more
fn set_dp(&mut self, dp: f32) -> Result<()>
fn set_min_dist(&mut self, min_dist: f32) -> Result<()>
fn set_canny_threshold(&mut self, canny_threshold: i32) -> Result<()>
fn set_votes_threshold(&mut self, votes_threshold: i32) -> Result<()>
fn set_min_radius(&mut self, min_radius: i32) -> Result<()>
fn set_max_radius(&mut self, max_radius: i32) -> Result<()>
fn set_max_circles(&mut self, max_circles: i32) -> Result<()>
source§impl CUDA_HoughCirclesDetectorConst for Ptr<dyn CUDA_HoughCirclesDetector>
impl CUDA_HoughCirclesDetectorConst for Ptr<dyn CUDA_HoughCirclesDetector>
fn as_raw_CUDA_HoughCirclesDetector(&self) -> *const c_void
fn get_dp(&self) -> Result<f32>
fn get_min_dist(&self) -> Result<f32>
fn get_canny_threshold(&self) -> Result<i32>
fn get_votes_threshold(&self) -> Result<i32>
fn get_min_radius(&self) -> Result<i32>
fn get_max_radius(&self) -> Result<i32>
fn get_max_circles(&self) -> Result<i32>
source§impl CUDA_HoughLinesDetector for Ptr<dyn CUDA_HoughLinesDetector>
impl CUDA_HoughLinesDetector for Ptr<dyn CUDA_HoughLinesDetector>
fn as_raw_mut_CUDA_HoughLinesDetector(&mut self) -> *mut c_void
source§fn detect(
&mut self,
src: &dyn ToInputArray,
lines: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn detect(
&mut self,
src: &dyn ToInputArray,
lines: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Finds lines in a binary image using the classical Hough transform. Read more
source§fn download_results(
&mut self,
d_lines: &dyn ToInputArray,
h_lines: &mut dyn ToOutputArray,
h_votes: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn download_results(
&mut self,
d_lines: &dyn ToInputArray,
h_lines: &mut dyn ToOutputArray,
h_votes: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Downloads results from cuda::HoughLinesDetector::detect to host memory. Read more
fn set_rho(&mut self, rho: f32) -> Result<()>
fn set_theta(&mut self, theta: f32) -> Result<()>
fn set_threshold(&mut self, threshold: i32) -> Result<()>
fn set_do_sort(&mut self, do_sort: bool) -> Result<()>
fn set_max_lines(&mut self, max_lines: i32) -> Result<()>
source§impl CUDA_HoughLinesDetectorConst for Ptr<dyn CUDA_HoughLinesDetector>
impl CUDA_HoughLinesDetectorConst for Ptr<dyn CUDA_HoughLinesDetector>
source§impl CUDA_HoughSegmentDetector for Ptr<dyn CUDA_HoughSegmentDetector>
impl CUDA_HoughSegmentDetector for Ptr<dyn CUDA_HoughSegmentDetector>
fn as_raw_mut_CUDA_HoughSegmentDetector(&mut self) -> *mut c_void
source§fn detect(
&mut self,
src: &dyn ToInputArray,
lines: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn detect(
&mut self,
src: &dyn ToInputArray,
lines: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Finds line segments in a binary image using the probabilistic Hough transform. Read more
fn set_rho(&mut self, rho: f32) -> Result<()>
fn set_theta(&mut self, theta: f32) -> Result<()>
fn set_min_line_length(&mut self, min_line_length: i32) -> Result<()>
fn set_max_line_gap(&mut self, max_line_gap: i32) -> Result<()>
fn set_max_lines(&mut self, max_lines: i32) -> Result<()>
source§impl CUDA_NvidiaHWOpticalFlow for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
impl CUDA_NvidiaHWOpticalFlow for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
fn as_raw_mut_CUDA_NvidiaHWOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
input_image: &dyn ToInputArray,
reference_image: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream,
hint: &dyn ToInputArray,
cost: &mut dyn ToOutputArray
) -> Result<()>
fn calc(
&mut self,
input_image: &dyn ToInputArray,
reference_image: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream,
hint: &dyn ToInputArray,
cost: &mut dyn ToOutputArray
) -> Result<()>
Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
source§fn collect_garbage(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Releases all buffers, contexts and device pointers.
source§impl CUDA_NvidiaHWOpticalFlow for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
impl CUDA_NvidiaHWOpticalFlow for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
fn as_raw_mut_CUDA_NvidiaHWOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
input_image: &dyn ToInputArray,
reference_image: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream,
hint: &dyn ToInputArray,
cost: &mut dyn ToOutputArray
) -> Result<()>
fn calc(
&mut self,
input_image: &dyn ToInputArray,
reference_image: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray,
stream: &mut Stream,
hint: &dyn ToInputArray,
cost: &mut dyn ToOutputArray
) -> Result<()>
Calculates Optical Flow using NVIDIA Optical Flow SDK. Read more
source§fn collect_garbage(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Releases all buffers, contexts and device pointers.
source§impl CUDA_NvidiaHWOpticalFlowConst for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
impl CUDA_NvidiaHWOpticalFlowConst for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
fn as_raw_CUDA_NvidiaHWOpticalFlow(&self) -> *const c_void
source§fn get_grid_size(&self) -> Result<i32>
fn get_grid_size(&self) -> Result<i32>
Returns grid size of output buffer as per the hardware’s capability.
source§impl CUDA_NvidiaHWOpticalFlowConst for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
impl CUDA_NvidiaHWOpticalFlowConst for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
fn as_raw_CUDA_NvidiaHWOpticalFlow(&self) -> *const c_void
source§fn get_grid_size(&self) -> Result<i32>
fn get_grid_size(&self) -> Result<i32>
Returns grid size of output buffer as per the hardware’s capability.
source§impl CUDA_NvidiaOpticalFlow_1_0 for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
impl CUDA_NvidiaOpticalFlow_1_0 for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
fn as_raw_mut_CUDA_NvidiaOpticalFlow_1_0(&mut self) -> *mut c_void
source§fn up_sampler(
&mut self,
flow: &dyn ToInputArray,
image_size: Size,
grid_size: i32,
upsampled_flow: &mut dyn ToInputOutputArray
) -> Result<()>
fn up_sampler(
&mut self,
flow: &dyn ToInputArray,
image_size: Size,
grid_size: i32,
upsampled_flow: &mut dyn ToInputOutputArray
) -> Result<()>
The NVIDIA optical flow hardware generates flow vectors at granularity gridSize, which can be queried via function getGridSize().
Upsampler() helper function converts the hardware-generated flow vectors to dense representation (1 flow vector for each pixel)
using nearest neighbour upsampling method. Read more
source§impl CUDA_NvidiaOpticalFlow_1_0Const for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
impl CUDA_NvidiaOpticalFlow_1_0Const for Ptr<dyn CUDA_NvidiaOpticalFlow_1_0>
fn as_raw_CUDA_NvidiaOpticalFlow_1_0(&self) -> *const c_void
source§impl CUDA_NvidiaOpticalFlow_2_0 for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
impl CUDA_NvidiaOpticalFlow_2_0 for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
fn as_raw_mut_CUDA_NvidiaOpticalFlow_2_0(&mut self) -> *mut c_void
source§fn convert_to_float(
&mut self,
flow: &dyn ToInputArray,
float_flow: &mut dyn ToInputOutputArray
) -> Result<()>
fn convert_to_float(
&mut self,
flow: &dyn ToInputArray,
float_flow: &mut dyn ToInputOutputArray
) -> Result<()>
convertToFloat() helper function converts the hardware-generated flow vectors to floating point representation (1 flow vector for gridSize).
gridSize can be queried via function getGridSize(). Read more
source§impl CUDA_NvidiaOpticalFlow_2_0Const for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
impl CUDA_NvidiaOpticalFlow_2_0Const for Ptr<dyn CUDA_NvidiaOpticalFlow_2_0>
fn as_raw_CUDA_NvidiaOpticalFlow_2_0(&self) -> *const c_void
source§impl CUDA_ORB for Ptr<dyn CUDA_ORB>
impl CUDA_ORB for Ptr<dyn CUDA_ORB>
fn as_raw_mut_CUDA_ORB(&mut self) -> *mut c_void
fn set_max_features(&mut self, max_features: i32) -> Result<()>
fn set_scale_factor(&mut self, scale_factor: f64) -> Result<()>
fn set_n_levels(&mut self, nlevels: i32) -> Result<()>
fn set_edge_threshold(&mut self, edge_threshold: i32) -> Result<()>
fn set_first_level(&mut self, first_level: i32) -> Result<()>
fn set_wta_k(&mut self, wta_k: i32) -> Result<()>
fn set_score_type(&mut self, score_type: i32) -> Result<()>
fn set_patch_size(&mut self, patch_size: i32) -> Result<()>
fn set_fast_threshold(&mut self, fast_threshold: i32) -> Result<()>
source§impl CUDA_ORBConst for Ptr<dyn CUDA_ORB>
impl CUDA_ORBConst for Ptr<dyn CUDA_ORB>
fn as_raw_CUDA_ORB(&self) -> *const c_void
fn get_max_features(&self) -> Result<i32>
fn get_scale_factor(&self) -> Result<f64>
fn get_n_levels(&self) -> Result<i32>
fn get_edge_threshold(&self) -> Result<i32>
fn get_first_level(&self) -> Result<i32>
fn get_wta_k(&self) -> Result<i32>
fn get_score_type(&self) -> Result<i32>
fn get_patch_size(&self) -> Result<i32>
fn get_fast_threshold(&self) -> Result<i32>
fn get_blur_for_descriptor(&self) -> Result<bool>
source§impl CUDA_OpticalFlowDual_TVL1 for Ptr<dyn CUDA_OpticalFlowDual_TVL1>
impl CUDA_OpticalFlowDual_TVL1 for Ptr<dyn CUDA_OpticalFlowDual_TVL1>
fn as_raw_mut_CUDA_OpticalFlowDual_TVL1(&mut self) -> *mut c_void
fn set_tau(&mut self, tau: f64) -> Result<()>
fn set_lambda(&mut self, lambda: f64) -> Result<()>
fn set_gamma(&mut self, gamma: f64) -> Result<()>
fn set_theta(&mut self, theta: f64) -> Result<()>
fn set_num_scales(&mut self, nscales: i32) -> Result<()>
fn set_num_warps(&mut self, warps: i32) -> Result<()>
fn set_epsilon(&mut self, epsilon: f64) -> Result<()>
fn set_num_iterations(&mut self, iterations: i32) -> Result<()>
fn set_scale_step(&mut self, scale_step: f64) -> Result<()>
fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()>
source§impl CUDA_OpticalFlowDual_TVL1Const for Ptr<dyn CUDA_OpticalFlowDual_TVL1>
impl CUDA_OpticalFlowDual_TVL1Const for Ptr<dyn CUDA_OpticalFlowDual_TVL1>
fn as_raw_CUDA_OpticalFlowDual_TVL1(&self) -> *const c_void
source§fn get_lambda(&self) -> Result<f64>
fn get_lambda(&self) -> Result<f64>
Weight parameter for the data term, attachment parameter.
This is the most relevant parameter, which determines the smoothness of the output.
The smaller this parameter is, the smoother the solutions we obtain.
It depends on the range of motions of the images, so its value should be adapted to each image sequence. Read more
source§fn get_gamma(&self) -> Result<f64>
fn get_gamma(&self) -> Result<f64>
Weight parameter for (u - v)^2, tightness parameter.
It serves as a link between the attachment and the regularization terms.
In theory, it should have a small value in order to maintain both parts in correspondence.
The method is stable for a large range of values of this parameter. Read more
source§fn get_theta(&self) -> Result<f64>
fn get_theta(&self) -> Result<f64>
parameter used for motion estimation. It adds a variable allowing for illumination variations
Set this parameter to 1. if you have varying illumination.
See: Chambolle et al, A First-Order Primal-Dual Algorithm for Convex Problems with Applications to Imaging
Journal of Mathematical imaging and vision, may 2011 Vol 40 issue 1, pp 120-145 Read more
source§fn get_num_scales(&self) -> Result<i32>
fn get_num_scales(&self) -> Result<i32>
Number of scales used to create the pyramid of images.
source§fn get_num_warps(&self) -> Result<i32>
fn get_num_warps(&self) -> Result<i32>
Number of warpings per scale.
Represents the number of times that I1(x+u0) and grad( I1(x+u0) ) are computed per scale.
This is a parameter that assures the stability of the method.
It also affects the running time, so it is a compromise between speed and accuracy. Read more
source§fn get_epsilon(&self) -> Result<f64>
fn get_epsilon(&self) -> Result<f64>
Stopping criterion threshold used in the numerical scheme, which is a trade-off between precision and running time.
A small value will yield more accurate solutions at the expense of a slower convergence. Read more
source§fn get_num_iterations(&self) -> Result<i32>
fn get_num_iterations(&self) -> Result<i32>
Stopping criterion iterations number used in the numerical scheme.
fn get_scale_step(&self) -> Result<f64>
fn get_use_initial_flow(&self) -> Result<bool>
source§impl CUDA_SparseOpticalFlow for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
impl CUDA_SparseOpticalFlow for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
fn as_raw_mut_CUDA_SparseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
prev_img: &dyn ToInputArray,
next_img: &dyn ToInputArray,
prev_pts: &dyn ToInputArray,
next_pts: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
err: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn calc(
&mut self,
prev_img: &dyn ToInputArray,
next_img: &dyn ToInputArray,
prev_pts: &dyn ToInputArray,
next_pts: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
err: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Calculates a sparse optical flow. Read more
source§impl CUDA_SparseOpticalFlowConst for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
impl CUDA_SparseOpticalFlowConst for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
fn as_raw_CUDA_SparseOpticalFlow(&self) -> *const c_void
source§impl CUDA_SparsePyrLKOpticalFlow for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
impl CUDA_SparsePyrLKOpticalFlow for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
fn as_raw_mut_CUDA_SparsePyrLKOpticalFlow(&mut self) -> *mut c_void
fn set_win_size(&mut self, win_size: Size) -> Result<()>
fn set_max_level(&mut self, max_level: i32) -> Result<()>
fn set_num_iters(&mut self, iters: i32) -> Result<()>
fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()>
source§impl CUDA_SparsePyrLKOpticalFlowConst for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
impl CUDA_SparsePyrLKOpticalFlowConst for Ptr<dyn CUDA_SparsePyrLKOpticalFlow>
fn as_raw_CUDA_SparsePyrLKOpticalFlow(&self) -> *const c_void
fn get_win_size(&self) -> Result<Size>
fn get_max_level(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
fn get_use_initial_flow(&self) -> Result<bool>
source§impl CUDA_StereoBM for Ptr<dyn CUDA_StereoBM>
impl CUDA_StereoBM for Ptr<dyn CUDA_StereoBM>
fn as_raw_mut_CUDA_StereoBM(&mut self) -> *mut c_void
fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
source§impl CUDA_StereoBMConst for Ptr<dyn CUDA_StereoBM>
impl CUDA_StereoBMConst for Ptr<dyn CUDA_StereoBM>
fn as_raw_CUDA_StereoBM(&self) -> *const c_void
source§impl CUDA_StereoBeliefPropagation for Ptr<dyn CUDA_StereoBeliefPropagation>
impl CUDA_StereoBeliefPropagation for Ptr<dyn CUDA_StereoBeliefPropagation>
fn as_raw_mut_CUDA_StereoBeliefPropagation(&mut self) -> *mut c_void
source§fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
source§fn compute_1(
&mut self,
data: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn compute_1(
&mut self,
data: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
fn set_num_iters(&mut self, iters: i32) -> Result<()>
fn set_num_levels(&mut self, levels: i32) -> Result<()>
fn set_max_data_term(&mut self, max_data_term: f64) -> Result<()>
fn set_data_weight(&mut self, data_weight: f64) -> Result<()>
fn set_max_disc_term(&mut self, max_disc_term: f64) -> Result<()>
fn set_disc_single_jump(&mut self, disc_single_jump: f64) -> Result<()>
fn set_msg_type(&mut self, msg_type: i32) -> Result<()>
source§impl CUDA_StereoBeliefPropagation for Ptr<dyn CUDA_StereoConstantSpaceBP>
impl CUDA_StereoBeliefPropagation for Ptr<dyn CUDA_StereoConstantSpaceBP>
fn as_raw_mut_CUDA_StereoBeliefPropagation(&mut self) -> *mut c_void
source§fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
source§fn compute_1(
&mut self,
data: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn compute_1(
&mut self,
data: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Enables the stereo correspondence operator that finds the disparity for the specified data cost. Read more
fn set_num_iters(&mut self, iters: i32) -> Result<()>
fn set_num_levels(&mut self, levels: i32) -> Result<()>
fn set_max_data_term(&mut self, max_data_term: f64) -> Result<()>
fn set_data_weight(&mut self, data_weight: f64) -> Result<()>
fn set_max_disc_term(&mut self, max_disc_term: f64) -> Result<()>
fn set_disc_single_jump(&mut self, disc_single_jump: f64) -> Result<()>
fn set_msg_type(&mut self, msg_type: i32) -> Result<()>
source§impl CUDA_StereoBeliefPropagationConst for Ptr<dyn CUDA_StereoBeliefPropagation>
impl CUDA_StereoBeliefPropagationConst for Ptr<dyn CUDA_StereoBeliefPropagation>
fn as_raw_CUDA_StereoBeliefPropagation(&self) -> *const c_void
source§fn get_num_iters(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
number of BP iterations on each level
source§fn get_num_levels(&self) -> Result<i32>
fn get_num_levels(&self) -> Result<i32>
number of levels
source§fn get_max_data_term(&self) -> Result<f64>
fn get_max_data_term(&self) -> Result<f64>
truncation of data cost
source§fn get_data_weight(&self) -> Result<f64>
fn get_data_weight(&self) -> Result<f64>
data weight
source§fn get_max_disc_term(&self) -> Result<f64>
fn get_max_disc_term(&self) -> Result<f64>
truncation of discontinuity cost
source§fn get_disc_single_jump(&self) -> Result<f64>
fn get_disc_single_jump(&self) -> Result<f64>
discontinuity single jump
source§fn get_msg_type(&self) -> Result<i32>
fn get_msg_type(&self) -> Result<i32>
type for messages (CV_16SC1 or CV_32FC1)
source§impl CUDA_StereoBeliefPropagationConst for Ptr<dyn CUDA_StereoConstantSpaceBP>
impl CUDA_StereoBeliefPropagationConst for Ptr<dyn CUDA_StereoConstantSpaceBP>
fn as_raw_CUDA_StereoBeliefPropagation(&self) -> *const c_void
source§fn get_num_iters(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
number of BP iterations on each level
source§fn get_num_levels(&self) -> Result<i32>
fn get_num_levels(&self) -> Result<i32>
number of levels
source§fn get_max_data_term(&self) -> Result<f64>
fn get_max_data_term(&self) -> Result<f64>
truncation of data cost
source§fn get_data_weight(&self) -> Result<f64>
fn get_data_weight(&self) -> Result<f64>
data weight
source§fn get_max_disc_term(&self) -> Result<f64>
fn get_max_disc_term(&self) -> Result<f64>
truncation of discontinuity cost
source§fn get_disc_single_jump(&self) -> Result<f64>
fn get_disc_single_jump(&self) -> Result<f64>
discontinuity single jump
source§fn get_msg_type(&self) -> Result<i32>
fn get_msg_type(&self) -> Result<i32>
type for messages (CV_16SC1 or CV_32FC1)
source§impl CUDA_StereoConstantSpaceBP for Ptr<dyn CUDA_StereoConstantSpaceBP>
impl CUDA_StereoConstantSpaceBP for Ptr<dyn CUDA_StereoConstantSpaceBP>
source§impl CUDA_StereoConstantSpaceBPConst for Ptr<dyn CUDA_StereoConstantSpaceBP>
impl CUDA_StereoConstantSpaceBPConst for Ptr<dyn CUDA_StereoConstantSpaceBP>
fn as_raw_CUDA_StereoConstantSpaceBP(&self) -> *const c_void
source§fn get_nr_plane(&self) -> Result<i32>
fn get_nr_plane(&self) -> Result<i32>
number of active disparity on the first level
fn get_use_local_init_data_cost(&self) -> Result<bool>
source§impl CUDA_StereoSGM for Ptr<dyn CUDA_StereoSGM>
impl CUDA_StereoSGM for Ptr<dyn CUDA_StereoSGM>
fn as_raw_mut_CUDA_StereoSGM(&mut self) -> *mut c_void
source§fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
Computes disparity map for the specified stereo pair Read more
source§fn compute_with_stream(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn compute_with_stream(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Computes disparity map with specified CUDA Stream Read more
source§impl CUDA_StereoSGMConst for Ptr<dyn CUDA_StereoSGM>
impl CUDA_StereoSGMConst for Ptr<dyn CUDA_StereoSGM>
fn as_raw_CUDA_StereoSGM(&self) -> *const c_void
source§impl CUDA_TemplateMatching for Ptr<dyn CUDA_TemplateMatching>
impl CUDA_TemplateMatching for Ptr<dyn CUDA_TemplateMatching>
fn as_raw_mut_CUDA_TemplateMatching(&mut self) -> *mut c_void
source§fn match_(
&mut self,
image: &dyn ToInputArray,
templ: &dyn ToInputArray,
result: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn match_(
&mut self,
image: &dyn ToInputArray,
templ: &dyn ToInputArray,
result: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Computes a proximity map for a raster template and an image where the template is searched for. Read more
source§impl CUDA_TemplateMatchingConst for Ptr<dyn CUDA_TemplateMatching>
impl CUDA_TemplateMatchingConst for Ptr<dyn CUDA_TemplateMatching>
fn as_raw_CUDA_TemplateMatching(&self) -> *const c_void
source§impl CalibrateCRF for Ptr<dyn CalibrateDebevec>
impl CalibrateCRF for Ptr<dyn CalibrateDebevec>
fn as_raw_mut_CalibrateCRF(&mut self) -> *mut c_void
source§fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray
) -> Result<()>
fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray
) -> Result<()>
Recovers inverse camera response. Read more
source§impl CalibrateCRF for Ptr<dyn CalibrateRobertson>
impl CalibrateCRF for Ptr<dyn CalibrateRobertson>
fn as_raw_mut_CalibrateCRF(&mut self) -> *mut c_void
source§fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray
) -> Result<()>
fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray
) -> Result<()>
Recovers inverse camera response. Read more
source§impl CalibrateCRFConst for Ptr<dyn CalibrateDebevec>
impl CalibrateCRFConst for Ptr<dyn CalibrateDebevec>
fn as_raw_CalibrateCRF(&self) -> *const c_void
source§impl CalibrateCRFConst for Ptr<dyn CalibrateRobertson>
impl CalibrateCRFConst for Ptr<dyn CalibrateRobertson>
fn as_raw_CalibrateCRF(&self) -> *const c_void
source§impl CalibrateDebevec for Ptr<dyn CalibrateDebevec>
impl CalibrateDebevec for Ptr<dyn CalibrateDebevec>
source§impl CalibrateDebevecConst for Ptr<dyn CalibrateDebevec>
impl CalibrateDebevecConst for Ptr<dyn CalibrateDebevec>
fn as_raw_CalibrateDebevec(&self) -> *const c_void
fn get_lambda(&self) -> Result<f32>
fn get_samples(&self) -> Result<i32>
fn get_random(&self) -> Result<bool>
source§impl CalibrateRobertson for Ptr<dyn CalibrateRobertson>
impl CalibrateRobertson for Ptr<dyn CalibrateRobertson>
source§impl CalibrateRobertsonConst for Ptr<dyn CalibrateRobertson>
impl CalibrateRobertsonConst for Ptr<dyn CalibrateRobertson>
fn as_raw_CalibrateRobertson(&self) -> *const c_void
fn get_max_iter(&self) -> Result<i32>
fn get_threshold(&self) -> Result<f32>
fn get_radiance(&self) -> Result<Mat>
source§impl CascadeClassifier for Ptr<dyn CascadeClassifier>
impl CascadeClassifier for Ptr<dyn CascadeClassifier>
fn as_raw_mut_CascadeClassifier(&mut self) -> *mut c_void
source§fn set_max_object_size(&mut self, max_object_size: Size) -> Result<()>
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. Read more
source§fn set_min_object_size(&mut self, min_size: Size) -> Result<()>
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<()>
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<()>
fn set_min_neighbors(&mut self, min_neighbors: i32) -> Result<()>
Parameter specifying how many neighbors each candidate rectangle should have
to retain it. Read more
fn set_find_largest_object(&mut self, find_largest_object: bool) -> Result<()>
fn get_find_largest_object(&mut self) -> Result<bool>
fn set_max_num_objects(&mut self, max_num_objects: i32) -> Result<()>
source§fn detect_multi_scale(
&mut self,
image: &dyn ToInputArray,
objects: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn detect_multi_scale(
&mut self,
image: &dyn ToInputArray,
objects: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Detects objects of different sizes in the input image. Read more
source§impl CascadeClassifierConst for Ptr<dyn CascadeClassifier>
impl CascadeClassifierConst for Ptr<dyn CascadeClassifier>
fn as_raw_CascadeClassifier(&self) -> *const c_void
fn get_max_object_size(&self) -> Result<Size>
fn get_min_object_size(&self) -> Result<Size>
fn get_scale_factor(&self) -> Result<f64>
fn get_min_neighbors(&self) -> Result<i32>
fn get_max_num_objects(&self) -> Result<i32>
fn get_classifier_size(&self) -> Result<Size>
source§impl CeilLayerTrait for Ptr<CeilLayer>
impl CeilLayerTrait for Ptr<CeilLayer>
fn as_raw_mut_CeilLayer(&mut self) -> *mut c_void
source§impl CeilLayerTraitConst for Ptr<CeilLayer>
impl CeilLayerTraitConst for Ptr<CeilLayer>
fn as_raw_CeilLayer(&self) -> *const c_void
source§impl CeluLayerTrait for Ptr<CeluLayer>
impl CeluLayerTrait for Ptr<CeluLayer>
source§impl CeluLayerTraitConst for Ptr<CeluLayer>
impl CeluLayerTraitConst for Ptr<CeluLayer>
source§impl CharucoBoardTrait for Ptr<CharucoBoard>
impl CharucoBoardTrait for Ptr<CharucoBoard>
source§impl CharucoBoardTraitConst for Ptr<CharucoBoard>
impl CharucoBoardTraitConst for Ptr<CharucoBoard>
fn as_raw_CharucoBoard(&self) -> *const c_void
fn chessboard_corners(&self) -> Vector<Point3f>
fn nearest_marker_idx(&self) -> Vector<Vector<i32>>
fn nearest_marker_corners(&self) -> Vector<Vector<i32>>
fn get_chessboard_size(&self) -> Result<Size>
fn get_square_length(&self) -> Result<f32>
fn get_marker_length(&self) -> Result<f32>
source§impl ChiHistogramCostExtractor for Ptr<dyn ChiHistogramCostExtractor>
impl ChiHistogramCostExtractor for Ptr<dyn ChiHistogramCostExtractor>
fn as_raw_mut_ChiHistogramCostExtractor(&mut self) -> *mut c_void
source§impl ChiHistogramCostExtractorConst for Ptr<dyn ChiHistogramCostExtractor>
impl ChiHistogramCostExtractorConst for Ptr<dyn ChiHistogramCostExtractor>
fn as_raw_ChiHistogramCostExtractor(&self) -> *const c_void
source§impl ColorAverageInpainterTraitConst for Ptr<ColorAverageInpainter>
impl ColorAverageInpainterTraitConst for Ptr<ColorAverageInpainter>
fn as_raw_ColorAverageInpainter(&self) -> *const c_void
source§impl ColorInpainterTrait for Ptr<ColorInpainter>
impl ColorInpainterTrait for Ptr<ColorInpainter>
source§impl ColorInpainterTraitConst for Ptr<ColorInpainter>
impl ColorInpainterTraitConst for Ptr<ColorInpainter>
fn as_raw_ColorInpainter(&self) -> *const c_void
source§impl ColorMomentHashTrait for Ptr<ColorMomentHash>
impl ColorMomentHashTrait for Ptr<ColorMomentHash>
fn as_raw_mut_ColorMomentHash(&mut self) -> *mut c_void
source§impl ColorMomentHashTraitConst for Ptr<ColorMomentHash>
impl ColorMomentHashTraitConst for Ptr<ColorMomentHash>
fn as_raw_ColorMomentHash(&self) -> *const c_void
source§impl ColoredKinfu_ColoredKinFu for Ptr<dyn ColoredKinfu_ColoredKinFu>
impl ColoredKinfu_ColoredKinFu for Ptr<dyn ColoredKinfu_ColoredKinFu>
source§impl ColoredKinfu_ColoredKinFuConst for Ptr<dyn ColoredKinfu_ColoredKinFu>
impl ColoredKinfu_ColoredKinFuConst for Ptr<dyn ColoredKinfu_ColoredKinFu>
fn as_raw_ColoredKinfu_ColoredKinFu(&self) -> *const c_void
source§fn get_params(&self) -> Result<ColoredKinfu_Params>
fn get_params(&self) -> Result<ColoredKinfu_Params>
Get current parameters
source§fn render(&self, image: &mut dyn ToOutputArray) -> Result<()>
fn render(&self, image: &mut dyn ToOutputArray) -> Result<()>
Renders a volume into an image Read more
source§fn render_1(
&self,
image: &mut dyn ToOutputArray,
camera_pose: Matx44f
) -> Result<()>
fn render_1(
&self,
image: &mut dyn ToOutputArray,
camera_pose: Matx44f
) -> Result<()>
Renders a volume into an image Read more
source§fn get_cloud(
&self,
points: &mut dyn ToOutputArray,
normals: &mut dyn ToOutputArray,
colors: &mut dyn ToOutputArray
) -> Result<()>
fn get_cloud(
&self,
points: &mut dyn ToOutputArray,
normals: &mut dyn ToOutputArray,
colors: &mut dyn ToOutputArray
) -> Result<()>
Gets points, normals and colors of current 3d mesh Read more
source§fn get_points(&self, points: &mut dyn ToOutputArray) -> Result<()>
fn get_points(&self, points: &mut dyn ToOutputArray) -> Result<()>
Gets points of current 3d mesh Read more
source§fn get_normals(
&self,
points: &dyn ToInputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
fn get_normals(
&self,
points: &dyn ToInputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
Calculates normals for given points Read more
source§impl ColoredKinfu_ParamsTrait for Ptr<ColoredKinfu_Params>
impl ColoredKinfu_ParamsTrait for Ptr<ColoredKinfu_Params>
fn as_raw_mut_ColoredKinfu_Params(&mut self) -> *mut c_void
source§fn set_frame_size(&mut self, val: Size)
fn set_frame_size(&mut self, val: Size)
frame size in pixels
source§fn set_rgb_frame_size(&mut self, val: Size)
fn set_rgb_frame_size(&mut self, val: Size)
rgb frame size in pixels
fn set_volume_type(&mut self, val: Kinfu_VolumeType)
source§fn set_rgb_intr(&mut self, val: Matx33f)
fn set_rgb_intr(&mut self, val: Matx33f)
rgb camera intrinsics
source§fn set_depth_factor(&mut self, val: f32)
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)
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)
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)
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)
fn set_pyramid_levels(&mut self, val: i32)
Number of pyramid levels for ICP
source§fn set_volume_dims(&mut self, val: Vec3i)
fn set_volume_dims(&mut self, val: Vec3i)
Resolution of voxel space Read more
source§fn set_voxel_size(&mut self, val: f32)
fn set_voxel_size(&mut self, val: f32)
Size of voxel in meters
source§fn set_tsdf_min_camera_movement(&mut self, val: f32)
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)
fn set_volume_pose(&mut self, val: Affine3f)
initial volume pose in meters
source§fn set_tsdf_trunc_dist(&mut self, val: f32)
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)
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)
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)
fn set_light_pose(&mut self, val: Vec3f)
light pose for rendering in meters
source§fn set_icp_dist_thresh(&mut self, val: f32)
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)
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>)
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)
fn set_truncate_threshold(&mut self, val: f32)
Threshold for depth truncation in meters Read more
source§impl ColoredKinfu_ParamsTraitConst for Ptr<ColoredKinfu_Params>
impl ColoredKinfu_ParamsTraitConst for Ptr<ColoredKinfu_Params>
fn as_raw_ColoredKinfu_Params(&self) -> *const c_void
source§fn frame_size(&self) -> Size
fn frame_size(&self) -> Size
frame size in pixels
source§fn rgb_frame_size(&self) -> Size
fn rgb_frame_size(&self) -> Size
rgb frame size in pixels
fn volume_type(&self) -> Kinfu_VolumeType
source§fn depth_factor(&self) -> f32
fn depth_factor(&self) -> f32
pre-scale per 1 meter for input values Read more
source§fn bilateral_sigma_depth(&self) -> f32
fn bilateral_sigma_depth(&self) -> f32
Depth sigma in meters for bilateral smooth
source§fn bilateral_sigma_spatial(&self) -> f32
fn bilateral_sigma_spatial(&self) -> f32
Spatial sigma in pixels for bilateral smooth
source§fn bilateral_kernel_size(&self) -> i32
fn bilateral_kernel_size(&self) -> i32
Kernel size in pixels for bilateral smooth
source§fn pyramid_levels(&self) -> i32
fn pyramid_levels(&self) -> i32
Number of pyramid levels for ICP
source§fn volume_dims(&self) -> Vec3i
fn volume_dims(&self) -> Vec3i
Resolution of voxel space Read more
source§fn voxel_size(&self) -> f32
fn voxel_size(&self) -> f32
Size of voxel in meters
source§fn tsdf_min_camera_movement(&self) -> f32
fn tsdf_min_camera_movement(&self) -> f32
Minimal camera movement in meters Read more
source§fn volume_pose(&self) -> Affine3f
fn volume_pose(&self) -> Affine3f
initial volume pose in meters
source§fn tsdf_trunc_dist(&self) -> f32
fn tsdf_trunc_dist(&self) -> f32
distance to truncate in meters Read more
source§fn tsdf_max_weight(&self) -> i32
fn tsdf_max_weight(&self) -> i32
max number of frames per voxel Read more
source§fn raycast_step_factor(&self) -> f32
fn raycast_step_factor(&self) -> f32
A length of one raycast step Read more
source§fn light_pose(&self) -> Vec3f
fn light_pose(&self) -> Vec3f
light pose for rendering in meters
source§fn icp_dist_thresh(&self) -> f32
fn icp_dist_thresh(&self) -> f32
distance theshold for ICP in meters
source§fn icp_angle_thresh(&self) -> f32
fn icp_angle_thresh(&self) -> f32
angle threshold for ICP in radians
source§fn icp_iterations(&self) -> Vector<i32>
fn icp_iterations(&self) -> Vector<i32>
number of ICP iterations for each pyramid level
source§fn truncate_threshold(&self) -> f32
fn truncate_threshold(&self) -> f32
Threshold for depth truncation in meters Read more
source§impl CompressedRectilinearPortraitWarperTrait for Ptr<CompressedRectilinearPortraitWarper>
impl CompressedRectilinearPortraitWarperTrait for Ptr<CompressedRectilinearPortraitWarper>
fn as_raw_mut_CompressedRectilinearPortraitWarper(&mut self) -> *mut c_void
source§impl CompressedRectilinearPortraitWarperTraitConst for Ptr<CompressedRectilinearPortraitWarper>
impl CompressedRectilinearPortraitWarperTraitConst for Ptr<CompressedRectilinearPortraitWarper>
source§impl CompressedRectilinearWarperTrait for Ptr<CompressedRectilinearWarper>
impl CompressedRectilinearWarperTrait for Ptr<CompressedRectilinearWarper>
fn as_raw_mut_CompressedRectilinearWarper(&mut self) -> *mut c_void
source§impl ConcatLayerTrait for Ptr<ConcatLayer>
impl ConcatLayerTrait for Ptr<ConcatLayer>
source§impl ConcatLayerTraitConst for Ptr<ConcatLayer>
impl ConcatLayerTraitConst for Ptr<ConcatLayer>
source§impl ConjGradSolver for Ptr<dyn ConjGradSolver>
impl ConjGradSolver for Ptr<dyn ConjGradSolver>
fn as_raw_mut_ConjGradSolver(&mut self) -> *mut c_void
source§impl ConjGradSolverConst for Ptr<dyn ConjGradSolver>
impl ConjGradSolverConst for Ptr<dyn ConjGradSolver>
fn as_raw_ConjGradSolver(&self) -> *const c_void
source§impl ConsistentMosaicInpainterTraitConst for Ptr<ConsistentMosaicInpainter>
impl ConsistentMosaicInpainterTraitConst for Ptr<ConsistentMosaicInpainter>
fn as_raw_ConsistentMosaicInpainter(&self) -> *const c_void
fn stdev_thresh(&self) -> Result<f32>
source§impl ContourFittingTrait for Ptr<ContourFitting>
impl ContourFittingTrait for Ptr<ContourFitting>
fn as_raw_mut_ContourFitting(&mut self) -> *mut c_void
source§fn estimate_transformation(
&mut self,
src: &dyn ToInputArray,
dst: &dyn ToInputArray,
alpha_phi_st: &mut dyn ToOutputArray,
dist: &mut f64,
fd_contour: bool
) -> Result<()>
fn estimate_transformation(
&mut self,
src: &dyn ToInputArray,
dst: &dyn ToInputArray,
alpha_phi_st: &mut dyn ToOutputArray,
dist: &mut f64,
fd_contour: bool
) -> Result<()>
Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more
source§fn estimate_transformation_1(
&mut self,
src: &dyn ToInputArray,
dst: &dyn ToInputArray,
alpha_phi_st: &mut dyn ToOutputArray,
dist: &mut f64,
fd_contour: bool
) -> Result<()>
fn estimate_transformation_1(
&mut self,
src: &dyn ToInputArray,
dst: &dyn ToInputArray,
alpha_phi_st: &mut dyn ToOutputArray,
dist: &mut f64,
fd_contour: bool
) -> Result<()>
Fit two closed curves using fourier descriptors. More details in PersoonFu1977 and BergerRaghunathan1998 Read more
source§fn set_ctr_size(&mut self, n: i32) -> Result<()>
fn set_ctr_size(&mut self, n: i32) -> Result<()>
set number of Fourier descriptors used in estimateTransformation Read more
source§impl ContourFittingTraitConst for Ptr<ContourFitting>
impl ContourFittingTraitConst for Ptr<ContourFitting>
fn as_raw_ContourFitting(&self) -> *const c_void
source§impl Convolution for Ptr<dyn Convolution>
impl Convolution for Ptr<dyn Convolution>
fn as_raw_mut_Convolution(&mut self) -> *mut c_void
source§fn convolve(
&mut self,
image: &dyn ToInputArray,
templ: &dyn ToInputArray,
result: &mut dyn ToOutputArray,
ccorr: bool,
stream: &mut Stream
) -> Result<()>
fn convolve(
&mut self,
image: &dyn ToInputArray,
templ: &dyn ToInputArray,
result: &mut dyn ToOutputArray,
ccorr: bool,
stream: &mut Stream
) -> Result<()>
Computes a convolution (or cross-correlation) of two images. Read more
source§impl ConvolutionConst for Ptr<dyn Convolution>
impl ConvolutionConst for Ptr<dyn Convolution>
fn as_raw_Convolution(&self) -> *const c_void
source§impl CorrelationLayerTrait for Ptr<CorrelationLayer>
impl CorrelationLayerTrait for Ptr<CorrelationLayer>
fn as_raw_mut_CorrelationLayer(&mut self) -> *mut c_void
source§impl CorrelationLayerTraitConst for Ptr<CorrelationLayer>
impl CorrelationLayerTraitConst for Ptr<CorrelationLayer>
fn as_raw_CorrelationLayer(&self) -> *const c_void
source§impl CosLayerTrait for Ptr<CosLayer>
impl CosLayerTrait for Ptr<CosLayer>
fn as_raw_mut_CosLayer(&mut self) -> *mut c_void
source§impl CosLayerTraitConst for Ptr<CosLayer>
impl CosLayerTraitConst for Ptr<CosLayer>
fn as_raw_CosLayer(&self) -> *const c_void
source§impl CoshLayerTrait for Ptr<CoshLayer>
impl CoshLayerTrait for Ptr<CoshLayer>
fn as_raw_mut_CoshLayer(&mut self) -> *mut c_void
source§impl CoshLayerTraitConst for Ptr<CoshLayer>
impl CoshLayerTraitConst for Ptr<CoshLayer>
fn as_raw_CoshLayer(&self) -> *const c_void
source§impl CumSumLayerTrait for Ptr<CumSumLayer>
impl CumSumLayerTrait for Ptr<CumSumLayer>
fn as_raw_mut_CumSumLayer(&mut self) -> *mut c_void
fn set_exclusive(&mut self, val: i32)
fn set_reverse(&mut self, val: i32)
source§impl CumSumLayerTraitConst for Ptr<CumSumLayer>
impl CumSumLayerTraitConst for Ptr<CumSumLayer>
source§impl CylindricalWarperGpuTrait for Ptr<CylindricalWarperGpu>
impl CylindricalWarperGpuTrait for Ptr<CylindricalWarperGpu>
fn as_raw_mut_CylindricalWarperGpu(&mut self) -> *mut c_void
source§impl CylindricalWarperTrait for Ptr<CylindricalWarper>
impl CylindricalWarperTrait for Ptr<CylindricalWarper>
fn as_raw_mut_CylindricalWarper(&mut self) -> *mut c_void
source§impl DAISY for Ptr<dyn DAISY>
impl DAISY for Ptr<dyn DAISY>
fn as_raw_mut_DAISY(&mut self) -> *mut c_void
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
fn compute_1(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
source§fn compute_2(
&mut self,
image: &dyn ToInputArray,
roi: Rect,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_2(
&mut self,
image: &dyn ToInputArray,
roi: Rect,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
source§fn compute_3(
&mut self,
image: &dyn ToInputArray,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_3(
&mut self,
image: &dyn ToInputArray,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Read more
source§impl DAISYConst for Ptr<dyn DAISY>
impl DAISYConst for Ptr<dyn DAISY>
fn as_raw_DAISY(&self) -> *const c_void
source§fn get_descriptor(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32
) -> Result<()>
fn get_descriptor(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32
) -> Result<()>
Parameters Read more
source§fn get_descriptor_1(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32,
h: &mut f64
) -> Result<bool>
fn get_descriptor_1(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32,
h: &mut f64
) -> Result<bool>
Parameters Read more
source§impl DFT for Ptr<dyn DFT>
impl DFT for Ptr<dyn DFT>
fn as_raw_mut_DFT(&mut self) -> *mut c_void
source§fn compute(
&mut self,
image: &dyn ToInputArray,
result: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
result: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Computes an FFT of a given image. Read more
source§impl DISOpticalFlow for Ptr<dyn DISOpticalFlow>
impl DISOpticalFlow for Ptr<dyn DISOpticalFlow>
fn as_raw_mut_DISOpticalFlow(&mut self) -> *mut c_void
source§fn set_finest_scale(&mut self, val: i32) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
fn set_use_spatial_propagation(&mut self, val: bool) -> Result<()>
Whether to use spatial propagation of good optical flow vectors. This option is turned on by
default, as it tends to work better on average and can sometimes help recover from major errors
introduced by the coarse-to-fine scheme employed by the DIS optical flow algorithm. Turning this
option off can make the output flow field a bit smoother, however. Read more
source§impl DISOpticalFlowConst for Ptr<dyn DISOpticalFlow>
impl DISOpticalFlowConst for Ptr<dyn DISOpticalFlow>
fn as_raw_DISOpticalFlow(&self) -> *const c_void
source§fn get_finest_scale(&self) -> Result<i32>
fn get_finest_scale(&self) -> Result<i32>
Finest level of the Gaussian pyramid on which the flow is computed (zero level
corresponds to the original image resolution). The final flow is obtained by bilinear upscaling. Read more
source§fn get_patch_size(&self) -> Result<i32>
fn get_patch_size(&self) -> Result<i32>
Size of an image patch for matching (in pixels). Normally, default 8x8 patches work well
enough in most cases. Read more
source§fn get_patch_stride(&self) -> Result<i32>
fn get_patch_stride(&self) -> Result<i32>
Stride between neighbor patches. Must be less than patch size. Lower values correspond
to higher flow quality. Read more
source§fn get_gradient_descent_iterations(&self) -> Result<i32>
fn get_gradient_descent_iterations(&self) -> Result<i32>
Maximum number of gradient descent iterations in the patch inverse search stage. Higher values
may improve quality in some cases. Read more
source§fn get_variational_refinement_iterations(&self) -> Result<i32>
fn get_variational_refinement_iterations(&self) -> Result<i32>
Number of fixed point iterations of variational refinement per scale. Set to zero to
disable variational refinement completely. Higher values will typically result in more smooth and
high-quality flow. Read more
source§fn get_variational_refinement_alpha(&self) -> Result<f32>
fn get_variational_refinement_alpha(&self) -> Result<f32>
Weight of the smoothness term Read more
source§fn get_variational_refinement_delta(&self) -> Result<f32>
fn get_variational_refinement_delta(&self) -> Result<f32>
Weight of the color constancy term Read more
source§fn get_variational_refinement_gamma(&self) -> Result<f32>
fn get_variational_refinement_gamma(&self) -> Result<f32>
Weight of the gradient constancy term Read more
source§fn get_use_mean_normalization(&self) -> Result<bool>
fn get_use_mean_normalization(&self) -> Result<bool>
Whether to use mean-normalization of patches when computing patch distance. It is turned on
by default as it typically provides a noticeable quality boost because of increased robustness to
illumination variations. Turn it off if you are certain that your sequence doesn’t contain any changes
in illumination. Read more
source§fn get_use_spatial_propagation(&self) -> Result<bool>
fn get_use_spatial_propagation(&self) -> Result<bool>
Whether to use spatial propagation of good optical flow vectors. This option is turned on by
default, as it tends to work better on average and can sometimes help recover from major errors
introduced by the coarse-to-fine scheme employed by the DIS optical flow algorithm. Turning this
option off can make the output flow field a bit smoother, however. Read more
source§impl DPMDetector for Ptr<dyn DPMDetector>
impl DPMDetector for Ptr<dyn DPMDetector>
fn as_raw_mut_DPMDetector(&mut self) -> *mut c_void
source§impl DPMDetectorConst for Ptr<dyn DPMDetector>
impl DPMDetectorConst for Ptr<dyn DPMDetector>
fn as_raw_DPMDetector(&self) -> *const c_void
fn is_empty(&self) -> Result<bool>
source§fn get_class_names(&self) -> Result<Vector<String>>
fn get_class_names(&self) -> Result<Vector<String>>
Return the class (model) names that were passed in constructor or method load or extracted from
models filenames in those methods. Read more
source§fn get_class_count(&self) -> Result<size_t>
fn get_class_count(&self) -> Result<size_t>
Return a count of loaded models (classes).
source§impl DTFilter for Ptr<dyn DTFilter>
impl DTFilter for Ptr<dyn DTFilter>
fn as_raw_mut_DTFilter(&mut self) -> *mut c_void
source§fn filter(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
d_depth: i32
) -> Result<()>
fn filter(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
d_depth: i32
) -> Result<()>
Produce domain transform filtering operation on source image. Read more
source§impl DTFilterConst for Ptr<dyn DTFilter>
impl DTFilterConst for Ptr<dyn DTFilter>
fn as_raw_DTFilter(&self) -> *const c_void
source§impl DTrees for Ptr<dyn Boost>
impl DTrees for Ptr<dyn Boost>
fn as_raw_mut_DTrees(&mut self) -> *mut c_void
source§fn set_max_categories(&mut self, val: i32) -> Result<()>
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<()>
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 @ref 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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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§impl DTrees for Ptr<dyn DTrees>
impl DTrees for Ptr<dyn DTrees>
fn as_raw_mut_DTrees(&mut self) -> *mut c_void
source§fn set_max_categories(&mut self, val: i32) -> Result<()>
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<()>
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 @ref 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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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§impl DTrees for Ptr<dyn RTrees>
impl DTrees for Ptr<dyn RTrees>
fn as_raw_mut_DTrees(&mut self) -> *mut c_void
source§fn set_max_categories(&mut self, val: i32) -> Result<()>
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<()>
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 @ref 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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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§impl DTreesConst for Ptr<dyn Boost>
impl DTreesConst for Ptr<dyn Boost>
fn as_raw_DTrees(&self) -> *const c_void
source§fn get_max_categories(&self) -> Result<i32>
fn get_max_categories(&self) -> Result<i32>
Cluster possible values of a categorical variable into K<=maxCategories clusters to
find a suboptimal split.
If a discrete variable, on which the training procedure tries to make a split, takes more than
maxCategories values, the precise best subset estimation may take a very long time because the
algorithm is exponential. Instead, many decision trees engines (including our implementation)
try to find sub-optimal split in this case by clustering all the samples into maxCategories
clusters that is some categories are merged together. The clustering is applied only in n >
2-class classification problems for categorical variables with N > max_categories possible
values. In case of regression and 2-class classification the optimal split can be found
efficiently without employing clustering, thus the parameter is not used in these cases.
Default value is 10. Read more
source§fn get_max_depth(&self) -> Result<i32>
fn get_max_depth(&self) -> Result<i32>
The maximum possible depth of the tree.
That is the training algorithms attempts to split a node while its depth is less than maxDepth.
The root node has zero depth. The actual depth may be smaller if the other termination criteria
are met (see the outline of the training procedure @ref ml_intro_trees “here”), and/or if the
tree is pruned. Default value is INT_MAX. Read more
source§fn get_min_sample_count(&self) -> Result<i32>
fn get_min_sample_count(&self) -> Result<i32>
If the number of samples in a node is less than this parameter then the node will not be split. Read more
source§fn get_cv_folds(&self) -> Result<i32>
fn get_cv_folds(&self) -> Result<i32>
If CVFolds > 1 then algorithms prunes the built decision tree using K-fold
cross-validation procedure where K is equal to CVFolds.
Default value is 10. Read more
source§fn get_use_surrogates(&self) -> Result<bool>
fn get_use_surrogates(&self) -> Result<bool>
If true then surrogate splits will be built.
These splits allow to work with missing data and compute variable importance correctly.
Default value is false. Read more
source§fn get_use1_se_rule(&self) -> Result<bool>
fn get_use1_se_rule(&self) -> Result<bool>
If true then a pruning will be harsher.
This will make a tree more compact and more resistant to the training data noise but a bit less
accurate. Default value is true. Read more
source§fn get_truncate_pruned_tree(&self) -> Result<bool>
fn get_truncate_pruned_tree(&self) -> Result<bool>
If true then pruned branches are physically removed from the tree.
Otherwise they are retained and it is possible to get results from the original unpruned (or
pruned less aggressively) tree. Default value is true. Read more
source§fn get_regression_accuracy(&self) -> Result<f32>
fn get_regression_accuracy(&self) -> Result<f32>
Termination criteria for regression trees.
If all absolute differences between an estimated value in a node and values of train samples
in this node are less than this parameter then the node will not be split further. Default
value is 0.01f Read more
source§fn get_priors(&self) -> Result<Mat>
fn get_priors(&self) -> Result<Mat>
The array of a priori class probabilities, sorted by the class label value. Read more
source§fn get_splits(&self) -> Result<Vector<DTrees_Split>>
fn get_splits(&self) -> Result<Vector<DTrees_Split>>
Returns all the splits Read more
source§impl DTreesConst for Ptr<dyn DTrees>
impl DTreesConst for Ptr<dyn DTrees>
fn as_raw_DTrees(&self) -> *const c_void
source§fn get_max_categories(&self) -> Result<i32>
fn get_max_categories(&self) -> Result<i32>
Cluster possible values of a categorical variable into K<=maxCategories clusters to
find a suboptimal split.
If a discrete variable, on which the training procedure tries to make a split, takes more than
maxCategories values, the precise best subset estimation may take a very long time because the
algorithm is exponential. Instead, many decision trees engines (including our implementation)
try to find sub-optimal split in this case by clustering all the samples into maxCategories
clusters that is some categories are merged together. The clustering is applied only in n >
2-class classification problems for categorical variables with N > max_categories possible
values. In case of regression and 2-class classification the optimal split can be found
efficiently without employing clustering, thus the parameter is not used in these cases.
Default value is 10. Read more
source§fn get_max_depth(&self) -> Result<i32>
fn get_max_depth(&self) -> Result<i32>
The maximum possible depth of the tree.
That is the training algorithms attempts to split a node while its depth is less than maxDepth.
The root node has zero depth. The actual depth may be smaller if the other termination criteria
are met (see the outline of the training procedure @ref ml_intro_trees “here”), and/or if the
tree is pruned. Default value is INT_MAX. Read more
source§fn get_min_sample_count(&self) -> Result<i32>
fn get_min_sample_count(&self) -> Result<i32>
If the number of samples in a node is less than this parameter then the node will not be split. Read more
source§fn get_cv_folds(&self) -> Result<i32>
fn get_cv_folds(&self) -> Result<i32>
If CVFolds > 1 then algorithms prunes the built decision tree using K-fold
cross-validation procedure where K is equal to CVFolds.
Default value is 10. Read more
source§fn get_use_surrogates(&self) -> Result<bool>
fn get_use_surrogates(&self) -> Result<bool>
If true then surrogate splits will be built.
These splits allow to work with missing data and compute variable importance correctly.
Default value is false. Read more
source§fn get_use1_se_rule(&self) -> Result<bool>
fn get_use1_se_rule(&self) -> Result<bool>
If true then a pruning will be harsher.
This will make a tree more compact and more resistant to the training data noise but a bit less
accurate. Default value is true. Read more
source§fn get_truncate_pruned_tree(&self) -> Result<bool>
fn get_truncate_pruned_tree(&self) -> Result<bool>
If true then pruned branches are physically removed from the tree.
Otherwise they are retained and it is possible to get results from the original unpruned (or
pruned less aggressively) tree. Default value is true. Read more
source§fn get_regression_accuracy(&self) -> Result<f32>
fn get_regression_accuracy(&self) -> Result<f32>
Termination criteria for regression trees.
If all absolute differences between an estimated value in a node and values of train samples
in this node are less than this parameter then the node will not be split further. Default
value is 0.01f Read more
source§fn get_priors(&self) -> Result<Mat>
fn get_priors(&self) -> Result<Mat>
The array of a priori class probabilities, sorted by the class label value. Read more
source§fn get_splits(&self) -> Result<Vector<DTrees_Split>>
fn get_splits(&self) -> Result<Vector<DTrees_Split>>
Returns all the splits Read more
source§impl DTreesConst for Ptr<dyn RTrees>
impl DTreesConst for Ptr<dyn RTrees>
fn as_raw_DTrees(&self) -> *const c_void
source§fn get_max_categories(&self) -> Result<i32>
fn get_max_categories(&self) -> Result<i32>
Cluster possible values of a categorical variable into K<=maxCategories clusters to
find a suboptimal split.
If a discrete variable, on which the training procedure tries to make a split, takes more than
maxCategories values, the precise best subset estimation may take a very long time because the
algorithm is exponential. Instead, many decision trees engines (including our implementation)
try to find sub-optimal split in this case by clustering all the samples into maxCategories
clusters that is some categories are merged together. The clustering is applied only in n >
2-class classification problems for categorical variables with N > max_categories possible
values. In case of regression and 2-class classification the optimal split can be found
efficiently without employing clustering, thus the parameter is not used in these cases.
Default value is 10. Read more
source§fn get_max_depth(&self) -> Result<i32>
fn get_max_depth(&self) -> Result<i32>
The maximum possible depth of the tree.
That is the training algorithms attempts to split a node while its depth is less than maxDepth.
The root node has zero depth. The actual depth may be smaller if the other termination criteria
are met (see the outline of the training procedure @ref ml_intro_trees “here”), and/or if the
tree is pruned. Default value is INT_MAX. Read more
source§fn get_min_sample_count(&self) -> Result<i32>
fn get_min_sample_count(&self) -> Result<i32>
If the number of samples in a node is less than this parameter then the node will not be split. Read more
source§fn get_cv_folds(&self) -> Result<i32>
fn get_cv_folds(&self) -> Result<i32>
If CVFolds > 1 then algorithms prunes the built decision tree using K-fold
cross-validation procedure where K is equal to CVFolds.
Default value is 10. Read more
source§fn get_use_surrogates(&self) -> Result<bool>
fn get_use_surrogates(&self) -> Result<bool>
If true then surrogate splits will be built.
These splits allow to work with missing data and compute variable importance correctly.
Default value is false. Read more
source§fn get_use1_se_rule(&self) -> Result<bool>
fn get_use1_se_rule(&self) -> Result<bool>
If true then a pruning will be harsher.
This will make a tree more compact and more resistant to the training data noise but a bit less
accurate. Default value is true. Read more
source§fn get_truncate_pruned_tree(&self) -> Result<bool>
fn get_truncate_pruned_tree(&self) -> Result<bool>
If true then pruned branches are physically removed from the tree.
Otherwise they are retained and it is possible to get results from the original unpruned (or
pruned less aggressively) tree. Default value is true. Read more
source§fn get_regression_accuracy(&self) -> Result<f32>
fn get_regression_accuracy(&self) -> Result<f32>
Termination criteria for regression trees.
If all absolute differences between an estimated value in a node and values of train samples
in this node are less than this parameter then the node will not be split further. Default
value is 0.01f Read more
source§fn get_priors(&self) -> Result<Mat>
fn get_priors(&self) -> Result<Mat>
The array of a priori class probabilities, sorted by the class label value. Read more
source§fn get_splits(&self) -> Result<Vector<DTrees_Split>>
fn get_splits(&self) -> Result<Vector<DTrees_Split>>
Returns all the splits Read more
source§impl DataAugmentationLayerTrait for Ptr<DataAugmentationLayer>
impl DataAugmentationLayerTrait for Ptr<DataAugmentationLayer>
fn as_raw_mut_DataAugmentationLayer(&mut self) -> *mut c_void
source§impl DataAugmentationLayerTraitConst for Ptr<DataAugmentationLayer>
impl DataAugmentationLayerTraitConst for Ptr<DataAugmentationLayer>
fn as_raw_DataAugmentationLayer(&self) -> *const c_void
source§impl DeblurerBase for Ptr<NullDeblurer>
impl DeblurerBase for Ptr<NullDeblurer>
fn as_raw_mut_DeblurerBase(&mut self) -> *mut c_void
fn set_radius(&mut self, val: i32) -> Result<()>
fn deblur(&mut self, idx: i32, frame: &mut Mat, range: &Range) -> Result<()>
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_blurriness_rates(&mut self, val: &Vector<f32>) -> Result<()>
source§impl DeblurerBase for Ptr<WeightingDeblurer>
impl DeblurerBase for Ptr<WeightingDeblurer>
fn as_raw_mut_DeblurerBase(&mut self) -> *mut c_void
fn set_radius(&mut self, val: i32) -> Result<()>
fn deblur(&mut self, idx: i32, frame: &mut Mat, range: &Range) -> Result<()>
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_blurriness_rates(&mut self, val: &Vector<f32>) -> Result<()>
source§impl DeblurerBase for Ptr<dyn DeblurerBase>
impl DeblurerBase for Ptr<dyn DeblurerBase>
fn as_raw_mut_DeblurerBase(&mut self) -> *mut c_void
fn set_radius(&mut self, val: i32) -> Result<()>
fn deblur(&mut self, idx: i32, frame: &mut Mat, range: &Range) -> Result<()>
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_blurriness_rates(&mut self, val: &Vector<f32>) -> Result<()>
source§impl DeblurerBaseConst for Ptr<NullDeblurer>
impl DeblurerBaseConst for Ptr<NullDeblurer>
source§impl DeblurerBaseConst for Ptr<WeightingDeblurer>
impl DeblurerBaseConst for Ptr<WeightingDeblurer>
source§impl DeblurerBaseConst for Ptr<dyn DeblurerBase>
impl DeblurerBaseConst for Ptr<dyn DeblurerBase>
source§impl DenseOpticalFlow for Ptr<dyn DISOpticalFlow>
impl DenseOpticalFlow for Ptr<dyn DISOpticalFlow>
fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
Calculates an optical flow. Read more
source§fn collect_garbage(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Releases all inner buffers.
source§impl DenseOpticalFlow for Ptr<dyn DenseOpticalFlow>
impl DenseOpticalFlow for Ptr<dyn DenseOpticalFlow>
fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
Calculates an optical flow. Read more
source§fn collect_garbage(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Releases all inner buffers.
source§impl DenseOpticalFlow for Ptr<dyn DenseRLOFOpticalFlow>
impl DenseOpticalFlow for Ptr<dyn DenseRLOFOpticalFlow>
fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
Calculates an optical flow. Read more
source§fn collect_garbage(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Releases all inner buffers.
source§impl DenseOpticalFlow for Ptr<dyn DualTVL1OpticalFlow>
impl DenseOpticalFlow for Ptr<dyn DualTVL1OpticalFlow>
fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
Calculates an optical flow. Read more
source§fn collect_garbage(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Releases all inner buffers.
source§impl DenseOpticalFlow for Ptr<dyn FarnebackOpticalFlow>
impl DenseOpticalFlow for Ptr<dyn FarnebackOpticalFlow>
fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
Calculates an optical flow. Read more
source§fn collect_garbage(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Releases all inner buffers.
source§impl DenseOpticalFlow for Ptr<dyn VariationalRefinement>
impl DenseOpticalFlow for Ptr<dyn VariationalRefinement>
fn as_raw_mut_DenseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
fn calc(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow: &mut dyn ToInputOutputArray
) -> Result<()>
Calculates an optical flow. Read more
source§fn collect_garbage(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Releases all inner buffers.
source§impl DenseOpticalFlowConst for Ptr<dyn DISOpticalFlow>
impl DenseOpticalFlowConst for Ptr<dyn DISOpticalFlow>
fn as_raw_DenseOpticalFlow(&self) -> *const c_void
source§impl DenseOpticalFlowConst for Ptr<dyn DenseOpticalFlow>
impl DenseOpticalFlowConst for Ptr<dyn DenseOpticalFlow>
fn as_raw_DenseOpticalFlow(&self) -> *const c_void
source§impl DenseOpticalFlowConst for Ptr<dyn DenseRLOFOpticalFlow>
impl DenseOpticalFlowConst for Ptr<dyn DenseRLOFOpticalFlow>
fn as_raw_DenseOpticalFlow(&self) -> *const c_void
source§impl DenseOpticalFlowConst for Ptr<dyn DualTVL1OpticalFlow>
impl DenseOpticalFlowConst for Ptr<dyn DualTVL1OpticalFlow>
fn as_raw_DenseOpticalFlow(&self) -> *const c_void
source§impl DenseOpticalFlowConst for Ptr<dyn FarnebackOpticalFlow>
impl DenseOpticalFlowConst for Ptr<dyn FarnebackOpticalFlow>
fn as_raw_DenseOpticalFlow(&self) -> *const c_void
source§impl DenseOpticalFlowConst for Ptr<dyn VariationalRefinement>
impl DenseOpticalFlowConst for Ptr<dyn VariationalRefinement>
fn as_raw_DenseOpticalFlow(&self) -> *const c_void
source§impl DensePyrLkOptFlowEstimatorGpuTrait for Ptr<DensePyrLkOptFlowEstimatorGpu>
impl DensePyrLkOptFlowEstimatorGpuTrait for Ptr<DensePyrLkOptFlowEstimatorGpu>
fn as_raw_mut_DensePyrLkOptFlowEstimatorGpu(&mut self) -> *mut c_void
fn run(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow_x: &mut dyn ToInputOutputArray,
flow_y: &mut dyn ToInputOutputArray,
errors: &mut dyn ToOutputArray
) -> Result<()>
source§impl DensePyrLkOptFlowEstimatorGpuTraitConst for Ptr<DensePyrLkOptFlowEstimatorGpu>
impl DensePyrLkOptFlowEstimatorGpuTraitConst for Ptr<DensePyrLkOptFlowEstimatorGpu>
fn as_raw_DensePyrLkOptFlowEstimatorGpu(&self) -> *const c_void
source§impl DenseRLOFOpticalFlow for Ptr<dyn DenseRLOFOpticalFlow>
impl DenseRLOFOpticalFlow for Ptr<dyn DenseRLOFOpticalFlow>
fn as_raw_mut_DenseRLOFOpticalFlow(&mut self) -> *mut c_void
source§fn set_rlof_optical_flow_parameter(
&mut self,
val: Ptr<RLOFOpticalFlowParameter>
) -> Result<()>
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<()>
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<()>
fn set_grid_step(&mut self, val: Size) -> Result<()>
Size of the grid to spawn the motion vectors.
For each grid point a motion vector is computed. Some motion vectors will be removed due to the forwatd backward
* threshold (if set >0). The rest will be the base of the vector field interpolation.
* see also: getForwardBackward, setGridStep
* see also: getGridStep Read more
source§fn set_interpolation(&mut self, val: InterpolationType) -> Result<()>
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 Read more
source§fn set_epick(&mut self, val: i32) -> Result<()>
fn set_epick(&mut self, val: i32) -> Result<()>
see ximgproc::EdgeAwareInterpolator() K value.
K is a number of nearest-neighbor matches considered, when fitting a locally affine
* model. Usually it should be around 128. However, lower values would make the interpolation noticeably faster.
* see also: ximgproc::EdgeAwareInterpolator, setEPICK
* see also: ximgproc::EdgeAwareInterpolator, getEPICK Read more
source§fn set_epic_sigma(&mut self, val: f32) -> Result<()>
fn set_epic_sigma(&mut self, val: f32) -> Result<()>
see ximgproc::EdgeAwareInterpolator() sigma value.
Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine
* fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the
* output flow.
* see also: ximgproc::EdgeAwareInterpolator, setEPICSigma
* see also: ximgproc::EdgeAwareInterpolator, getEPICSigma Read more
source§fn set_epic_lambda(&mut self, val: f32) -> Result<()>
fn set_epic_lambda(&mut self, val: f32) -> Result<()>
see ximgproc::EdgeAwareInterpolator() lambda value.
Lambda is a parameter defining the weight of the edge-aware term in geodesic distance,
* should be in the range of 0 to 1000.
* see also: ximgproc::EdgeAwareInterpolator, setEPICSigma
* see also: ximgproc::EdgeAwareInterpolator, getEPICLambda Read more
source§fn set_fgs_lambda(&mut self, val: f32) -> Result<()>
fn set_fgs_lambda(&mut self, val: f32) -> Result<()>
see ximgproc::EdgeAwareInterpolator().
Sets the respective fastGlobalSmootherFilter() parameter.
* see also: ximgproc::EdgeAwareInterpolator, setFgsLambda
* see also: ximgproc::EdgeAwareInterpolator, ximgproc::fastGlobalSmootherFilter, getFgsLambda Read more
source§fn set_fgs_sigma(&mut self, val: f32) -> Result<()>
fn set_fgs_sigma(&mut self, val: f32) -> Result<()>
see ximgproc::EdgeAwareInterpolator().
Sets the respective fastGlobalSmootherFilter() parameter.
* see also: ximgproc::EdgeAwareInterpolator, ximgproc::fastGlobalSmootherFilter, setFgsSigma
* see also: ximgproc::EdgeAwareInterpolator, ximgproc::fastGlobalSmootherFilter, getFgsSigma Read more
source§fn set_use_post_proc(&mut self, val: bool) -> Result<()>
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<()>
fn set_use_variational_refinement(&mut self, val: bool) -> Result<()>
enables VariationalRefinement Read more
source§impl DenseRLOFOpticalFlowConst for Ptr<dyn DenseRLOFOpticalFlow>
impl DenseRLOFOpticalFlowConst for Ptr<dyn DenseRLOFOpticalFlow>
fn as_raw_DenseRLOFOpticalFlow(&self) -> *const c_void
source§fn get_rlof_optical_flow_parameter(
&self
) -> Result<Ptr<RLOFOpticalFlowParameter>>
fn get_rlof_optical_flow_parameter(
&self
) -> Result<Ptr<RLOFOpticalFlowParameter>>
Configuration of the RLOF alogrithm. Read more
source§fn get_forward_backward(&self) -> Result<f32>
fn get_forward_backward(&self) -> Result<f32>
Threshold for the forward backward confidence check
For each grid point inline formula a motion vector inline formula is computed.
* If the forward backward error block formula
* is larger than threshold given by this function then the motion vector will not be used by the following
* vector field interpolation. inline formula denotes the backward flow. Note, the forward backward test
* will only be applied if the threshold > 0. This may results into a doubled runtime for the motion estimation.
* getForwardBackward, setGridStep Read more
source§fn get_grid_step(&self) -> Result<Size>
fn get_grid_step(&self) -> Result<Size>
Size of the grid to spawn the motion vectors.
For each grid point a motion vector is computed. Some motion vectors will be removed due to the forwatd backward
* threshold (if set >0). The rest will be the base of the vector field interpolation.
* see also: getForwardBackward, setGridStep Read more
source§fn get_interpolation(&self) -> Result<InterpolationType>
fn get_interpolation(&self) -> Result<InterpolationType>
Interpolation used to compute the dense optical flow.
Two interpolation algorithms are supported
* - INTERP_GEO applies the fast geodesic interpolation, see Geistert2016.
* - INTERP_EPIC_RESIDUAL applies the edge-preserving interpolation, see Revaud2015,Geistert2016.
* see also: ximgproc::EdgeAwareInterpolator, getInterpolation
* see also: ximgproc::EdgeAwareInterpolator, setInterpolation Read more
source§fn get_epick(&self) -> Result<i32>
fn get_epick(&self) -> Result<i32>
see ximgproc::EdgeAwareInterpolator() K value.
K is a number of nearest-neighbor matches considered, when fitting a locally affine
* model. Usually it should be around 128. However, lower values would make the interpolation noticeably faster.
* see also: ximgproc::EdgeAwareInterpolator, setEPICK Read more
source§fn get_epic_sigma(&self) -> Result<f32>
fn get_epic_sigma(&self) -> Result<f32>
see ximgproc::EdgeAwareInterpolator() sigma value.
Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine
* fitting. Higher values can help preserve fine details, lower values can help to get rid of noise in the
* output flow.
* see also: ximgproc::EdgeAwareInterpolator, setEPICSigma Read more
source§fn get_epic_lambda(&self) -> Result<f32>
fn get_epic_lambda(&self) -> Result<f32>
see ximgproc::EdgeAwareInterpolator() lambda value.
Lambda is a parameter defining the weight of the edge-aware term in geodesic distance,
* should be in the range of 0 to 1000.
* see also: ximgproc::EdgeAwareInterpolator, setEPICSigma Read more
source§fn get_fgs_lambda(&self) -> Result<f32>
fn get_fgs_lambda(&self) -> Result<f32>
see ximgproc::EdgeAwareInterpolator().
Sets the respective fastGlobalSmootherFilter() parameter.
* see also: ximgproc::EdgeAwareInterpolator, setFgsLambda Read more
source§fn get_fgs_sigma(&self) -> Result<f32>
fn get_fgs_sigma(&self) -> Result<f32>
see ximgproc::EdgeAwareInterpolator().
Sets the respective fastGlobalSmootherFilter() parameter.
* see also: ximgproc::EdgeAwareInterpolator, ximgproc::fastGlobalSmootherFilter, setFgsSigma Read more
source§fn get_use_post_proc(&self) -> Result<bool>
fn get_use_post_proc(&self) -> Result<bool>
enables ximgproc::fastGlobalSmootherFilter Read more
source§fn get_use_variational_refinement(&self) -> Result<bool>
fn get_use_variational_refinement(&self) -> Result<bool>
enables VariationalRefinement Read more
source§impl DepthCleanerTrait for Ptr<DepthCleaner>
impl DepthCleanerTrait for Ptr<DepthCleaner>
source§impl DepthCleanerTraitConst for Ptr<DepthCleaner>
impl DepthCleanerTraitConst for Ptr<DepthCleaner>
fn as_raw_DepthCleaner(&self) -> *const c_void
source§fn initialize(&self) -> Result<()>
fn initialize(&self) -> Result<()>
Initializes some data that is cached for later computation
If that function is not called, it will be called the first time normals are computed Read more
fn get_window_size(&self) -> Result<i32>
fn get_depth(&self) -> Result<i32>
fn get_method(&self) -> Result<i32>
source§impl DequantizeLayerTrait for Ptr<DequantizeLayer>
impl DequantizeLayerTrait for Ptr<DequantizeLayer>
source§impl DescriptorMatcher for Ptr<BFMatcher>
impl DescriptorMatcher for Ptr<BFMatcher>
fn as_raw_mut_DescriptorMatcher(&mut self) -> *mut c_void
source§fn add(&mut self, descriptors: &dyn ToInputArray) -> Result<()>
fn add(&mut self, descriptors: &dyn ToInputArray) -> Result<()>
Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor
collection. Read more
source§fn match_(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
masks: &dyn ToInputArray
) -> Result<()>
fn match_(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
masks: &dyn ToInputArray
) -> Result<()>
Finds the best match for each descriptor from a query set. Read more
source§fn knn_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn knn_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
Finds the k best matches for each descriptor from a query set. Read more
source§fn radius_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn radius_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl DescriptorMatcher for Ptr<FlannBasedMatcher>
impl DescriptorMatcher for Ptr<FlannBasedMatcher>
fn as_raw_mut_DescriptorMatcher(&mut self) -> *mut c_void
source§fn add(&mut self, descriptors: &dyn ToInputArray) -> Result<()>
fn add(&mut self, descriptors: &dyn ToInputArray) -> Result<()>
Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor
collection. Read more
source§fn match_(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
masks: &dyn ToInputArray
) -> Result<()>
fn match_(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
masks: &dyn ToInputArray
) -> Result<()>
Finds the best match for each descriptor from a query set. Read more
source§fn knn_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn knn_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
Finds the k best matches for each descriptor from a query set. Read more
source§fn radius_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn radius_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl DescriptorMatcher for Ptr<dyn DescriptorMatcher>
impl DescriptorMatcher for Ptr<dyn DescriptorMatcher>
fn as_raw_mut_DescriptorMatcher(&mut self) -> *mut c_void
source§fn add(&mut self, descriptors: &dyn ToInputArray) -> Result<()>
fn add(&mut self, descriptors: &dyn ToInputArray) -> Result<()>
Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor
collection. Read more
source§fn match_(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
masks: &dyn ToInputArray
) -> Result<()>
fn match_(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
masks: &dyn ToInputArray
) -> Result<()>
Finds the best match for each descriptor from a query set. Read more
source§fn knn_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn knn_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
Finds the k best matches for each descriptor from a query set. Read more
source§fn radius_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn radius_match(
&mut self,
query_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
masks: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl DescriptorMatcherConst for Ptr<BFMatcher>
impl DescriptorMatcherConst for Ptr<BFMatcher>
fn as_raw_DescriptorMatcher(&self) -> *const c_void
source§fn get_train_descriptors(&self) -> Result<Vector<Mat>>
fn get_train_descriptors(&self) -> Result<Vector<Mat>>
Returns a constant link to the train descriptor collection trainDescCollection .
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if there are no train descriptors in the both collections.
source§fn is_mask_supported(&self) -> Result<bool>
fn is_mask_supported(&self) -> Result<bool>
Returns true if the descriptor matcher supports masking permissible matches.
source§fn train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
mask: &dyn ToInputArray
) -> Result<()>
fn train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
mask: &dyn ToInputArray
) -> Result<()>
Finds the best match for each descriptor from a query set. Read more
source§fn knn_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn knn_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
Finds the k best matches for each descriptor from a query set. Read more
source§fn radius_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn radius_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
source§impl DescriptorMatcherConst for Ptr<FlannBasedMatcher>
impl DescriptorMatcherConst for Ptr<FlannBasedMatcher>
fn as_raw_DescriptorMatcher(&self) -> *const c_void
source§fn get_train_descriptors(&self) -> Result<Vector<Mat>>
fn get_train_descriptors(&self) -> Result<Vector<Mat>>
Returns a constant link to the train descriptor collection trainDescCollection .
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if there are no train descriptors in the both collections.
source§fn is_mask_supported(&self) -> Result<bool>
fn is_mask_supported(&self) -> Result<bool>
Returns true if the descriptor matcher supports masking permissible matches.
source§fn train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
mask: &dyn ToInputArray
) -> Result<()>
fn train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
mask: &dyn ToInputArray
) -> Result<()>
Finds the best match for each descriptor from a query set. Read more
source§fn knn_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn knn_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
Finds the k best matches for each descriptor from a query set. Read more
source§fn radius_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn radius_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
source§impl DescriptorMatcherConst for Ptr<dyn DescriptorMatcher>
impl DescriptorMatcherConst for Ptr<dyn DescriptorMatcher>
fn as_raw_DescriptorMatcher(&self) -> *const c_void
source§fn get_train_descriptors(&self) -> Result<Vector<Mat>>
fn get_train_descriptors(&self) -> Result<Vector<Mat>>
Returns a constant link to the train descriptor collection trainDescCollection .
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if there are no train descriptors in the both collections.
source§fn is_mask_supported(&self) -> Result<bool>
fn is_mask_supported(&self) -> Result<bool>
Returns true if the descriptor matcher supports masking permissible matches.
source§fn train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
mask: &dyn ToInputArray
) -> Result<()>
fn train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<DMatch>,
mask: &dyn ToInputArray
) -> Result<()>
Finds the best match for each descriptor from a query set. Read more
source§fn knn_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn knn_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
k: i32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
Finds the k best matches for each descriptor from a query set. Read more
source§fn radius_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
fn radius_train_match(
&self,
query_descriptors: &dyn ToInputArray,
train_descriptors: &dyn ToInputArray,
matches: &mut Vector<Vector<DMatch>>,
max_distance: f32,
mask: &dyn ToInputArray,
compact_result: bool
) -> Result<()>
For each query descriptor, finds the training descriptors not farther than the specified distance. Read more
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
source§impl Detail_AffineBasedEstimatorTrait for Ptr<Detail_AffineBasedEstimator>
impl Detail_AffineBasedEstimatorTrait for Ptr<Detail_AffineBasedEstimator>
fn as_raw_mut_Detail_AffineBasedEstimator(&mut self) -> *mut c_void
source§impl Detail_AffineBasedEstimatorTraitConst for Ptr<Detail_AffineBasedEstimator>
impl Detail_AffineBasedEstimatorTraitConst for Ptr<Detail_AffineBasedEstimator>
fn as_raw_Detail_AffineBasedEstimator(&self) -> *const c_void
source§impl Detail_BestOf2NearestMatcherTrait for Ptr<Detail_BestOf2NearestMatcher>
impl Detail_BestOf2NearestMatcherTrait for Ptr<Detail_BestOf2NearestMatcher>
fn as_raw_mut_Detail_BestOf2NearestMatcher(&mut self) -> *mut c_void
fn collect_garbage(&mut self) -> Result<()>
source§impl Detail_BestOf2NearestMatcherTraitConst for Ptr<Detail_BestOf2NearestMatcher>
impl Detail_BestOf2NearestMatcherTraitConst for Ptr<Detail_BestOf2NearestMatcher>
fn as_raw_Detail_BestOf2NearestMatcher(&self) -> *const c_void
source§impl Detail_BlenderTrait for Ptr<Detail_Blender>
impl Detail_BlenderTrait for Ptr<Detail_Blender>
fn as_raw_mut_Detail_Blender(&mut self) -> *mut c_void
source§fn prepare(&mut self, corners: &Vector<Point>, sizes: &Vector<Size>) -> Result<()>
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<()>
fn prepare_1(&mut self, dst_roi: Rect) -> Result<()>
Prepares the blender for blending. Read more
source§fn feed(
&mut self,
img: &dyn ToInputArray,
mask: &dyn ToInputArray,
tl: Point
) -> Result<()>
fn feed(
&mut self,
img: &dyn ToInputArray,
mask: &dyn ToInputArray,
tl: Point
) -> Result<()>
Processes the image. Read more
source§fn blend(
&mut self,
dst: &mut dyn ToInputOutputArray,
dst_mask: &mut dyn ToInputOutputArray
) -> Result<()>
fn blend(
&mut self,
dst: &mut dyn ToInputOutputArray,
dst_mask: &mut dyn ToInputOutputArray
) -> Result<()>
Blends and returns the final pano. Read more
source§impl Detail_BlenderTrait for Ptr<Detail_FeatherBlender>
impl Detail_BlenderTrait for Ptr<Detail_FeatherBlender>
fn as_raw_mut_Detail_Blender(&mut self) -> *mut c_void
source§fn prepare(&mut self, corners: &Vector<Point>, sizes: &Vector<Size>) -> Result<()>
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<()>
fn prepare_1(&mut self, dst_roi: Rect) -> Result<()>
Prepares the blender for blending. Read more
source§fn feed(
&mut self,
img: &dyn ToInputArray,
mask: &dyn ToInputArray,
tl: Point
) -> Result<()>
fn feed(
&mut self,
img: &dyn ToInputArray,
mask: &dyn ToInputArray,
tl: Point
) -> Result<()>
Processes the image. Read more
source§fn blend(
&mut self,
dst: &mut dyn ToInputOutputArray,
dst_mask: &mut dyn ToInputOutputArray
) -> Result<()>
fn blend(
&mut self,
dst: &mut dyn ToInputOutputArray,
dst_mask: &mut dyn ToInputOutputArray
) -> Result<()>
Blends and returns the final pano. Read more
source§impl Detail_BlenderTrait for Ptr<Detail_MultiBandBlender>
impl Detail_BlenderTrait for Ptr<Detail_MultiBandBlender>
fn as_raw_mut_Detail_Blender(&mut self) -> *mut c_void
source§fn prepare(&mut self, corners: &Vector<Point>, sizes: &Vector<Size>) -> Result<()>
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<()>
fn prepare_1(&mut self, dst_roi: Rect) -> Result<()>
Prepares the blender for blending. Read more
source§fn feed(
&mut self,
img: &dyn ToInputArray,
mask: &dyn ToInputArray,
tl: Point
) -> Result<()>
fn feed(
&mut self,
img: &dyn ToInputArray,
mask: &dyn ToInputArray,
tl: Point
) -> Result<()>
Processes the image. Read more
source§fn blend(
&mut self,
dst: &mut dyn ToInputOutputArray,
dst_mask: &mut dyn ToInputOutputArray
) -> Result<()>
fn blend(
&mut self,
dst: &mut dyn ToInputOutputArray,
dst_mask: &mut dyn ToInputOutputArray
) -> Result<()>
Blends and returns the final pano. Read more
source§impl Detail_BlenderTraitConst for Ptr<Detail_Blender>
impl Detail_BlenderTraitConst for Ptr<Detail_Blender>
fn as_raw_Detail_Blender(&self) -> *const c_void
source§impl Detail_BlenderTraitConst for Ptr<Detail_FeatherBlender>
impl Detail_BlenderTraitConst for Ptr<Detail_FeatherBlender>
fn as_raw_Detail_Blender(&self) -> *const c_void
source§impl Detail_BlenderTraitConst for Ptr<Detail_MultiBandBlender>
impl Detail_BlenderTraitConst for Ptr<Detail_MultiBandBlender>
fn as_raw_Detail_Blender(&self) -> *const c_void
source§impl Detail_BlocksCompensator for Ptr<dyn Detail_BlocksCompensator>
impl Detail_BlocksCompensator for Ptr<dyn Detail_BlocksCompensator>
fn as_raw_mut_Detail_BlocksCompensator(&mut self) -> *mut c_void
fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>
fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>
fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>
fn get_nr_feeds(&mut self) -> Result<i32>
fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>
fn set_block_size(&mut self, width: i32, height: i32) -> Result<()>
fn set_block_size_1(&mut self, size: Size) -> Result<()>
fn set_nr_gains_filtering_iterations(&mut self, nr_iterations: i32) -> Result<()>
source§impl Detail_BlocksCompensatorConst for Ptr<dyn Detail_BlocksCompensator>
impl Detail_BlocksCompensatorConst for Ptr<dyn Detail_BlocksCompensator>
fn as_raw_Detail_BlocksCompensator(&self) -> *const c_void
fn get_similarity_threshold(&self) -> Result<f64>
fn get_block_size(&self) -> Result<Size>
fn get_nr_gains_filtering_iterations(&self) -> Result<i32>
source§impl Detail_BundleAdjusterAffinePartialTrait for Ptr<Detail_BundleAdjusterAffinePartial>
impl Detail_BundleAdjusterAffinePartialTrait for Ptr<Detail_BundleAdjusterAffinePartial>
fn as_raw_mut_Detail_BundleAdjusterAffinePartial(&mut self) -> *mut c_void
source§impl Detail_BundleAdjusterAffinePartialTraitConst for Ptr<Detail_BundleAdjusterAffinePartial>
impl Detail_BundleAdjusterAffinePartialTraitConst for Ptr<Detail_BundleAdjusterAffinePartial>
fn as_raw_Detail_BundleAdjusterAffinePartial(&self) -> *const c_void
source§impl Detail_BundleAdjusterAffineTrait for Ptr<Detail_BundleAdjusterAffine>
impl Detail_BundleAdjusterAffineTrait for Ptr<Detail_BundleAdjusterAffine>
fn as_raw_mut_Detail_BundleAdjusterAffine(&mut self) -> *mut c_void
source§impl Detail_BundleAdjusterAffineTraitConst for Ptr<Detail_BundleAdjusterAffine>
impl Detail_BundleAdjusterAffineTraitConst for Ptr<Detail_BundleAdjusterAffine>
fn as_raw_Detail_BundleAdjusterAffine(&self) -> *const c_void
source§impl Detail_BundleAdjusterBase for Ptr<Detail_BundleAdjusterAffine>
impl Detail_BundleAdjusterBase for Ptr<Detail_BundleAdjusterAffine>
fn as_raw_mut_Detail_BundleAdjusterBase(&mut self) -> *mut c_void
fn set_refinement_mask(&mut self, mask: &Mat) -> Result<()>
fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>
fn term_criteria(&mut self) -> Result<TermCriteria>
fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>
source§impl Detail_BundleAdjusterBase for Ptr<Detail_BundleAdjusterAffinePartial>
impl Detail_BundleAdjusterBase for Ptr<Detail_BundleAdjusterAffinePartial>
fn as_raw_mut_Detail_BundleAdjusterBase(&mut self) -> *mut c_void
fn set_refinement_mask(&mut self, mask: &Mat) -> Result<()>
fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>
fn term_criteria(&mut self) -> Result<TermCriteria>
fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>
source§impl Detail_BundleAdjusterBase for Ptr<Detail_BundleAdjusterRay>
impl Detail_BundleAdjusterBase for Ptr<Detail_BundleAdjusterRay>
fn as_raw_mut_Detail_BundleAdjusterBase(&mut self) -> *mut c_void
fn set_refinement_mask(&mut self, mask: &Mat) -> Result<()>
fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>
fn term_criteria(&mut self) -> Result<TermCriteria>
fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>
source§impl Detail_BundleAdjusterBase for Ptr<Detail_BundleAdjusterReproj>
impl Detail_BundleAdjusterBase for Ptr<Detail_BundleAdjusterReproj>
fn as_raw_mut_Detail_BundleAdjusterBase(&mut self) -> *mut c_void
fn set_refinement_mask(&mut self, mask: &Mat) -> Result<()>
fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>
fn term_criteria(&mut self) -> Result<TermCriteria>
fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>
source§impl Detail_BundleAdjusterBase for Ptr<Detail_NoBundleAdjuster>
impl Detail_BundleAdjusterBase for Ptr<Detail_NoBundleAdjuster>
fn as_raw_mut_Detail_BundleAdjusterBase(&mut self) -> *mut c_void
fn set_refinement_mask(&mut self, mask: &Mat) -> Result<()>
fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>
fn term_criteria(&mut self) -> Result<TermCriteria>
fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>
source§impl Detail_BundleAdjusterBase for Ptr<dyn Detail_BundleAdjusterBase>
impl Detail_BundleAdjusterBase for Ptr<dyn Detail_BundleAdjusterBase>
fn as_raw_mut_Detail_BundleAdjusterBase(&mut self) -> *mut c_void
fn set_refinement_mask(&mut self, mask: &Mat) -> Result<()>
fn set_conf_thresh(&mut self, conf_thresh: f64) -> Result<()>
fn term_criteria(&mut self) -> Result<TermCriteria>
fn set_term_criteria(&mut self, term_criteria: TermCriteria) -> Result<()>
source§impl Detail_BundleAdjusterBaseConst for Ptr<Detail_BundleAdjusterAffine>
impl Detail_BundleAdjusterBaseConst for Ptr<Detail_BundleAdjusterAffine>
fn as_raw_Detail_BundleAdjusterBase(&self) -> *const c_void
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
source§impl Detail_BundleAdjusterBaseConst for Ptr<Detail_BundleAdjusterAffinePartial>
impl Detail_BundleAdjusterBaseConst for Ptr<Detail_BundleAdjusterAffinePartial>
fn as_raw_Detail_BundleAdjusterBase(&self) -> *const c_void
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
source§impl Detail_BundleAdjusterBaseConst for Ptr<Detail_BundleAdjusterRay>
impl Detail_BundleAdjusterBaseConst for Ptr<Detail_BundleAdjusterRay>
fn as_raw_Detail_BundleAdjusterBase(&self) -> *const c_void
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
source§impl Detail_BundleAdjusterBaseConst for Ptr<Detail_BundleAdjusterReproj>
impl Detail_BundleAdjusterBaseConst for Ptr<Detail_BundleAdjusterReproj>
fn as_raw_Detail_BundleAdjusterBase(&self) -> *const c_void
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
source§impl Detail_BundleAdjusterBaseConst for Ptr<Detail_NoBundleAdjuster>
impl Detail_BundleAdjusterBaseConst for Ptr<Detail_NoBundleAdjuster>
fn as_raw_Detail_BundleAdjusterBase(&self) -> *const c_void
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
source§impl Detail_BundleAdjusterBaseConst for Ptr<dyn Detail_BundleAdjusterBase>
impl Detail_BundleAdjusterBaseConst for Ptr<dyn Detail_BundleAdjusterBase>
fn as_raw_Detail_BundleAdjusterBase(&self) -> *const c_void
fn refinement_mask(&self) -> Result<Mat>
fn conf_thresh(&self) -> Result<f64>
source§impl Detail_BundleAdjusterRayTrait for Ptr<Detail_BundleAdjusterRay>
impl Detail_BundleAdjusterRayTrait for Ptr<Detail_BundleAdjusterRay>
fn as_raw_mut_Detail_BundleAdjusterRay(&mut self) -> *mut c_void
source§impl Detail_BundleAdjusterRayTraitConst for Ptr<Detail_BundleAdjusterRay>
impl Detail_BundleAdjusterRayTraitConst for Ptr<Detail_BundleAdjusterRay>
fn as_raw_Detail_BundleAdjusterRay(&self) -> *const c_void
source§impl Detail_BundleAdjusterReprojTrait for Ptr<Detail_BundleAdjusterReproj>
impl Detail_BundleAdjusterReprojTrait for Ptr<Detail_BundleAdjusterReproj>
fn as_raw_mut_Detail_BundleAdjusterReproj(&mut self) -> *mut c_void
source§impl Detail_BundleAdjusterReprojTraitConst for Ptr<Detail_BundleAdjusterReproj>
impl Detail_BundleAdjusterReprojTraitConst for Ptr<Detail_BundleAdjusterReproj>
fn as_raw_Detail_BundleAdjusterReproj(&self) -> *const c_void
source§impl Detail_ChannelsCompensatorTrait for Ptr<Detail_ChannelsCompensator>
impl Detail_ChannelsCompensatorTrait for Ptr<Detail_ChannelsCompensator>
fn as_raw_mut_Detail_ChannelsCompensator(&mut self) -> *mut c_void
fn feed(
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>,
masks: &Vector<Tuple<(UMat, u8)>>
) -> Result<()>
fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>
fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>
fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>
fn get_nr_feeds(&mut self) -> Result<i32>
fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>
source§impl Detail_DpSeamFinderTrait for Ptr<Detail_DpSeamFinder>
impl Detail_DpSeamFinderTrait for Ptr<Detail_DpSeamFinder>
fn as_raw_mut_Detail_DpSeamFinder(&mut self) -> *mut c_void
fn set_cost_function(
&mut self,
val: Detail_DpSeamFinder_CostFunction
) -> Result<()>
fn set_cost_function_1(&mut self, val: &str) -> Result<()>
fn find(
&mut self,
src: &Vector<UMat>,
corners: &Vector<Point>,
masks: &mut Vector<UMat>
) -> Result<()>
source§impl Detail_DpSeamFinderTraitConst for Ptr<Detail_DpSeamFinder>
impl Detail_DpSeamFinderTraitConst for Ptr<Detail_DpSeamFinder>
fn as_raw_Detail_DpSeamFinder(&self) -> *const c_void
fn cost_function(&self) -> Result<Detail_DpSeamFinder_CostFunction>
source§impl Detail_Estimator for Ptr<Detail_AffineBasedEstimator>
impl Detail_Estimator for Ptr<Detail_AffineBasedEstimator>
fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void
source§impl Detail_Estimator for Ptr<Detail_BundleAdjusterAffine>
impl Detail_Estimator for Ptr<Detail_BundleAdjusterAffine>
fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void
source§impl Detail_Estimator for Ptr<Detail_BundleAdjusterAffinePartial>
impl Detail_Estimator for Ptr<Detail_BundleAdjusterAffinePartial>
fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void
source§impl Detail_Estimator for Ptr<Detail_BundleAdjusterRay>
impl Detail_Estimator for Ptr<Detail_BundleAdjusterRay>
fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void
source§impl Detail_Estimator for Ptr<Detail_BundleAdjusterReproj>
impl Detail_Estimator for Ptr<Detail_BundleAdjusterReproj>
fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void
source§impl Detail_Estimator for Ptr<Detail_HomographyBasedEstimator>
impl Detail_Estimator for Ptr<Detail_HomographyBasedEstimator>
fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void
source§impl Detail_Estimator for Ptr<Detail_NoBundleAdjuster>
impl Detail_Estimator for Ptr<Detail_NoBundleAdjuster>
fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void
source§impl Detail_Estimator for Ptr<dyn Detail_BundleAdjusterBase>
impl Detail_Estimator for Ptr<dyn Detail_BundleAdjusterBase>
fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void
source§impl Detail_Estimator for Ptr<dyn Detail_Estimator>
impl Detail_Estimator for Ptr<dyn Detail_Estimator>
fn as_raw_mut_Detail_Estimator(&mut self) -> *mut c_void
source§impl Detail_EstimatorConst for Ptr<Detail_AffineBasedEstimator>
impl Detail_EstimatorConst for Ptr<Detail_AffineBasedEstimator>
fn as_raw_Detail_Estimator(&self) -> *const c_void
source§impl Detail_EstimatorConst for Ptr<Detail_BundleAdjusterAffine>
impl Detail_EstimatorConst for Ptr<Detail_BundleAdjusterAffine>
fn as_raw_Detail_Estimator(&self) -> *const c_void
source§impl Detail_EstimatorConst for Ptr<Detail_BundleAdjusterAffinePartial>
impl Detail_EstimatorConst for Ptr<Detail_BundleAdjusterAffinePartial>
fn as_raw_Detail_Estimator(&self) -> *const c_void
source§impl Detail_EstimatorConst for Ptr<Detail_BundleAdjusterRay>
impl Detail_EstimatorConst for Ptr<Detail_BundleAdjusterRay>
fn as_raw_Detail_Estimator(&self) -> *const c_void
source§impl Detail_EstimatorConst for Ptr<Detail_BundleAdjusterReproj>
impl Detail_EstimatorConst for Ptr<Detail_BundleAdjusterReproj>
fn as_raw_Detail_Estimator(&self) -> *const c_void
source§impl Detail_EstimatorConst for Ptr<Detail_HomographyBasedEstimator>
impl Detail_EstimatorConst for Ptr<Detail_HomographyBasedEstimator>
fn as_raw_Detail_Estimator(&self) -> *const c_void
source§impl Detail_EstimatorConst for Ptr<Detail_NoBundleAdjuster>
impl Detail_EstimatorConst for Ptr<Detail_NoBundleAdjuster>
fn as_raw_Detail_Estimator(&self) -> *const c_void
source§impl Detail_EstimatorConst for Ptr<dyn Detail_BundleAdjusterBase>
impl Detail_EstimatorConst for Ptr<dyn Detail_BundleAdjusterBase>
fn as_raw_Detail_Estimator(&self) -> *const c_void
source§impl Detail_EstimatorConst for Ptr<dyn Detail_Estimator>
impl Detail_EstimatorConst for Ptr<dyn Detail_Estimator>
fn as_raw_Detail_Estimator(&self) -> *const c_void
source§impl Detail_ExposureCompensator for Ptr<Detail_ChannelsCompensator>
impl Detail_ExposureCompensator for Ptr<Detail_ChannelsCompensator>
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<()>
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<()>
fn feed_1(
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>,
masks: &Vector<Tuple<(UMat, u8)>>
) -> Result<()>
Parameters Read more
source§fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
Compensate exposure in the specified image. Read more
fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>
fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>
fn set_update_gain(&mut self, b: bool) -> Result<()>
fn get_update_gain(&mut self) -> Result<bool>
source§impl Detail_ExposureCompensator for Ptr<Detail_GainCompensator>
impl Detail_ExposureCompensator for Ptr<Detail_GainCompensator>
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<()>
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<()>
fn feed_1(
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>,
masks: &Vector<Tuple<(UMat, u8)>>
) -> Result<()>
Parameters Read more
source§fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
Compensate exposure in the specified image. Read more
fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>
fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>
fn set_update_gain(&mut self, b: bool) -> Result<()>
fn get_update_gain(&mut self) -> Result<bool>
source§impl Detail_ExposureCompensator for Ptr<Detail_NoExposureCompensator>
impl Detail_ExposureCompensator for Ptr<Detail_NoExposureCompensator>
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<()>
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<()>
fn feed_1(
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>,
masks: &Vector<Tuple<(UMat, u8)>>
) -> Result<()>
Parameters Read more
source§fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
Compensate exposure in the specified image. Read more
fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>
fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>
fn set_update_gain(&mut self, b: bool) -> Result<()>
fn get_update_gain(&mut self) -> Result<bool>
source§impl Detail_ExposureCompensator for Ptr<dyn Detail_BlocksCompensator>
impl Detail_ExposureCompensator for Ptr<dyn Detail_BlocksCompensator>
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<()>
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<()>
fn feed_1(
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>,
masks: &Vector<Tuple<(UMat, u8)>>
) -> Result<()>
Parameters Read more
source§fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
Compensate exposure in the specified image. Read more
fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>
fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>
fn set_update_gain(&mut self, b: bool) -> Result<()>
fn get_update_gain(&mut self) -> Result<bool>
source§impl Detail_ExposureCompensator for Ptr<dyn Detail_ExposureCompensator>
impl Detail_ExposureCompensator for Ptr<dyn Detail_ExposureCompensator>
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<()>
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<()>
fn feed_1(
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>,
masks: &Vector<Tuple<(UMat, u8)>>
) -> Result<()>
Parameters Read more
source§fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
Compensate exposure in the specified image. Read more
fn get_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>
fn set_mat_gains(&mut self, unnamed: &mut Vector<Mat>) -> Result<()>
fn set_update_gain(&mut self, b: bool) -> Result<()>
fn get_update_gain(&mut self) -> Result<bool>
source§impl Detail_ExposureCompensatorConst for Ptr<Detail_ChannelsCompensator>
impl Detail_ExposureCompensatorConst for Ptr<Detail_ChannelsCompensator>
fn as_raw_Detail_ExposureCompensator(&self) -> *const c_void
source§impl Detail_ExposureCompensatorConst for Ptr<Detail_GainCompensator>
impl Detail_ExposureCompensatorConst for Ptr<Detail_GainCompensator>
fn as_raw_Detail_ExposureCompensator(&self) -> *const c_void
source§impl Detail_ExposureCompensatorConst for Ptr<Detail_NoExposureCompensator>
impl Detail_ExposureCompensatorConst for Ptr<Detail_NoExposureCompensator>
fn as_raw_Detail_ExposureCompensator(&self) -> *const c_void
source§impl Detail_ExposureCompensatorConst for Ptr<dyn Detail_BlocksCompensator>
impl Detail_ExposureCompensatorConst for Ptr<dyn Detail_BlocksCompensator>
fn as_raw_Detail_ExposureCompensator(&self) -> *const c_void
source§impl Detail_ExposureCompensatorConst for Ptr<dyn Detail_ExposureCompensator>
impl Detail_ExposureCompensatorConst for Ptr<dyn Detail_ExposureCompensator>
fn as_raw_Detail_ExposureCompensator(&self) -> *const c_void
source§impl Detail_FeatherBlenderTrait for Ptr<Detail_FeatherBlender>
impl Detail_FeatherBlenderTrait for Ptr<Detail_FeatherBlender>
fn as_raw_mut_Detail_FeatherBlender(&mut self) -> *mut c_void
fn set_sharpness(&mut self, val: f32) -> Result<()>
fn prepare(&mut self, dst_roi: Rect) -> Result<()>
fn feed(
&mut self,
img: &dyn ToInputArray,
mask: &dyn ToInputArray,
tl: Point
) -> Result<()>
fn blend(
&mut self,
dst: &mut dyn ToInputOutputArray,
dst_mask: &mut dyn ToInputOutputArray
) -> Result<()>
source§fn create_weight_maps(
&mut self,
masks: &Vector<UMat>,
corners: &Vector<Point>,
weight_maps: &mut Vector<UMat>
) -> Result<Rect>
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. Read more
source§impl Detail_FeaturesMatcher for Ptr<Detail_BestOf2NearestMatcher>
impl Detail_FeaturesMatcher for Ptr<Detail_BestOf2NearestMatcher>
fn as_raw_mut_Detail_FeaturesMatcher(&mut self) -> *mut c_void
source§fn collect_garbage(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Frees unused memory allocated before if there is any.
source§impl Detail_FeaturesMatcher for Ptr<dyn Detail_FeaturesMatcher>
impl Detail_FeaturesMatcher for Ptr<dyn Detail_FeaturesMatcher>
fn as_raw_mut_Detail_FeaturesMatcher(&mut self) -> *mut c_void
source§fn collect_garbage(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Frees unused memory allocated before if there is any.
source§impl Detail_FeaturesMatcherConst for Ptr<dyn Detail_FeaturesMatcher>
impl Detail_FeaturesMatcherConst for Ptr<dyn Detail_FeaturesMatcher>
source§impl Detail_GainCompensatorTrait for Ptr<Detail_GainCompensator>
impl Detail_GainCompensatorTrait for Ptr<Detail_GainCompensator>
fn as_raw_mut_Detail_GainCompensator(&mut self) -> *mut c_void
fn feed(
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>,
masks: &Vector<Tuple<(UMat, u8)>>
) -> Result<()>
fn single_feed(
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>,
masks: &Vector<Tuple<(UMat, u8)>>
) -> Result<()>
fn apply(
&mut self,
index: i32,
corner: Point,
image: &mut dyn ToInputOutputArray,
mask: &dyn ToInputArray
) -> Result<()>
fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>
fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>
fn set_nr_feeds(&mut self, nr_feeds: i32) -> Result<()>
fn get_nr_feeds(&mut self) -> Result<i32>
fn set_similarity_threshold(&mut self, similarity_threshold: f64) -> Result<()>
fn prepare_similarity_mask(
&mut self,
corners: &Vector<Point>,
images: &Vector<UMat>
) -> Result<()>
source§impl Detail_GraphCutSeamFinderBaseTrait for Ptr<Detail_GraphCutSeamFinder>
impl Detail_GraphCutSeamFinderBaseTrait for Ptr<Detail_GraphCutSeamFinder>
fn as_raw_mut_Detail_GraphCutSeamFinderBase(&mut self) -> *mut c_void
source§impl Detail_GraphCutSeamFinderBaseTraitConst for Ptr<Detail_GraphCutSeamFinder>
impl Detail_GraphCutSeamFinderBaseTraitConst for Ptr<Detail_GraphCutSeamFinder>
fn as_raw_Detail_GraphCutSeamFinderBase(&self) -> *const c_void
source§impl Detail_GraphCutSeamFinderTraitConst for Ptr<Detail_GraphCutSeamFinder>
impl Detail_GraphCutSeamFinderTraitConst for Ptr<Detail_GraphCutSeamFinder>
fn as_raw_Detail_GraphCutSeamFinder(&self) -> *const c_void
source§impl Detail_HomographyBasedEstimatorTrait for Ptr<Detail_HomographyBasedEstimator>
impl Detail_HomographyBasedEstimatorTrait for Ptr<Detail_HomographyBasedEstimator>
fn as_raw_mut_Detail_HomographyBasedEstimator(&mut self) -> *mut c_void
source§impl Detail_HomographyBasedEstimatorTraitConst for Ptr<Detail_HomographyBasedEstimator>
impl Detail_HomographyBasedEstimatorTraitConst for Ptr<Detail_HomographyBasedEstimator>
fn as_raw_Detail_HomographyBasedEstimator(&self) -> *const c_void
source§impl Detail_MultiBandBlenderTrait for Ptr<Detail_MultiBandBlender>
impl Detail_MultiBandBlenderTrait for Ptr<Detail_MultiBandBlender>
fn as_raw_mut_Detail_MultiBandBlender(&mut self) -> *mut c_void
fn set_num_bands(&mut self, val: i32) -> Result<()>
fn prepare(&mut self, dst_roi: Rect) -> Result<()>
fn feed(
&mut self,
img: &dyn ToInputArray,
mask: &dyn ToInputArray,
tl: Point
) -> Result<()>
fn blend(
&mut self,
dst: &mut dyn ToInputOutputArray,
dst_mask: &mut dyn ToInputOutputArray
) -> Result<()>
source§impl Detail_NoBundleAdjusterTrait for Ptr<Detail_NoBundleAdjuster>
impl Detail_NoBundleAdjusterTrait for Ptr<Detail_NoBundleAdjuster>
fn as_raw_mut_Detail_NoBundleAdjuster(&mut self) -> *mut c_void
source§impl Detail_NoBundleAdjusterTraitConst for Ptr<Detail_NoBundleAdjuster>
impl Detail_NoBundleAdjusterTraitConst for Ptr<Detail_NoBundleAdjuster>
fn as_raw_Detail_NoBundleAdjuster(&self) -> *const c_void
source§impl Detail_NoExposureCompensatorTrait for Ptr<Detail_NoExposureCompensator>
impl Detail_NoExposureCompensatorTrait for Ptr<Detail_NoExposureCompensator>
fn as_raw_mut_Detail_NoExposureCompensator(&mut self) -> *mut c_void
fn feed(
&mut self,
unnamed: &Vector<Point>,
unnamed_1: &Vector<UMat>,
unnamed_2: &Vector<Tuple<(UMat, u8)>>
) -> Result<()>
fn apply(
&mut self,
unnamed: i32,
unnamed_1: Point,
unnamed_2: &mut dyn ToInputOutputArray,
unnamed_3: &dyn ToInputArray
) -> Result<()>
fn get_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>
fn set_mat_gains(&mut self, umv: &mut Vector<Mat>) -> Result<()>
source§impl Detail_NoExposureCompensatorTraitConst for Ptr<Detail_NoExposureCompensator>
impl Detail_NoExposureCompensatorTraitConst for Ptr<Detail_NoExposureCompensator>
fn as_raw_Detail_NoExposureCompensator(&self) -> *const c_void
source§impl Detail_NoSeamFinderTraitConst for Ptr<Detail_NoSeamFinder>
impl Detail_NoSeamFinderTraitConst for Ptr<Detail_NoSeamFinder>
fn as_raw_Detail_NoSeamFinder(&self) -> *const c_void
source§impl Detail_PairwiseSeamFinder for Ptr<dyn Detail_PairwiseSeamFinder>
impl Detail_PairwiseSeamFinder for Ptr<dyn Detail_PairwiseSeamFinder>
source§impl Detail_PairwiseSeamFinderConst for Ptr<dyn Detail_PairwiseSeamFinder>
impl Detail_PairwiseSeamFinderConst for Ptr<dyn Detail_PairwiseSeamFinder>
fn as_raw_Detail_PairwiseSeamFinder(&self) -> *const c_void
source§impl Detail_RotationWarper for Ptr<dyn Detail_RotationWarper>
impl Detail_RotationWarper for Ptr<dyn Detail_RotationWarper>
fn as_raw_mut_Detail_RotationWarper(&mut self) -> *mut c_void
source§fn warp_point(
&mut self,
pt: Point2f,
k: &dyn ToInputArray,
r: &dyn ToInputArray
) -> Result<Point2f>
fn warp_point(
&mut self,
pt: Point2f,
k: &dyn ToInputArray,
r: &dyn ToInputArray
) -> Result<Point2f>
Projects the image point. Read more
fn warp_point_backward(
&mut self,
pt: Point2f,
k: &dyn ToInputArray,
r: &dyn ToInputArray
) -> Result<Point2f>
source§fn build_maps(
&mut self,
src_size: Size,
k: &dyn ToInputArray,
r: &dyn ToInputArray,
xmap: &mut dyn ToOutputArray,
ymap: &mut dyn ToOutputArray
) -> Result<Rect>
fn build_maps(
&mut self,
src_size: Size,
k: &dyn ToInputArray,
r: &dyn ToInputArray,
xmap: &mut dyn ToOutputArray,
ymap: &mut dyn ToOutputArray
) -> Result<Rect>
Builds the projection maps according to the given camera data. Read more
source§fn warp(
&mut self,
src: &dyn ToInputArray,
k: &dyn ToInputArray,
r: &dyn ToInputArray,
interp_mode: i32,
border_mode: i32,
dst: &mut dyn ToOutputArray
) -> Result<Point>
fn warp(
&mut self,
src: &dyn ToInputArray,
k: &dyn ToInputArray,
r: &dyn ToInputArray,
interp_mode: i32,
border_mode: i32,
dst: &mut dyn ToOutputArray
) -> Result<Point>
Projects the image. Read more
source§fn warp_backward(
&mut self,
src: &dyn ToInputArray,
k: &dyn ToInputArray,
r: &dyn ToInputArray,
interp_mode: i32,
border_mode: i32,
dst_size: Size,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn warp_backward(
&mut self,
src: &dyn ToInputArray,
k: &dyn ToInputArray,
r: &dyn ToInputArray,
interp_mode: i32,
border_mode: i32,
dst_size: Size,
dst: &mut dyn ToOutputArray
) -> Result<()>
Projects the image backward. Read more
source§fn warp_roi(
&mut self,
src_size: Size,
k: &dyn ToInputArray,
r: &dyn ToInputArray
) -> Result<Rect>
fn warp_roi(
&mut self,
src_size: Size,
k: &dyn ToInputArray,
r: &dyn ToInputArray
) -> Result<Rect>
Parameters Read more
fn set_scale(&mut self, unnamed: f32) -> Result<()>
source§impl Detail_RotationWarperConst for Ptr<dyn Detail_RotationWarper>
impl Detail_RotationWarperConst for Ptr<dyn Detail_RotationWarper>
source§impl Detail_SeamFinder for Ptr<Detail_DpSeamFinder>
impl Detail_SeamFinder for Ptr<Detail_DpSeamFinder>
source§impl Detail_SeamFinder for Ptr<Detail_NoSeamFinder>
impl Detail_SeamFinder for Ptr<Detail_NoSeamFinder>
source§impl Detail_SeamFinder for Ptr<dyn Detail_PairwiseSeamFinder>
impl Detail_SeamFinder for Ptr<dyn Detail_PairwiseSeamFinder>
source§impl Detail_SeamFinder for Ptr<dyn Detail_SeamFinder>
impl Detail_SeamFinder for Ptr<dyn Detail_SeamFinder>
source§impl Detail_SeamFinderConst for Ptr<Detail_DpSeamFinder>
impl Detail_SeamFinderConst for Ptr<Detail_DpSeamFinder>
fn as_raw_Detail_SeamFinder(&self) -> *const c_void
source§impl Detail_SeamFinderConst for Ptr<Detail_GraphCutSeamFinder>
impl Detail_SeamFinderConst for Ptr<Detail_GraphCutSeamFinder>
fn as_raw_Detail_SeamFinder(&self) -> *const c_void
source§impl Detail_SeamFinderConst for Ptr<Detail_NoSeamFinder>
impl Detail_SeamFinderConst for Ptr<Detail_NoSeamFinder>
fn as_raw_Detail_SeamFinder(&self) -> *const c_void
source§impl Detail_SeamFinderConst for Ptr<dyn Detail_PairwiseSeamFinder>
impl Detail_SeamFinderConst for Ptr<dyn Detail_PairwiseSeamFinder>
fn as_raw_Detail_SeamFinder(&self) -> *const c_void
source§impl Detail_SeamFinderConst for Ptr<dyn Detail_SeamFinder>
impl Detail_SeamFinderConst for Ptr<dyn Detail_SeamFinder>
fn as_raw_Detail_SeamFinder(&self) -> *const c_void
source§impl DetectionBasedTracker_IDetector for Ptr<dyn DetectionBasedTracker_IDetector>
impl DetectionBasedTracker_IDetector for Ptr<dyn DetectionBasedTracker_IDetector>
fn as_raw_mut_DetectionBasedTracker_IDetector(&mut self) -> *mut c_void
fn detect(&mut self, image: &Mat, objects: &mut Vector<Rect>) -> Result<()>
fn set_min_object_size(&mut self, min: Size) -> Result<()>
fn set_max_object_size(&mut self, max: Size) -> Result<()>
fn get_scale_factor(&mut self) -> Result<f32>
fn set_scale_factor(&mut self, value: f32) -> Result<()>
fn get_min_neighbours(&mut self) -> Result<i32>
fn set_min_neighbours(&mut self, value: i32) -> Result<()>
source§impl DetectionBasedTracker_IDetectorConst for Ptr<dyn DetectionBasedTracker_IDetector>
impl DetectionBasedTracker_IDetectorConst for Ptr<dyn DetectionBasedTracker_IDetector>
fn as_raw_DetectionBasedTracker_IDetector(&self) -> *const c_void
fn get_min_object_size(&self) -> Result<Size>
fn get_max_object_size(&self) -> Result<Size>
source§impl DetectionOutputLayerTrait for Ptr<DetectionOutputLayer>
impl DetectionOutputLayerTrait for Ptr<DetectionOutputLayer>
fn as_raw_mut_DetectionOutputLayer(&mut self) -> *mut c_void
source§impl DetectionOutputLayerTraitConst for Ptr<DetectionOutputLayer>
impl DetectionOutputLayerTraitConst for Ptr<DetectionOutputLayer>
fn as_raw_DetectionOutputLayer(&self) -> *const c_void
source§impl DetectorParametersTrait for Ptr<DetectorParameters>
impl DetectorParametersTrait for Ptr<DetectorParameters>
fn as_raw_mut_DetectorParameters(&mut self) -> *mut c_void
fn set_adaptive_thresh_win_size_min(&mut self, val: i32)
fn set_adaptive_thresh_win_size_max(&mut self, val: i32)
fn set_adaptive_thresh_win_size_step(&mut self, val: i32)
fn set_adaptive_thresh_constant(&mut self, val: f64)
fn set_min_marker_perimeter_rate(&mut self, val: f64)
fn set_max_marker_perimeter_rate(&mut self, val: f64)
fn set_polygonal_approx_accuracy_rate(&mut self, val: f64)
fn set_min_corner_distance_rate(&mut self, val: f64)
fn set_min_distance_to_border(&mut self, val: i32)
fn set_min_marker_distance_rate(&mut self, val: f64)
fn set_corner_refinement_method(&mut self, val: i32)
fn set_corner_refinement_win_size(&mut self, val: i32)
fn set_corner_refinement_max_iterations(&mut self, val: i32)
fn set_corner_refinement_min_accuracy(&mut self, val: f64)
fn set_marker_border_bits(&mut self, val: i32)
fn set_perspective_remove_pixel_per_cell(&mut self, val: i32)
fn set_perspective_remove_ignored_margin_per_cell(&mut self, val: f64)
fn set_max_erroneous_bits_in_border_rate(&mut self, val: f64)
fn set_min_otsu_std_dev(&mut self, val: f64)
fn set_error_correction_rate(&mut self, val: f64)
fn set_april_tag_quad_decimate(&mut self, val: f32)
fn set_april_tag_quad_sigma(&mut self, val: f32)
fn set_april_tag_min_cluster_pixels(&mut self, val: i32)
fn set_april_tag_max_nmaxima(&mut self, val: i32)
fn set_april_tag_critical_rad(&mut self, val: f32)
fn set_april_tag_max_line_fit_mse(&mut self, val: f32)
fn set_april_tag_min_white_black_diff(&mut self, val: i32)
fn set_april_tag_deglitch(&mut self, val: i32)
fn set_detect_inverted_marker(&mut self, val: bool)
fn set_use_aruco3_detection(&mut self, val: bool)
fn set_min_side_length_canonical_img(&mut self, val: i32)
fn set_min_marker_length_ratio_original_img(&mut self, val: f32)
fn read_detector_parameters(&mut self, fn_: &FileNode) -> Result<bool>
source§impl DetectorParametersTraitConst for Ptr<DetectorParameters>
impl DetectorParametersTraitConst for Ptr<DetectorParameters>
fn as_raw_DetectorParameters(&self) -> *const c_void
fn adaptive_thresh_win_size_min(&self) -> i32
fn adaptive_thresh_win_size_max(&self) -> i32
fn adaptive_thresh_win_size_step(&self) -> i32
fn adaptive_thresh_constant(&self) -> f64
fn min_marker_perimeter_rate(&self) -> f64
fn max_marker_perimeter_rate(&self) -> f64
fn polygonal_approx_accuracy_rate(&self) -> f64
fn min_corner_distance_rate(&self) -> f64
fn min_distance_to_border(&self) -> i32
fn min_marker_distance_rate(&self) -> f64
fn corner_refinement_method(&self) -> i32
fn corner_refinement_win_size(&self) -> i32
fn corner_refinement_max_iterations(&self) -> i32
fn corner_refinement_min_accuracy(&self) -> f64
fn marker_border_bits(&self) -> i32
fn perspective_remove_pixel_per_cell(&self) -> i32
fn perspective_remove_ignored_margin_per_cell(&self) -> f64
fn max_erroneous_bits_in_border_rate(&self) -> f64
fn min_otsu_std_dev(&self) -> f64
fn error_correction_rate(&self) -> f64
fn april_tag_quad_decimate(&self) -> f32
fn april_tag_quad_sigma(&self) -> f32
fn april_tag_min_cluster_pixels(&self) -> i32
fn april_tag_max_nmaxima(&self) -> i32
fn april_tag_critical_rad(&self) -> f32
fn april_tag_max_line_fit_mse(&self) -> f32
fn april_tag_min_white_black_diff(&self) -> i32
fn april_tag_deglitch(&self) -> i32
fn detect_inverted_marker(&self) -> bool
fn use_aruco3_detection(&self) -> bool
fn min_side_length_canonical_img(&self) -> i32
fn min_marker_length_ratio_original_img(&self) -> f32
source§impl DictionaryTrait for Ptr<Dictionary>
impl DictionaryTrait for Ptr<Dictionary>
fn as_raw_mut_Dictionary(&mut self) -> *mut c_void
fn set_bytes_list(&mut self, val: Mat)
fn set_marker_size(&mut self, val: i32)
fn set_max_correction_bits(&mut self, val: i32)
source§fn read_dictionary(&mut self, fn_: &FileNode) -> Result<bool>
fn read_dictionary(&mut self, fn_: &FileNode) -> Result<bool>
Read a new dictionary from FileNode. Format: Read more
source§fn write_dictionary(&mut self, fs: &mut Ptr<FileStorage>) -> Result<()>
fn write_dictionary(&mut self, fs: &mut Ptr<FileStorage>) -> Result<()>
Write a dictionary to FileStorage. Format is the same as in readDictionary().
source§impl DictionaryTraitConst for Ptr<Dictionary>
impl DictionaryTraitConst for Ptr<Dictionary>
fn as_raw_Dictionary(&self) -> *const c_void
fn bytes_list(&self) -> Mat
fn marker_size(&self) -> i32
fn max_correction_bits(&self) -> i32
source§fn identify(
&self,
only_bits: &Mat,
idx: &mut i32,
rotation: &mut i32,
max_correction_rate: f64
) -> Result<bool>
fn identify(
&self,
only_bits: &Mat,
idx: &mut i32,
rotation: &mut i32,
max_correction_rate: f64
) -> Result<bool>
Given a matrix of bits. Returns whether if marker is identified or not.
It returns by reference the correct id (if any) and the correct rotation Read more
source§fn get_distance_to_id(
&self,
bits: &dyn ToInputArray,
id: i32,
all_rotations: bool
) -> Result<i32>
fn get_distance_to_id(
&self,
bits: &dyn ToInputArray,
id: i32,
all_rotations: bool
) -> Result<i32>
Returns the distance of the input bits to the specific id. If allRotations is true,
the four posible bits rotation are considered Read more
source§fn draw_marker(
&self,
id: i32,
side_pixels: i32,
_img: &mut dyn ToOutputArray,
border_bits: i32
) -> Result<()>
fn draw_marker(
&self,
id: i32,
side_pixels: i32,
_img: &mut dyn ToOutputArray,
border_bits: i32
) -> Result<()>
Draw a canonical marker image Read more
source§impl DisparityFilter for Ptr<dyn DisparityWLSFilter>
impl DisparityFilter for Ptr<dyn DisparityWLSFilter>
fn as_raw_mut_DisparityFilter(&mut self) -> *mut c_void
source§fn filter(
&mut self,
disparity_map_left: &dyn ToInputArray,
left_view: &dyn ToInputArray,
filtered_disparity_map: &mut dyn ToOutputArray,
disparity_map_right: &dyn ToInputArray,
roi: Rect,
right_view: &dyn ToInputArray
) -> Result<()>
fn filter(
&mut self,
disparity_map_left: &dyn ToInputArray,
left_view: &dyn ToInputArray,
filtered_disparity_map: &mut dyn ToOutputArray,
disparity_map_right: &dyn ToInputArray,
roi: Rect,
right_view: &dyn ToInputArray
) -> Result<()>
Apply filtering to the disparity map. Read more
source§impl DisparityFilterConst for Ptr<dyn DisparityWLSFilter>
impl DisparityFilterConst for Ptr<dyn DisparityWLSFilter>
fn as_raw_DisparityFilter(&self) -> *const c_void
source§impl DisparityWLSFilter for Ptr<dyn DisparityWLSFilter>
impl DisparityWLSFilter for Ptr<dyn DisparityWLSFilter>
fn as_raw_mut_DisparityWLSFilter(&mut self) -> *mut c_void
source§fn get_lambda(&mut self) -> Result<f64>
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. Read more
source§fn get_sigma_color(&mut self) -> Result<f64>
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. Read more
source§fn get_lr_cthresh(&mut self) -> Result<i32>
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. Read more
source§fn get_depth_discontinuity_radius(&mut self) -> Result<i32>
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. Read more
source§fn set_depth_discontinuity_radius(&mut self, _disc_radius: i32) -> Result<()>
fn set_depth_discontinuity_radius(&mut self, _disc_radius: i32) -> Result<()>
See also Read more
source§fn get_confidence_map(&mut self) -> Result<Mat>
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). Read more
source§impl DisparityWLSFilterConst for Ptr<dyn DisparityWLSFilter>
impl DisparityWLSFilterConst for Ptr<dyn DisparityWLSFilter>
fn as_raw_DisparityWLSFilter(&self) -> *const c_void
source§impl DnnSuperResImplTrait for Ptr<DnnSuperResImpl>
impl DnnSuperResImplTrait for Ptr<DnnSuperResImpl>
fn as_raw_mut_DnnSuperResImpl(&mut self) -> *mut c_void
source§fn read_model(&mut self, path: &str) -> Result<()>
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<()>
fn read_model_1(&mut self, weights: &str, definition: &str) -> Result<()>
Read the model from the given path Read more
source§fn upsample(
&mut self,
img: &dyn ToInputArray,
result: &mut dyn ToOutputArray
) -> Result<()>
fn upsample(
&mut self,
img: &dyn ToInputArray,
result: &mut dyn ToOutputArray
) -> Result<()>
Upsample via neural network Read more
source§impl DnnSuperResImplTraitConst for Ptr<DnnSuperResImpl>
impl DnnSuperResImplTraitConst for Ptr<DnnSuperResImpl>
fn as_raw_DnnSuperResImpl(&self) -> *const c_void
source§impl DownhillSolver for Ptr<dyn DownhillSolver>
impl DownhillSolver for Ptr<dyn DownhillSolver>
fn as_raw_mut_DownhillSolver(&mut self) -> *mut c_void
source§fn set_init_step(&mut self, step: &dyn ToInputArray) -> Result<()>
fn set_init_step(&mut self, step: &dyn ToInputArray) -> Result<()>
Sets the initial step that will be used in downhill simplex algorithm. Read more
source§impl DownhillSolverConst for Ptr<dyn DownhillSolver>
impl DownhillSolverConst for Ptr<dyn DownhillSolver>
fn as_raw_DownhillSolver(&self) -> *const c_void
source§fn get_init_step(&self, step: &mut dyn ToOutputArray) -> Result<()>
fn get_init_step(&self, step: &mut dyn ToOutputArray) -> Result<()>
Returns the initial step that will be used in downhill simplex algorithm. Read more
source§impl DualTVL1OpticalFlow for Ptr<dyn DualTVL1OpticalFlow>
impl DualTVL1OpticalFlow for Ptr<dyn DualTVL1OpticalFlow>
fn as_raw_mut_DualTVL1OpticalFlow(&mut self) -> *mut c_void
source§fn set_lambda(&mut self, val: f64) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
fn set_inner_iterations(&mut self, val: i32) -> Result<()>
Inner iterations (between outlier filtering) used in the numerical scheme Read more
source§impl DualTVL1OpticalFlowConst for Ptr<dyn DualTVL1OpticalFlow>
impl DualTVL1OpticalFlowConst for Ptr<dyn DualTVL1OpticalFlow>
fn as_raw_DualTVL1OpticalFlow(&self) -> *const c_void
source§fn get_lambda(&self) -> Result<f64>
fn get_lambda(&self) -> Result<f64>
Weight parameter for the data term, attachment parameter Read more
source§fn get_theta(&self) -> Result<f64>
fn get_theta(&self) -> Result<f64>
Weight parameter for (u - v)^2, tightness parameter Read more
source§fn get_gamma(&self) -> Result<f64>
fn get_gamma(&self) -> Result<f64>
coefficient for additional illumination variation term Read more
source§fn get_scales_number(&self) -> Result<i32>
fn get_scales_number(&self) -> Result<i32>
Number of scales used to create the pyramid of images Read more
source§fn get_epsilon(&self) -> Result<f64>
fn get_epsilon(&self) -> Result<f64>
Stopping criterion threshold used in the numerical scheme, which is a trade-off between precision and running time Read more
source§fn get_inner_iterations(&self) -> Result<i32>
fn get_inner_iterations(&self) -> Result<i32>
Inner iterations (between outlier filtering) used in the numerical scheme Read more
source§impl Dynafu_DynaFu for Ptr<dyn Dynafu_DynaFu>
impl Dynafu_DynaFu for Ptr<dyn Dynafu_DynaFu>
fn as_raw_mut_Dynafu_DynaFu(&mut self) -> *mut c_void
source§fn update(&mut self, depth: &dyn ToInputArray) -> Result<bool>
fn update(&mut self, depth: &dyn ToInputArray) -> Result<bool>
Process next depth frame Read more
source§fn render_surface(
&mut self,
depth_image: &mut dyn ToOutputArray,
vert_image: &mut dyn ToOutputArray,
norm_image: &mut dyn ToOutputArray,
warp: bool
) -> Result<()>
fn render_surface(
&mut self,
depth_image: &mut dyn ToOutputArray,
vert_image: &mut dyn ToOutputArray,
norm_image: &mut dyn ToOutputArray,
warp: bool
) -> Result<()>
C++ default parameters Read more
source§impl Dynafu_DynaFuConst for Ptr<dyn Dynafu_DynaFu>
impl Dynafu_DynaFuConst for Ptr<dyn Dynafu_DynaFu>
fn as_raw_Dynafu_DynaFu(&self) -> *const c_void
source§fn get_params(&self) -> Result<Kinfu_Params>
fn get_params(&self) -> Result<Kinfu_Params>
Get current parameters
source§fn render(
&self,
image: &mut dyn ToOutputArray,
camera_pose: Matx44f
) -> Result<()>
fn render(
&self,
image: &mut dyn ToOutputArray,
camera_pose: Matx44f
) -> Result<()>
Renders a volume into an image Read more
source§fn get_cloud(
&self,
points: &mut dyn ToOutputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
fn get_cloud(
&self,
points: &mut dyn ToOutputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
Gets points and normals of current 3d mesh Read more
source§fn get_points(&self, points: &mut dyn ToOutputArray) -> Result<()>
fn get_points(&self, points: &mut dyn ToOutputArray) -> Result<()>
Gets points of current 3d mesh Read more
source§fn get_normals(
&self,
points: &dyn ToInputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
fn get_normals(
&self,
points: &dyn ToInputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
Calculates normals for given points Read more
fn get_nodes_pos(&self) -> Result<Vector<Point3f>>
fn march_cubes(
&self,
vertices: &mut dyn ToOutputArray,
edges: &mut dyn ToOutputArray
) -> Result<()>
source§impl ELULayerTrait for Ptr<ELULayer>
impl ELULayerTrait for Ptr<ELULayer>
source§impl ELULayerTraitConst for Ptr<ELULayer>
impl ELULayerTraitConst for Ptr<ELULayer>
source§impl EM for Ptr<dyn EM>
impl EM for Ptr<dyn EM>
fn as_raw_mut_EM(&mut self) -> *mut c_void
source§fn set_clusters_number(&mut self, val: i32) -> Result<()>
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<()>
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<()>
fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>
The termination criteria of the %EM algorithm.
The %EM algorithm can be terminated by the number of iterations termCrit.maxCount (number of
M-steps) or when relative change of likelihood logarithm is less than termCrit.epsilon. Default
maximum number of iterations is EM::DEFAULT_MAX_ITERS=100. Read more
source§fn train_em(
&mut self,
samples: &dyn ToInputArray,
log_likelihoods: &mut dyn ToOutputArray,
labels: &mut dyn ToOutputArray,
probs: &mut dyn ToOutputArray
) -> Result<bool>
fn train_em(
&mut self,
samples: &dyn ToInputArray,
log_likelihoods: &mut dyn ToOutputArray,
labels: &mut dyn ToOutputArray,
probs: &mut dyn ToOutputArray
) -> Result<bool>
Estimate the Gaussian mixture parameters from a samples set. Read more
source§fn train_e(
&mut self,
samples: &dyn ToInputArray,
means0: &dyn ToInputArray,
covs0: &dyn ToInputArray,
weights0: &dyn ToInputArray,
log_likelihoods: &mut dyn ToOutputArray,
labels: &mut dyn ToOutputArray,
probs: &mut dyn ToOutputArray
) -> Result<bool>
fn train_e(
&mut self,
samples: &dyn ToInputArray,
means0: &dyn ToInputArray,
covs0: &dyn ToInputArray,
weights0: &dyn ToInputArray,
log_likelihoods: &mut dyn ToOutputArray,
labels: &mut dyn ToOutputArray,
probs: &mut dyn ToOutputArray
) -> Result<bool>
Estimate the Gaussian mixture parameters from a samples set. Read more
source§fn train_m(
&mut self,
samples: &dyn ToInputArray,
probs0: &dyn ToInputArray,
log_likelihoods: &mut dyn ToOutputArray,
labels: &mut dyn ToOutputArray,
probs: &mut dyn ToOutputArray
) -> Result<bool>
fn train_m(
&mut self,
samples: &dyn ToInputArray,
probs0: &dyn ToInputArray,
log_likelihoods: &mut dyn ToOutputArray,
labels: &mut dyn ToOutputArray,
probs: &mut dyn ToOutputArray
) -> Result<bool>
Estimate the Gaussian mixture parameters from a samples set. Read more
source§impl EMConst for Ptr<dyn EM>
impl EMConst for Ptr<dyn EM>
fn as_raw_EM(&self) -> *const c_void
source§fn get_clusters_number(&self) -> Result<i32>
fn get_clusters_number(&self) -> Result<i32>
The number of mixture components in the Gaussian mixture model.
Default value of the parameter is EM::DEFAULT_NCLUSTERS=5. Some of %EM implementation could
determine the optimal number of mixtures within a specified value range, but that is not the
case in ML yet. Read more
source§fn get_covariance_matrix_type(&self) -> Result<i32>
fn get_covariance_matrix_type(&self) -> Result<i32>
Constraint on covariance matrices which defines type of matrices.
See EM::Types. Read more
source§fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_term_criteria(&self) -> Result<TermCriteria>
The termination criteria of the %EM algorithm.
The %EM algorithm can be terminated by the number of iterations termCrit.maxCount (number of
M-steps) or when relative change of likelihood logarithm is less than termCrit.epsilon. Default
maximum number of iterations is EM::DEFAULT_MAX_ITERS=100. Read more
source§fn get_means(&self) -> Result<Mat>
fn get_means(&self) -> Result<Mat>
Returns the cluster centers (means of the Gaussian mixture) Read more
source§fn get_covs(&self, covs: &mut Vector<Mat>) -> Result<()>
fn get_covs(&self, covs: &mut Vector<Mat>) -> Result<()>
Returns covariation matrices Read more
source§fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Returns posterior probabilities for the provided samples Read more
source§fn predict2(
&self,
sample: &dyn ToInputArray,
probs: &mut dyn ToOutputArray
) -> Result<Vec2d>
fn predict2(
&self,
sample: &dyn ToInputArray,
probs: &mut dyn ToOutputArray
) -> Result<Vec2d>
Returns a likelihood logarithm value and an index of the most probable mixture component
for the given sample. Read more
source§impl EMDHistogramCostExtractor for Ptr<dyn EMDHistogramCostExtractor>
impl EMDHistogramCostExtractor for Ptr<dyn EMDHistogramCostExtractor>
source§impl EMDHistogramCostExtractorConst for Ptr<dyn EMDHistogramCostExtractor>
impl EMDHistogramCostExtractorConst for Ptr<dyn EMDHistogramCostExtractor>
fn as_raw_EMDHistogramCostExtractor(&self) -> *const c_void
fn get_norm_flag(&self) -> Result<i32>
source§impl EMDL1HistogramCostExtractor for Ptr<dyn EMDL1HistogramCostExtractor>
impl EMDL1HistogramCostExtractor for Ptr<dyn EMDL1HistogramCostExtractor>
fn as_raw_mut_EMDL1HistogramCostExtractor(&mut self) -> *mut c_void
source§impl EMDL1HistogramCostExtractorConst for Ptr<dyn EMDL1HistogramCostExtractor>
impl EMDL1HistogramCostExtractorConst for Ptr<dyn EMDL1HistogramCostExtractor>
fn as_raw_EMDL1HistogramCostExtractor(&self) -> *const c_void
source§impl ERFilter for Ptr<dyn ERFilter>
impl ERFilter for Ptr<dyn ERFilter>
fn as_raw_mut_ERFilter(&mut self) -> *mut c_void
source§fn run(
&mut self,
image: &dyn ToInputArray,
regions: &mut Vector<ERStat>
) -> Result<()>
fn run(
&mut self,
image: &dyn ToInputArray,
regions: &mut Vector<ERStat>
) -> Result<()>
The key method of ERFilter algorithm. Read more
source§fn set_callback(&mut self, cb: &Ptr<dyn ERFilter_Callback>) -> Result<()>
fn set_callback(&mut self, cb: &Ptr<dyn ERFilter_Callback>) -> Result<()>
set/get methods to set the algorithm properties,
fn set_threshold_delta(&mut self, threshold_delta: i32) -> Result<()>
fn set_min_area(&mut self, min_area: f32) -> Result<()>
fn set_max_area(&mut self, max_area: f32) -> Result<()>
fn set_min_probability(&mut self, min_probability: f32) -> Result<()>
fn set_min_probability_diff(&mut self, min_probability_diff: f32) -> Result<()>
fn set_non_max_suppression(&mut self, non_max_suppression: bool) -> Result<()>
source§impl ERFilterConst for Ptr<dyn ERFilter>
impl ERFilterConst for Ptr<dyn ERFilter>
fn as_raw_ERFilter(&self) -> *const c_void
fn get_num_rejected(&self) -> Result<i32>
source§impl ERFilter_Callback for Ptr<dyn ERFilter_Callback>
impl ERFilter_Callback for Ptr<dyn ERFilter_Callback>
source§impl ERFilter_CallbackConst for Ptr<dyn ERFilter_Callback>
impl ERFilter_CallbackConst for Ptr<dyn ERFilter_Callback>
fn as_raw_ERFilter_Callback(&self) -> *const c_void
source§impl EdgeAwareInterpolator for Ptr<dyn EdgeAwareInterpolator>
impl EdgeAwareInterpolator for Ptr<dyn EdgeAwareInterpolator>
fn as_raw_mut_EdgeAwareInterpolator(&mut self) -> *mut c_void
source§fn set_cost_map(&mut self, _cost_map: &Mat) -> Result<()>
fn set_cost_map(&mut self, _cost_map: &Mat) -> Result<()>
Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term.
This implementation is based on a rather simple gradient-based edge map estimation.
To used more complex edge map estimator (e.g. StructuredEdgeDetection that has been
used in the original publication) that may lead to improved accuracies, the internal
edge map estimation can be bypassed here. Read more
source§fn set_k(&mut self, _k: i32) -> Result<()>
fn set_k(&mut self, _k: i32) -> Result<()>
Parameter to tune the approximate size of the superpixel used for oversegmentation. Read more
source§fn set_sigma(&mut self, _sigma: f32) -> Result<()>
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. Read more
source§fn set_lambda(&mut self, _lambda: f32) -> Result<()>
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. Read more
source§fn set_use_post_processing(&mut self, _use_post_proc: bool) -> Result<()>
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. Read more
source§impl EdgeAwareInterpolatorConst for Ptr<dyn EdgeAwareInterpolator>
impl EdgeAwareInterpolatorConst for Ptr<dyn EdgeAwareInterpolator>
fn as_raw_EdgeAwareInterpolator(&self) -> *const c_void
source§impl EdgeBoxes for Ptr<dyn EdgeBoxes>
impl EdgeBoxes for Ptr<dyn EdgeBoxes>
fn as_raw_mut_EdgeBoxes(&mut self) -> *mut c_void
source§fn get_bounding_boxes(
&mut self,
edge_map: &dyn ToInputArray,
orientation_map: &dyn ToInputArray,
boxes: &mut Vector<Rect>,
scores: &mut dyn ToOutputArray
) -> Result<()>
fn get_bounding_boxes(
&mut self,
edge_map: &dyn ToInputArray,
orientation_map: &dyn ToInputArray,
boxes: &mut Vector<Rect>,
scores: &mut dyn ToOutputArray
) -> Result<()>
Returns array containing proposal boxes. Read more
source§fn set_alpha(&mut self, value: f32) -> Result<()>
fn set_alpha(&mut self, value: f32) -> Result<()>
Sets the step size of sliding window search.
source§impl EdgeBoxesConst for Ptr<dyn EdgeBoxes>
impl EdgeBoxesConst for Ptr<dyn EdgeBoxes>
fn as_raw_EdgeBoxes(&self) -> *const c_void
source§fn get_min_score(&self) -> Result<f32>
fn get_min_score(&self) -> Result<f32>
Returns the min score of boxes to detect.
source§fn get_max_boxes(&self) -> Result<i32>
fn get_max_boxes(&self) -> Result<i32>
Returns the max number of boxes to detect.
source§fn get_edge_min_mag(&self) -> Result<f32>
fn get_edge_min_mag(&self) -> Result<f32>
Returns the edge min magnitude.
source§fn get_edge_merge_thr(&self) -> Result<f32>
fn get_edge_merge_thr(&self) -> Result<f32>
Returns the edge merge threshold.
source§fn get_cluster_min_mag(&self) -> Result<f32>
fn get_cluster_min_mag(&self) -> Result<f32>
Returns the cluster min magnitude.
source§fn get_max_aspect_ratio(&self) -> Result<f32>
fn get_max_aspect_ratio(&self) -> Result<f32>
Returns the max aspect ratio of boxes.
source§fn get_min_box_area(&self) -> Result<f32>
fn get_min_box_area(&self) -> Result<f32>
Returns the minimum area of boxes.
source§impl EdgeDrawing for Ptr<dyn EdgeDrawing>
impl EdgeDrawing for Ptr<dyn EdgeDrawing>
fn as_raw_mut_EdgeDrawing(&mut self) -> *mut c_void
fn set_params(&mut self, val: EdgeDrawing_Params)
source§fn detect_edges(&mut self, src: &dyn ToInputArray) -> Result<()>
fn detect_edges(&mut self, src: &dyn ToInputArray) -> Result<()>
Detects edges in a grayscale image and prepares them to detect lines and ellipses. Read more
source§fn get_edge_image(&mut self, dst: &mut dyn ToOutputArray) -> Result<()>
fn get_edge_image(&mut self, dst: &mut dyn ToOutputArray) -> Result<()>
returns Edge Image prepared by detectEdges() function. Read more
source§fn get_gradient_image(&mut self, dst: &mut dyn ToOutputArray) -> Result<()>
fn get_gradient_image(&mut self, dst: &mut dyn ToOutputArray) -> Result<()>
returns Gradient Image prepared by detectEdges() function. Read more
source§fn get_segments(&mut self) -> Result<Vector<Vector<Point>>>
fn get_segments(&mut self) -> Result<Vector<Vector<Point>>>
Returns std::vector<std::vector> of detected edge segments, see detectEdges()
source§fn detect_lines(&mut self, lines: &mut dyn ToOutputArray) -> Result<()>
fn detect_lines(&mut self, lines: &mut dyn ToOutputArray) -> Result<()>
Detects lines. Read more
source§fn detect_ellipses(&mut self, ellipses: &mut dyn ToOutputArray) -> Result<()>
fn detect_ellipses(&mut self, ellipses: &mut dyn ToOutputArray) -> Result<()>
Detects circles and ellipses. Read more
source§fn set_params_1(&mut self, parameters: EdgeDrawing_Params) -> Result<()>
fn set_params_1(&mut self, parameters: EdgeDrawing_Params) -> Result<()>
sets parameters. Read more
source§impl EdgeDrawingConst for Ptr<dyn EdgeDrawing>
impl EdgeDrawingConst for Ptr<dyn EdgeDrawing>
fn as_raw_EdgeDrawing(&self) -> *const c_void
fn params(&self) -> EdgeDrawing_Params
source§impl EigenFaceRecognizer for Ptr<dyn EigenFaceRecognizer>
impl EigenFaceRecognizer for Ptr<dyn EigenFaceRecognizer>
fn as_raw_mut_EigenFaceRecognizer(&mut self) -> *mut c_void
source§impl EigenFaceRecognizerConst for Ptr<dyn EigenFaceRecognizer>
impl EigenFaceRecognizerConst for Ptr<dyn EigenFaceRecognizer>
fn as_raw_EigenFaceRecognizer(&self) -> *const c_void
source§impl EltwiseLayerInt8Trait for Ptr<EltwiseLayerInt8>
impl EltwiseLayerInt8Trait for Ptr<EltwiseLayerInt8>
fn as_raw_mut_EltwiseLayerInt8(&mut self) -> *mut c_void
source§impl EltwiseLayerInt8TraitConst for Ptr<EltwiseLayerInt8>
impl EltwiseLayerInt8TraitConst for Ptr<EltwiseLayerInt8>
fn as_raw_EltwiseLayerInt8(&self) -> *const c_void
source§impl EltwiseLayerTrait for Ptr<EltwiseLayer>
impl EltwiseLayerTrait for Ptr<EltwiseLayer>
fn as_raw_mut_EltwiseLayer(&mut self) -> *mut c_void
source§impl EltwiseLayerTraitConst for Ptr<EltwiseLayer>
impl EltwiseLayerTraitConst for Ptr<EltwiseLayer>
fn as_raw_EltwiseLayer(&self) -> *const c_void
source§impl EncoderCallBack for Ptr<dyn EncoderCallBack>
impl EncoderCallBack for Ptr<dyn EncoderCallBack>
fn as_raw_mut_EncoderCallBack(&mut self) -> *mut c_void
source§fn acquire_bit_stream(&mut self, buffer_size: &mut i32) -> Result<*mut u8>
fn acquire_bit_stream(&mut self, buffer_size: &mut i32) -> Result<*mut u8>
Callback function to signal the start of bitstream that is to be encoded. Read more
source§fn release_bit_stream(&mut self, data: &mut u8, size: i32) -> Result<()>
fn release_bit_stream(&mut self, data: &mut u8, size: i32) -> Result<()>
Callback function to signal that the encoded bitstream is ready to be written to file.
source§fn on_begin_frame(
&mut self,
frame_number: i32,
pic_type: EncoderCallBack_PicType
) -> Result<()>
fn on_begin_frame(
&mut self,
frame_number: i32,
pic_type: EncoderCallBack_PicType
) -> Result<()>
Callback function to signal that the encoding operation on the frame has started. Read more
source§fn on_end_frame(
&mut self,
frame_number: i32,
pic_type: EncoderCallBack_PicType
) -> Result<()>
fn on_end_frame(
&mut self,
frame_number: i32,
pic_type: EncoderCallBack_PicType
) -> Result<()>
Callback function signals that the encoding operation on the frame has finished. Read more
source§impl EncoderCallBackConst for Ptr<dyn EncoderCallBack>
impl EncoderCallBackConst for Ptr<dyn EncoderCallBack>
fn as_raw_EncoderCallBack(&self) -> *const c_void
source§impl ErfLayerTrait for Ptr<ErfLayer>
impl ErfLayerTrait for Ptr<ErfLayer>
fn as_raw_mut_ErfLayer(&mut self) -> *mut c_void
source§impl ErfLayerTraitConst for Ptr<ErfLayer>
impl ErfLayerTraitConst for Ptr<ErfLayer>
fn as_raw_ErfLayer(&self) -> *const c_void
source§impl EstimateParametersTrait for Ptr<EstimateParameters>
impl EstimateParametersTrait for Ptr<EstimateParameters>
fn as_raw_mut_EstimateParameters(&mut self) -> *mut c_void
fn set_pattern(&mut self, val: PatternPos)
fn set_use_extrinsic_guess(&mut self, val: bool)
fn set_solve_pnp_method(&mut self, val: SolvePnPMethod)
source§impl EstimateParametersTraitConst for Ptr<EstimateParameters>
impl EstimateParametersTraitConst for Ptr<EstimateParameters>
fn as_raw_EstimateParameters(&self) -> *const c_void
fn pattern(&self) -> PatternPos
fn use_extrinsic_guess(&self) -> bool
fn solve_pnp_method(&self) -> SolvePnPMethod
source§impl ExpLayerTrait for Ptr<ExpLayer>
impl ExpLayerTrait for Ptr<ExpLayer>
source§impl ExpLayerTraitConst for Ptr<ExpLayer>
impl ExpLayerTraitConst for Ptr<ExpLayer>
source§impl FREAKTrait for Ptr<FREAK>
impl FREAKTrait for Ptr<FREAK>
fn as_raw_mut_FREAK(&mut self) -> *mut c_void
source§impl FREAKTraitConst for Ptr<FREAK>
impl FREAKTraitConst for Ptr<FREAK>
fn as_raw_FREAK(&self) -> *const c_void
source§impl FaceDetectorYN for Ptr<dyn FaceDetectorYN>
impl FaceDetectorYN for Ptr<dyn FaceDetectorYN>
fn as_raw_mut_FaceDetectorYN(&mut self) -> *mut c_void
source§fn set_input_size(&mut self, input_size: Size) -> Result<()>
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
fn get_input_size(&mut self) -> Result<Size>
source§fn set_score_threshold(&mut self, score_threshold: f32) -> Result<()>
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
fn get_score_threshold(&mut self) -> Result<f32>
source§fn set_nms_threshold(&mut self, nms_threshold: f32) -> Result<()>
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
fn get_nms_threshold(&mut self) -> Result<f32>
source§fn set_top_k(&mut self, top_k: i32) -> Result<()>
fn set_top_k(&mut self, top_k: i32) -> Result<()>
Set the number of bounding boxes preserved before NMS Read more
fn get_top_k(&mut self) -> Result<i32>
source§fn detect(
&mut self,
image: &dyn ToInputArray,
faces: &mut dyn ToOutputArray
) -> Result<i32>
fn detect(
&mut self,
image: &dyn ToInputArray,
faces: &mut dyn ToOutputArray
) -> Result<i32>
A simple interface to detect face from given image Read more
source§impl FaceDetectorYNConst for Ptr<dyn FaceDetectorYN>
impl FaceDetectorYNConst for Ptr<dyn FaceDetectorYN>
fn as_raw_FaceDetectorYN(&self) -> *const c_void
source§impl FaceRecognizer for Ptr<dyn EigenFaceRecognizer>
impl FaceRecognizer for Ptr<dyn EigenFaceRecognizer>
fn as_raw_mut_FaceRecognizer(&mut self) -> *mut c_void
source§fn train(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
fn train(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
Trains a FaceRecognizer with given data and associated labels. Read more
source§fn update(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
fn update(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
Updates a FaceRecognizer with given data and associated labels. Read more
source§fn read(&mut self, filename: &str) -> Result<()>
fn read(&mut self, filename: &str) -> Result<()>
Loads a FaceRecognizer and its model state. Read more
source§fn read_1(&mut self, fn_: &FileNode) -> Result<()>
fn read_1(&mut self, fn_: &FileNode) -> Result<()>
Loads a FaceRecognizer and its model state. Read more
source§impl FaceRecognizer for Ptr<dyn FisherFaceRecognizer>
impl FaceRecognizer for Ptr<dyn FisherFaceRecognizer>
fn as_raw_mut_FaceRecognizer(&mut self) -> *mut c_void
source§fn train(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
fn train(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
Trains a FaceRecognizer with given data and associated labels. Read more
source§fn update(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
fn update(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
Updates a FaceRecognizer with given data and associated labels. Read more
source§fn read(&mut self, filename: &str) -> Result<()>
fn read(&mut self, filename: &str) -> Result<()>
Loads a FaceRecognizer and its model state. Read more
source§fn read_1(&mut self, fn_: &FileNode) -> Result<()>
fn read_1(&mut self, fn_: &FileNode) -> Result<()>
Loads a FaceRecognizer and its model state. Read more
source§impl FaceRecognizer for Ptr<dyn LBPHFaceRecognizer>
impl FaceRecognizer for Ptr<dyn LBPHFaceRecognizer>
fn as_raw_mut_FaceRecognizer(&mut self) -> *mut c_void
source§fn train(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
fn train(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
Trains a FaceRecognizer with given data and associated labels. Read more
source§fn update(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
fn update(
&mut self,
src: &dyn ToInputArray,
labels: &dyn ToInputArray
) -> Result<()>
Updates a FaceRecognizer with given data and associated labels. Read more
source§fn read(&mut self, filename: &str) -> Result<()>
fn read(&mut self, filename: &str) -> Result<()>
Loads a FaceRecognizer and its model state. Read more
source§fn read_1(&mut self, fn_: &FileNode) -> Result<()>
fn read_1(&mut self, fn_: &FileNode) -> Result<()>
Loads a FaceRecognizer and its model state. Read more
source§impl FaceRecognizerConst for Ptr<dyn EigenFaceRecognizer>
impl FaceRecognizerConst for Ptr<dyn EigenFaceRecognizer>
fn as_raw_FaceRecognizer(&self) -> *const c_void
source§fn predict_label(&self, src: &dyn ToInputArray) -> Result<i32>
fn predict_label(&self, src: &dyn ToInputArray) -> Result<i32>
Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§fn predict(
&self,
src: &dyn ToInputArray,
label: &mut i32,
confidence: &mut f64
) -> Result<()>
fn predict(
&self,
src: &dyn ToInputArray,
label: &mut i32,
confidence: &mut f64
) -> Result<()>
Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§fn predict_collect(
&self,
src: &dyn ToInputArray,
collector: Ptr<dyn PredictCollector>
) -> Result<()>
fn predict_collect(
&self,
src: &dyn ToInputArray,
collector: Ptr<dyn PredictCollector>
) -> Result<()>
source§fn write(&self, filename: &str) -> Result<()>
fn write(&self, filename: &str) -> Result<()>
Saves a FaceRecognizer and its model state. Read more
source§fn write_1(&self, fs: &mut FileStorage) -> Result<()>
fn write_1(&self, fs: &mut FileStorage) -> Result<()>
Saves a FaceRecognizer and its model state. Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
source§fn get_label_info(&self, label: i32) -> Result<String>
fn get_label_info(&self, label: i32) -> Result<String>
Gets string information by label. Read more
source§fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>
fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>
Gets vector of labels by string. Read more
source§fn get_threshold(&self) -> Result<f64>
fn get_threshold(&self) -> Result<f64>
threshold parameter accessor - required for default BestMinDist collector
source§impl FaceRecognizerConst for Ptr<dyn FisherFaceRecognizer>
impl FaceRecognizerConst for Ptr<dyn FisherFaceRecognizer>
fn as_raw_FaceRecognizer(&self) -> *const c_void
source§fn predict_label(&self, src: &dyn ToInputArray) -> Result<i32>
fn predict_label(&self, src: &dyn ToInputArray) -> Result<i32>
Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§fn predict(
&self,
src: &dyn ToInputArray,
label: &mut i32,
confidence: &mut f64
) -> Result<()>
fn predict(
&self,
src: &dyn ToInputArray,
label: &mut i32,
confidence: &mut f64
) -> Result<()>
Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§fn predict_collect(
&self,
src: &dyn ToInputArray,
collector: Ptr<dyn PredictCollector>
) -> Result<()>
fn predict_collect(
&self,
src: &dyn ToInputArray,
collector: Ptr<dyn PredictCollector>
) -> Result<()>
source§fn write(&self, filename: &str) -> Result<()>
fn write(&self, filename: &str) -> Result<()>
Saves a FaceRecognizer and its model state. Read more
source§fn write_1(&self, fs: &mut FileStorage) -> Result<()>
fn write_1(&self, fs: &mut FileStorage) -> Result<()>
Saves a FaceRecognizer and its model state. Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
source§fn get_label_info(&self, label: i32) -> Result<String>
fn get_label_info(&self, label: i32) -> Result<String>
Gets string information by label. Read more
source§fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>
fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>
Gets vector of labels by string. Read more
source§fn get_threshold(&self) -> Result<f64>
fn get_threshold(&self) -> Result<f64>
threshold parameter accessor - required for default BestMinDist collector
source§impl FaceRecognizerConst for Ptr<dyn LBPHFaceRecognizer>
impl FaceRecognizerConst for Ptr<dyn LBPHFaceRecognizer>
fn as_raw_FaceRecognizer(&self) -> *const c_void
source§fn predict_label(&self, src: &dyn ToInputArray) -> Result<i32>
fn predict_label(&self, src: &dyn ToInputArray) -> Result<i32>
Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§fn predict(
&self,
src: &dyn ToInputArray,
label: &mut i32,
confidence: &mut f64
) -> Result<()>
fn predict(
&self,
src: &dyn ToInputArray,
label: &mut i32,
confidence: &mut f64
) -> Result<()>
Predicts a label and associated confidence (e.g. distance) for a given input image. Read more
source§fn predict_collect(
&self,
src: &dyn ToInputArray,
collector: Ptr<dyn PredictCollector>
) -> Result<()>
fn predict_collect(
&self,
src: &dyn ToInputArray,
collector: Ptr<dyn PredictCollector>
) -> Result<()>
source§fn write(&self, filename: &str) -> Result<()>
fn write(&self, filename: &str) -> Result<()>
Saves a FaceRecognizer and its model state. Read more
source§fn write_1(&self, fs: &mut FileStorage) -> Result<()>
fn write_1(&self, fs: &mut FileStorage) -> Result<()>
Saves a FaceRecognizer and its model state. Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
source§fn get_label_info(&self, label: i32) -> Result<String>
fn get_label_info(&self, label: i32) -> Result<String>
Gets string information by label. Read more
source§fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>
fn get_labels_by_string(&self, str: &str) -> Result<Vector<i32>>
Gets vector of labels by string. Read more
source§fn get_threshold(&self) -> Result<f64>
fn get_threshold(&self) -> Result<f64>
threshold parameter accessor - required for default BestMinDist collector
source§impl FaceRecognizerSF for Ptr<dyn FaceRecognizerSF>
impl FaceRecognizerSF for Ptr<dyn FaceRecognizerSF>
fn as_raw_mut_FaceRecognizerSF(&mut self) -> *mut c_void
source§fn feature(
&mut self,
aligned_img: &dyn ToInputArray,
face_feature: &mut dyn ToOutputArray
) -> Result<()>
fn feature(
&mut self,
aligned_img: &dyn ToInputArray,
face_feature: &mut dyn ToOutputArray
) -> Result<()>
Extracting face feature from aligned image Read more
source§impl FaceRecognizerSFConst for Ptr<dyn FaceRecognizerSF>
impl FaceRecognizerSFConst for Ptr<dyn FaceRecognizerSF>
fn as_raw_FaceRecognizerSF(&self) -> *const c_void
source§fn align_crop(
&self,
src_img: &dyn ToInputArray,
face_box: &dyn ToInputArray,
aligned_img: &mut dyn ToOutputArray
) -> Result<()>
fn align_crop(
&self,
src_img: &dyn ToInputArray,
face_box: &dyn ToInputArray,
aligned_img: &mut dyn ToOutputArray
) -> Result<()>
Aligning image to put face on the standard position Read more
source§fn match_(
&self,
face_feature1: &dyn ToInputArray,
face_feature2: &dyn ToInputArray,
dis_type: i32
) -> Result<f64>
fn match_(
&self,
face_feature1: &dyn ToInputArray,
face_feature2: &dyn ToInputArray,
dis_type: i32
) -> Result<f64>
Calculating the distance between two face features Read more
source§impl Facemark for Ptr<dyn Facemark>
impl Facemark for Ptr<dyn Facemark>
fn as_raw_mut_Facemark(&mut self) -> *mut c_void
source§fn load_model(&mut self, model: &str) -> Result<()>
fn load_model(&mut self, model: &str) -> Result<()>
A function to load the trained model before the fitting process. Read more
source§fn fit(
&mut self,
image: &dyn ToInputArray,
faces: &dyn ToInputArray,
landmarks: &mut dyn ToOutputArray
) -> Result<bool>
fn fit(
&mut self,
image: &dyn ToInputArray,
faces: &dyn ToInputArray,
landmarks: &mut dyn ToOutputArray
) -> Result<bool>
Detect facial landmarks from an image. Read more
source§impl Facemark for Ptr<dyn FacemarkAAM>
impl Facemark for Ptr<dyn FacemarkAAM>
fn as_raw_mut_Facemark(&mut self) -> *mut c_void
source§fn load_model(&mut self, model: &str) -> Result<()>
fn load_model(&mut self, model: &str) -> Result<()>
A function to load the trained model before the fitting process. Read more
source§fn fit(
&mut self,
image: &dyn ToInputArray,
faces: &dyn ToInputArray,
landmarks: &mut dyn ToOutputArray
) -> Result<bool>
fn fit(
&mut self,
image: &dyn ToInputArray,
faces: &dyn ToInputArray,
landmarks: &mut dyn ToOutputArray
) -> Result<bool>
Detect facial landmarks from an image. Read more
source§impl Facemark for Ptr<dyn FacemarkKazemi>
impl Facemark for Ptr<dyn FacemarkKazemi>
fn as_raw_mut_Facemark(&mut self) -> *mut c_void
source§fn load_model(&mut self, model: &str) -> Result<()>
fn load_model(&mut self, model: &str) -> Result<()>
A function to load the trained model before the fitting process. Read more
source§fn fit(
&mut self,
image: &dyn ToInputArray,
faces: &dyn ToInputArray,
landmarks: &mut dyn ToOutputArray
) -> Result<bool>
fn fit(
&mut self,
image: &dyn ToInputArray,
faces: &dyn ToInputArray,
landmarks: &mut dyn ToOutputArray
) -> Result<bool>
Detect facial landmarks from an image. Read more
source§impl Facemark for Ptr<dyn FacemarkLBF>
impl Facemark for Ptr<dyn FacemarkLBF>
fn as_raw_mut_Facemark(&mut self) -> *mut c_void
source§fn load_model(&mut self, model: &str) -> Result<()>
fn load_model(&mut self, model: &str) -> Result<()>
A function to load the trained model before the fitting process. Read more
source§fn fit(
&mut self,
image: &dyn ToInputArray,
faces: &dyn ToInputArray,
landmarks: &mut dyn ToOutputArray
) -> Result<bool>
fn fit(
&mut self,
image: &dyn ToInputArray,
faces: &dyn ToInputArray,
landmarks: &mut dyn ToOutputArray
) -> Result<bool>
Detect facial landmarks from an image. Read more
source§impl FacemarkAAM for Ptr<dyn FacemarkAAM>
impl FacemarkAAM for Ptr<dyn FacemarkAAM>
fn as_raw_mut_FacemarkAAM(&mut self) -> *mut c_void
source§fn fit_config(
&mut self,
image: &dyn ToInputArray,
roi: &dyn ToInputArray,
_landmarks: &mut dyn ToOutputArray,
runtime_params: &Vector<FacemarkAAM_Config>
) -> Result<bool>
fn fit_config(
&mut self,
image: &dyn ToInputArray,
roi: &dyn ToInputArray,
_landmarks: &mut dyn ToOutputArray,
runtime_params: &Vector<FacemarkAAM_Config>
) -> Result<bool>
overload with additional Config structures
source§impl FacemarkAAMConst for Ptr<dyn FacemarkAAM>
impl FacemarkAAMConst for Ptr<dyn FacemarkAAM>
fn as_raw_FacemarkAAM(&self) -> *const c_void
source§impl FacemarkConst for Ptr<dyn Facemark>
impl FacemarkConst for Ptr<dyn Facemark>
fn as_raw_Facemark(&self) -> *const c_void
source§impl FacemarkConst for Ptr<dyn FacemarkAAM>
impl FacemarkConst for Ptr<dyn FacemarkAAM>
fn as_raw_Facemark(&self) -> *const c_void
source§impl FacemarkConst for Ptr<dyn FacemarkKazemi>
impl FacemarkConst for Ptr<dyn FacemarkKazemi>
fn as_raw_Facemark(&self) -> *const c_void
source§impl FacemarkConst for Ptr<dyn FacemarkLBF>
impl FacemarkConst for Ptr<dyn FacemarkLBF>
fn as_raw_Facemark(&self) -> *const c_void
source§impl FacemarkKazemi for Ptr<dyn FacemarkKazemi>
impl FacemarkKazemi for Ptr<dyn FacemarkKazemi>
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>
fn training(
&mut self,
images: &mut Vector<Mat>,
landmarks: &mut Vector<Vector<Point2f>>,
configfile: &str,
scale: Size,
model_filename: &str
) -> Result<bool>
This function is used to train the model using gradient boosting to get a cascade of regressors
which can then be used to predict shape. Read more
source§fn set_face_detector(
&mut self,
f: Option<Box<dyn FnMut(*const c_void, *const c_void) -> bool + Send + Sync + 'static>>
) -> Result<bool>
fn set_face_detector(
&mut self,
f: Option<Box<dyn FnMut(*const c_void, *const c_void) -> bool + Send + Sync + 'static>>
) -> Result<bool>
set the custom face detector
source§fn get_faces(
&mut self,
image: &dyn ToInputArray,
faces: &mut dyn ToOutputArray
) -> Result<bool>
fn get_faces(
&mut self,
image: &dyn ToInputArray,
faces: &mut dyn ToOutputArray
) -> Result<bool>
get faces using the custom detector
source§impl FacemarkKazemiConst for Ptr<dyn FacemarkKazemi>
impl FacemarkKazemiConst for Ptr<dyn FacemarkKazemi>
fn as_raw_FacemarkKazemi(&self) -> *const c_void
source§impl FacemarkLBF for Ptr<dyn FacemarkLBF>
impl FacemarkLBF for Ptr<dyn FacemarkLBF>
fn as_raw_mut_FacemarkLBF(&mut self) -> *mut c_void
source§impl FacemarkLBFConst for Ptr<dyn FacemarkLBF>
impl FacemarkLBFConst for Ptr<dyn FacemarkLBF>
fn as_raw_FacemarkLBF(&self) -> *const c_void
source§impl FacemarkTrain for Ptr<dyn FacemarkAAM>
impl FacemarkTrain for Ptr<dyn FacemarkAAM>
fn as_raw_mut_FacemarkTrain(&mut self) -> *mut c_void
source§fn add_training_sample(
&mut self,
image: &dyn ToInputArray,
landmarks: &dyn ToInputArray
) -> Result<bool>
fn add_training_sample(
&mut self,
image: &dyn ToInputArray,
landmarks: &dyn ToInputArray
) -> Result<bool>
Add one training sample to the trainer. Read more
source§unsafe fn training(&mut self, parameters: *mut c_void) -> Result<()>
unsafe fn training(&mut self, parameters: *mut c_void) -> Result<()>
Trains a Facemark algorithm using the given dataset.
Before the training process, training samples should be added to the trainer
using face::addTrainingSample function. Read more
source§fn set_face_detector(&mut self, detector: FN_FaceDetector) -> Result<bool>
fn set_face_detector(&mut self, detector: FN_FaceDetector) -> Result<bool>
Set a user defined face detector for the Facemark algorithm. Read more
source§fn get_faces(
&mut self,
image: &dyn ToInputArray,
faces: &mut dyn ToOutputArray
) -> Result<bool>
fn get_faces(
&mut self,
image: &dyn ToInputArray,
faces: &mut dyn ToOutputArray
) -> Result<bool>
Detect faces from a given image using default or user defined face detector.
Some Algorithm might not provide a default face detector. Read more
source§impl FacemarkTrain for Ptr<dyn FacemarkLBF>
impl FacemarkTrain for Ptr<dyn FacemarkLBF>
fn as_raw_mut_FacemarkTrain(&mut self) -> *mut c_void
source§fn add_training_sample(
&mut self,
image: &dyn ToInputArray,
landmarks: &dyn ToInputArray
) -> Result<bool>
fn add_training_sample(
&mut self,
image: &dyn ToInputArray,
landmarks: &dyn ToInputArray
) -> Result<bool>
Add one training sample to the trainer. Read more
source§unsafe fn training(&mut self, parameters: *mut c_void) -> Result<()>
unsafe fn training(&mut self, parameters: *mut c_void) -> Result<()>
Trains a Facemark algorithm using the given dataset.
Before the training process, training samples should be added to the trainer
using face::addTrainingSample function. Read more
source§fn set_face_detector(&mut self, detector: FN_FaceDetector) -> Result<bool>
fn set_face_detector(&mut self, detector: FN_FaceDetector) -> Result<bool>
Set a user defined face detector for the Facemark algorithm. Read more
source§fn get_faces(
&mut self,
image: &dyn ToInputArray,
faces: &mut dyn ToOutputArray
) -> Result<bool>
fn get_faces(
&mut self,
image: &dyn ToInputArray,
faces: &mut dyn ToOutputArray
) -> Result<bool>
Detect faces from a given image using default or user defined face detector.
Some Algorithm might not provide a default face detector. Read more
source§impl FacemarkTrainConst for Ptr<dyn FacemarkAAM>
impl FacemarkTrainConst for Ptr<dyn FacemarkAAM>
fn as_raw_FacemarkTrain(&self) -> *const c_void
source§impl FacemarkTrainConst for Ptr<dyn FacemarkLBF>
impl FacemarkTrainConst for Ptr<dyn FacemarkLBF>
fn as_raw_FacemarkTrain(&self) -> *const c_void
source§impl FarnebackOpticalFlow for Ptr<dyn FarnebackOpticalFlow>
impl FarnebackOpticalFlow for Ptr<dyn FarnebackOpticalFlow>
fn as_raw_mut_FarnebackOpticalFlow(&mut self) -> *mut c_void
fn set_num_levels(&mut self, num_levels: i32) -> Result<()>
fn set_pyr_scale(&mut self, pyr_scale: f64) -> Result<()>
fn set_fast_pyramids(&mut self, fast_pyramids: bool) -> Result<()>
fn set_win_size(&mut self, win_size: i32) -> Result<()>
fn set_num_iters(&mut self, num_iters: i32) -> Result<()>
fn set_poly_n(&mut self, poly_n: i32) -> Result<()>
fn set_poly_sigma(&mut self, poly_sigma: f64) -> Result<()>
fn set_flags(&mut self, flags: i32) -> Result<()>
source§impl FarnebackOpticalFlowConst for Ptr<dyn FarnebackOpticalFlow>
impl FarnebackOpticalFlowConst for Ptr<dyn FarnebackOpticalFlow>
fn as_raw_FarnebackOpticalFlow(&self) -> *const c_void
fn get_num_levels(&self) -> Result<i32>
fn get_pyr_scale(&self) -> Result<f64>
fn get_fast_pyramids(&self) -> Result<bool>
fn get_win_size(&self) -> Result<i32>
fn get_num_iters(&self) -> Result<i32>
fn get_poly_n(&self) -> Result<i32>
fn get_poly_sigma(&self) -> Result<f64>
fn get_flags(&self) -> Result<i32>
source§impl FastBilateralSolverFilter for Ptr<dyn FastBilateralSolverFilter>
impl FastBilateralSolverFilter for Ptr<dyn FastBilateralSolverFilter>
fn as_raw_mut_FastBilateralSolverFilter(&mut self) -> *mut c_void
source§fn filter(
&mut self,
src: &dyn ToInputArray,
confidence: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn filter(
&mut self,
src: &dyn ToInputArray,
confidence: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
Apply smoothing operation to the source image. Read more
source§impl FastBilateralSolverFilterConst for Ptr<dyn FastBilateralSolverFilter>
impl FastBilateralSolverFilterConst for Ptr<dyn FastBilateralSolverFilter>
fn as_raw_FastBilateralSolverFilter(&self) -> *const c_void
source§impl FastFeatureDetector for Ptr<dyn FastFeatureDetector>
impl FastFeatureDetector for Ptr<dyn FastFeatureDetector>
source§impl FastFeatureDetectorConst for Ptr<dyn FastFeatureDetector>
impl FastFeatureDetectorConst for Ptr<dyn FastFeatureDetector>
fn as_raw_FastFeatureDetector(&self) -> *const c_void
fn get_threshold(&self) -> Result<i32>
fn get_nonmax_suppression(&self) -> Result<bool>
fn get_type(&self) -> Result<FastFeatureDetector_DetectorType>
fn get_default_name(&self) -> Result<String>
source§impl FastGlobalSmootherFilter for Ptr<dyn FastGlobalSmootherFilter>
impl FastGlobalSmootherFilter for Ptr<dyn FastGlobalSmootherFilter>
fn as_raw_mut_FastGlobalSmootherFilter(&mut self) -> *mut c_void
source§fn filter(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn filter(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
Apply smoothing operation to the source image. Read more
source§impl FastGlobalSmootherFilterConst for Ptr<dyn FastGlobalSmootherFilter>
impl FastGlobalSmootherFilterConst for Ptr<dyn FastGlobalSmootherFilter>
fn as_raw_FastGlobalSmootherFilter(&self) -> *const c_void
source§impl FastICPOdometryTrait for Ptr<FastICPOdometry>
impl FastICPOdometryTrait for Ptr<FastICPOdometry>
fn as_raw_mut_FastICPOdometry(&mut self) -> *mut c_void
fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>
fn set_max_dist_diff(&mut self, val: f32) -> Result<()>
fn set_angle_threshold(&mut self, f: f32) -> Result<()>
fn set_sigma_depth(&mut self, f: f32) -> Result<()>
fn set_sigma_spatial(&mut self, f: f32) -> Result<()>
fn set_kernel_size(&mut self, f: i32) -> Result<()>
fn set_iteration_counts(&mut self, val: &Mat) -> Result<()>
fn set_transform_type(&mut self, val: i32) -> Result<()>
source§impl FastICPOdometryTraitConst for Ptr<FastICPOdometry>
impl FastICPOdometryTraitConst for Ptr<FastICPOdometry>
fn as_raw_FastICPOdometry(&self) -> *const c_void
fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
fn get_camera_matrix(&self) -> Result<Mat>
fn get_max_dist_diff(&self) -> Result<f64>
fn get_angle_threshold(&self) -> Result<f32>
fn get_sigma_depth(&self) -> Result<f32>
fn get_sigma_spatial(&self) -> Result<f32>
fn get_kernel_size(&self) -> Result<i32>
fn get_iteration_counts(&self) -> Result<Mat>
fn get_transform_type(&self) -> Result<i32>
source§impl FastLineDetector for Ptr<dyn FastLineDetector>
impl FastLineDetector for Ptr<dyn FastLineDetector>
fn as_raw_mut_FastLineDetector(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
lines: &mut dyn ToOutputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
lines: &mut dyn ToOutputArray
) -> Result<()>
@example fld_lines.cpp
An example using the FastLineDetector Read more
source§fn draw_segments(
&mut self,
image: &mut dyn ToInputOutputArray,
lines: &dyn ToInputArray,
draw_arrow: bool,
linecolor: Scalar,
linethickness: i32
) -> Result<()>
fn draw_segments(
&mut self,
image: &mut dyn ToInputOutputArray,
lines: &dyn ToInputArray,
draw_arrow: bool,
linecolor: Scalar,
linethickness: i32
) -> Result<()>
Draws the line segments on a given image. Read more
source§impl FastLineDetectorConst for Ptr<dyn FastLineDetector>
impl FastLineDetectorConst for Ptr<dyn FastLineDetector>
fn as_raw_FastLineDetector(&self) -> *const c_void
source§impl Feature2DTrait for Ptr<BEBLID>
impl Feature2DTrait for Ptr<BEBLID>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<BRISK>
impl Feature2DTrait for Ptr<BRISK>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<BriefDescriptorExtractor>
impl Feature2DTrait for Ptr<BriefDescriptorExtractor>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<FREAK>
impl Feature2DTrait for Ptr<FREAK>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<Feature2D>
impl Feature2DTrait for Ptr<Feature2D>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<HarrisLaplaceFeatureDetector>
impl Feature2DTrait for Ptr<HarrisLaplaceFeatureDetector>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<LATCH>
impl Feature2DTrait for Ptr<LATCH>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<LUCID>
impl Feature2DTrait for Ptr<LUCID>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<MSDDetector>
impl Feature2DTrait for Ptr<MSDDetector>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<SIFT>
impl Feature2DTrait for Ptr<SIFT>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<SimpleBlobDetector>
impl Feature2DTrait for Ptr<SimpleBlobDetector>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<StarDetector>
impl Feature2DTrait for Ptr<StarDetector>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn AKAZE>
impl Feature2DTrait for Ptr<dyn AKAZE>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn AffineFeature>
impl Feature2DTrait for Ptr<dyn AffineFeature>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn AffineFeature2D>
impl Feature2DTrait for Ptr<dyn AffineFeature2D>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn AgastFeatureDetector>
impl Feature2DTrait for Ptr<dyn AgastFeatureDetector>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn BoostDesc>
impl Feature2DTrait for Ptr<dyn BoostDesc>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn CUDA_FastFeatureDetector>
impl Feature2DTrait for Ptr<dyn CUDA_FastFeatureDetector>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn CUDA_ORB>
impl Feature2DTrait for Ptr<dyn CUDA_ORB>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn DAISY>
impl Feature2DTrait for Ptr<dyn DAISY>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn FastFeatureDetector>
impl Feature2DTrait for Ptr<dyn FastFeatureDetector>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn GFTTDetector>
impl Feature2DTrait for Ptr<dyn GFTTDetector>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn KAZE>
impl Feature2DTrait for Ptr<dyn KAZE>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn MSER>
impl Feature2DTrait for Ptr<dyn MSER>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn ORB>
impl Feature2DTrait for Ptr<dyn ORB>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn SURF>
impl Feature2DTrait for Ptr<dyn SURF>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn TBMR>
impl Feature2DTrait for Ptr<dyn TBMR>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTrait for Ptr<dyn VGG>
impl Feature2DTrait for Ptr<dyn VGG>
fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
Detects keypoints in an image (first variant) or image set (second variant). Read more
source§fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant). Read more
source§fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
Detects keypoints and computes the descriptors Read more
fn read(&mut self, file_name: &str) -> Result<()>
fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
source§impl Feature2DTraitConst for Ptr<BEBLID>
impl Feature2DTraitConst for Ptr<BEBLID>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<BRISK>
impl Feature2DTraitConst for Ptr<BRISK>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<BriefDescriptorExtractor>
impl Feature2DTraitConst for Ptr<BriefDescriptorExtractor>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<FREAK>
impl Feature2DTraitConst for Ptr<FREAK>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<Feature2D>
impl Feature2DTraitConst for Ptr<Feature2D>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<HarrisLaplaceFeatureDetector>
impl Feature2DTraitConst for Ptr<HarrisLaplaceFeatureDetector>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<LATCH>
impl Feature2DTraitConst for Ptr<LATCH>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<LUCID>
impl Feature2DTraitConst for Ptr<LUCID>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<MSDDetector>
impl Feature2DTraitConst for Ptr<MSDDetector>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<SIFT>
impl Feature2DTraitConst for Ptr<SIFT>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<SimpleBlobDetector>
impl Feature2DTraitConst for Ptr<SimpleBlobDetector>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<StarDetector>
impl Feature2DTraitConst for Ptr<StarDetector>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn AKAZE>
impl Feature2DTraitConst for Ptr<dyn AKAZE>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn AffineFeature>
impl Feature2DTraitConst for Ptr<dyn AffineFeature>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn AffineFeature2D>
impl Feature2DTraitConst for Ptr<dyn AffineFeature2D>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn AgastFeatureDetector>
impl Feature2DTraitConst for Ptr<dyn AgastFeatureDetector>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn BoostDesc>
impl Feature2DTraitConst for Ptr<dyn BoostDesc>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn CUDA_FastFeatureDetector>
impl Feature2DTraitConst for Ptr<dyn CUDA_FastFeatureDetector>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn CUDA_ORB>
impl Feature2DTraitConst for Ptr<dyn CUDA_ORB>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn DAISY>
impl Feature2DTraitConst for Ptr<dyn DAISY>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn FastFeatureDetector>
impl Feature2DTraitConst for Ptr<dyn FastFeatureDetector>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn GFTTDetector>
impl Feature2DTraitConst for Ptr<dyn GFTTDetector>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn KAZE>
impl Feature2DTraitConst for Ptr<dyn KAZE>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn MSER>
impl Feature2DTraitConst for Ptr<dyn MSER>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn ORB>
impl Feature2DTraitConst for Ptr<dyn ORB>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn SURF>
impl Feature2DTraitConst for Ptr<dyn SURF>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn TBMR>
impl Feature2DTraitConst for Ptr<dyn TBMR>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl Feature2DTraitConst for Ptr<dyn VGG>
impl Feature2DTraitConst for Ptr<dyn VGG>
fn as_raw_Feature2D(&self) -> *const c_void
fn descriptor_size(&self) -> Result<i32>
fn descriptor_type(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
fn write(&self, file_name: &str) -> Result<()>
fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
fn get_default_name(&self) -> Result<String>
source§impl FileStorageTrait for Ptr<FileStorage>
impl FileStorageTrait for Ptr<FileStorage>
fn as_raw_mut_FileStorage(&mut self) -> *mut c_void
fn set_state(&mut self, val: i32)
fn set_elname(&mut self, val: &str)
source§fn open(&mut self, filename: &str, flags: i32, encoding: &str) -> Result<bool>
fn open(&mut self, filename: &str, flags: i32, encoding: &str) -> Result<bool>
Opens a file. Read more
source§fn release(&mut self) -> Result<()>
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>
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<()>
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<()>
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<()>
fn write_str(&mut self, name: &str, val: &str) -> Result<()>
Simplified writing API to use with bindings. Read more
source§fn write_mat(&mut self, name: &str, val: &Mat) -> Result<()>
fn write_mat(&mut self, name: &str, val: &Mat) -> Result<()>
Simplified writing API to use with bindings. Read more
source§fn write_str_vec(&mut self, name: &str, val: &Vector<String>) -> Result<()>
fn write_str_vec(&mut self, name: &str, val: &Vector<String>) -> Result<()>
Simplified writing API to use with bindings. Read more
source§unsafe fn write_raw(
&mut self,
fmt: &str,
vec: *const c_void,
len: size_t
) -> Result<()>
unsafe fn write_raw(
&mut self,
fmt: &str,
vec: *const c_void,
len: size_t
) -> Result<()>
Writes multiple numbers. Read more
source§fn write_comment(&mut self, comment: &str, append: bool) -> Result<()>
fn write_comment(&mut self, comment: &str, append: bool) -> Result<()>
Writes a comment. Read more
source§fn start_write_struct(
&mut self,
name: &str,
flags: i32,
type_name: &str
) -> Result<()>
fn start_write_struct(
&mut self,
name: &str,
flags: i32,
type_name: &str
) -> Result<()>
Starts to write a nested structure (sequence or a mapping). Read more
source§fn end_write_struct(&mut self) -> Result<()>
fn end_write_struct(&mut self) -> Result<()>
Finishes writing nested structure (should pair startWriteStruct())
source§impl FileStorageTraitConst for Ptr<FileStorage>
impl FileStorageTraitConst for Ptr<FileStorage>
fn as_raw_FileStorage(&self) -> *const c_void
fn state(&self) -> i32
fn elname(&self) -> String
source§fn get_first_top_level_node(&self) -> Result<FileNode>
fn get_first_top_level_node(&self) -> Result<FileNode>
Returns the first element of the top-level mapping. Read more
source§fn get(&self, nodename: &str) -> Result<FileNode>
fn get(&self, nodename: &str) -> Result<FileNode>
Returns the specified element of the top-level mapping. Read more
source§impl Filter for Ptr<dyn Filter>
impl Filter for Ptr<dyn Filter>
fn as_raw_mut_Filter(&mut self) -> *mut c_void
source§fn apply(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn apply(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Applies the specified filter to the image. Read more
source§impl FilterConst for Ptr<dyn Filter>
impl FilterConst for Ptr<dyn Filter>
fn as_raw_Filter(&self) -> *const c_void
source§impl FisherFaceRecognizer for Ptr<dyn FisherFaceRecognizer>
impl FisherFaceRecognizer for Ptr<dyn FisherFaceRecognizer>
fn as_raw_mut_FisherFaceRecognizer(&mut self) -> *mut c_void
source§impl FisherFaceRecognizerConst for Ptr<dyn FisherFaceRecognizer>
impl FisherFaceRecognizerConst for Ptr<dyn FisherFaceRecognizer>
fn as_raw_FisherFaceRecognizer(&self) -> *const c_void
source§impl FisheyeWarperTrait for Ptr<FisheyeWarper>
impl FisheyeWarperTrait for Ptr<FisheyeWarper>
fn as_raw_mut_FisheyeWarper(&mut self) -> *mut c_void
source§impl FisheyeWarperTraitConst for Ptr<FisheyeWarper>
impl FisheyeWarperTraitConst for Ptr<FisheyeWarper>
source§impl FlattenLayerTrait for Ptr<FlattenLayer>
impl FlattenLayerTrait for Ptr<FlattenLayer>
fn as_raw_mut_FlattenLayer(&mut self) -> *mut c_void
source§impl FlattenLayerTraitConst for Ptr<FlattenLayer>
impl FlattenLayerTraitConst for Ptr<FlattenLayer>
fn as_raw_FlattenLayer(&self) -> *const c_void
source§impl FloorLayerTrait for Ptr<FloorLayer>
impl FloorLayerTrait for Ptr<FloorLayer>
fn as_raw_mut_FloorLayer(&mut self) -> *mut c_void
source§impl FloorLayerTraitConst for Ptr<FloorLayer>
impl FloorLayerTraitConst for Ptr<FloorLayer>
fn as_raw_FloorLayer(&self) -> *const c_void
source§impl FlowWarpLayerTrait for Ptr<FlowWarpLayer>
impl FlowWarpLayerTrait for Ptr<FlowWarpLayer>
fn as_raw_mut_FlowWarpLayer(&mut self) -> *mut c_void
source§impl FlowWarpLayerTraitConst for Ptr<FlowWarpLayer>
impl FlowWarpLayerTraitConst for Ptr<FlowWarpLayer>
fn as_raw_FlowWarpLayer(&self) -> *const c_void
source§impl FormattedConst for Ptr<dyn Formatted>
impl FormattedConst for Ptr<dyn Formatted>
fn as_raw_Formatted(&self) -> *const c_void
source§impl Formatter for Ptr<dyn Formatter>
impl Formatter for Ptr<dyn Formatter>
fn as_raw_mut_Formatter(&mut self) -> *mut c_void
source§impl FormatterConst for Ptr<dyn Formatter>
impl FormatterConst for Ptr<dyn Formatter>
source§impl FreeType2 for Ptr<dyn FreeType2>
impl FreeType2 for Ptr<dyn FreeType2>
fn as_raw_mut_FreeType2(&mut self) -> *mut c_void
source§fn load_font_data(&mut self, font_file_name: &str, id: i32) -> Result<()>
fn load_font_data(&mut self, font_file_name: &str, id: i32) -> Result<()>
Load font data. Read more
source§fn set_split_number(&mut self, num: i32) -> Result<()>
fn set_split_number(&mut self, num: i32) -> Result<()>
Set Split Number from Bezier-curve to line Read more
source§impl FreeType2Const for Ptr<dyn FreeType2>
impl FreeType2Const for Ptr<dyn FreeType2>
fn as_raw_FreeType2(&self) -> *const c_void
source§impl From<Ptr<AffineWarper>> for Ptr<dyn WarperCreator>
impl From<Ptr<AffineWarper>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfAffineWarper) -> Self
fn from(s: PtrOfAffineWarper) -> Self
Converts to this type from the input type.
source§impl From<Ptr<BEBLID>> for Ptr<Feature2D>
impl From<Ptr<BEBLID>> for Ptr<Feature2D>
source§fn from(s: PtrOfBEBLID) -> Self
fn from(s: PtrOfBEBLID) -> Self
Converts to this type from the input type.
source§impl From<Ptr<BRISK>> for Ptr<Feature2D>
impl From<Ptr<BRISK>> for Ptr<Feature2D>
source§fn from(s: PtrOfBRISK) -> Self
fn from(s: PtrOfBRISK) -> Self
Converts to this type from the input type.
source§impl From<Ptr<BriefDescriptorExtractor>> for Ptr<Feature2D>
impl From<Ptr<BriefDescriptorExtractor>> for Ptr<Feature2D>
source§fn from(s: PtrOfBriefDescriptorExtractor) -> Self
fn from(s: PtrOfBriefDescriptorExtractor) -> Self
Converts to this type from the input type.
source§impl From<Ptr<ColorAverageInpainter>> for Ptr<dyn InpainterBase>
impl From<Ptr<ColorAverageInpainter>> for Ptr<dyn InpainterBase>
source§fn from(s: PtrOfColorAverageInpainter) -> Self
fn from(s: PtrOfColorAverageInpainter) -> Self
Converts to this type from the input type.
source§impl From<Ptr<ColorInpainter>> for Ptr<dyn InpainterBase>
impl From<Ptr<ColorInpainter>> for Ptr<dyn InpainterBase>
source§fn from(s: PtrOfColorInpainter) -> Self
fn from(s: PtrOfColorInpainter) -> Self
Converts to this type from the input type.
source§impl From<Ptr<CompressedRectilinearPortraitWarper>> for Ptr<dyn WarperCreator>
impl From<Ptr<CompressedRectilinearPortraitWarper>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfCompressedRectilinearPortraitWarper) -> Self
fn from(s: PtrOfCompressedRectilinearPortraitWarper) -> Self
Converts to this type from the input type.
source§impl From<Ptr<CompressedRectilinearWarper>> for Ptr<dyn WarperCreator>
impl From<Ptr<CompressedRectilinearWarper>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfCompressedRectilinearWarper) -> Self
fn from(s: PtrOfCompressedRectilinearWarper) -> Self
Converts to this type from the input type.
source§impl From<Ptr<ConsistentMosaicInpainter>> for Ptr<dyn InpainterBase>
impl From<Ptr<ConsistentMosaicInpainter>> for Ptr<dyn InpainterBase>
source§fn from(s: PtrOfConsistentMosaicInpainter) -> Self
fn from(s: PtrOfConsistentMosaicInpainter) -> Self
Converts to this type from the input type.
source§impl From<Ptr<CylindricalWarper>> for Ptr<dyn WarperCreator>
impl From<Ptr<CylindricalWarper>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfCylindricalWarper) -> Self
fn from(s: PtrOfCylindricalWarper) -> Self
Converts to this type from the input type.
source§impl From<Ptr<CylindricalWarperGpu>> for Ptr<dyn WarperCreator>
impl From<Ptr<CylindricalWarperGpu>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfCylindricalWarperGpu) -> Self
fn from(s: PtrOfCylindricalWarperGpu) -> Self
Converts to this type from the input type.
source§impl From<Ptr<DensePyrLkOptFlowEstimatorGpu>> for Ptr<dyn IDenseOptFlowEstimator>
impl From<Ptr<DensePyrLkOptFlowEstimatorGpu>> for Ptr<dyn IDenseOptFlowEstimator>
source§fn from(s: PtrOfDensePyrLkOptFlowEstimatorGpu) -> Self
fn from(s: PtrOfDensePyrLkOptFlowEstimatorGpu) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_AffineBasedEstimator>> for Ptr<dyn Detail_Estimator>
impl From<Ptr<Detail_AffineBasedEstimator>> for Ptr<dyn Detail_Estimator>
source§fn from(s: PtrOfDetail_AffineBasedEstimator) -> Self
fn from(s: PtrOfDetail_AffineBasedEstimator) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_BestOf2NearestMatcher>> for Ptr<dyn Detail_FeaturesMatcher>
impl From<Ptr<Detail_BestOf2NearestMatcher>> for Ptr<dyn Detail_FeaturesMatcher>
source§fn from(s: PtrOfDetail_BestOf2NearestMatcher) -> Self
fn from(s: PtrOfDetail_BestOf2NearestMatcher) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_BundleAdjusterAffine>> for Ptr<dyn Detail_BundleAdjusterBase>
impl From<Ptr<Detail_BundleAdjusterAffine>> for Ptr<dyn Detail_BundleAdjusterBase>
source§fn from(s: PtrOfDetail_BundleAdjusterAffine) -> Self
fn from(s: PtrOfDetail_BundleAdjusterAffine) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_BundleAdjusterAffine>> for Ptr<dyn Detail_Estimator>
impl From<Ptr<Detail_BundleAdjusterAffine>> for Ptr<dyn Detail_Estimator>
source§fn from(s: PtrOfDetail_BundleAdjusterAffine) -> Self
fn from(s: PtrOfDetail_BundleAdjusterAffine) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_BundleAdjusterAffinePartial>> for Ptr<dyn Detail_BundleAdjusterBase>
impl From<Ptr<Detail_BundleAdjusterAffinePartial>> for Ptr<dyn Detail_BundleAdjusterBase>
source§fn from(s: PtrOfDetail_BundleAdjusterAffinePartial) -> Self
fn from(s: PtrOfDetail_BundleAdjusterAffinePartial) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_BundleAdjusterAffinePartial>> for Ptr<dyn Detail_Estimator>
impl From<Ptr<Detail_BundleAdjusterAffinePartial>> for Ptr<dyn Detail_Estimator>
source§fn from(s: PtrOfDetail_BundleAdjusterAffinePartial) -> Self
fn from(s: PtrOfDetail_BundleAdjusterAffinePartial) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_BundleAdjusterRay>> for Ptr<dyn Detail_BundleAdjusterBase>
impl From<Ptr<Detail_BundleAdjusterRay>> for Ptr<dyn Detail_BundleAdjusterBase>
source§fn from(s: PtrOfDetail_BundleAdjusterRay) -> Self
fn from(s: PtrOfDetail_BundleAdjusterRay) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_BundleAdjusterRay>> for Ptr<dyn Detail_Estimator>
impl From<Ptr<Detail_BundleAdjusterRay>> for Ptr<dyn Detail_Estimator>
source§fn from(s: PtrOfDetail_BundleAdjusterRay) -> Self
fn from(s: PtrOfDetail_BundleAdjusterRay) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_BundleAdjusterReproj>> for Ptr<dyn Detail_BundleAdjusterBase>
impl From<Ptr<Detail_BundleAdjusterReproj>> for Ptr<dyn Detail_BundleAdjusterBase>
source§fn from(s: PtrOfDetail_BundleAdjusterReproj) -> Self
fn from(s: PtrOfDetail_BundleAdjusterReproj) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_BundleAdjusterReproj>> for Ptr<dyn Detail_Estimator>
impl From<Ptr<Detail_BundleAdjusterReproj>> for Ptr<dyn Detail_Estimator>
source§fn from(s: PtrOfDetail_BundleAdjusterReproj) -> Self
fn from(s: PtrOfDetail_BundleAdjusterReproj) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_ChannelsCompensator>> for Ptr<dyn Detail_ExposureCompensator>
impl From<Ptr<Detail_ChannelsCompensator>> for Ptr<dyn Detail_ExposureCompensator>
source§fn from(s: PtrOfDetail_ChannelsCompensator) -> Self
fn from(s: PtrOfDetail_ChannelsCompensator) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_DpSeamFinder>> for Ptr<dyn Detail_SeamFinder>
impl From<Ptr<Detail_DpSeamFinder>> for Ptr<dyn Detail_SeamFinder>
source§fn from(s: PtrOfDetail_DpSeamFinder) -> Self
fn from(s: PtrOfDetail_DpSeamFinder) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_FeatherBlender>> for Ptr<Detail_Blender>
impl From<Ptr<Detail_FeatherBlender>> for Ptr<Detail_Blender>
source§fn from(s: PtrOfDetail_FeatherBlender) -> Self
fn from(s: PtrOfDetail_FeatherBlender) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_GainCompensator>> for Ptr<dyn Detail_ExposureCompensator>
impl From<Ptr<Detail_GainCompensator>> for Ptr<dyn Detail_ExposureCompensator>
source§fn from(s: PtrOfDetail_GainCompensator) -> Self
fn from(s: PtrOfDetail_GainCompensator) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_GraphCutSeamFinder>> for Ptr<dyn Detail_SeamFinder>
impl From<Ptr<Detail_GraphCutSeamFinder>> for Ptr<dyn Detail_SeamFinder>
source§fn from(s: PtrOfDetail_GraphCutSeamFinder) -> Self
fn from(s: PtrOfDetail_GraphCutSeamFinder) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_HomographyBasedEstimator>> for Ptr<dyn Detail_Estimator>
impl From<Ptr<Detail_HomographyBasedEstimator>> for Ptr<dyn Detail_Estimator>
source§fn from(s: PtrOfDetail_HomographyBasedEstimator) -> Self
fn from(s: PtrOfDetail_HomographyBasedEstimator) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_MultiBandBlender>> for Ptr<Detail_Blender>
impl From<Ptr<Detail_MultiBandBlender>> for Ptr<Detail_Blender>
source§fn from(s: PtrOfDetail_MultiBandBlender) -> Self
fn from(s: PtrOfDetail_MultiBandBlender) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_NoBundleAdjuster>> for Ptr<dyn Detail_BundleAdjusterBase>
impl From<Ptr<Detail_NoBundleAdjuster>> for Ptr<dyn Detail_BundleAdjusterBase>
source§fn from(s: PtrOfDetail_NoBundleAdjuster) -> Self
fn from(s: PtrOfDetail_NoBundleAdjuster) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_NoBundleAdjuster>> for Ptr<dyn Detail_Estimator>
impl From<Ptr<Detail_NoBundleAdjuster>> for Ptr<dyn Detail_Estimator>
source§fn from(s: PtrOfDetail_NoBundleAdjuster) -> Self
fn from(s: PtrOfDetail_NoBundleAdjuster) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_NoExposureCompensator>> for Ptr<dyn Detail_ExposureCompensator>
impl From<Ptr<Detail_NoExposureCompensator>> for Ptr<dyn Detail_ExposureCompensator>
source§fn from(s: PtrOfDetail_NoExposureCompensator) -> Self
fn from(s: PtrOfDetail_NoExposureCompensator) -> Self
Converts to this type from the input type.
source§impl From<Ptr<Detail_NoSeamFinder>> for Ptr<dyn Detail_SeamFinder>
impl From<Ptr<Detail_NoSeamFinder>> for Ptr<dyn Detail_SeamFinder>
source§fn from(s: PtrOfDetail_NoSeamFinder) -> Self
fn from(s: PtrOfDetail_NoSeamFinder) -> Self
Converts to this type from the input type.
source§impl From<Ptr<FREAK>> for Ptr<Feature2D>
impl From<Ptr<FREAK>> for Ptr<Feature2D>
source§fn from(s: PtrOfFREAK) -> Self
fn from(s: PtrOfFREAK) -> Self
Converts to this type from the input type.
source§impl From<Ptr<FisheyeWarper>> for Ptr<dyn WarperCreator>
impl From<Ptr<FisheyeWarper>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfFisheyeWarper) -> Self
fn from(s: PtrOfFisheyeWarper) -> Self
Converts to this type from the input type.
source§impl From<Ptr<FromFileMotionReader>> for Ptr<dyn ImageMotionEstimatorBase>
impl From<Ptr<FromFileMotionReader>> for Ptr<dyn ImageMotionEstimatorBase>
source§fn from(s: PtrOfFromFileMotionReader) -> Self
fn from(s: PtrOfFromFileMotionReader) -> Self
Converts to this type from the input type.
source§impl From<Ptr<GaussianMotionFilter>> for Ptr<dyn IMotionStabilizer>
impl From<Ptr<GaussianMotionFilter>> for Ptr<dyn IMotionStabilizer>
source§fn from(s: PtrOfGaussianMotionFilter) -> Self
fn from(s: PtrOfGaussianMotionFilter) -> Self
Converts to this type from the input type.
source§impl From<Ptr<GaussianMotionFilter>> for Ptr<dyn MotionFilterBase>
impl From<Ptr<GaussianMotionFilter>> for Ptr<dyn MotionFilterBase>
source§fn from(s: PtrOfGaussianMotionFilter) -> Self
fn from(s: PtrOfGaussianMotionFilter) -> Self
Converts to this type from the input type.
source§impl From<Ptr<HarrisLaplaceFeatureDetector>> for Ptr<Feature2D>
impl From<Ptr<HarrisLaplaceFeatureDetector>> for Ptr<Feature2D>
source§fn from(s: PtrOfHarrisLaplaceFeatureDetector) -> Self
fn from(s: PtrOfHarrisLaplaceFeatureDetector) -> Self
Converts to this type from the input type.
source§impl From<Ptr<InpaintingPipeline>> for Ptr<dyn InpainterBase>
impl From<Ptr<InpaintingPipeline>> for Ptr<dyn InpainterBase>
source§fn from(s: PtrOfInpaintingPipeline) -> Self
fn from(s: PtrOfInpaintingPipeline) -> Self
Converts to this type from the input type.
source§impl From<Ptr<KeypointBasedMotionEstimator>> for Ptr<dyn ImageMotionEstimatorBase>
impl From<Ptr<KeypointBasedMotionEstimator>> for Ptr<dyn ImageMotionEstimatorBase>
source§fn from(s: PtrOfKeypointBasedMotionEstimator) -> Self
fn from(s: PtrOfKeypointBasedMotionEstimator) -> Self
Converts to this type from the input type.
source§impl From<Ptr<KeypointBasedMotionEstimatorGpu>> for Ptr<dyn ImageMotionEstimatorBase>
impl From<Ptr<KeypointBasedMotionEstimatorGpu>> for Ptr<dyn ImageMotionEstimatorBase>
source§fn from(s: PtrOfKeypointBasedMotionEstimatorGpu) -> Self
fn from(s: PtrOfKeypointBasedMotionEstimatorGpu) -> Self
Converts to this type from the input type.
source§impl From<Ptr<LATCH>> for Ptr<Feature2D>
impl From<Ptr<LATCH>> for Ptr<Feature2D>
source§fn from(s: PtrOfLATCH) -> Self
fn from(s: PtrOfLATCH) -> Self
Converts to this type from the input type.
source§impl From<Ptr<LUCID>> for Ptr<Feature2D>
impl From<Ptr<LUCID>> for Ptr<Feature2D>
source§fn from(s: PtrOfLUCID) -> Self
fn from(s: PtrOfLUCID) -> Self
Converts to this type from the input type.
source§impl From<Ptr<LogToStdout>> for Ptr<dyn ILog>
impl From<Ptr<LogToStdout>> for Ptr<dyn ILog>
source§fn from(s: PtrOfLogToStdout) -> Self
fn from(s: PtrOfLogToStdout) -> Self
Converts to this type from the input type.
source§impl From<Ptr<LpMotionStabilizer>> for Ptr<dyn IMotionStabilizer>
impl From<Ptr<LpMotionStabilizer>> for Ptr<dyn IMotionStabilizer>
source§fn from(s: PtrOfLpMotionStabilizer) -> Self
fn from(s: PtrOfLpMotionStabilizer) -> Self
Converts to this type from the input type.
source§impl From<Ptr<MSDDetector>> for Ptr<Feature2D>
impl From<Ptr<MSDDetector>> for Ptr<Feature2D>
source§fn from(s: PtrOfMSDDetector) -> Self
fn from(s: PtrOfMSDDetector) -> Self
Converts to this type from the input type.
source§impl From<Ptr<MaskFrameSource>> for Ptr<dyn IFrameSource>
impl From<Ptr<MaskFrameSource>> for Ptr<dyn IFrameSource>
source§fn from(s: PtrOfMaskFrameSource) -> Self
fn from(s: PtrOfMaskFrameSource) -> Self
Converts to this type from the input type.
source§impl From<Ptr<MercatorWarper>> for Ptr<dyn WarperCreator>
impl From<Ptr<MercatorWarper>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfMercatorWarper) -> Self
fn from(s: PtrOfMercatorWarper) -> Self
Converts to this type from the input type.
source§impl From<Ptr<MotionEstimatorL1>> for Ptr<dyn MotionEstimatorBase>
impl From<Ptr<MotionEstimatorL1>> for Ptr<dyn MotionEstimatorBase>
source§fn from(s: PtrOfMotionEstimatorL1) -> Self
fn from(s: PtrOfMotionEstimatorL1) -> Self
Converts to this type from the input type.
source§impl From<Ptr<MotionEstimatorRansacL2>> for Ptr<dyn MotionEstimatorBase>
impl From<Ptr<MotionEstimatorRansacL2>> for Ptr<dyn MotionEstimatorBase>
source§fn from(s: PtrOfMotionEstimatorRansacL2) -> Self
fn from(s: PtrOfMotionEstimatorRansacL2) -> Self
Converts to this type from the input type.
source§impl From<Ptr<MotionInpainter>> for Ptr<dyn InpainterBase>
impl From<Ptr<MotionInpainter>> for Ptr<dyn InpainterBase>
source§fn from(s: PtrOfMotionInpainter) -> Self
fn from(s: PtrOfMotionInpainter) -> Self
Converts to this type from the input type.
source§impl From<Ptr<MotionStabilizationPipeline>> for Ptr<dyn IMotionStabilizer>
impl From<Ptr<MotionStabilizationPipeline>> for Ptr<dyn IMotionStabilizer>
source§fn from(s: PtrOfMotionStabilizationPipeline) -> Self
fn from(s: PtrOfMotionStabilizationPipeline) -> Self
Converts to this type from the input type.
source§impl From<Ptr<NullDeblurer>> for Ptr<dyn DeblurerBase>
impl From<Ptr<NullDeblurer>> for Ptr<dyn DeblurerBase>
source§fn from(s: PtrOfNullDeblurer) -> Self
fn from(s: PtrOfNullDeblurer) -> Self
Converts to this type from the input type.
source§impl From<Ptr<NullFrameSource>> for Ptr<dyn IFrameSource>
impl From<Ptr<NullFrameSource>> for Ptr<dyn IFrameSource>
source§fn from(s: PtrOfNullFrameSource) -> Self
fn from(s: PtrOfNullFrameSource) -> Self
Converts to this type from the input type.
source§impl From<Ptr<NullInpainter>> for Ptr<dyn InpainterBase>
impl From<Ptr<NullInpainter>> for Ptr<dyn InpainterBase>
source§fn from(s: PtrOfNullInpainter) -> Self
fn from(s: PtrOfNullInpainter) -> Self
Converts to this type from the input type.
source§impl From<Ptr<NullLog>> for Ptr<dyn ILog>
impl From<Ptr<NullLog>> for Ptr<dyn ILog>
source§fn from(s: PtrOfNullLog) -> Self
fn from(s: PtrOfNullLog) -> Self
Converts to this type from the input type.
source§impl From<Ptr<NullOutlierRejector>> for Ptr<dyn IOutlierRejector>
impl From<Ptr<NullOutlierRejector>> for Ptr<dyn IOutlierRejector>
source§fn from(s: PtrOfNullOutlierRejector) -> Self
fn from(s: PtrOfNullOutlierRejector) -> Self
Converts to this type from the input type.
source§impl From<Ptr<NullWobbleSuppressor>> for Ptr<dyn WobbleSuppressorBase>
impl From<Ptr<NullWobbleSuppressor>> for Ptr<dyn WobbleSuppressorBase>
source§fn from(s: PtrOfNullWobbleSuppressor) -> Self
fn from(s: PtrOfNullWobbleSuppressor) -> Self
Converts to this type from the input type.
source§impl From<Ptr<OnePassStabilizer>> for Ptr<dyn IFrameSource>
impl From<Ptr<OnePassStabilizer>> for Ptr<dyn IFrameSource>
source§fn from(s: PtrOfOnePassStabilizer) -> Self
fn from(s: PtrOfOnePassStabilizer) -> Self
Converts to this type from the input type.
source§impl From<Ptr<PaniniPortraitWarper>> for Ptr<dyn WarperCreator>
impl From<Ptr<PaniniPortraitWarper>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfPaniniPortraitWarper) -> Self
fn from(s: PtrOfPaniniPortraitWarper) -> Self
Converts to this type from the input type.
source§impl From<Ptr<PaniniWarper>> for Ptr<dyn WarperCreator>
impl From<Ptr<PaniniWarper>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfPaniniWarper) -> Self
fn from(s: PtrOfPaniniWarper) -> Self
Converts to this type from the input type.
source§impl From<Ptr<PlaneWarper>> for Ptr<dyn WarperCreator>
impl From<Ptr<PlaneWarper>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfPlaneWarper) -> Self
fn from(s: PtrOfPlaneWarper) -> Self
Converts to this type from the input type.
source§impl From<Ptr<PlaneWarperGpu>> for Ptr<dyn WarperCreator>
impl From<Ptr<PlaneWarperGpu>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfPlaneWarperGpu) -> Self
fn from(s: PtrOfPlaneWarperGpu) -> Self
Converts to this type from the input type.
source§impl From<Ptr<SimpleBlobDetector>> for Ptr<Feature2D>
impl From<Ptr<SimpleBlobDetector>> for Ptr<Feature2D>
source§fn from(s: PtrOfSimpleBlobDetector) -> Self
fn from(s: PtrOfSimpleBlobDetector) -> Self
Converts to this type from the input type.
source§impl From<Ptr<SparsePyrLkOptFlowEstimator>> for Ptr<dyn ISparseOptFlowEstimator>
impl From<Ptr<SparsePyrLkOptFlowEstimator>> for Ptr<dyn ISparseOptFlowEstimator>
source§fn from(s: PtrOfSparsePyrLkOptFlowEstimator) -> Self
fn from(s: PtrOfSparsePyrLkOptFlowEstimator) -> Self
Converts to this type from the input type.
source§impl From<Ptr<SparsePyrLkOptFlowEstimatorGpu>> for Ptr<dyn ISparseOptFlowEstimator>
impl From<Ptr<SparsePyrLkOptFlowEstimatorGpu>> for Ptr<dyn ISparseOptFlowEstimator>
source§fn from(s: PtrOfSparsePyrLkOptFlowEstimatorGpu) -> Self
fn from(s: PtrOfSparsePyrLkOptFlowEstimatorGpu) -> Self
Converts to this type from the input type.
source§impl From<Ptr<SphericalWarper>> for Ptr<dyn WarperCreator>
impl From<Ptr<SphericalWarper>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfSphericalWarper) -> Self
fn from(s: PtrOfSphericalWarper) -> Self
Converts to this type from the input type.
source§impl From<Ptr<SphericalWarperGpu>> for Ptr<dyn WarperCreator>
impl From<Ptr<SphericalWarperGpu>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfSphericalWarperGpu) -> Self
fn from(s: PtrOfSphericalWarperGpu) -> Self
Converts to this type from the input type.
source§impl From<Ptr<StandardCollector>> for Ptr<dyn PredictCollector>
impl From<Ptr<StandardCollector>> for Ptr<dyn PredictCollector>
source§fn from(s: PtrOfStandardCollector) -> Self
fn from(s: PtrOfStandardCollector) -> Self
Converts to this type from the input type.
source§impl From<Ptr<StarDetector>> for Ptr<Feature2D>
impl From<Ptr<StarDetector>> for Ptr<Feature2D>
source§fn from(s: PtrOfStarDetector) -> Self
fn from(s: PtrOfStarDetector) -> Self
Converts to this type from the input type.
source§impl From<Ptr<StereographicWarper>> for Ptr<dyn WarperCreator>
impl From<Ptr<StereographicWarper>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfStereographicWarper) -> Self
fn from(s: PtrOfStereographicWarper) -> Self
Converts to this type from the input type.
source§impl From<Ptr<ToFileMotionWriter>> for Ptr<dyn ImageMotionEstimatorBase>
impl From<Ptr<ToFileMotionWriter>> for Ptr<dyn ImageMotionEstimatorBase>
source§fn from(s: PtrOfToFileMotionWriter) -> Self
fn from(s: PtrOfToFileMotionWriter) -> Self
Converts to this type from the input type.
source§impl From<Ptr<TranslationBasedLocalOutlierRejector>> for Ptr<dyn IOutlierRejector>
impl From<Ptr<TranslationBasedLocalOutlierRejector>> for Ptr<dyn IOutlierRejector>
source§fn from(s: PtrOfTranslationBasedLocalOutlierRejector) -> Self
fn from(s: PtrOfTranslationBasedLocalOutlierRejector) -> Self
Converts to this type from the input type.
source§impl From<Ptr<TransverseMercatorWarper>> for Ptr<dyn WarperCreator>
impl From<Ptr<TransverseMercatorWarper>> for Ptr<dyn WarperCreator>
source§fn from(s: PtrOfTransverseMercatorWarper) -> Self
fn from(s: PtrOfTransverseMercatorWarper) -> Self
Converts to this type from the input type.
source§impl From<Ptr<TwoPassStabilizer>> for Ptr<dyn IFrameSource>
impl From<Ptr<TwoPassStabilizer>> for Ptr<dyn IFrameSource>
source§fn from(s: PtrOfTwoPassStabilizer) -> Self
fn from(s: PtrOfTwoPassStabilizer) -> Self
Converts to this type from the input type.
source§impl From<Ptr<VideoFileSource>> for Ptr<dyn IFrameSource>
impl From<Ptr<VideoFileSource>> for Ptr<dyn IFrameSource>
source§fn from(s: PtrOfVideoFileSource) -> Self
fn from(s: PtrOfVideoFileSource) -> Self
Converts to this type from the input type.
source§impl From<Ptr<WeightingDeblurer>> for Ptr<dyn DeblurerBase>
impl From<Ptr<WeightingDeblurer>> for Ptr<dyn DeblurerBase>
source§fn from(s: PtrOfWeightingDeblurer) -> Self
fn from(s: PtrOfWeightingDeblurer) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn AKAZE + 'static>> for Ptr<Feature2D>
impl From<Ptr<dyn AKAZE + 'static>> for Ptr<Feature2D>
source§fn from(s: PtrOfAKAZE) -> Self
fn from(s: PtrOfAKAZE) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn AffineFeature + 'static>> for Ptr<Feature2D>
impl From<Ptr<dyn AffineFeature + 'static>> for Ptr<Feature2D>
source§fn from(s: PtrOfAffineFeature) -> Self
fn from(s: PtrOfAffineFeature) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn AffineFeature2D + 'static>> for Ptr<Feature2D>
impl From<Ptr<dyn AffineFeature2D + 'static>> for Ptr<Feature2D>
source§fn from(s: PtrOfAffineFeature2D) -> Self
fn from(s: PtrOfAffineFeature2D) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn AffineTransformer + 'static>> for Ptr<dyn ShapeTransformer>
impl From<Ptr<dyn AffineTransformer + 'static>> for Ptr<dyn ShapeTransformer>
source§fn from(s: PtrOfAffineTransformer) -> Self
fn from(s: PtrOfAffineTransformer) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn AgastFeatureDetector + 'static>> for Ptr<Feature2D>
impl From<Ptr<dyn AgastFeatureDetector + 'static>> for Ptr<Feature2D>
source§fn from(s: PtrOfAgastFeatureDetector) -> Self
fn from(s: PtrOfAgastFeatureDetector) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn BoostDesc + 'static>> for Ptr<Feature2D>
impl From<Ptr<dyn BoostDesc + 'static>> for Ptr<Feature2D>
source§fn from(s: PtrOfBoostDesc) -> Self
fn from(s: PtrOfBoostDesc) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn ChiHistogramCostExtractor + 'static>> for Ptr<dyn HistogramCostExtractor>
impl From<Ptr<dyn ChiHistogramCostExtractor + 'static>> for Ptr<dyn HistogramCostExtractor>
source§fn from(s: PtrOfChiHistogramCostExtractor) -> Self
fn from(s: PtrOfChiHistogramCostExtractor) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn DAISY + 'static>> for Ptr<Feature2D>
impl From<Ptr<dyn DAISY + 'static>> for Ptr<Feature2D>
source§fn from(s: PtrOfDAISY) -> Self
fn from(s: PtrOfDAISY) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn Detail_BlocksCompensator + 'static>> for Ptr<dyn Detail_ExposureCompensator>
impl From<Ptr<dyn Detail_BlocksCompensator + 'static>> for Ptr<dyn Detail_ExposureCompensator>
source§fn from(s: PtrOfDetail_BlocksCompensator) -> Self
fn from(s: PtrOfDetail_BlocksCompensator) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn Detail_BundleAdjusterBase + 'static>> for Ptr<dyn Detail_Estimator>
impl From<Ptr<dyn Detail_BundleAdjusterBase + 'static>> for Ptr<dyn Detail_Estimator>
source§fn from(s: PtrOfDetail_BundleAdjusterBase) -> Self
fn from(s: PtrOfDetail_BundleAdjusterBase) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn Detail_PairwiseSeamFinder + 'static>> for Ptr<dyn Detail_SeamFinder>
impl From<Ptr<dyn Detail_PairwiseSeamFinder + 'static>> for Ptr<dyn Detail_SeamFinder>
source§fn from(s: PtrOfDetail_PairwiseSeamFinder) -> Self
fn from(s: PtrOfDetail_PairwiseSeamFinder) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn EMDHistogramCostExtractor + 'static>> for Ptr<dyn HistogramCostExtractor>
impl From<Ptr<dyn EMDHistogramCostExtractor + 'static>> for Ptr<dyn HistogramCostExtractor>
source§fn from(s: PtrOfEMDHistogramCostExtractor) -> Self
fn from(s: PtrOfEMDHistogramCostExtractor) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn EMDL1HistogramCostExtractor + 'static>> for Ptr<dyn HistogramCostExtractor>
impl From<Ptr<dyn EMDL1HistogramCostExtractor + 'static>> for Ptr<dyn HistogramCostExtractor>
source§fn from(s: PtrOfEMDL1HistogramCostExtractor) -> Self
fn from(s: PtrOfEMDL1HistogramCostExtractor) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn FastFeatureDetector + 'static>> for Ptr<Feature2D>
impl From<Ptr<dyn FastFeatureDetector + 'static>> for Ptr<Feature2D>
source§fn from(s: PtrOfFastFeatureDetector) -> Self
fn from(s: PtrOfFastFeatureDetector) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn GFTTDetector + 'static>> for Ptr<Feature2D>
impl From<Ptr<dyn GFTTDetector + 'static>> for Ptr<Feature2D>
source§fn from(s: PtrOfGFTTDetector) -> Self
fn from(s: PtrOfGFTTDetector) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn MoreAccurateMotionWobbleSuppressorBase + 'static>> for Ptr<dyn WobbleSuppressorBase>
impl From<Ptr<dyn MoreAccurateMotionWobbleSuppressorBase + 'static>> for Ptr<dyn WobbleSuppressorBase>
source§fn from(s: PtrOfMoreAccurateMotionWobbleSuppressorBase) -> Self
fn from(s: PtrOfMoreAccurateMotionWobbleSuppressorBase) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn MotionFilterBase + 'static>> for Ptr<dyn IMotionStabilizer>
impl From<Ptr<dyn MotionFilterBase + 'static>> for Ptr<dyn IMotionStabilizer>
source§fn from(s: PtrOfMotionFilterBase) -> Self
fn from(s: PtrOfMotionFilterBase) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn NormHistogramCostExtractor + 'static>> for Ptr<dyn HistogramCostExtractor>
impl From<Ptr<dyn NormHistogramCostExtractor + 'static>> for Ptr<dyn HistogramCostExtractor>
source§fn from(s: PtrOfNormHistogramCostExtractor) -> Self
fn from(s: PtrOfNormHistogramCostExtractor) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn SelectiveSearchSegmentationStrategyColor + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>
impl From<Ptr<dyn SelectiveSearchSegmentationStrategyColor + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>
source§fn from(s: PtrOfSelectiveSearchSegmentationStrategyColor) -> Self
fn from(s: PtrOfSelectiveSearchSegmentationStrategyColor) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn SelectiveSearchSegmentationStrategyFill + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>
impl From<Ptr<dyn SelectiveSearchSegmentationStrategyFill + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>
source§fn from(s: PtrOfSelectiveSearchSegmentationStrategyFill) -> Self
fn from(s: PtrOfSelectiveSearchSegmentationStrategyFill) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn SelectiveSearchSegmentationStrategyMultiple + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>
impl From<Ptr<dyn SelectiveSearchSegmentationStrategyMultiple + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>
source§fn from(s: PtrOfSelectiveSearchSegmentationStrategyMultiple) -> Self
fn from(s: PtrOfSelectiveSearchSegmentationStrategyMultiple) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn SelectiveSearchSegmentationStrategySize + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>
impl From<Ptr<dyn SelectiveSearchSegmentationStrategySize + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>
source§fn from(s: PtrOfSelectiveSearchSegmentationStrategySize) -> Self
fn from(s: PtrOfSelectiveSearchSegmentationStrategySize) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn SelectiveSearchSegmentationStrategyTexture + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>
impl From<Ptr<dyn SelectiveSearchSegmentationStrategyTexture + 'static>> for Ptr<dyn SelectiveSearchSegmentationStrategy>
source§fn from(s: PtrOfSelectiveSearchSegmentationStrategyTexture) -> Self
fn from(s: PtrOfSelectiveSearchSegmentationStrategyTexture) -> Self
Converts to this type from the input type.
source§impl From<Ptr<dyn ThinPlateSplineShapeTransformer + 'static>> for Ptr<dyn ShapeTransformer>
impl From<Ptr<dyn ThinPlateSplineShapeTransformer + 'static>> for Ptr<dyn ShapeTransformer>
source§fn from(s: PtrOfThinPlateSplineShapeTransformer) -> Self
fn from(s: PtrOfThinPlateSplineShapeTransformer) -> Self
Converts to this type from the input type.
source§impl FromFileMotionReaderTraitConst for Ptr<FromFileMotionReader>
impl FromFileMotionReaderTraitConst for Ptr<FromFileMotionReader>
fn as_raw_FromFileMotionReader(&self) -> *const c_void
source§impl GFTTDetector for Ptr<dyn GFTTDetector>
impl GFTTDetector for Ptr<dyn GFTTDetector>
fn as_raw_mut_GFTTDetector(&mut self) -> *mut c_void
fn set_max_features(&mut self, max_features: i32) -> Result<()>
fn set_quality_level(&mut self, qlevel: f64) -> Result<()>
fn set_min_distance(&mut self, min_distance: f64) -> Result<()>
fn set_block_size(&mut self, block_size: i32) -> Result<()>
fn set_harris_detector(&mut self, val: bool) -> Result<()>
fn set_k(&mut self, k: f64) -> Result<()>
source§impl GFTTDetectorConst for Ptr<dyn GFTTDetector>
impl GFTTDetectorConst for Ptr<dyn GFTTDetector>
fn as_raw_GFTTDetector(&self) -> *const c_void
fn get_max_features(&self) -> Result<i32>
fn get_quality_level(&self) -> Result<f64>
fn get_min_distance(&self) -> Result<f64>
fn get_block_size(&self) -> Result<i32>
fn get_harris_detector(&self) -> Result<bool>
fn get_k(&self) -> Result<f64>
fn get_default_name(&self) -> Result<String>
source§impl GPCTrainingSamplesTrait for Ptr<GPCTrainingSamples>
impl GPCTrainingSamplesTrait for Ptr<GPCTrainingSamples>
fn as_raw_mut_GPCTrainingSamples(&mut self) -> *mut c_void
source§impl GPCTreeTrait for Ptr<GPCTree>
impl GPCTreeTrait for Ptr<GPCTree>
source§impl GPCTreeTraitConst for Ptr<GPCTree>
impl GPCTreeTraitConst for Ptr<GPCTree>
source§impl GRULayerTrait for Ptr<GRULayer>
impl GRULayerTrait for Ptr<GRULayer>
fn as_raw_mut_GRULayer(&mut self) -> *mut c_void
source§impl GRULayerTraitConst for Ptr<GRULayer>
impl GRULayerTraitConst for Ptr<GRULayer>
fn as_raw_GRULayer(&self) -> *const c_void
source§impl GeneralizedHough for Ptr<dyn GeneralizedHoughBallard>
impl GeneralizedHough for Ptr<dyn GeneralizedHoughBallard>
fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void
source§fn set_template(
&mut self,
templ: &dyn ToInputArray,
templ_center: Point
) -> Result<()>
fn set_template(
&mut self,
templ: &dyn ToInputArray,
templ_center: Point
) -> Result<()>
set template to search Read more
source§fn set_template_1(
&mut self,
edges: &dyn ToInputArray,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
templ_center: Point
) -> Result<()>
fn set_template_1(
&mut self,
edges: &dyn ToInputArray,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
templ_center: Point
) -> Result<()>
C++ default parameters Read more
source§fn detect(
&mut self,
image: &dyn ToInputArray,
positions: &mut dyn ToOutputArray,
votes: &mut dyn ToOutputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
positions: &mut dyn ToOutputArray,
votes: &mut dyn ToOutputArray
) -> Result<()>
find template on image Read more
source§fn detect_with_edges(
&mut self,
edges: &dyn ToInputArray,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
positions: &mut dyn ToOutputArray,
votes: &mut dyn ToOutputArray
) -> Result<()>
fn detect_with_edges(
&mut self,
edges: &dyn ToInputArray,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
positions: &mut dyn ToOutputArray,
votes: &mut dyn ToOutputArray
) -> Result<()>
C++ default parameters Read more
source§fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>
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<()>
fn set_min_dist(&mut self, min_dist: f64) -> Result<()>
Minimum distance between the centers of the detected objects.
source§impl GeneralizedHough for Ptr<dyn GeneralizedHoughGuil>
impl GeneralizedHough for Ptr<dyn GeneralizedHoughGuil>
fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void
source§fn set_template(
&mut self,
templ: &dyn ToInputArray,
templ_center: Point
) -> Result<()>
fn set_template(
&mut self,
templ: &dyn ToInputArray,
templ_center: Point
) -> Result<()>
set template to search Read more
source§fn set_template_1(
&mut self,
edges: &dyn ToInputArray,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
templ_center: Point
) -> Result<()>
fn set_template_1(
&mut self,
edges: &dyn ToInputArray,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
templ_center: Point
) -> Result<()>
C++ default parameters Read more
source§fn detect(
&mut self,
image: &dyn ToInputArray,
positions: &mut dyn ToOutputArray,
votes: &mut dyn ToOutputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
positions: &mut dyn ToOutputArray,
votes: &mut dyn ToOutputArray
) -> Result<()>
find template on image Read more
source§fn detect_with_edges(
&mut self,
edges: &dyn ToInputArray,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
positions: &mut dyn ToOutputArray,
votes: &mut dyn ToOutputArray
) -> Result<()>
fn detect_with_edges(
&mut self,
edges: &dyn ToInputArray,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
positions: &mut dyn ToOutputArray,
votes: &mut dyn ToOutputArray
) -> Result<()>
C++ default parameters Read more
source§fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>
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<()>
fn set_min_dist(&mut self, min_dist: f64) -> Result<()>
Minimum distance between the centers of the detected objects.
source§impl GeneralizedHoughBallard for Ptr<dyn GeneralizedHoughBallard>
impl GeneralizedHoughBallard for Ptr<dyn GeneralizedHoughBallard>
fn as_raw_mut_GeneralizedHoughBallard(&mut self) -> *mut c_void
source§impl GeneralizedHoughBallardConst for Ptr<dyn GeneralizedHoughBallard>
impl GeneralizedHoughBallardConst for Ptr<dyn GeneralizedHoughBallard>
fn as_raw_GeneralizedHoughBallard(&self) -> *const c_void
fn get_levels(&self) -> Result<i32>
fn get_votes_threshold(&self) -> Result<i32>
source§impl GeneralizedHoughConst for Ptr<dyn GeneralizedHoughBallard>
impl GeneralizedHoughConst for Ptr<dyn GeneralizedHoughBallard>
source§impl GeneralizedHoughConst for Ptr<dyn GeneralizedHoughGuil>
impl GeneralizedHoughConst for Ptr<dyn GeneralizedHoughGuil>
source§impl GeneralizedHoughGuil for Ptr<dyn GeneralizedHoughGuil>
impl GeneralizedHoughGuil for Ptr<dyn GeneralizedHoughGuil>
fn as_raw_mut_GeneralizedHoughGuil(&mut self) -> *mut c_void
source§fn set_xi(&mut self, xi: f64) -> Result<()>
fn set_xi(&mut self, xi: f64) -> Result<()>
Angle difference in degrees between two points in feature.
source§fn set_angle_epsilon(&mut self, angle_epsilon: f64) -> Result<()>
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<()>
fn set_min_angle(&mut self, min_angle: f64) -> Result<()>
Minimal rotation angle to detect in degrees.
source§impl GeneralizedHoughGuilConst for Ptr<dyn GeneralizedHoughGuil>
impl GeneralizedHoughGuilConst for Ptr<dyn GeneralizedHoughGuil>
fn as_raw_GeneralizedHoughGuil(&self) -> *const c_void
fn get_xi(&self) -> Result<f64>
fn get_levels(&self) -> Result<i32>
fn get_angle_epsilon(&self) -> Result<f64>
fn get_min_angle(&self) -> Result<f64>
fn get_max_angle(&self) -> Result<f64>
fn get_angle_step(&self) -> Result<f64>
fn get_angle_thresh(&self) -> Result<i32>
fn get_min_scale(&self) -> Result<f64>
fn get_max_scale(&self) -> Result<f64>
fn get_scale_step(&self) -> Result<f64>
fn get_scale_thresh(&self) -> Result<i32>
fn get_pos_thresh(&self) -> Result<i32>
source§impl GpuMat_Allocator for Ptr<dyn GpuMat_Allocator>
impl GpuMat_Allocator for Ptr<dyn GpuMat_Allocator>
source§impl GpuMat_AllocatorConst for Ptr<dyn GpuMat_Allocator>
impl GpuMat_AllocatorConst for Ptr<dyn GpuMat_Allocator>
fn as_raw_GpuMat_Allocator(&self) -> *const c_void
source§impl GraphSegmentation for Ptr<dyn GraphSegmentation>
impl GraphSegmentation for Ptr<dyn GraphSegmentation>
fn as_raw_mut_GraphSegmentation(&mut self) -> *mut c_void
source§fn process_image(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn process_image(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
Segment an image and store output in dst Read more
fn set_sigma(&mut self, sigma: f64) -> Result<()>
fn get_sigma(&mut self) -> Result<f64>
fn set_k(&mut self, k: f32) -> Result<()>
fn get_k(&mut self) -> Result<f32>
fn set_min_size(&mut self, min_size: i32) -> Result<()>
fn get_min_size(&mut self) -> Result<i32>
source§impl GraphSegmentationConst for Ptr<dyn GraphSegmentation>
impl GraphSegmentationConst for Ptr<dyn GraphSegmentation>
fn as_raw_GraphSegmentation(&self) -> *const c_void
source§impl GrayCodePattern for Ptr<dyn GrayCodePattern>
impl GrayCodePattern for Ptr<dyn GrayCodePattern>
source§impl GrayCodePatternConst for Ptr<dyn GrayCodePattern>
impl GrayCodePatternConst for Ptr<dyn GrayCodePattern>
fn as_raw_GrayCodePattern(&self) -> *const c_void
source§fn get_number_of_pattern_images(&self) -> Result<size_t>
fn get_number_of_pattern_images(&self) -> Result<size_t>
Get the number of pattern images needed for the graycode pattern. Read more
source§fn get_images_for_shadow_masks(
&self,
black_image: &mut dyn ToInputOutputArray,
white_image: &mut dyn ToInputOutputArray
) -> Result<()>
fn get_images_for_shadow_masks(
&self,
black_image: &mut dyn ToInputOutputArray,
white_image: &mut dyn ToInputOutputArray
) -> Result<()>
Generates the all-black and all-white images needed for shadowMasks computation. Read more
source§fn get_proj_pixel(
&self,
pattern_images: &dyn ToInputArray,
x: i32,
y: i32,
proj_pix: &mut Point
) -> Result<bool>
fn get_proj_pixel(
&self,
pattern_images: &dyn ToInputArray,
x: i32,
y: i32,
proj_pix: &mut Point
) -> Result<bool>
For a (x,y) pixel of a camera returns the corresponding projector pixel. Read more
source§impl GrayworldWB for Ptr<dyn GrayworldWB>
impl GrayworldWB for Ptr<dyn GrayworldWB>
source§impl GrayworldWBConst for Ptr<dyn GrayworldWB>
impl GrayworldWBConst for Ptr<dyn GrayworldWB>
source§impl GridBoardTrait for Ptr<GridBoard>
impl GridBoardTrait for Ptr<GridBoard>
source§impl GridBoardTraitConst for Ptr<GridBoard>
impl GridBoardTraitConst for Ptr<GridBoard>
fn as_raw_GridBoard(&self) -> *const c_void
fn get_grid_size(&self) -> Result<Size>
fn get_marker_length(&self) -> Result<f32>
fn get_marker_separation(&self) -> Result<f32>
source§impl GuidedFilter for Ptr<dyn GuidedFilter>
impl GuidedFilter for Ptr<dyn GuidedFilter>
fn as_raw_mut_GuidedFilter(&mut self) -> *mut c_void
source§fn filter(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
d_depth: i32
) -> Result<()>
fn filter(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
d_depth: i32
) -> Result<()>
Apply Guided Filter to the filtering image. Read more
source§impl GuidedFilterConst for Ptr<dyn GuidedFilter>
impl GuidedFilterConst for Ptr<dyn GuidedFilter>
fn as_raw_GuidedFilter(&self) -> *const c_void
source§impl HDF5 for Ptr<dyn HDF5>
impl HDF5 for Ptr<dyn HDF5>
fn as_raw_mut_HDF5(&mut self) -> *mut c_void
source§fn atdelete(&mut self, atlabel: &str) -> Result<()>
fn atdelete(&mut self, atlabel: &str) -> Result<()>
Delete an attribute from the root group. Read more
source§fn atwrite(&mut self, value: i32, atlabel: &str) -> Result<()>
fn atwrite(&mut self, value: i32, atlabel: &str) -> Result<()>
Write an attribute inside the root group. Read more
source§fn atread(&mut self, value: &mut i32, atlabel: &str) -> Result<()>
fn atread(&mut self, value: &mut i32, atlabel: &str) -> Result<()>
Read an attribute from the root group. Read more
source§fn atwrite_1(&mut self, value: f64, atlabel: &str) -> Result<()>
fn atwrite_1(&mut self, value: f64, atlabel: &str) -> Result<()>
Write an attribute inside the root group. Read more
source§fn atread_1(&mut self, value: &mut f64, atlabel: &str) -> Result<()>
fn atread_1(&mut self, value: &mut f64, atlabel: &str) -> Result<()>
Read an attribute from the root group. Read more
source§fn atwrite_2(&mut self, value: &str, atlabel: &str) -> Result<()>
fn atwrite_2(&mut self, value: &str, atlabel: &str) -> Result<()>
Write an attribute inside the root group. Read more
source§fn atread_2(&mut self, value: &mut String, atlabel: &str) -> Result<()>
fn atread_2(&mut self, value: &mut String, atlabel: &str) -> Result<()>
Read an attribute from the root group. Read more
source§impl HDF5Const for Ptr<dyn HDF5>
impl HDF5Const for Ptr<dyn HDF5>
fn as_raw_HDF5(&self) -> *const c_void
source§fn atexists(&self, atlabel: &str) -> Result<bool>
fn atexists(&self, atlabel: &str) -> Result<bool>
Check whether a given attribute exits or not in the root group. Read more
source§fn dscreate(&self, rows: i32, cols: i32, typ: i32, dslabel: &str) -> Result<()>
fn dscreate(&self, rows: i32, cols: i32, typ: i32, dslabel: &str) -> Result<()>
Create and allocate storage for two dimensional single or multi channel dataset. Read more
source§fn dscreate_1(
&self,
rows: i32,
cols: i32,
typ: i32,
dslabel: &str,
compresslevel: i32
) -> Result<()>
fn dscreate_1(
&self,
rows: i32,
cols: i32,
typ: i32,
dslabel: &str,
compresslevel: i32
) -> Result<()>
Create and allocate storage for two dimensional single or multi channel dataset. Read more
source§fn dscreate_2(
&self,
rows: i32,
cols: i32,
typ: i32,
dslabel: &str,
compresslevel: i32,
dims_chunks: &Vector<i32>
) -> Result<()>
fn dscreate_2(
&self,
rows: i32,
cols: i32,
typ: i32,
dslabel: &str,
compresslevel: i32,
dims_chunks: &Vector<i32>
) -> Result<()>
Create and allocate storage for two dimensional single or multi channel dataset. Read more
source§fn dscreate_3(
&self,
rows: i32,
cols: i32,
typ: i32,
dslabel: &str,
compresslevel: i32,
dims_chunks: &i32
) -> Result<()>
fn dscreate_3(
&self,
rows: i32,
cols: i32,
typ: i32,
dslabel: &str,
compresslevel: i32,
dims_chunks: &i32
) -> Result<()>
Create and allocate storage for two dimensional single or multi channel dataset. Read more
fn dscreate_4(
&self,
n_dims: i32,
sizes: &i32,
typ: i32,
dslabel: &str
) -> Result<()>
fn dscreate_5(
&self,
n_dims: i32,
sizes: &i32,
typ: i32,
dslabel: &str,
compresslevel: i32
) -> Result<()>
source§fn dscreate_6(
&self,
sizes: &Vector<i32>,
typ: i32,
dslabel: &str,
compresslevel: i32,
dims_chunks: &Vector<i32>
) -> Result<()>
fn dscreate_6(
&self,
sizes: &Vector<i32>,
typ: i32,
dslabel: &str,
compresslevel: i32,
dims_chunks: &Vector<i32>
) -> Result<()>
C++ default parameters Read more
source§fn dscreate_7(
&self,
n_dims: i32,
sizes: &i32,
typ: i32,
dslabel: &str,
compresslevel: i32,
dims_chunks: &i32
) -> Result<()>
fn dscreate_7(
&self,
n_dims: i32,
sizes: &i32,
typ: i32,
dslabel: &str,
compresslevel: i32,
dims_chunks: &i32
) -> Result<()>
Create and allocate storage for n-dimensional dataset, single or multichannel type. Read more
source§fn dsgetsize(&self, dslabel: &str, dims_flag: i32) -> Result<Vector<i32>>
fn dsgetsize(&self, dslabel: &str, dims_flag: i32) -> Result<Vector<i32>>
Fetch dataset sizes Read more
fn dswrite(&self, array: &dyn ToInputArray, dslabel: &str) -> Result<()>
fn dswrite_1(
&self,
array: &dyn ToInputArray,
dslabel: &str,
dims_offset: &i32
) -> Result<()>
source§fn dswrite_2(
&self,
array: &dyn ToInputArray,
dslabel: &str,
dims_offset: &Vector<i32>,
dims_counts: &Vector<i32>
) -> Result<()>
fn dswrite_2(
&self,
array: &dyn ToInputArray,
dslabel: &str,
dims_offset: &Vector<i32>,
dims_counts: &Vector<i32>
) -> Result<()>
C++ default parameters Read more
source§fn dswrite_3(
&self,
array: &dyn ToInputArray,
dslabel: &str,
dims_offset: &i32,
dims_counts: &i32
) -> Result<()>
fn dswrite_3(
&self,
array: &dyn ToInputArray,
dslabel: &str,
dims_offset: &i32,
dims_counts: &i32
) -> Result<()>
Write or overwrite a Mat object into specified dataset of hdf5 file. Read more
fn dsinsert(&self, array: &dyn ToInputArray, dslabel: &str) -> Result<()>
fn dsinsert_1(
&self,
array: &dyn ToInputArray,
dslabel: &str,
dims_offset: &i32
) -> Result<()>
source§fn dsinsert_2(
&self,
array: &dyn ToInputArray,
dslabel: &str,
dims_offset: &Vector<i32>,
dims_counts: &Vector<i32>
) -> Result<()>
fn dsinsert_2(
&self,
array: &dyn ToInputArray,
dslabel: &str,
dims_offset: &Vector<i32>,
dims_counts: &Vector<i32>
) -> Result<()>
C++ default parameters Read more
source§fn dsinsert_3(
&self,
array: &dyn ToInputArray,
dslabel: &str,
dims_offset: &i32,
dims_counts: &i32
) -> Result<()>
fn dsinsert_3(
&self,
array: &dyn ToInputArray,
dslabel: &str,
dims_offset: &i32,
dims_counts: &i32
) -> Result<()>
Insert or overwrite a Mat object into specified dataset and auto expand dataset size if unlimited property allows. Read more
fn dsread(&self, array: &mut dyn ToOutputArray, dslabel: &str) -> Result<()>
fn dsread_1(
&self,
array: &mut dyn ToOutputArray,
dslabel: &str,
dims_offset: &i32
) -> Result<()>
source§fn dsread_2(
&self,
array: &mut dyn ToOutputArray,
dslabel: &str,
dims_offset: &Vector<i32>,
dims_counts: &Vector<i32>
) -> Result<()>
fn dsread_2(
&self,
array: &mut dyn ToOutputArray,
dslabel: &str,
dims_offset: &Vector<i32>,
dims_counts: &Vector<i32>
) -> Result<()>
C++ default parameters Read more
source§fn dsread_3(
&self,
array: &mut dyn ToOutputArray,
dslabel: &str,
dims_offset: &i32,
dims_counts: &i32
) -> Result<()>
fn dsread_3(
&self,
array: &mut dyn ToOutputArray,
dslabel: &str,
dims_offset: &i32,
dims_counts: &i32
) -> Result<()>
Read specific dataset from hdf5 file into Mat object. Read more
source§fn kpgetsize(&self, kplabel: &str, dims_flag: i32) -> Result<i32>
fn kpgetsize(&self, kplabel: &str, dims_flag: i32) -> Result<i32>
Fetch keypoint dataset size Read more
source§fn kpcreate(
&self,
size: i32,
kplabel: &str,
compresslevel: i32,
chunks: i32
) -> Result<()>
fn kpcreate(
&self,
size: i32,
kplabel: &str,
compresslevel: i32,
chunks: i32
) -> Result<()>
Create and allocate special storage for cv::KeyPoint dataset. Read more
source§fn kpwrite(
&self,
keypoints: Vector<KeyPoint>,
kplabel: &str,
offset: i32,
counts: i32
) -> Result<()>
fn kpwrite(
&self,
keypoints: Vector<KeyPoint>,
kplabel: &str,
offset: i32,
counts: i32
) -> Result<()>
Write or overwrite list of KeyPoint into specified dataset of hdf5 file. Read more
source§impl HOG for Ptr<dyn HOG>
impl HOG for Ptr<dyn HOG>
fn as_raw_mut_HOG(&mut self) -> *mut c_void
source§fn set_win_sigma(&mut self, win_sigma: f64) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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. Read more
source§fn set_win_stride(&mut self, win_stride: Size) -> Result<()>
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<()>
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<()>
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. Read more
source§fn set_descriptor_format(
&mut self,
descr_format: HOGDescriptor_DescriptorStorageFormat
) -> Result<()>
fn set_descriptor_format(
&mut self,
descr_format: HOGDescriptor_DescriptorStorageFormat
) -> Result<()>
Descriptor storage format: Read more
source§fn set_svm_detector(&mut self, detector: &dyn ToInputArray) -> Result<()>
fn set_svm_detector(&mut self, detector: &dyn ToInputArray) -> Result<()>
Sets coefficients for the linear SVM classifier.
source§fn detect(
&mut self,
img: &dyn ToInputArray,
found_locations: &mut Vector<Point>,
confidences: &mut Vector<f64>
) -> Result<()>
fn detect(
&mut self,
img: &dyn ToInputArray,
found_locations: &mut Vector<Point>,
confidences: &mut Vector<f64>
) -> Result<()>
Performs object detection without a multi-scale window. Read more
fn detect_1(
&mut self,
img: &dyn ToInputArray,
found_locations: &mut Vector<Point>,
confidences: &mut Vector<f64>
) -> Result<()>
source§fn detect_without_conf(
&mut self,
img: &dyn ToInputArray,
found_locations: &mut Vector<Point>
) -> Result<()>
fn detect_without_conf(
&mut self,
img: &dyn ToInputArray,
found_locations: &mut Vector<Point>
) -> Result<()>
Performs object detection without a multi-scale window. Read more
source§fn detect_multi_scale(
&mut self,
img: &dyn ToInputArray,
found_locations: &mut Vector<Rect>,
confidences: &mut Vector<f64>
) -> Result<()>
fn detect_multi_scale(
&mut self,
img: &dyn ToInputArray,
found_locations: &mut Vector<Rect>,
confidences: &mut Vector<f64>
) -> Result<()>
Performs object detection with a multi-scale window. Read more
fn detect_multi_scale_1(
&mut self,
img: &dyn ToInputArray,
found_locations: &mut Vector<Rect>,
confidences: &mut Vector<f64>
) -> Result<()>
source§fn detect_multi_scale_without_conf(
&mut self,
img: &dyn ToInputArray,
found_locations: &mut Vector<Rect>
) -> Result<()>
fn detect_multi_scale_without_conf(
&mut self,
img: &dyn ToInputArray,
found_locations: &mut Vector<Rect>
) -> Result<()>
Performs object detection with a multi-scale window. Read more
source§fn compute(
&mut self,
img: &dyn ToInputArray,
descriptors: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn compute(
&mut self,
img: &dyn ToInputArray,
descriptors: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Returns block descriptors computed for the whole image. Read more
source§impl HOGConst for Ptr<dyn HOG>
impl HOGConst for Ptr<dyn HOG>
fn as_raw_HOG(&self) -> *const c_void
fn get_win_sigma(&self) -> Result<f64>
fn get_l2_hys_threshold(&self) -> Result<f64>
fn get_gamma_correction(&self) -> Result<bool>
fn get_num_levels(&self) -> Result<i32>
fn get_hit_threshold(&self) -> Result<f64>
fn get_win_stride(&self) -> Result<Size>
fn get_scale_factor(&self) -> Result<f64>
fn get_group_threshold(&self) -> Result<i32>
fn get_descriptor_format(&self) -> Result<HOGDescriptor_DescriptorStorageFormat>
source§fn get_descriptor_size(&self) -> Result<size_t>
fn get_descriptor_size(&self) -> Result<size_t>
Returns the number of coefficients required for the classification.
source§fn get_block_histogram_size(&self) -> Result<size_t>
fn get_block_histogram_size(&self) -> Result<size_t>
Returns the block histogram size.
source§fn get_default_people_detector(&self) -> Result<Mat>
fn get_default_people_detector(&self) -> Result<Mat>
Returns coefficients of the classifier trained for people detection.
source§impl HardSigmoidLayerTrait for Ptr<HardSigmoidLayer>
impl HardSigmoidLayerTrait for Ptr<HardSigmoidLayer>
source§impl HardSwishLayerTrait for Ptr<HardSwishLayer>
impl HardSwishLayerTrait for Ptr<HardSwishLayer>
fn as_raw_mut_HardSwishLayer(&mut self) -> *mut c_void
source§impl HardSwishLayerTraitConst for Ptr<HardSwishLayer>
impl HardSwishLayerTraitConst for Ptr<HardSwishLayer>
fn as_raw_HardSwishLayer(&self) -> *const c_void
source§impl HarrisLaplaceFeatureDetectorTrait for Ptr<HarrisLaplaceFeatureDetector>
impl HarrisLaplaceFeatureDetectorTrait for Ptr<HarrisLaplaceFeatureDetector>
fn as_raw_mut_HarrisLaplaceFeatureDetector(&mut self) -> *mut c_void
source§impl HarrisLaplaceFeatureDetectorTraitConst for Ptr<HarrisLaplaceFeatureDetector>
impl HarrisLaplaceFeatureDetectorTraitConst for Ptr<HarrisLaplaceFeatureDetector>
fn as_raw_HarrisLaplaceFeatureDetector(&self) -> *const c_void
source§impl HausdorffDistanceExtractor for Ptr<dyn HausdorffDistanceExtractor>
impl HausdorffDistanceExtractor for Ptr<dyn HausdorffDistanceExtractor>
source§impl HausdorffDistanceExtractorConst for Ptr<dyn HausdorffDistanceExtractor>
impl HausdorffDistanceExtractorConst for Ptr<dyn HausdorffDistanceExtractor>
fn as_raw_HausdorffDistanceExtractor(&self) -> *const c_void
fn get_distance_flag(&self) -> Result<i32>
fn get_rank_proportion(&self) -> Result<f32>
source§impl HfsSegment for Ptr<dyn HfsSegment>
impl HfsSegment for Ptr<dyn HfsSegment>
fn as_raw_mut_HfsSegment(&mut self) -> *mut c_void
source§fn set_seg_egb_threshold_i(&mut self, c: f32) -> Result<()>
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. Read more
fn get_seg_egb_threshold_i(&mut self) -> Result<f32>
source§fn set_min_region_size_i(&mut self, n: i32) -> Result<()>
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. Read more
fn get_min_region_size_i(&mut self) -> Result<i32>
source§fn set_seg_egb_threshold_ii(&mut self, c: f32) -> Result<()>
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. Read more
fn get_seg_egb_threshold_ii(&mut self) -> Result<f32>
source§fn set_min_region_size_ii(&mut self, n: i32) -> Result<()>
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 Read more
fn get_min_region_size_ii(&mut self) -> Result<i32>
source§fn set_spatial_weight(&mut self, w: f32) -> Result<()>
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
fn get_spatial_weight(&mut self) -> Result<f32>
source§fn set_slic_spixel_size(&mut self, n: i32) -> Result<()>
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
fn get_slic_spixel_size(&mut self) -> Result<i32>
source§fn set_num_slic_iter(&mut self, n: i32) -> Result<()>
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. Read more
fn get_num_slic_iter(&mut self) -> Result<i32>
source§fn perform_segment_gpu(
&mut self,
src: &dyn ToInputArray,
if_draw: bool
) -> Result<Mat>
fn perform_segment_gpu(
&mut self,
src: &dyn ToInputArray,
if_draw: bool
) -> Result<Mat>
do segmentation gpu Read more
source§fn perform_segment_cpu(
&mut self,
src: &dyn ToInputArray,
if_draw: bool
) -> Result<Mat>
fn perform_segment_cpu(
&mut self,
src: &dyn ToInputArray,
if_draw: bool
) -> Result<Mat>
do segmentation with cpu
This method is only implemented for reference.
It is highly NOT recommanded to use it. Read more
source§impl HfsSegmentConst for Ptr<dyn HfsSegment>
impl HfsSegmentConst for Ptr<dyn HfsSegment>
fn as_raw_HfsSegment(&self) -> *const c_void
source§impl HistogramCostExtractor for Ptr<dyn ChiHistogramCostExtractor>
impl HistogramCostExtractor for Ptr<dyn ChiHistogramCostExtractor>
fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void
fn build_cost_matrix(
&mut self,
descriptors1: &dyn ToInputArray,
descriptors2: &dyn ToInputArray,
cost_matrix: &mut dyn ToOutputArray
) -> Result<()>
fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>
fn set_default_cost(&mut self, default_cost: f32) -> Result<()>
source§impl HistogramCostExtractor for Ptr<dyn EMDHistogramCostExtractor>
impl HistogramCostExtractor for Ptr<dyn EMDHistogramCostExtractor>
fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void
fn build_cost_matrix(
&mut self,
descriptors1: &dyn ToInputArray,
descriptors2: &dyn ToInputArray,
cost_matrix: &mut dyn ToOutputArray
) -> Result<()>
fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>
fn set_default_cost(&mut self, default_cost: f32) -> Result<()>
source§impl HistogramCostExtractor for Ptr<dyn EMDL1HistogramCostExtractor>
impl HistogramCostExtractor for Ptr<dyn EMDL1HistogramCostExtractor>
fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void
fn build_cost_matrix(
&mut self,
descriptors1: &dyn ToInputArray,
descriptors2: &dyn ToInputArray,
cost_matrix: &mut dyn ToOutputArray
) -> Result<()>
fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>
fn set_default_cost(&mut self, default_cost: f32) -> Result<()>
source§impl HistogramCostExtractor for Ptr<dyn HistogramCostExtractor>
impl HistogramCostExtractor for Ptr<dyn HistogramCostExtractor>
fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void
fn build_cost_matrix(
&mut self,
descriptors1: &dyn ToInputArray,
descriptors2: &dyn ToInputArray,
cost_matrix: &mut dyn ToOutputArray
) -> Result<()>
fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>
fn set_default_cost(&mut self, default_cost: f32) -> Result<()>
source§impl HistogramCostExtractor for Ptr<dyn NormHistogramCostExtractor>
impl HistogramCostExtractor for Ptr<dyn NormHistogramCostExtractor>
fn as_raw_mut_HistogramCostExtractor(&mut self) -> *mut c_void
fn build_cost_matrix(
&mut self,
descriptors1: &dyn ToInputArray,
descriptors2: &dyn ToInputArray,
cost_matrix: &mut dyn ToOutputArray
) -> Result<()>
fn set_n_dummies(&mut self, n_dummies: i32) -> Result<()>
fn set_default_cost(&mut self, default_cost: f32) -> Result<()>
source§impl HistogramCostExtractorConst for Ptr<dyn ChiHistogramCostExtractor>
impl HistogramCostExtractorConst for Ptr<dyn ChiHistogramCostExtractor>
fn as_raw_HistogramCostExtractor(&self) -> *const c_void
fn get_n_dummies(&self) -> Result<i32>
fn get_default_cost(&self) -> Result<f32>
source§impl HistogramCostExtractorConst for Ptr<dyn EMDHistogramCostExtractor>
impl HistogramCostExtractorConst for Ptr<dyn EMDHistogramCostExtractor>
fn as_raw_HistogramCostExtractor(&self) -> *const c_void
fn get_n_dummies(&self) -> Result<i32>
fn get_default_cost(&self) -> Result<f32>
source§impl HistogramCostExtractorConst for Ptr<dyn EMDL1HistogramCostExtractor>
impl HistogramCostExtractorConst for Ptr<dyn EMDL1HistogramCostExtractor>
fn as_raw_HistogramCostExtractor(&self) -> *const c_void
fn get_n_dummies(&self) -> Result<i32>
fn get_default_cost(&self) -> Result<f32>
source§impl HistogramCostExtractorConst for Ptr<dyn HistogramCostExtractor>
impl HistogramCostExtractorConst for Ptr<dyn HistogramCostExtractor>
fn as_raw_HistogramCostExtractor(&self) -> *const c_void
fn get_n_dummies(&self) -> Result<i32>
fn get_default_cost(&self) -> Result<f32>
source§impl HistogramCostExtractorConst for Ptr<dyn NormHistogramCostExtractor>
impl HistogramCostExtractorConst for Ptr<dyn NormHistogramCostExtractor>
fn as_raw_HistogramCostExtractor(&self) -> *const c_void
fn get_n_dummies(&self) -> Result<i32>
fn get_default_cost(&self) -> Result<f32>
source§impl HistogramPhaseUnwrapping for Ptr<dyn HistogramPhaseUnwrapping>
impl HistogramPhaseUnwrapping for Ptr<dyn HistogramPhaseUnwrapping>
fn as_raw_mut_HistogramPhaseUnwrapping(&mut self) -> *mut c_void
source§fn get_inverse_reliability_map(
&mut self,
reliability_map: &mut dyn ToOutputArray
) -> Result<()>
fn get_inverse_reliability_map(
&mut self,
reliability_map: &mut dyn ToOutputArray
) -> Result<()>
Get the reliability map computed from the wrapped phase map. Read more
source§impl HistogramPhaseUnwrappingConst for Ptr<dyn HistogramPhaseUnwrapping>
impl HistogramPhaseUnwrappingConst for Ptr<dyn HistogramPhaseUnwrapping>
fn as_raw_HistogramPhaseUnwrapping(&self) -> *const c_void
source§impl ICPOdometryTrait for Ptr<ICPOdometry>
impl ICPOdometryTrait for Ptr<ICPOdometry>
fn as_raw_mut_ICPOdometry(&mut self) -> *mut c_void
fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>
fn set_min_depth(&mut self, val: f64) -> Result<()>
fn set_max_depth(&mut self, val: f64) -> Result<()>
fn set_max_depth_diff(&mut self, val: f64) -> Result<()>
fn set_iteration_counts(&mut self, val: &Mat) -> Result<()>
fn set_max_points_part(&mut self, val: f64) -> Result<()>
fn set_transform_type(&mut self, val: i32) -> Result<()>
fn set_max_translation(&mut self, val: f64) -> Result<()>
fn set_max_rotation(&mut self, val: f64) -> Result<()>
source§impl ICPOdometryTraitConst for Ptr<ICPOdometry>
impl ICPOdometryTraitConst for Ptr<ICPOdometry>
fn as_raw_ICPOdometry(&self) -> *const c_void
fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
fn get_camera_matrix(&self) -> Result<Mat>
fn get_min_depth(&self) -> Result<f64>
fn get_max_depth(&self) -> Result<f64>
fn get_max_depth_diff(&self) -> Result<f64>
fn get_iteration_counts(&self) -> Result<Mat>
fn get_max_points_part(&self) -> Result<f64>
fn get_transform_type(&self) -> Result<i32>
fn get_max_translation(&self) -> Result<f64>
fn get_max_rotation(&self) -> Result<f64>
fn get_normals_computer(&self) -> Result<Ptr<RgbdNormals>>
source§impl IDenseOptFlowEstimator for Ptr<DensePyrLkOptFlowEstimatorGpu>
impl IDenseOptFlowEstimator for Ptr<DensePyrLkOptFlowEstimatorGpu>
fn as_raw_mut_IDenseOptFlowEstimator(&mut self) -> *mut c_void
fn run(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow_x: &mut dyn ToInputOutputArray,
flow_y: &mut dyn ToInputOutputArray,
errors: &mut dyn ToOutputArray
) -> Result<()>
source§impl IDenseOptFlowEstimator for Ptr<dyn IDenseOptFlowEstimator>
impl IDenseOptFlowEstimator for Ptr<dyn IDenseOptFlowEstimator>
fn as_raw_mut_IDenseOptFlowEstimator(&mut self) -> *mut c_void
fn run(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow_x: &mut dyn ToInputOutputArray,
flow_y: &mut dyn ToInputOutputArray,
errors: &mut dyn ToOutputArray
) -> Result<()>
source§impl IDenseOptFlowEstimatorConst for Ptr<DensePyrLkOptFlowEstimatorGpu>
impl IDenseOptFlowEstimatorConst for Ptr<DensePyrLkOptFlowEstimatorGpu>
fn as_raw_IDenseOptFlowEstimator(&self) -> *const c_void
source§impl IDenseOptFlowEstimatorConst for Ptr<dyn IDenseOptFlowEstimator>
impl IDenseOptFlowEstimatorConst for Ptr<dyn IDenseOptFlowEstimator>
fn as_raw_IDenseOptFlowEstimator(&self) -> *const c_void
source§impl IFrameSource for Ptr<MaskFrameSource>
impl IFrameSource for Ptr<MaskFrameSource>
source§impl IFrameSource for Ptr<NullFrameSource>
impl IFrameSource for Ptr<NullFrameSource>
source§impl IFrameSource for Ptr<OnePassStabilizer>
impl IFrameSource for Ptr<OnePassStabilizer>
source§impl IFrameSource for Ptr<TwoPassStabilizer>
impl IFrameSource for Ptr<TwoPassStabilizer>
source§impl IFrameSource for Ptr<VideoFileSource>
impl IFrameSource for Ptr<VideoFileSource>
source§impl IFrameSource for Ptr<dyn IFrameSource>
impl IFrameSource for Ptr<dyn IFrameSource>
source§impl IFrameSourceConst for Ptr<MaskFrameSource>
impl IFrameSourceConst for Ptr<MaskFrameSource>
fn as_raw_IFrameSource(&self) -> *const c_void
source§impl IFrameSourceConst for Ptr<NullFrameSource>
impl IFrameSourceConst for Ptr<NullFrameSource>
fn as_raw_IFrameSource(&self) -> *const c_void
source§impl IFrameSourceConst for Ptr<OnePassStabilizer>
impl IFrameSourceConst for Ptr<OnePassStabilizer>
fn as_raw_IFrameSource(&self) -> *const c_void
source§impl IFrameSourceConst for Ptr<TwoPassStabilizer>
impl IFrameSourceConst for Ptr<TwoPassStabilizer>
fn as_raw_IFrameSource(&self) -> *const c_void
source§impl IFrameSourceConst for Ptr<VideoFileSource>
impl IFrameSourceConst for Ptr<VideoFileSource>
fn as_raw_IFrameSource(&self) -> *const c_void
source§impl IFrameSourceConst for Ptr<dyn IFrameSource>
impl IFrameSourceConst for Ptr<dyn IFrameSource>
fn as_raw_IFrameSource(&self) -> *const c_void
source§impl ILog for Ptr<LogToStdout>
impl ILog for Ptr<LogToStdout>
source§impl ILogConst for Ptr<LogToStdout>
impl ILogConst for Ptr<LogToStdout>
fn as_raw_ILog(&self) -> *const c_void
source§impl IMotionStabilizer for Ptr<GaussianMotionFilter>
impl IMotionStabilizer for Ptr<GaussianMotionFilter>
source§impl IMotionStabilizer for Ptr<LpMotionStabilizer>
impl IMotionStabilizer for Ptr<LpMotionStabilizer>
source§impl IMotionStabilizer for Ptr<dyn IMotionStabilizer>
impl IMotionStabilizer for Ptr<dyn IMotionStabilizer>
source§impl IMotionStabilizer for Ptr<dyn MotionFilterBase>
impl IMotionStabilizer for Ptr<dyn MotionFilterBase>
source§impl IMotionStabilizerConst for Ptr<GaussianMotionFilter>
impl IMotionStabilizerConst for Ptr<GaussianMotionFilter>
fn as_raw_IMotionStabilizer(&self) -> *const c_void
source§impl IMotionStabilizerConst for Ptr<LpMotionStabilizer>
impl IMotionStabilizerConst for Ptr<LpMotionStabilizer>
fn as_raw_IMotionStabilizer(&self) -> *const c_void
source§impl IMotionStabilizerConst for Ptr<MotionStabilizationPipeline>
impl IMotionStabilizerConst for Ptr<MotionStabilizationPipeline>
fn as_raw_IMotionStabilizer(&self) -> *const c_void
source§impl IMotionStabilizerConst for Ptr<dyn IMotionStabilizer>
impl IMotionStabilizerConst for Ptr<dyn IMotionStabilizer>
fn as_raw_IMotionStabilizer(&self) -> *const c_void
source§impl IMotionStabilizerConst for Ptr<dyn MotionFilterBase>
impl IMotionStabilizerConst for Ptr<dyn MotionFilterBase>
fn as_raw_IMotionStabilizer(&self) -> *const c_void
source§impl IOutlierRejector for Ptr<NullOutlierRejector>
impl IOutlierRejector for Ptr<NullOutlierRejector>
fn as_raw_mut_IOutlierRejector(&mut self) -> *mut c_void
fn process(
&mut self,
frame_size: Size,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
mask: &mut dyn ToOutputArray
) -> Result<()>
source§impl IOutlierRejector for Ptr<TranslationBasedLocalOutlierRejector>
impl IOutlierRejector for Ptr<TranslationBasedLocalOutlierRejector>
fn as_raw_mut_IOutlierRejector(&mut self) -> *mut c_void
fn process(
&mut self,
frame_size: Size,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
mask: &mut dyn ToOutputArray
) -> Result<()>
source§impl IOutlierRejector for Ptr<dyn IOutlierRejector>
impl IOutlierRejector for Ptr<dyn IOutlierRejector>
fn as_raw_mut_IOutlierRejector(&mut self) -> *mut c_void
fn process(
&mut self,
frame_size: Size,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
mask: &mut dyn ToOutputArray
) -> Result<()>
source§impl IOutlierRejectorConst for Ptr<NullOutlierRejector>
impl IOutlierRejectorConst for Ptr<NullOutlierRejector>
fn as_raw_IOutlierRejector(&self) -> *const c_void
source§impl IOutlierRejectorConst for Ptr<TranslationBasedLocalOutlierRejector>
impl IOutlierRejectorConst for Ptr<TranslationBasedLocalOutlierRejector>
fn as_raw_IOutlierRejector(&self) -> *const c_void
source§impl IOutlierRejectorConst for Ptr<dyn IOutlierRejector>
impl IOutlierRejectorConst for Ptr<dyn IOutlierRejector>
fn as_raw_IOutlierRejector(&self) -> *const c_void
source§impl ISparseOptFlowEstimator for Ptr<SparsePyrLkOptFlowEstimator>
impl ISparseOptFlowEstimator for Ptr<SparsePyrLkOptFlowEstimator>
fn as_raw_mut_ISparseOptFlowEstimator(&mut self) -> *mut c_void
fn run(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
points0: &dyn ToInputArray,
points1: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
errors: &mut dyn ToOutputArray
) -> Result<()>
source§impl ISparseOptFlowEstimator for Ptr<SparsePyrLkOptFlowEstimatorGpu>
impl ISparseOptFlowEstimator for Ptr<SparsePyrLkOptFlowEstimatorGpu>
fn as_raw_mut_ISparseOptFlowEstimator(&mut self) -> *mut c_void
fn run(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
points0: &dyn ToInputArray,
points1: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
errors: &mut dyn ToOutputArray
) -> Result<()>
source§impl ISparseOptFlowEstimator for Ptr<dyn ISparseOptFlowEstimator>
impl ISparseOptFlowEstimator for Ptr<dyn ISparseOptFlowEstimator>
fn as_raw_mut_ISparseOptFlowEstimator(&mut self) -> *mut c_void
fn run(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
points0: &dyn ToInputArray,
points1: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
errors: &mut dyn ToOutputArray
) -> Result<()>
source§impl ISparseOptFlowEstimatorConst for Ptr<SparsePyrLkOptFlowEstimator>
impl ISparseOptFlowEstimatorConst for Ptr<SparsePyrLkOptFlowEstimator>
fn as_raw_ISparseOptFlowEstimator(&self) -> *const c_void
source§impl ISparseOptFlowEstimatorConst for Ptr<SparsePyrLkOptFlowEstimatorGpu>
impl ISparseOptFlowEstimatorConst for Ptr<SparsePyrLkOptFlowEstimatorGpu>
fn as_raw_ISparseOptFlowEstimator(&self) -> *const c_void
source§impl ISparseOptFlowEstimatorConst for Ptr<dyn ISparseOptFlowEstimator>
impl ISparseOptFlowEstimatorConst for Ptr<dyn ISparseOptFlowEstimator>
fn as_raw_ISparseOptFlowEstimator(&self) -> *const c_void
source§impl ImageMotionEstimatorBase for Ptr<FromFileMotionReader>
impl ImageMotionEstimatorBase for Ptr<FromFileMotionReader>
fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>
source§impl ImageMotionEstimatorBase for Ptr<KeypointBasedMotionEstimator>
impl ImageMotionEstimatorBase for Ptr<KeypointBasedMotionEstimator>
fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>
source§impl ImageMotionEstimatorBase for Ptr<KeypointBasedMotionEstimatorGpu>
impl ImageMotionEstimatorBase for Ptr<KeypointBasedMotionEstimatorGpu>
fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>
source§impl ImageMotionEstimatorBase for Ptr<ToFileMotionWriter>
impl ImageMotionEstimatorBase for Ptr<ToFileMotionWriter>
fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>
source§impl ImageMotionEstimatorBase for Ptr<dyn ImageMotionEstimatorBase>
impl ImageMotionEstimatorBase for Ptr<dyn ImageMotionEstimatorBase>
fn as_raw_mut_ImageMotionEstimatorBase(&mut self) -> *mut c_void
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>
source§impl ImageMotionEstimatorBaseConst for Ptr<FromFileMotionReader>
impl ImageMotionEstimatorBaseConst for Ptr<FromFileMotionReader>
fn as_raw_ImageMotionEstimatorBase(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
source§impl ImageMotionEstimatorBaseConst for Ptr<KeypointBasedMotionEstimator>
impl ImageMotionEstimatorBaseConst for Ptr<KeypointBasedMotionEstimator>
fn as_raw_ImageMotionEstimatorBase(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
source§impl ImageMotionEstimatorBaseConst for Ptr<KeypointBasedMotionEstimatorGpu>
impl ImageMotionEstimatorBaseConst for Ptr<KeypointBasedMotionEstimatorGpu>
fn as_raw_ImageMotionEstimatorBase(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
source§impl ImageMotionEstimatorBaseConst for Ptr<ToFileMotionWriter>
impl ImageMotionEstimatorBaseConst for Ptr<ToFileMotionWriter>
fn as_raw_ImageMotionEstimatorBase(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
source§impl ImageMotionEstimatorBaseConst for Ptr<dyn ImageMotionEstimatorBase>
impl ImageMotionEstimatorBaseConst for Ptr<dyn ImageMotionEstimatorBase>
fn as_raw_ImageMotionEstimatorBase(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
source§impl ImgHashBaseTrait for Ptr<AverageHash>
impl ImgHashBaseTrait for Ptr<AverageHash>
fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void
source§fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
Computes hash of the input image Read more
source§impl ImgHashBaseTrait for Ptr<BlockMeanHash>
impl ImgHashBaseTrait for Ptr<BlockMeanHash>
fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void
source§fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
Computes hash of the input image Read more
source§impl ImgHashBaseTrait for Ptr<ColorMomentHash>
impl ImgHashBaseTrait for Ptr<ColorMomentHash>
fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void
source§fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
Computes hash of the input image Read more
source§impl ImgHashBaseTrait for Ptr<MarrHildrethHash>
impl ImgHashBaseTrait for Ptr<MarrHildrethHash>
fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void
source§fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
Computes hash of the input image Read more
source§impl ImgHashBaseTrait for Ptr<PHash>
impl ImgHashBaseTrait for Ptr<PHash>
fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void
source§fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
Computes hash of the input image Read more
source§impl ImgHashBaseTrait for Ptr<RadialVarianceHash>
impl ImgHashBaseTrait for Ptr<RadialVarianceHash>
fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void
source§fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
Computes hash of the input image Read more
source§impl ImgHashBaseTraitConst for Ptr<AverageHash>
impl ImgHashBaseTraitConst for Ptr<AverageHash>
fn as_raw_ImgHashBase(&self) -> *const c_void
source§fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
Compare the hash value between inOne and inTwo Read more
source§impl ImgHashBaseTraitConst for Ptr<BlockMeanHash>
impl ImgHashBaseTraitConst for Ptr<BlockMeanHash>
fn as_raw_ImgHashBase(&self) -> *const c_void
source§fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
Compare the hash value between inOne and inTwo Read more
source§impl ImgHashBaseTraitConst for Ptr<ColorMomentHash>
impl ImgHashBaseTraitConst for Ptr<ColorMomentHash>
fn as_raw_ImgHashBase(&self) -> *const c_void
source§fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
Compare the hash value between inOne and inTwo Read more
source§impl ImgHashBaseTraitConst for Ptr<MarrHildrethHash>
impl ImgHashBaseTraitConst for Ptr<MarrHildrethHash>
fn as_raw_ImgHashBase(&self) -> *const c_void
source§fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
Compare the hash value between inOne and inTwo Read more
source§impl ImgHashBaseTraitConst for Ptr<PHash>
impl ImgHashBaseTraitConst for Ptr<PHash>
fn as_raw_ImgHashBase(&self) -> *const c_void
source§fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
Compare the hash value between inOne and inTwo Read more
source§impl ImgHashBaseTraitConst for Ptr<RadialVarianceHash>
impl ImgHashBaseTraitConst for Ptr<RadialVarianceHash>
fn as_raw_ImgHashBase(&self) -> *const c_void
source§fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
Compare the hash value between inOne and inTwo Read more
source§impl IndexParamsTrait for Ptr<IndexParams>
impl IndexParamsTrait for Ptr<IndexParams>
fn as_raw_mut_IndexParams(&mut self) -> *mut c_void
fn params(&mut self) -> *mut c_void
unsafe fn set_params(&mut self, val: *mut c_void)
fn set_string(&mut self, key: &str, value: &str) -> Result<()>
fn set_int(&mut self, key: &str, value: i32) -> Result<()>
fn set_double(&mut self, key: &str, value: f64) -> Result<()>
fn set_float(&mut self, key: &str, value: f32) -> Result<()>
fn set_bool(&mut self, key: &str, value: bool) -> Result<()>
fn set_algorithm(&mut self, value: i32) -> Result<()>
source§impl IndexParamsTrait for Ptr<SearchParams>
impl IndexParamsTrait for Ptr<SearchParams>
fn as_raw_mut_IndexParams(&mut self) -> *mut c_void
fn params(&mut self) -> *mut c_void
unsafe fn set_params(&mut self, val: *mut c_void)
fn set_string(&mut self, key: &str, value: &str) -> Result<()>
fn set_int(&mut self, key: &str, value: i32) -> Result<()>
fn set_double(&mut self, key: &str, value: f64) -> Result<()>
fn set_float(&mut self, key: &str, value: f32) -> Result<()>
fn set_bool(&mut self, key: &str, value: bool) -> Result<()>
fn set_algorithm(&mut self, value: i32) -> Result<()>
source§impl IndexParamsTraitConst for Ptr<IndexParams>
impl IndexParamsTraitConst for Ptr<IndexParams>
fn as_raw_IndexParams(&self) -> *const c_void
source§fn get_string(&self, key: &str, default_val: &str) -> Result<String>
fn get_string(&self, key: &str, default_val: &str) -> Result<String>
C++ default parameters Read more
source§fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
C++ default parameters Read more
source§fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
C++ default parameters Read more
fn get_all(
&self,
names: &mut Vector<String>,
types: &mut Vector<FlannIndexType>,
str_values: &mut Vector<String>,
num_values: &mut Vector<f64>
) -> Result<()>
source§impl IndexParamsTraitConst for Ptr<SearchParams>
impl IndexParamsTraitConst for Ptr<SearchParams>
fn as_raw_IndexParams(&self) -> *const c_void
source§fn get_string(&self, key: &str, default_val: &str) -> Result<String>
fn get_string(&self, key: &str, default_val: &str) -> Result<String>
C++ default parameters Read more
source§fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
fn get_int(&self, key: &str, default_val: i32) -> Result<i32>
C++ default parameters Read more
source§fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
fn get_double(&self, key: &str, default_val: f64) -> Result<f64>
C++ default parameters Read more
fn get_all(
&self,
names: &mut Vector<String>,
types: &mut Vector<FlannIndexType>,
str_values: &mut Vector<String>,
num_values: &mut Vector<f64>
) -> Result<()>
source§impl InnerProductLayerInt8Trait for Ptr<InnerProductLayerInt8>
impl InnerProductLayerInt8Trait for Ptr<InnerProductLayerInt8>
fn as_raw_mut_InnerProductLayerInt8(&mut self) -> *mut c_void
fn set_input_zp(&mut self, val: i32)
fn set_output_zp(&mut self, val: i32)
fn set_input_sc(&mut self, val: f32)
fn set_output_sc(&mut self, val: f32)
source§impl InpainterBase for Ptr<ColorAverageInpainter>
impl InpainterBase for Ptr<ColorAverageInpainter>
fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void
fn set_radius(&mut self, val: i32) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>
source§impl InpainterBase for Ptr<ColorInpainter>
impl InpainterBase for Ptr<ColorInpainter>
fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void
fn set_radius(&mut self, val: i32) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>
source§impl InpainterBase for Ptr<ConsistentMosaicInpainter>
impl InpainterBase for Ptr<ConsistentMosaicInpainter>
fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void
fn set_radius(&mut self, val: i32) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>
source§impl InpainterBase for Ptr<InpaintingPipeline>
impl InpainterBase for Ptr<InpaintingPipeline>
fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void
fn set_radius(&mut self, val: i32) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>
source§impl InpainterBase for Ptr<MotionInpainter>
impl InpainterBase for Ptr<MotionInpainter>
fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void
fn set_radius(&mut self, val: i32) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>
source§impl InpainterBase for Ptr<NullInpainter>
impl InpainterBase for Ptr<NullInpainter>
fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void
fn set_radius(&mut self, val: i32) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>
source§impl InpainterBase for Ptr<dyn InpainterBase>
impl InpainterBase for Ptr<dyn InpainterBase>
fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void
fn set_radius(&mut self, val: i32) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>
source§impl InpainterBaseConst for Ptr<ColorAverageInpainter>
impl InpainterBaseConst for Ptr<ColorAverageInpainter>
fn as_raw_InpainterBase(&self) -> *const c_void
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
source§impl InpainterBaseConst for Ptr<ColorInpainter>
impl InpainterBaseConst for Ptr<ColorInpainter>
fn as_raw_InpainterBase(&self) -> *const c_void
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
source§impl InpainterBaseConst for Ptr<ConsistentMosaicInpainter>
impl InpainterBaseConst for Ptr<ConsistentMosaicInpainter>
fn as_raw_InpainterBase(&self) -> *const c_void
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
source§impl InpainterBaseConst for Ptr<InpaintingPipeline>
impl InpainterBaseConst for Ptr<InpaintingPipeline>
fn as_raw_InpainterBase(&self) -> *const c_void
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
source§impl InpainterBaseConst for Ptr<MotionInpainter>
impl InpainterBaseConst for Ptr<MotionInpainter>
fn as_raw_InpainterBase(&self) -> *const c_void
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
source§impl InpainterBaseConst for Ptr<NullInpainter>
impl InpainterBaseConst for Ptr<NullInpainter>
fn as_raw_InpainterBase(&self) -> *const c_void
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
source§impl InpainterBaseConst for Ptr<dyn InpainterBase>
impl InpainterBaseConst for Ptr<dyn InpainterBase>
fn as_raw_InpainterBase(&self) -> *const c_void
fn radius(&self) -> Result<i32>
fn motion_model(&self) -> Result<MotionModel>
fn frames(&self) -> Result<Vector<Mat>>
fn motions(&self) -> Result<Vector<Mat>>
fn stabilized_frames(&self) -> Result<Vector<Mat>>
fn stabilization_motions(&self) -> Result<Vector<Mat>>
source§impl InpaintingPipelineTrait for Ptr<InpaintingPipeline>
impl InpaintingPipelineTrait for Ptr<InpaintingPipeline>
fn as_raw_mut_InpaintingPipeline(&mut self) -> *mut c_void
fn push_back(&mut self, inpainter: Ptr<dyn InpainterBase>) -> Result<()>
fn set_radius(&mut self, val: i32) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>
source§impl KAZE for Ptr<dyn KAZE>
impl KAZE for Ptr<dyn KAZE>
fn as_raw_mut_KAZE(&mut self) -> *mut c_void
fn set_extended(&mut self, extended: bool) -> Result<()>
fn set_upright(&mut self, upright: bool) -> Result<()>
fn set_threshold(&mut self, threshold: f64) -> Result<()>
fn set_n_octaves(&mut self, octaves: i32) -> Result<()>
fn set_n_octave_layers(&mut self, octave_layers: i32) -> Result<()>
fn set_diffusivity(&mut self, diff: KAZE_DiffusivityType) -> Result<()>
source§impl KAZEConst for Ptr<dyn KAZE>
impl KAZEConst for Ptr<dyn KAZE>
fn as_raw_KAZE(&self) -> *const c_void
fn get_extended(&self) -> Result<bool>
fn get_upright(&self) -> Result<bool>
fn get_threshold(&self) -> Result<f64>
fn get_n_octaves(&self) -> Result<i32>
fn get_n_octave_layers(&self) -> Result<i32>
fn get_diffusivity(&self) -> Result<KAZE_DiffusivityType>
fn get_default_name(&self) -> Result<String>
source§impl KNearest for Ptr<dyn KNearest>
impl KNearest for Ptr<dyn KNearest>
fn as_raw_mut_KNearest(&mut self) -> *mut c_void
source§fn set_default_k(&mut self, val: i32) -> Result<()>
fn set_default_k(&mut self, val: i32) -> Result<()>
Default number of neighbors to use in predict method. Read more
source§impl KNearestConst for Ptr<dyn KNearest>
impl KNearestConst for Ptr<dyn KNearest>
fn as_raw_KNearest(&self) -> *const c_void
source§fn get_default_k(&self) -> Result<i32>
fn get_default_k(&self) -> Result<i32>
Default number of neighbors to use in predict method. Read more
source§fn get_is_classifier(&self) -> Result<bool>
fn get_is_classifier(&self) -> Result<bool>
Whether classification or regression model should be trained. Read more
source§fn get_algorithm_type(&self) -> Result<i32>
fn get_algorithm_type(&self) -> Result<i32>
%Algorithm type, one of KNearest::Types. Read more
source§fn find_nearest(
&self,
samples: &dyn ToInputArray,
k: i32,
results: &mut dyn ToOutputArray,
neighbor_responses: &mut dyn ToOutputArray,
dist: &mut dyn ToOutputArray
) -> Result<f32>
fn find_nearest(
&self,
samples: &dyn ToInputArray,
k: i32,
results: &mut dyn ToOutputArray,
neighbor_responses: &mut dyn ToOutputArray,
dist: &mut dyn ToOutputArray
) -> Result<f32>
Finds the neighbors and predicts responses for input vectors. Read more
source§impl KeypointBasedMotionEstimatorGpuTrait for Ptr<KeypointBasedMotionEstimatorGpu>
impl KeypointBasedMotionEstimatorGpuTrait for Ptr<KeypointBasedMotionEstimatorGpu>
fn as_raw_mut_KeypointBasedMotionEstimatorGpu(&mut self) -> *mut c_void
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_outlier_rejector(&mut self, val: Ptr<dyn IOutlierRejector>) -> Result<()>
source§impl KeypointBasedMotionEstimatorGpuTraitConst for Ptr<KeypointBasedMotionEstimatorGpu>
impl KeypointBasedMotionEstimatorGpuTraitConst for Ptr<KeypointBasedMotionEstimatorGpu>
fn as_raw_KeypointBasedMotionEstimatorGpu(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
fn outlier_rejector(&self) -> Result<Ptr<dyn IOutlierRejector>>
source§impl KeypointBasedMotionEstimatorTrait for Ptr<KeypointBasedMotionEstimator>
impl KeypointBasedMotionEstimatorTrait for Ptr<KeypointBasedMotionEstimator>
fn as_raw_mut_KeypointBasedMotionEstimator(&mut self) -> *mut c_void
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_detector(&mut self, val: Ptr<Feature2D>) -> Result<()>
fn set_optical_flow_estimator(
&mut self,
val: Ptr<dyn ISparseOptFlowEstimator>
) -> Result<()>
fn set_outlier_rejector(&mut self, val: Ptr<dyn IOutlierRejector>) -> Result<()>
fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>
source§fn estimate_mat(
&mut self,
frame0: &Mat,
frame1: &Mat,
ok: &mut bool
) -> Result<Mat>
fn estimate_mat(
&mut self,
frame0: &Mat,
frame1: &Mat,
ok: &mut bool
) -> Result<Mat>
C++ default parameters Read more
source§fn estimate(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
fn estimate(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
C++ default parameters Read more
source§impl KeypointBasedMotionEstimatorTraitConst for Ptr<KeypointBasedMotionEstimator>
impl KeypointBasedMotionEstimatorTraitConst for Ptr<KeypointBasedMotionEstimator>
fn as_raw_KeypointBasedMotionEstimator(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
fn detector(&self) -> Result<Ptr<Feature2D>>
fn optical_flow_estimator(&self) -> Result<Ptr<dyn ISparseOptFlowEstimator>>
fn outlier_rejector(&self) -> Result<Ptr<dyn IOutlierRejector>>
source§impl Kinfu_Detail_PoseGraph for Ptr<dyn Kinfu_Detail_PoseGraph>
impl Kinfu_Detail_PoseGraph for Ptr<dyn Kinfu_Detail_PoseGraph>
fn as_raw_mut_Kinfu_Detail_PoseGraph(&mut self) -> *mut c_void
fn add_node(
&mut self,
_node_id: size_t,
_pose: Affine3d,
fixed: bool
) -> Result<()>
fn set_node_fixed(&mut self, node_id: size_t, fixed: bool) -> Result<bool>
source§impl Kinfu_Detail_PoseGraphConst for Ptr<dyn Kinfu_Detail_PoseGraph>
impl Kinfu_Detail_PoseGraphConst for Ptr<dyn Kinfu_Detail_PoseGraph>
fn as_raw_Kinfu_Detail_PoseGraph(&self) -> *const c_void
fn is_node_exist(&self, node_id: size_t) -> Result<bool>
fn is_node_fixed(&self, node_id: size_t) -> Result<bool>
fn get_node_pose(&self, node_id: size_t) -> Result<Affine3d>
fn get_nodes_ids(&self) -> Result<Vector<size_t>>
fn get_num_nodes(&self) -> Result<size_t>
fn get_edge_start(&self, i: size_t) -> Result<size_t>
fn get_edge_end(&self, i: size_t) -> Result<size_t>
fn get_num_edges(&self) -> Result<size_t>
fn is_valid(&self) -> Result<bool>
fn calc_energy(&self) -> Result<f64>
source§impl Kinfu_KinFu for Ptr<dyn Kinfu_KinFu>
impl Kinfu_KinFu for Ptr<dyn Kinfu_KinFu>
source§impl Kinfu_KinFuConst for Ptr<dyn Kinfu_KinFu>
impl Kinfu_KinFuConst for Ptr<dyn Kinfu_KinFu>
fn as_raw_Kinfu_KinFu(&self) -> *const c_void
source§fn get_params(&self) -> Result<Kinfu_Params>
fn get_params(&self) -> Result<Kinfu_Params>
Get current parameters
source§fn render(&self, image: &mut dyn ToOutputArray) -> Result<()>
fn render(&self, image: &mut dyn ToOutputArray) -> Result<()>
Renders a volume into an image Read more
source§fn render_1(
&self,
image: &mut dyn ToOutputArray,
camera_pose: Matx44f
) -> Result<()>
fn render_1(
&self,
image: &mut dyn ToOutputArray,
camera_pose: Matx44f
) -> Result<()>
Renders a volume into an image Read more
source§fn get_cloud(
&self,
points: &mut dyn ToOutputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
fn get_cloud(
&self,
points: &mut dyn ToOutputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
Gets points and normals of current 3d mesh Read more
source§fn get_points(&self, points: &mut dyn ToOutputArray) -> Result<()>
fn get_points(&self, points: &mut dyn ToOutputArray) -> Result<()>
Gets points of current 3d mesh Read more
source§fn get_normals(
&self,
points: &dyn ToInputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
fn get_normals(
&self,
points: &dyn ToInputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
Calculates normals for given points Read more
source§impl Kinfu_ParamsTrait for Ptr<Kinfu_Params>
impl Kinfu_ParamsTrait for Ptr<Kinfu_Params>
fn as_raw_mut_Kinfu_Params(&mut self) -> *mut c_void
source§fn set_frame_size(&mut self, val: Size)
fn set_frame_size(&mut self, val: Size)
frame size in pixels
source§fn set_volume_type(&mut self, val: Kinfu_VolumeType)
fn set_volume_type(&mut self, val: Kinfu_VolumeType)
rgb frame size in pixels
source§fn set_rgb_intr(&mut self, val: Matx33f)
fn set_rgb_intr(&mut self, val: Matx33f)
rgb camera intrinsics
source§fn set_depth_factor(&mut self, val: f32)
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)
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)
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)
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)
fn set_pyramid_levels(&mut self, val: i32)
Number of pyramid levels for ICP
source§fn set_volume_dims(&mut self, val: Vec3i)
fn set_volume_dims(&mut self, val: Vec3i)
Resolution of voxel space Read more
source§fn set_voxel_size(&mut self, val: f32)
fn set_voxel_size(&mut self, val: f32)
Size of voxel in meters
source§fn set_tsdf_min_camera_movement(&mut self, val: f32)
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)
fn set_volume_pose(&mut self, val: Affine3f)
initial volume pose in meters
source§fn set_tsdf_trunc_dist(&mut self, val: f32)
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)
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)
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)
fn set_light_pose(&mut self, val: Vec3f)
light pose for rendering in meters
source§fn set_icp_dist_thresh(&mut self, val: f32)
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)
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>)
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)
fn set_truncate_threshold(&mut self, val: f32)
Threshold for depth truncation in meters Read more
source§impl Kinfu_ParamsTraitConst for Ptr<Kinfu_Params>
impl Kinfu_ParamsTraitConst for Ptr<Kinfu_Params>
fn as_raw_Kinfu_Params(&self) -> *const c_void
source§fn frame_size(&self) -> Size
fn frame_size(&self) -> Size
frame size in pixels
source§fn volume_type(&self) -> Kinfu_VolumeType
fn volume_type(&self) -> Kinfu_VolumeType
rgb frame size in pixels
source§fn depth_factor(&self) -> f32
fn depth_factor(&self) -> f32
pre-scale per 1 meter for input values Read more
source§fn bilateral_sigma_depth(&self) -> f32
fn bilateral_sigma_depth(&self) -> f32
Depth sigma in meters for bilateral smooth
source§fn bilateral_sigma_spatial(&self) -> f32
fn bilateral_sigma_spatial(&self) -> f32
Spatial sigma in pixels for bilateral smooth
source§fn bilateral_kernel_size(&self) -> i32
fn bilateral_kernel_size(&self) -> i32
Kernel size in pixels for bilateral smooth
source§fn pyramid_levels(&self) -> i32
fn pyramid_levels(&self) -> i32
Number of pyramid levels for ICP
source§fn volume_dims(&self) -> Vec3i
fn volume_dims(&self) -> Vec3i
Resolution of voxel space Read more
source§fn voxel_size(&self) -> f32
fn voxel_size(&self) -> f32
Size of voxel in meters
source§fn tsdf_min_camera_movement(&self) -> f32
fn tsdf_min_camera_movement(&self) -> f32
Minimal camera movement in meters Read more
source§fn volume_pose(&self) -> Affine3f
fn volume_pose(&self) -> Affine3f
initial volume pose in meters
source§fn tsdf_trunc_dist(&self) -> f32
fn tsdf_trunc_dist(&self) -> f32
distance to truncate in meters Read more
source§fn tsdf_max_weight(&self) -> i32
fn tsdf_max_weight(&self) -> i32
max number of frames per voxel Read more
source§fn raycast_step_factor(&self) -> f32
fn raycast_step_factor(&self) -> f32
A length of one raycast step Read more
source§fn light_pose(&self) -> Vec3f
fn light_pose(&self) -> Vec3f
light pose for rendering in meters
source§fn icp_dist_thresh(&self) -> f32
fn icp_dist_thresh(&self) -> f32
distance theshold for ICP in meters
source§fn icp_angle_thresh(&self) -> f32
fn icp_angle_thresh(&self) -> f32
angle threshold for ICP in radians
source§fn icp_iterations(&self) -> Vector<i32>
fn icp_iterations(&self) -> Vector<i32>
number of ICP iterations for each pyramid level
source§fn truncate_threshold(&self) -> f32
fn truncate_threshold(&self) -> f32
Threshold for depth truncation in meters Read more
source§impl Kinfu_Volume for Ptr<dyn Kinfu_Volume>
impl Kinfu_Volume for Ptr<dyn Kinfu_Volume>
fn as_raw_mut_Kinfu_Volume(&mut self) -> *mut c_void
source§fn integrate(
&mut self,
_depth: &dyn ToInputArray,
depth_factor: f32,
camera_pose: Matx44f,
intrinsics: Kinfu_Intr,
frame_id: i32
) -> Result<()>
fn integrate(
&mut self,
_depth: &dyn ToInputArray,
depth_factor: f32,
camera_pose: Matx44f,
intrinsics: Kinfu_Intr,
frame_id: i32
) -> Result<()>
C++ default parameters Read more
source§fn integrate_1(
&mut self,
_depth: &dyn ToInputArray,
_rgb: &dyn ToInputArray,
depth_factor: f32,
camera_pose: Matx44f,
intrinsics: Kinfu_Intr,
rgb_intrinsics: Kinfu_Intr,
frame_id: i32
) -> Result<()>
fn integrate_1(
&mut self,
_depth: &dyn ToInputArray,
_rgb: &dyn ToInputArray,
depth_factor: f32,
camera_pose: Matx44f,
intrinsics: Kinfu_Intr,
rgb_intrinsics: Kinfu_Intr,
frame_id: i32
) -> Result<()>
C++ default parameters Read more
fn reset(&mut self) -> Result<()>
source§impl Kinfu_VolumeConst for Ptr<dyn Kinfu_Volume>
impl Kinfu_VolumeConst for Ptr<dyn Kinfu_Volume>
fn as_raw_Kinfu_Volume(&self) -> *const c_void
fn voxel_size(&self) -> f32
fn voxel_size_inv(&self) -> f32
fn pose(&self) -> Affine3f
fn raycast_step_factor(&self) -> f32
fn raycast(
&self,
camera_pose: Matx44f,
intrinsics: Kinfu_Intr,
frame_size: Size,
points: &mut dyn ToOutputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
fn raycast_1(
&self,
camera_pose: Matx44f,
intrinsics: Kinfu_Intr,
frame_size: Size,
points: &mut dyn ToOutputArray,
normals: &mut dyn ToOutputArray,
colors: &mut dyn ToOutputArray
) -> Result<()>
fn fetch_normals(
&self,
points: &dyn ToInputArray,
_normals: &mut dyn ToOutputArray
) -> Result<()>
fn fetch_points_normals(
&self,
points: &mut dyn ToOutputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
fn fetch_points_normals_colors(
&self,
unnamed: &mut dyn ToOutputArray,
unnamed_1: &mut dyn ToOutputArray,
unnamed_2: &mut dyn ToOutputArray
) -> Result<()>
source§impl Kinfu_VolumeParamsTrait for Ptr<Kinfu_VolumeParams>
impl Kinfu_VolumeParamsTrait for Ptr<Kinfu_VolumeParams>
fn as_raw_mut_Kinfu_VolumeParams(&mut self) -> *mut c_void
source§fn set_type(&mut self, val: Kinfu_VolumeType)
fn set_type(&mut self, val: Kinfu_VolumeType)
Type of Volume
Values can be TSDF (single volume) or HASHTSDF (hashtable of volume units) Read more
source§fn set_resolution(&mut self, val: Vec3i)
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 Read more
source§fn set_unit_resolution(&mut self, val: i32)
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_voxel_size(&mut self, val: f32)
fn set_voxel_size(&mut self, val: f32)
Length of voxels in meters
source§fn set_tsdf_trunc_dist(&mut self, val: f32)
fn set_tsdf_trunc_dist(&mut self, val: f32)
TSDF truncation distance
Distances greater than value from surface will be truncated to 1.0 Read more
source§fn set_max_weight(&mut self, val: i32)
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 Read more
source§fn set_depth_trunc_threshold(&mut self, val: f32)
fn set_depth_trunc_threshold(&mut self, val: f32)
Threshold for depth truncation in meters
Truncates the depth greater than threshold to 0 Read more
source§fn set_raycast_step_factor(&mut self, val: f32)
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 Read more
source§impl Kinfu_VolumeParamsTraitConst for Ptr<Kinfu_VolumeParams>
impl Kinfu_VolumeParamsTraitConst for Ptr<Kinfu_VolumeParams>
fn as_raw_Kinfu_VolumeParams(&self) -> *const c_void
source§fn typ(&self) -> Kinfu_VolumeType
fn typ(&self) -> Kinfu_VolumeType
Type of Volume
Values can be TSDF (single volume) or HASHTSDF (hashtable of volume units) Read more
source§fn resolution(&self) -> Vec3i
fn resolution(&self) -> Vec3i
Resolution of voxel space
Number of voxels in each dimension.
Applicable only for TSDF Volume.
HashTSDF volume only supports equal resolution in all three dimensions Read more
source§fn unit_resolution(&self) -> i32
fn unit_resolution(&self) -> i32
Resolution of volumeUnit in voxel space
Number of voxels in each dimension for volumeUnit
Applicable only for hashTSDF. Read more
source§fn voxel_size(&self) -> f32
fn voxel_size(&self) -> f32
Length of voxels in meters
source§fn tsdf_trunc_dist(&self) -> f32
fn tsdf_trunc_dist(&self) -> f32
TSDF truncation distance
Distances greater than value from surface will be truncated to 1.0 Read more
source§fn max_weight(&self) -> i32
fn max_weight(&self) -> i32
Max number of frames to integrate per voxel
Represents the max number of frames over which a running average
of the TSDF is calculated for a voxel Read more
source§fn depth_trunc_threshold(&self) -> f32
fn depth_trunc_threshold(&self) -> f32
Threshold for depth truncation in meters
Truncates the depth greater than threshold to 0 Read more
source§fn raycast_step_factor(&self) -> f32
fn raycast_step_factor(&self) -> f32
Length of single raycast step
Describes the percentage of voxel length that is skipped per march Read more
source§impl LATCHTrait for Ptr<LATCH>
impl LATCHTrait for Ptr<LATCH>
fn as_raw_mut_LATCH(&mut self) -> *mut c_void
source§impl LATCHTraitConst for Ptr<LATCH>
impl LATCHTraitConst for Ptr<LATCH>
fn as_raw_LATCH(&self) -> *const c_void
source§impl LBPHFaceRecognizer for Ptr<dyn LBPHFaceRecognizer>
impl LBPHFaceRecognizer for Ptr<dyn LBPHFaceRecognizer>
fn as_raw_mut_LBPHFaceRecognizer(&mut self) -> *mut c_void
source§impl LBPHFaceRecognizerConst for Ptr<dyn LBPHFaceRecognizer>
impl LBPHFaceRecognizerConst for Ptr<dyn LBPHFaceRecognizer>
source§impl LMSolverConst for Ptr<dyn LMSolver>
impl LMSolverConst for Ptr<dyn LMSolver>
fn as_raw_LMSolver(&self) -> *const c_void
source§fn run(&self, param: &mut dyn ToInputOutputArray) -> Result<i32>
fn run(&self, param: &mut dyn ToInputOutputArray) -> Result<i32>
Runs Levenberg-Marquardt algorithm using the passed vector of parameters as the start point.
The final vector of parameters (whether the algorithm converged or not) is stored at the same
vector. The method returns the number of iterations used. If it’s equal to the previously specified
maxIters, there is a big chance the algorithm did not converge. Read more
source§fn get_max_iters(&self) -> Result<i32>
fn get_max_iters(&self) -> Result<i32>
Retrieves the current maximum number of iterations
source§impl LMSolver_Callback for Ptr<dyn LMSolver_Callback>
impl LMSolver_Callback for Ptr<dyn LMSolver_Callback>
fn as_raw_mut_LMSolver_Callback(&mut self) -> *mut c_void
source§impl LMSolver_CallbackConst for Ptr<dyn LMSolver_Callback>
impl LMSolver_CallbackConst for Ptr<dyn LMSolver_Callback>
fn as_raw_LMSolver_Callback(&self) -> *const c_void
source§fn compute(
&self,
param: &dyn ToInputArray,
err: &mut dyn ToOutputArray,
j: &mut dyn ToOutputArray
) -> Result<bool>
fn compute(
&self,
param: &dyn ToInputArray,
err: &mut dyn ToOutputArray,
j: &mut dyn ToOutputArray
) -> Result<bool>
computes error and Jacobian for the specified vector of parameters Read more
source§impl LRNLayerTrait for Ptr<LRNLayer>
impl LRNLayerTrait for Ptr<LRNLayer>
source§impl LRNLayerTraitConst for Ptr<LRNLayer>
impl LRNLayerTraitConst for Ptr<LRNLayer>
source§impl LSDDetectorTrait for Ptr<LSDDetector>
impl LSDDetectorTrait for Ptr<LSDDetector>
source§impl LSDDetectorTraitConst for Ptr<LSDDetector>
impl LSDDetectorTraitConst for Ptr<LSDDetector>
source§impl LSTMLayer for Ptr<dyn LSTMLayer>
impl LSTMLayer for Ptr<dyn LSTMLayer>
fn as_raw_mut_LSTMLayer(&mut self) -> *mut c_void
source§fn set_weights(&mut self, wh: &Mat, wx: &Mat, b: &Mat) -> Result<()>
fn set_weights(&mut self, wh: &Mat, wx: &Mat, b: &Mat) -> Result<()>
👎Deprecated: Use LayerParams::blobs instead.
Deprecated: Use LayerParams::blobs instead.
Set trained weights for LSTM layer. Read more
source§fn set_out_shape(&mut self, out_tail_shape: &MatShape) -> Result<()>
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 moresource§fn set_use_timstamps_dim(&mut self, use_: bool) -> Result<()>
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 moresource§fn set_produce_cell_output(&mut self, produce: bool) -> Result<()>
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 morefn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
source§impl LSTMLayerConst for Ptr<dyn LSTMLayer>
impl LSTMLayerConst for Ptr<dyn LSTMLayer>
fn as_raw_LSTMLayer(&self) -> *const c_void
source§impl LUCIDTrait for Ptr<LUCID>
impl LUCIDTrait for Ptr<LUCID>
fn as_raw_mut_LUCID(&mut self) -> *mut c_void
source§impl LUCIDTraitConst for Ptr<LUCID>
impl LUCIDTraitConst for Ptr<LUCID>
fn as_raw_LUCID(&self) -> *const c_void
source§impl LargeKinfu for Ptr<dyn LargeKinfu>
impl LargeKinfu for Ptr<dyn LargeKinfu>
source§impl LargeKinfuConst for Ptr<dyn LargeKinfu>
impl LargeKinfuConst for Ptr<dyn LargeKinfu>
fn as_raw_LargeKinfu(&self) -> *const c_void
fn get_params(&self) -> Result<Params>
fn render(&self, image: &mut dyn ToOutputArray) -> Result<()>
fn render_1(
&self,
image: &mut dyn ToOutputArray,
camera_pose: Matx44f
) -> Result<()>
fn get_cloud(
&self,
points: &mut dyn ToOutputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
fn get_points(&self, points: &mut dyn ToOutputArray) -> Result<()>
fn get_normals(
&self,
points: &dyn ToInputArray,
normals: &mut dyn ToOutputArray
) -> Result<()>
fn get_pose(&self) -> Result<Affine3f>
source§impl LayerTrait for Ptr<AbsLayer>
impl LayerTrait for Ptr<AbsLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<AccumLayer>
impl LayerTrait for Ptr<AccumLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<AcosLayer>
impl LayerTrait for Ptr<AcosLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<AcoshLayer>
impl LayerTrait for Ptr<AcoshLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ActivationLayer>
impl LayerTrait for Ptr<ActivationLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ActivationLayerInt8>
impl LayerTrait for Ptr<ActivationLayerInt8>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ArgLayer>
impl LayerTrait for Ptr<ArgLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<AsinLayer>
impl LayerTrait for Ptr<AsinLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<AsinhLayer>
impl LayerTrait for Ptr<AsinhLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<AtanLayer>
impl LayerTrait for Ptr<AtanLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<AtanhLayer>
impl LayerTrait for Ptr<AtanhLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<BNLLLayer>
impl LayerTrait for Ptr<BNLLLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<BaseConvolutionLayer>
impl LayerTrait for Ptr<BaseConvolutionLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<BatchNormLayer>
impl LayerTrait for Ptr<BatchNormLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<BatchNormLayerInt8>
impl LayerTrait for Ptr<BatchNormLayerInt8>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<CeilLayer>
impl LayerTrait for Ptr<CeilLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<CeluLayer>
impl LayerTrait for Ptr<CeluLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ConcatLayer>
impl LayerTrait for Ptr<ConcatLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<CorrelationLayer>
impl LayerTrait for Ptr<CorrelationLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<CosLayer>
impl LayerTrait for Ptr<CosLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<CoshLayer>
impl LayerTrait for Ptr<CoshLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<CumSumLayer>
impl LayerTrait for Ptr<CumSumLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<DataAugmentationLayer>
impl LayerTrait for Ptr<DataAugmentationLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<DequantizeLayer>
impl LayerTrait for Ptr<DequantizeLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<DetectionOutputLayer>
impl LayerTrait for Ptr<DetectionOutputLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ELULayer>
impl LayerTrait for Ptr<ELULayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<EltwiseLayer>
impl LayerTrait for Ptr<EltwiseLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<EltwiseLayerInt8>
impl LayerTrait for Ptr<EltwiseLayerInt8>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ErfLayer>
impl LayerTrait for Ptr<ErfLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ExpLayer>
impl LayerTrait for Ptr<ExpLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<FlattenLayer>
impl LayerTrait for Ptr<FlattenLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<FloorLayer>
impl LayerTrait for Ptr<FloorLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<FlowWarpLayer>
impl LayerTrait for Ptr<FlowWarpLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<GRULayer>
impl LayerTrait for Ptr<GRULayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<HardSigmoidLayer>
impl LayerTrait for Ptr<HardSigmoidLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<HardSwishLayer>
impl LayerTrait for Ptr<HardSwishLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<InnerProductLayer>
impl LayerTrait for Ptr<InnerProductLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<InnerProductLayerInt8>
impl LayerTrait for Ptr<InnerProductLayerInt8>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<LRNLayer>
impl LayerTrait for Ptr<LRNLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<Layer>
impl LayerTrait for Ptr<Layer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<LogLayer>
impl LayerTrait for Ptr<LogLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<MVNLayer>
impl LayerTrait for Ptr<MVNLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<MaxUnpoolLayer>
impl LayerTrait for Ptr<MaxUnpoolLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<MishLayer>
impl LayerTrait for Ptr<MishLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<NormalizeBBoxLayer>
impl LayerTrait for Ptr<NormalizeBBoxLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<NotLayer>
impl LayerTrait for Ptr<NotLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<PaddingLayer>
impl LayerTrait for Ptr<PaddingLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<PermuteLayer>
impl LayerTrait for Ptr<PermuteLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<PoolingLayer>
impl LayerTrait for Ptr<PoolingLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<PoolingLayerInt8>
impl LayerTrait for Ptr<PoolingLayerInt8>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<PowerLayer>
impl LayerTrait for Ptr<PowerLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<PriorBoxLayer>
impl LayerTrait for Ptr<PriorBoxLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ProposalLayer>
impl LayerTrait for Ptr<ProposalLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<QuantizeLayer>
impl LayerTrait for Ptr<QuantizeLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ReLU6Layer>
impl LayerTrait for Ptr<ReLU6Layer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ReLULayer>
impl LayerTrait for Ptr<ReLULayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ReciprocalLayer>
impl LayerTrait for Ptr<ReciprocalLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ReduceLayer>
impl LayerTrait for Ptr<ReduceLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ReduceLayerInt8>
impl LayerTrait for Ptr<ReduceLayerInt8>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<RegionLayer>
impl LayerTrait for Ptr<RegionLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ReorgLayer>
impl LayerTrait for Ptr<ReorgLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<RequantizeLayer>
impl LayerTrait for Ptr<RequantizeLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ReshapeLayer>
impl LayerTrait for Ptr<ReshapeLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ResizeLayer>
impl LayerTrait for Ptr<ResizeLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<RoundLayer>
impl LayerTrait for Ptr<RoundLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ScaleLayer>
impl LayerTrait for Ptr<ScaleLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ScaleLayerInt8>
impl LayerTrait for Ptr<ScaleLayerInt8>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SeluLayer>
impl LayerTrait for Ptr<SeluLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ShrinkLayer>
impl LayerTrait for Ptr<ShrinkLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SigmoidLayer>
impl LayerTrait for Ptr<SigmoidLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SignLayer>
impl LayerTrait for Ptr<SignLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SinLayer>
impl LayerTrait for Ptr<SinLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SinhLayer>
impl LayerTrait for Ptr<SinhLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SliceLayer>
impl LayerTrait for Ptr<SliceLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SoftmaxLayer>
impl LayerTrait for Ptr<SoftmaxLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SoftmaxLayerInt8>
impl LayerTrait for Ptr<SoftmaxLayerInt8>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SoftplusLayer>
impl LayerTrait for Ptr<SoftplusLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SoftsignLayer>
impl LayerTrait for Ptr<SoftsignLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SplitLayer>
impl LayerTrait for Ptr<SplitLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SqrtLayer>
impl LayerTrait for Ptr<SqrtLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<SwishLayer>
impl LayerTrait for Ptr<SwishLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<TanHLayer>
impl LayerTrait for Ptr<TanHLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<TanLayer>
impl LayerTrait for Ptr<TanLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<ThresholdedReluLayer>
impl LayerTrait for Ptr<ThresholdedReluLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<dyn LSTMLayer>
impl LayerTrait for Ptr<dyn LSTMLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTrait for Ptr<dyn RNNLayer>
impl LayerTrait for Ptr<dyn RNNLayer>
fn as_raw_mut_Layer(&mut self) -> *mut c_void
source§fn set_blobs(&mut self, val: Vector<Mat>)
fn set_blobs(&mut self, val: Vector<Mat>)
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn set_name(&mut self, val: &str)
fn set_name(&mut self, val: &str)
Name of the layer instance, can be used for logging or other internal purposes.
source§fn set_type(&mut self, val: &str)
fn set_type(&mut self, val: &str)
Type name which was used for creating layer by layer factory.
source§fn set_preferable_target(&mut self, val: i32)
fn set_preferable_target(&mut self, val: i32)
prefer target for layer forwarding
source§fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
fn finalize(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray
) -> Result<()>
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn forward_mat(
&mut self,
input: &mut Vector<Mat>,
output: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::forward(InputArrayOfArrays, OutputArrayOfArrays, OutputArrayOfArrays) instead
Given the @p input blobs, computes the output @p blobs. Read more
source§fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
fn try_quantize(
&mut self,
scales: &Vector<Vector<f32>>,
zeropoints: &Vector<Vector<i32>>,
params: &mut LayerParams
) -> Result<bool>
Tries to quantize the given layer and compute the quantization parameters required for fixed point implementation. Read more
source§fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
fn forward_fallback(
&mut self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
internals: &mut dyn ToOutputArray
) -> Result<()>
Given the @p input blobs, computes the output @p blobs. Read more
source§fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
fn finalize_mat_to(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
fn finalize_mat(&mut self, inputs: &Vector<Mat>) -> Result<Vector<Mat>>
👎Deprecated: Use Layer::finalize(InputArrayOfArrays, OutputArrayOfArrays) instead
Computes and sets internal parameters according to inputs, outputs and blobs. Read more
source§fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
fn run(
&mut self,
inputs: &Vector<Mat>,
outputs: &mut Vector<Mat>,
internals: &mut Vector<Mat>
) -> Result<()>
👎Deprecated: This method will be removed in the future release.
Allocates layer and computes output. Read more
source§fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
fn input_name_to_index(&mut self, input_name: &str) -> Result<i32>
Returns index of input blob into the input array. Read more
source§fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
fn output_name_to_index(&mut self, output_name: &str) -> Result<i32>
Returns index of output blob in output array. Read more
source§fn support_backend(&mut self, backend_id: i32) -> Result<bool>
fn support_backend(&mut self, backend_id: i32) -> Result<bool>
Ask layer if it support specific backend for doing computations. Read more
source§fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_halide(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns Halide backend node. Read more
fn init_ngraph(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
fn init_vk_com(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
fn init_webnn(
&mut self,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
nodes: &Vector<Ptr<BackendNode>>
) -> Result<Ptr<BackendNode>>
source§unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
unsafe fn init_cuda(
&mut self,
context: *mut c_void,
inputs: &Vector<Ptr<dyn BackendWrapper>>,
outputs: &Vector<Ptr<dyn BackendWrapper>>
) -> Result<Ptr<BackendNode>>
Returns a CUDA backend node Read more
source§unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
unsafe fn init_tim_vx(
&mut self,
tim_vx_info: *mut c_void,
inputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
outputs_wrapper: &Vector<Ptr<dyn BackendWrapper>>,
is_last: bool
) -> Result<Ptr<BackendNode>>
Returns a TimVX backend node Read more
source§fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
fn try_attach(&mut self, node: &Ptr<BackendNode>) -> Result<Ptr<BackendNode>>
Implement layers fusing. Read more
source§fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
fn set_activation(&mut self, layer: &Ptr<ActivationLayer>) -> Result<bool>
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial case. Read more
source§fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
fn try_fuse(&mut self, top: &mut Ptr<Layer>) -> Result<bool>
Try to fuse current layer with a next one Read more
source§fn unset_attached(&mut self) -> Result<()>
fn unset_attached(&mut self) -> Result<()>
“Detaches” all the layers, attached to particular layer.
fn update_memory_shapes(&mut self, inputs: &Vector<MatShape>) -> Result<bool>
fn set_params_from(&mut self, params: &LayerParams) -> Result<()>
source§impl LayerTraitConst for Ptr<AbsLayer>
impl LayerTraitConst for Ptr<AbsLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<AccumLayer>
impl LayerTraitConst for Ptr<AccumLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<AcosLayer>
impl LayerTraitConst for Ptr<AcosLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<AcoshLayer>
impl LayerTraitConst for Ptr<AcoshLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ActivationLayer>
impl LayerTraitConst for Ptr<ActivationLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ActivationLayerInt8>
impl LayerTraitConst for Ptr<ActivationLayerInt8>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ArgLayer>
impl LayerTraitConst for Ptr<ArgLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<AsinLayer>
impl LayerTraitConst for Ptr<AsinLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<AsinhLayer>
impl LayerTraitConst for Ptr<AsinhLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<AtanLayer>
impl LayerTraitConst for Ptr<AtanLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<AtanhLayer>
impl LayerTraitConst for Ptr<AtanhLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<BNLLLayer>
impl LayerTraitConst for Ptr<BNLLLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<BaseConvolutionLayer>
impl LayerTraitConst for Ptr<BaseConvolutionLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<BatchNormLayer>
impl LayerTraitConst for Ptr<BatchNormLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<BatchNormLayerInt8>
impl LayerTraitConst for Ptr<BatchNormLayerInt8>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<CeilLayer>
impl LayerTraitConst for Ptr<CeilLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<CeluLayer>
impl LayerTraitConst for Ptr<CeluLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ConcatLayer>
impl LayerTraitConst for Ptr<ConcatLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<CorrelationLayer>
impl LayerTraitConst for Ptr<CorrelationLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<CosLayer>
impl LayerTraitConst for Ptr<CosLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<CoshLayer>
impl LayerTraitConst for Ptr<CoshLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<CumSumLayer>
impl LayerTraitConst for Ptr<CumSumLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<DataAugmentationLayer>
impl LayerTraitConst for Ptr<DataAugmentationLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<DequantizeLayer>
impl LayerTraitConst for Ptr<DequantizeLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<DetectionOutputLayer>
impl LayerTraitConst for Ptr<DetectionOutputLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ELULayer>
impl LayerTraitConst for Ptr<ELULayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<EltwiseLayer>
impl LayerTraitConst for Ptr<EltwiseLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<EltwiseLayerInt8>
impl LayerTraitConst for Ptr<EltwiseLayerInt8>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ErfLayer>
impl LayerTraitConst for Ptr<ErfLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ExpLayer>
impl LayerTraitConst for Ptr<ExpLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<FlattenLayer>
impl LayerTraitConst for Ptr<FlattenLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<FloorLayer>
impl LayerTraitConst for Ptr<FloorLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<FlowWarpLayer>
impl LayerTraitConst for Ptr<FlowWarpLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<GRULayer>
impl LayerTraitConst for Ptr<GRULayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<HardSigmoidLayer>
impl LayerTraitConst for Ptr<HardSigmoidLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<HardSwishLayer>
impl LayerTraitConst for Ptr<HardSwishLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<InnerProductLayer>
impl LayerTraitConst for Ptr<InnerProductLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<InnerProductLayerInt8>
impl LayerTraitConst for Ptr<InnerProductLayerInt8>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<LRNLayer>
impl LayerTraitConst for Ptr<LRNLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<Layer>
impl LayerTraitConst for Ptr<Layer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<LogLayer>
impl LayerTraitConst for Ptr<LogLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<MVNLayer>
impl LayerTraitConst for Ptr<MVNLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<MaxUnpoolLayer>
impl LayerTraitConst for Ptr<MaxUnpoolLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<MishLayer>
impl LayerTraitConst for Ptr<MishLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<NormalizeBBoxLayer>
impl LayerTraitConst for Ptr<NormalizeBBoxLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<NotLayer>
impl LayerTraitConst for Ptr<NotLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<PaddingLayer>
impl LayerTraitConst for Ptr<PaddingLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<PermuteLayer>
impl LayerTraitConst for Ptr<PermuteLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<PoolingLayer>
impl LayerTraitConst for Ptr<PoolingLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<PoolingLayerInt8>
impl LayerTraitConst for Ptr<PoolingLayerInt8>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<PowerLayer>
impl LayerTraitConst for Ptr<PowerLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<PriorBoxLayer>
impl LayerTraitConst for Ptr<PriorBoxLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ProposalLayer>
impl LayerTraitConst for Ptr<ProposalLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<QuantizeLayer>
impl LayerTraitConst for Ptr<QuantizeLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ReLU6Layer>
impl LayerTraitConst for Ptr<ReLU6Layer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ReLULayer>
impl LayerTraitConst for Ptr<ReLULayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ReciprocalLayer>
impl LayerTraitConst for Ptr<ReciprocalLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ReduceLayer>
impl LayerTraitConst for Ptr<ReduceLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ReduceLayerInt8>
impl LayerTraitConst for Ptr<ReduceLayerInt8>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<RegionLayer>
impl LayerTraitConst for Ptr<RegionLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ReorgLayer>
impl LayerTraitConst for Ptr<ReorgLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<RequantizeLayer>
impl LayerTraitConst for Ptr<RequantizeLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ReshapeLayer>
impl LayerTraitConst for Ptr<ReshapeLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ResizeLayer>
impl LayerTraitConst for Ptr<ResizeLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<RoundLayer>
impl LayerTraitConst for Ptr<RoundLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ScaleLayer>
impl LayerTraitConst for Ptr<ScaleLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ScaleLayerInt8>
impl LayerTraitConst for Ptr<ScaleLayerInt8>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SeluLayer>
impl LayerTraitConst for Ptr<SeluLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ShrinkLayer>
impl LayerTraitConst for Ptr<ShrinkLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SigmoidLayer>
impl LayerTraitConst for Ptr<SigmoidLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SignLayer>
impl LayerTraitConst for Ptr<SignLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SinLayer>
impl LayerTraitConst for Ptr<SinLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SinhLayer>
impl LayerTraitConst for Ptr<SinhLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SliceLayer>
impl LayerTraitConst for Ptr<SliceLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SoftmaxLayer>
impl LayerTraitConst for Ptr<SoftmaxLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SoftmaxLayerInt8>
impl LayerTraitConst for Ptr<SoftmaxLayerInt8>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SoftplusLayer>
impl LayerTraitConst for Ptr<SoftplusLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SoftsignLayer>
impl LayerTraitConst for Ptr<SoftsignLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SplitLayer>
impl LayerTraitConst for Ptr<SplitLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SqrtLayer>
impl LayerTraitConst for Ptr<SqrtLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<SwishLayer>
impl LayerTraitConst for Ptr<SwishLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<TanHLayer>
impl LayerTraitConst for Ptr<TanHLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<TanLayer>
impl LayerTraitConst for Ptr<TanLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<ThresholdedReluLayer>
impl LayerTraitConst for Ptr<ThresholdedReluLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<dyn LSTMLayer>
impl LayerTraitConst for Ptr<dyn LSTMLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LayerTraitConst for Ptr<dyn RNNLayer>
impl LayerTraitConst for Ptr<dyn RNNLayer>
fn as_raw_Layer(&self) -> *const c_void
source§fn blobs(&self) -> Vector<Mat>
fn blobs(&self) -> Vector<Mat>
List of learned parameters must be stored here to allow read them by using Net::getParam().
source§fn name(&self) -> String
fn name(&self) -> String
Name of the layer instance, can be used for logging or other internal purposes.
source§fn preferable_target(&self) -> i32
fn preferable_target(&self) -> i32
prefer target for layer forwarding
source§fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
fn apply_halide_scheduler(
&self,
node: &mut Ptr<BackendNode>,
inputs: &Vector<Mat>,
outputs: &Vector<Mat>,
target_id: i32
) -> Result<()>
Automatic Halide scheduling based on layer hyper-parameters. Read more
source§fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
fn get_scale_shift(&self, scale: &mut Mat, shift: &mut Mat) -> Result<()>
Returns parameters of layers with channel-wise multiplication and addition. Read more
source§fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
fn get_scale_zeropoint(&self, scale: &mut f32, zeropoint: &mut i32) -> Result<()>
Returns scale and zeropoint of layers Read more
fn get_memory_shapes(
&self,
inputs: &Vector<MatShape>,
required_outputs: i32,
outputs: &mut Vector<MatShape>,
internals: &mut Vector<MatShape>
) -> Result<bool>
fn get_flops(
&self,
inputs: &Vector<MatShape>,
outputs: &Vector<MatShape>
) -> Result<i64>
source§impl LearningBasedWB for Ptr<dyn LearningBasedWB>
impl LearningBasedWB for Ptr<dyn LearningBasedWB>
fn as_raw_mut_LearningBasedWB(&mut self) -> *mut c_void
source§fn extract_simple_features(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn extract_simple_features(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
Implements the feature extraction part of the algorithm. Read more
source§fn set_range_max_val(&mut self, val: i32) -> Result<()>
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<()>
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<()>
fn set_hist_bin_num(&mut self, val: i32) -> Result<()>
Defines the size of one dimension of a three-dimensional RGB histogram that is used internally
by the algorithm. It often makes sense to increase the number of bins for images with higher bit depth
(e.g. 256 bins for a 12 bit image). Read more
source§impl LearningBasedWBConst for Ptr<dyn LearningBasedWB>
impl LearningBasedWBConst for Ptr<dyn LearningBasedWB>
fn as_raw_LearningBasedWB(&self) -> *const c_void
source§fn get_range_max_val(&self) -> Result<i32>
fn get_range_max_val(&self) -> Result<i32>
Maximum possible value of the input image (e.g. 255 for 8 bit images,
4095 for 12 bit images) Read more
source§impl LineSegmentDetector for Ptr<dyn LineSegmentDetector>
impl LineSegmentDetector for Ptr<dyn LineSegmentDetector>
fn as_raw_mut_LineSegmentDetector(&mut self) -> *mut c_void
source§fn detect(
&mut self,
image: &dyn ToInputArray,
lines: &mut dyn ToOutputArray,
width: &mut dyn ToOutputArray,
prec: &mut dyn ToOutputArray,
nfa: &mut dyn ToOutputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
lines: &mut dyn ToOutputArray,
width: &mut dyn ToOutputArray,
prec: &mut dyn ToOutputArray,
nfa: &mut dyn ToOutputArray
) -> Result<()>
Finds lines in the input image. Read more
source§fn draw_segments(
&mut self,
image: &mut dyn ToInputOutputArray,
lines: &dyn ToInputArray
) -> Result<()>
fn draw_segments(
&mut self,
image: &mut dyn ToInputOutputArray,
lines: &dyn ToInputArray
) -> Result<()>
Draws the line segments on a given image. Read more
source§fn compare_segments(
&mut self,
size: Size,
lines1: &dyn ToInputArray,
lines2: &dyn ToInputArray,
image: &mut dyn ToInputOutputArray
) -> Result<i32>
fn compare_segments(
&mut self,
size: Size,
lines1: &dyn ToInputArray,
lines2: &dyn ToInputArray,
image: &mut dyn ToInputOutputArray
) -> Result<i32>
Draws two groups of lines in blue and red, counting the non overlapping (mismatching) pixels. Read more
source§impl LineSegmentDetectorConst for Ptr<dyn LineSegmentDetector>
impl LineSegmentDetectorConst for Ptr<dyn LineSegmentDetector>
fn as_raw_LineSegmentDetector(&self) -> *const c_void
source§impl Linemod_DepthNormalTrait for Ptr<Linemod_DepthNormal>
impl Linemod_DepthNormalTrait for Ptr<Linemod_DepthNormal>
fn as_raw_mut_Linemod_DepthNormal(&mut self) -> *mut c_void
fn set_distance_threshold(&mut self, val: i32)
fn set_difference_threshold(&mut self, val: i32)
fn set_num_features(&mut self, val: size_t)
fn set_extract_threshold(&mut self, val: i32)
fn read(&mut self, fn_: &FileNode) -> Result<()>
source§impl Linemod_DepthNormalTraitConst for Ptr<Linemod_DepthNormal>
impl Linemod_DepthNormalTraitConst for Ptr<Linemod_DepthNormal>
fn as_raw_Linemod_DepthNormal(&self) -> *const c_void
fn distance_threshold(&self) -> i32
fn difference_threshold(&self) -> i32
fn num_features(&self) -> size_t
fn extract_threshold(&self) -> i32
fn name(&self) -> Result<String>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§impl Linemod_DetectorTrait for Ptr<Linemod_Detector>
impl Linemod_DetectorTrait for Ptr<Linemod_Detector>
fn as_raw_mut_Linemod_Detector(&mut self) -> *mut c_void
source§fn add_template(
&mut self,
sources: &Vector<Mat>,
class_id: &str,
object_mask: &Mat,
bounding_box: &mut Rect
) -> Result<i32>
fn add_template(
&mut self,
sources: &Vector<Mat>,
class_id: &str,
object_mask: &Mat,
bounding_box: &mut Rect
) -> Result<i32>
\brief Add new object template. Read more
source§fn add_synthetic_template(
&mut self,
templates: &Vector<Linemod_Template>,
class_id: &str
) -> Result<i32>
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.
fn read(&mut self, fn_: &FileNode) -> Result<()>
source§impl Linemod_DetectorTraitConst for Ptr<Linemod_Detector>
impl Linemod_DetectorTraitConst for Ptr<Linemod_Detector>
fn as_raw_Linemod_Detector(&self) -> *const c_void
source§fn match_(
&self,
sources: &Vector<Mat>,
threshold: f32,
matches: &mut Vector<Linemod_Match>,
class_ids: &Vector<String>,
quantized_images: &mut dyn ToOutputArray,
masks: &Vector<Mat>
) -> Result<()>
fn match_(
&self,
sources: &Vector<Mat>,
threshold: f32,
matches: &mut Vector<Linemod_Match>,
class_ids: &Vector<String>,
quantized_images: &mut dyn ToOutputArray,
masks: &Vector<Mat>
) -> Result<()>
\brief Detect objects by template matching. Read more
source§fn get_modalities(&self) -> Result<Vector<Ptr<dyn Linemod_Modality>>>
fn get_modalities(&self) -> Result<Vector<Ptr<dyn Linemod_Modality>>>
\brief Get the modalities used by this detector. Read more
source§fn get_t(&self, pyramid_level: i32) -> Result<i32>
fn get_t(&self, pyramid_level: i32) -> Result<i32>
\brief Get sampling step T at pyramid_level.
source§fn pyramid_levels(&self) -> Result<i32>
fn pyramid_levels(&self) -> Result<i32>
\brief Get number of pyramid levels used by this detector.
source§fn get_templates(
&self,
class_id: &str,
template_id: i32
) -> Result<Vector<Linemod_Template>>
fn get_templates(
&self,
class_id: &str,
template_id: i32
) -> Result<Vector<Linemod_Template>>
\brief Get the template pyramid identified by template_id. Read more
fn num_templates(&self) -> Result<i32>
fn num_templates_1(&self, class_id: &str) -> Result<i32>
fn num_classes(&self) -> Result<i32>
fn class_ids(&self) -> Result<Vector<String>>
fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write_class(&self, class_id: &str, fs: &mut FileStorage) -> Result<()>
source§impl Linemod_Modality for Ptr<Linemod_ColorGradient>
impl Linemod_Modality for Ptr<Linemod_ColorGradient>
source§impl Linemod_Modality for Ptr<Linemod_DepthNormal>
impl Linemod_Modality for Ptr<Linemod_DepthNormal>
source§impl Linemod_Modality for Ptr<dyn Linemod_Modality>
impl Linemod_Modality for Ptr<dyn Linemod_Modality>
source§impl Linemod_ModalityConst for Ptr<Linemod_ColorGradient>
impl Linemod_ModalityConst for Ptr<Linemod_ColorGradient>
fn as_raw_Linemod_Modality(&self) -> *const c_void
source§fn process(
&self,
src: &Mat,
mask: &Mat
) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>
fn process(
&self,
src: &Mat,
mask: &Mat
) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>
\brief Form a quantized image pyramid from a source image. Read more
fn name(&self) -> Result<String>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§impl Linemod_ModalityConst for Ptr<Linemod_DepthNormal>
impl Linemod_ModalityConst for Ptr<Linemod_DepthNormal>
fn as_raw_Linemod_Modality(&self) -> *const c_void
source§fn process(
&self,
src: &Mat,
mask: &Mat
) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>
fn process(
&self,
src: &Mat,
mask: &Mat
) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>
\brief Form a quantized image pyramid from a source image. Read more
fn name(&self) -> Result<String>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§impl Linemod_ModalityConst for Ptr<dyn Linemod_Modality>
impl Linemod_ModalityConst for Ptr<dyn Linemod_Modality>
fn as_raw_Linemod_Modality(&self) -> *const c_void
source§fn process(
&self,
src: &Mat,
mask: &Mat
) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>
fn process(
&self,
src: &Mat,
mask: &Mat
) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>
\brief Form a quantized image pyramid from a source image. Read more
fn name(&self) -> Result<String>
fn write(&self, fs: &mut FileStorage) -> Result<()>
source§impl Linemod_QuantizedPyramid for Ptr<dyn Linemod_QuantizedPyramid>
impl Linemod_QuantizedPyramid for Ptr<dyn Linemod_QuantizedPyramid>
source§impl Linemod_QuantizedPyramidConst for Ptr<dyn Linemod_QuantizedPyramid>
impl Linemod_QuantizedPyramidConst for Ptr<dyn Linemod_QuantizedPyramid>
fn as_raw_Linemod_QuantizedPyramid(&self) -> *const c_void
source§fn quantize(&self, dst: &mut Mat) -> Result<()>
fn quantize(&self, dst: &mut Mat) -> Result<()>
\brief Compute quantized image at current pyramid level for online detection. Read more
source§fn extract_template(&self, templ: &mut Linemod_Template) -> Result<bool>
fn extract_template(&self, templ: &mut Linemod_Template) -> Result<bool>
\brief Extract most discriminant features at current pyramid level to form a new template. Read more
source§impl LogLayerTrait for Ptr<LogLayer>
impl LogLayerTrait for Ptr<LogLayer>
fn as_raw_mut_LogLayer(&mut self) -> *mut c_void
source§impl LogLayerTraitConst for Ptr<LogLayer>
impl LogLayerTraitConst for Ptr<LogLayer>
fn as_raw_LogLayer(&self) -> *const c_void
source§impl LogToStdoutTrait for Ptr<LogToStdout>
impl LogToStdoutTrait for Ptr<LogToStdout>
source§impl LogToStdoutTraitConst for Ptr<LogToStdout>
impl LogToStdoutTraitConst for Ptr<LogToStdout>
fn as_raw_LogToStdout(&self) -> *const c_void
source§impl LogisticRegression for Ptr<dyn LogisticRegression>
impl LogisticRegression for Ptr<dyn LogisticRegression>
fn as_raw_mut_LogisticRegression(&mut self) -> *mut c_void
source§fn set_regularization(&mut self, val: i32) -> Result<()>
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<()>
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<()>
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<()>
fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>
Termination criteria of the algorithm. Read more
source§impl LogisticRegressionConst for Ptr<dyn LogisticRegression>
impl LogisticRegressionConst for Ptr<dyn LogisticRegression>
fn as_raw_LogisticRegression(&self) -> *const c_void
source§fn get_regularization(&self) -> Result<i32>
fn get_regularization(&self) -> Result<i32>
Kind of regularization to be applied. See LogisticRegression::RegKinds. Read more
source§fn get_train_method(&self) -> Result<i32>
fn get_train_method(&self) -> Result<i32>
Kind of training method used. See LogisticRegression::Methods. Read more
source§fn get_mini_batch_size(&self) -> Result<i32>
fn get_mini_batch_size(&self) -> Result<i32>
Specifies the number of training samples taken in each step of Mini-Batch Gradient
Descent. Will only be used if using LogisticRegression::MINI_BATCH training algorithm. It
has to take values less than the total number of training samples. Read more
source§fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_term_criteria(&self) -> Result<TermCriteria>
Termination criteria of the algorithm. Read more
source§fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Predicts responses for input samples and returns a float type. Read more
source§impl LookUpTable for Ptr<dyn LookUpTable>
impl LookUpTable for Ptr<dyn LookUpTable>
fn as_raw_mut_LookUpTable(&mut self) -> *mut c_void
source§fn transform(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn transform(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
Transforms the source matrix into the destination matrix using the given look-up table:
dst(I) = lut(src(I)) . Read more
source§impl LookUpTableConst for Ptr<dyn LookUpTable>
impl LookUpTableConst for Ptr<dyn LookUpTable>
fn as_raw_LookUpTable(&self) -> *const c_void
source§impl LpMotionStabilizerTrait for Ptr<LpMotionStabilizer>
impl LpMotionStabilizerTrait for Ptr<LpMotionStabilizer>
fn as_raw_mut_LpMotionStabilizer(&mut self) -> *mut c_void
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_frame_size(&mut self, val: Size) -> Result<()>
fn set_trim_ratio(&mut self, val: f32) -> Result<()>
fn set_weight1(&mut self, val: f32) -> Result<()>
fn set_weight2(&mut self, val: f32) -> Result<()>
fn set_weight3(&mut self, val: f32) -> Result<()>
fn set_weight4(&mut self, val: f32) -> Result<()>
fn stabilize(
&mut self,
size: i32,
motions: &Vector<Mat>,
range: &Range,
stabilization_motions: &mut Mat
) -> Result<()>
source§impl LpMotionStabilizerTraitConst for Ptr<LpMotionStabilizer>
impl LpMotionStabilizerTraitConst for Ptr<LpMotionStabilizer>
fn as_raw_LpMotionStabilizer(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
fn frame_size(&self) -> Result<Size>
fn trim_ratio(&self) -> Result<f32>
fn weight1(&self) -> Result<f32>
fn weight2(&self) -> Result<f32>
fn weight3(&self) -> Result<f32>
fn weight4(&self) -> Result<f32>
source§impl MACE for Ptr<dyn MACE>
impl MACE for Ptr<dyn MACE>
source§impl MCC_CChecker for Ptr<dyn MCC_CChecker>
impl MCC_CChecker for Ptr<dyn MCC_CChecker>
fn as_raw_mut_MCC_CChecker(&mut self) -> *mut c_void
fn set_target(&mut self, _target: MCC_TYPECHART) -> Result<()>
fn set_box(&mut self, _box: Vector<Point2f>) -> Result<()>
fn set_charts_rgb(&mut self, _charts_rgb: Mat) -> Result<()>
fn set_charts_y_cb_cr(&mut self, _charts_y_cb_cr: Mat) -> Result<()>
fn set_cost(&mut self, _cost: f32) -> Result<()>
fn set_center(&mut self, _center: Point2f) -> Result<()>
fn get_target(&mut self) -> Result<MCC_TYPECHART>
fn get_box(&mut self) -> Result<Vector<Point2f>>
fn get_charts_rgb(&mut self) -> Result<Mat>
fn get_charts_y_cb_cr(&mut self) -> Result<Mat>
fn get_cost(&mut self) -> Result<f32>
fn get_center(&mut self) -> Result<Point2f>
source§impl MCC_CCheckerConst for Ptr<dyn MCC_CChecker>
impl MCC_CCheckerConst for Ptr<dyn MCC_CChecker>
fn as_raw_MCC_CChecker(&self) -> *const c_void
source§impl MCC_CCheckerDetector for Ptr<dyn MCC_CCheckerDetector>
impl MCC_CCheckerDetector for Ptr<dyn MCC_CCheckerDetector>
fn as_raw_mut_MCC_CCheckerDetector(&mut self) -> *mut c_void
source§fn set_net(&mut self, net: Net) -> Result<bool>
fn set_net(&mut self, net: Net) -> Result<bool>
\brief Set the net which will be used to find the approximate
bounding boxes for the color charts. Read more
source§fn process_with_roi(
&mut self,
image: &dyn ToInputArray,
chart_type: MCC_TYPECHART,
regions_of_interest: &Vector<Rect>,
nc: i32,
use_net: bool,
params: &Ptr<MCC_DetectorParameters>
) -> Result<bool>
fn process_with_roi(
&mut self,
image: &dyn ToInputArray,
chart_type: MCC_TYPECHART,
regions_of_interest: &Vector<Rect>,
nc: i32,
use_net: bool,
params: &Ptr<MCC_DetectorParameters>
) -> Result<bool>
\brief Find the ColorCharts in the given image. Read more
source§fn process(
&mut self,
image: &dyn ToInputArray,
chart_type: MCC_TYPECHART,
nc: i32,
use_net: bool,
params: &Ptr<MCC_DetectorParameters>
) -> Result<bool>
fn process(
&mut self,
image: &dyn ToInputArray,
chart_type: MCC_TYPECHART,
nc: i32,
use_net: bool,
params: &Ptr<MCC_DetectorParameters>
) -> Result<bool>
\brief Find the ColorCharts in the given image. Read more
source§fn get_best_color_checker(&mut self) -> Result<Ptr<dyn MCC_CChecker>>
fn get_best_color_checker(&mut self) -> Result<Ptr<dyn MCC_CChecker>>
\brief Get the best color checker. By the best it means the one
detected with the highest confidence.
\return checker A single colorchecker, if atleast one colorchecker
was detected, ‘nullptr’ otherwise. Read more
source§fn get_list_color_checker(&mut self) -> Result<Vector<Ptr<dyn MCC_CChecker>>>
fn get_list_color_checker(&mut self) -> Result<Vector<Ptr<dyn MCC_CChecker>>>
\brief Get the list of all detected colorcheckers
\return checkers vector of colorcheckers Read more
source§impl MCC_CCheckerDetectorConst for Ptr<dyn MCC_CCheckerDetector>
impl MCC_CCheckerDetectorConst for Ptr<dyn MCC_CCheckerDetector>
fn as_raw_MCC_CCheckerDetector(&self) -> *const c_void
source§impl MCC_CCheckerDraw for Ptr<dyn MCC_CCheckerDraw>
impl MCC_CCheckerDraw for Ptr<dyn MCC_CCheckerDraw>
source§impl MCC_CCheckerDrawConst for Ptr<dyn MCC_CCheckerDraw>
impl MCC_CCheckerDrawConst for Ptr<dyn MCC_CCheckerDraw>
fn as_raw_MCC_CCheckerDraw(&self) -> *const c_void
source§impl MCC_DetectorParametersTrait for Ptr<MCC_DetectorParameters>
impl MCC_DetectorParametersTrait for Ptr<MCC_DetectorParameters>
fn as_raw_mut_MCC_DetectorParameters(&mut self) -> *mut c_void
fn set_adaptive_thresh_win_size_min(&mut self, val: i32)
fn set_adaptive_thresh_win_size_max(&mut self, val: i32)
fn set_adaptive_thresh_win_size_step(&mut self, val: i32)
fn set_adaptive_thresh_constant(&mut self, val: f64)
fn set_min_contours_area_rate(&mut self, val: f64)
fn set_min_contours_area(&mut self, val: f64)
fn set_confidence_threshold(&mut self, val: f64)
fn set_min_contour_solidity(&mut self, val: f64)
fn set_find_candidates_approx_poly_dp_eps_multiplier(&mut self, val: f64)
fn set_border_width(&mut self, val: i32)
fn set_b0factor(&mut self, val: f32)
fn set_max_error(&mut self, val: f32)
fn set_min_contour_points_allowed(&mut self, val: i32)
fn set_min_contour_length_allowed(&mut self, val: i32)
fn set_min_inter_contour_distance(&mut self, val: i32)
fn set_min_inter_checker_distance(&mut self, val: i32)
fn set_min_image_size(&mut self, val: i32)
fn set_min_group_size(&mut self, val: u32)
source§impl MCC_DetectorParametersTraitConst for Ptr<MCC_DetectorParameters>
impl MCC_DetectorParametersTraitConst for Ptr<MCC_DetectorParameters>
fn as_raw_MCC_DetectorParameters(&self) -> *const c_void
fn adaptive_thresh_win_size_min(&self) -> i32
fn adaptive_thresh_win_size_max(&self) -> i32
fn adaptive_thresh_win_size_step(&self) -> i32
fn adaptive_thresh_constant(&self) -> f64
fn min_contours_area_rate(&self) -> f64
fn min_contours_area(&self) -> f64
fn confidence_threshold(&self) -> f64
fn min_contour_solidity(&self) -> f64
fn find_candidates_approx_poly_dp_eps_multiplier(&self) -> f64
fn border_width(&self) -> i32
fn b0factor(&self) -> f32
fn max_error(&self) -> f32
fn min_contour_points_allowed(&self) -> i32
fn min_contour_length_allowed(&self) -> i32
fn min_inter_contour_distance(&self) -> i32
fn min_inter_checker_distance(&self) -> i32
fn min_image_size(&self) -> i32
fn min_group_size(&self) -> u32
source§impl MSDDetectorTrait for Ptr<MSDDetector>
impl MSDDetectorTrait for Ptr<MSDDetector>
fn as_raw_mut_MSDDetector(&mut self) -> *mut c_void
source§impl MSDDetectorTraitConst for Ptr<MSDDetector>
impl MSDDetectorTraitConst for Ptr<MSDDetector>
fn as_raw_MSDDetector(&self) -> *const c_void
source§impl MSER for Ptr<dyn MSER>
impl MSER for Ptr<dyn MSER>
fn as_raw_mut_MSER(&mut self) -> *mut c_void
source§fn detect_regions(
&mut self,
image: &dyn ToInputArray,
msers: &mut Vector<Vector<Point>>,
bboxes: &mut Vector<Rect>
) -> Result<()>
fn detect_regions(
&mut self,
image: &dyn ToInputArray,
msers: &mut Vector<Vector<Point>>,
bboxes: &mut Vector<Rect>
) -> Result<()>
Detect %MSER regions Read more
fn set_delta(&mut self, delta: i32) -> Result<()>
fn set_min_area(&mut self, min_area: i32) -> Result<()>
fn set_max_area(&mut self, max_area: i32) -> Result<()>
fn set_pass2_only(&mut self, f: bool) -> Result<()>
source§impl MVNLayerTrait for Ptr<MVNLayer>
impl MVNLayerTrait for Ptr<MVNLayer>
source§impl MVNLayerTraitConst for Ptr<MVNLayer>
impl MVNLayerTraitConst for Ptr<MVNLayer>
source§impl MarrHildrethHashTrait for Ptr<MarrHildrethHash>
impl MarrHildrethHashTrait for Ptr<MarrHildrethHash>
source§impl MaskFrameSourceTrait for Ptr<MaskFrameSource>
impl MaskFrameSourceTrait for Ptr<MaskFrameSource>
source§impl MaskFrameSourceTraitConst for Ptr<MaskFrameSource>
impl MaskFrameSourceTraitConst for Ptr<MaskFrameSource>
fn as_raw_MaskFrameSource(&self) -> *const c_void
source§impl MaxUnpoolLayerTrait for Ptr<MaxUnpoolLayer>
impl MaxUnpoolLayerTrait for Ptr<MaxUnpoolLayer>
fn as_raw_mut_MaxUnpoolLayer(&mut self) -> *mut c_void
fn set_pool_kernel(&mut self, val: Size)
fn set_pool_pad(&mut self, val: Size)
fn set_pool_stride(&mut self, val: Size)
source§impl MaxUnpoolLayerTraitConst for Ptr<MaxUnpoolLayer>
impl MaxUnpoolLayerTraitConst for Ptr<MaxUnpoolLayer>
source§impl MercatorWarperTrait for Ptr<MercatorWarper>
impl MercatorWarperTrait for Ptr<MercatorWarper>
fn as_raw_mut_MercatorWarper(&mut self) -> *mut c_void
source§impl MercatorWarperTraitConst for Ptr<MercatorWarper>
impl MercatorWarperTraitConst for Ptr<MercatorWarper>
source§impl MergeDebevec for Ptr<dyn MergeDebevec>
impl MergeDebevec for Ptr<dyn MergeDebevec>
fn as_raw_mut_MergeDebevec(&mut self) -> *mut c_void
fn process_with_response(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray,
response: &dyn ToInputArray
) -> Result<()>
fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray
) -> Result<()>
source§impl MergeDebevecConst for Ptr<dyn MergeDebevec>
impl MergeDebevecConst for Ptr<dyn MergeDebevec>
fn as_raw_MergeDebevec(&self) -> *const c_void
source§impl MergeExposures for Ptr<dyn MergeDebevec>
impl MergeExposures for Ptr<dyn MergeDebevec>
fn as_raw_mut_MergeExposures(&mut self) -> *mut c_void
source§fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray,
response: &dyn ToInputArray
) -> Result<()>
fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray,
response: &dyn ToInputArray
) -> Result<()>
Merges images. Read more
source§impl MergeExposures for Ptr<dyn MergeMertens>
impl MergeExposures for Ptr<dyn MergeMertens>
fn as_raw_mut_MergeExposures(&mut self) -> *mut c_void
source§fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray,
response: &dyn ToInputArray
) -> Result<()>
fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray,
response: &dyn ToInputArray
) -> Result<()>
Merges images. Read more
source§impl MergeExposures for Ptr<dyn MergeRobertson>
impl MergeExposures for Ptr<dyn MergeRobertson>
fn as_raw_mut_MergeExposures(&mut self) -> *mut c_void
source§fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray,
response: &dyn ToInputArray
) -> Result<()>
fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray,
response: &dyn ToInputArray
) -> Result<()>
Merges images. Read more
source§impl MergeExposuresConst for Ptr<dyn MergeDebevec>
impl MergeExposuresConst for Ptr<dyn MergeDebevec>
fn as_raw_MergeExposures(&self) -> *const c_void
source§impl MergeExposuresConst for Ptr<dyn MergeMertens>
impl MergeExposuresConst for Ptr<dyn MergeMertens>
fn as_raw_MergeExposures(&self) -> *const c_void
source§impl MergeExposuresConst for Ptr<dyn MergeRobertson>
impl MergeExposuresConst for Ptr<dyn MergeRobertson>
fn as_raw_MergeExposures(&self) -> *const c_void
source§impl MergeMertens for Ptr<dyn MergeMertens>
impl MergeMertens for Ptr<dyn MergeMertens>
fn as_raw_mut_MergeMertens(&mut self) -> *mut c_void
fn process_with_response(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray,
response: &dyn ToInputArray
) -> Result<()>
source§fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
Short version of process, that doesn’t take extra arguments. Read more
fn set_contrast_weight(&mut self, contrast_weiht: f32) -> Result<()>
fn set_saturation_weight(&mut self, saturation_weight: f32) -> Result<()>
fn set_exposure_weight(&mut self, exposure_weight: f32) -> Result<()>
source§impl MergeMertensConst for Ptr<dyn MergeMertens>
impl MergeMertensConst for Ptr<dyn MergeMertens>
fn as_raw_MergeMertens(&self) -> *const c_void
fn get_contrast_weight(&self) -> Result<f32>
fn get_saturation_weight(&self) -> Result<f32>
fn get_exposure_weight(&self) -> Result<f32>
source§impl MergeRobertson for Ptr<dyn MergeRobertson>
impl MergeRobertson for Ptr<dyn MergeRobertson>
fn as_raw_mut_MergeRobertson(&mut self) -> *mut c_void
fn process_with_response(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray,
response: &dyn ToInputArray
) -> Result<()>
fn process(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
times: &dyn ToInputArray
) -> Result<()>
source§impl MergeRobertsonConst for Ptr<dyn MergeRobertson>
impl MergeRobertsonConst for Ptr<dyn MergeRobertson>
fn as_raw_MergeRobertson(&self) -> *const c_void
source§impl MinProblemSolver for Ptr<dyn ConjGradSolver>
impl MinProblemSolver for Ptr<dyn ConjGradSolver>
fn as_raw_mut_MinProblemSolver(&mut self) -> *mut c_void
source§fn set_function(&mut self, f: &Ptr<dyn MinProblemSolver_Function>) -> Result<()>
fn set_function(&mut self, f: &Ptr<dyn MinProblemSolver_Function>) -> Result<()>
Setter for the optimized function. Read more
source§fn set_term_criteria(&mut self, termcrit: TermCriteria) -> Result<()>
fn set_term_criteria(&mut self, termcrit: TermCriteria) -> Result<()>
Set terminal criteria for solver. Read more
source§impl MinProblemSolver for Ptr<dyn DownhillSolver>
impl MinProblemSolver for Ptr<dyn DownhillSolver>
fn as_raw_mut_MinProblemSolver(&mut self) -> *mut c_void
source§fn set_function(&mut self, f: &Ptr<dyn MinProblemSolver_Function>) -> Result<()>
fn set_function(&mut self, f: &Ptr<dyn MinProblemSolver_Function>) -> Result<()>
Setter for the optimized function. Read more
source§fn set_term_criteria(&mut self, termcrit: TermCriteria) -> Result<()>
fn set_term_criteria(&mut self, termcrit: TermCriteria) -> Result<()>
Set terminal criteria for solver. Read more
source§impl MinProblemSolverConst for Ptr<dyn ConjGradSolver>
impl MinProblemSolverConst for Ptr<dyn ConjGradSolver>
fn as_raw_MinProblemSolver(&self) -> *const c_void
source§fn get_function(&self) -> Result<Ptr<dyn MinProblemSolver_Function>>
fn get_function(&self) -> Result<Ptr<dyn MinProblemSolver_Function>>
Getter for the optimized function. Read more
source§fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_term_criteria(&self) -> Result<TermCriteria>
Getter for the previously set terminal criteria for this algorithm. Read more
source§impl MinProblemSolverConst for Ptr<dyn DownhillSolver>
impl MinProblemSolverConst for Ptr<dyn DownhillSolver>
fn as_raw_MinProblemSolver(&self) -> *const c_void
source§fn get_function(&self) -> Result<Ptr<dyn MinProblemSolver_Function>>
fn get_function(&self) -> Result<Ptr<dyn MinProblemSolver_Function>>
Getter for the optimized function. Read more
source§fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_term_criteria(&self) -> Result<TermCriteria>
Getter for the previously set terminal criteria for this algorithm. Read more
source§impl MinProblemSolver_Function for Ptr<dyn MinProblemSolver_Function>
impl MinProblemSolver_Function for Ptr<dyn MinProblemSolver_Function>
source§impl MishLayerTrait for Ptr<MishLayer>
impl MishLayerTrait for Ptr<MishLayer>
fn as_raw_mut_MishLayer(&mut self) -> *mut c_void
source§impl MishLayerTraitConst for Ptr<MishLayer>
impl MishLayerTraitConst for Ptr<MishLayer>
fn as_raw_MishLayer(&self) -> *const c_void
source§impl MoreAccurateMotionWobbleSuppressorBase for Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>
impl MoreAccurateMotionWobbleSuppressorBase for Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>
source§impl MoreAccurateMotionWobbleSuppressorBaseConst for Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>
impl MoreAccurateMotionWobbleSuppressorBaseConst for Ptr<dyn MoreAccurateMotionWobbleSuppressorBase>
source§impl MotionEstimatorBase for Ptr<MotionEstimatorL1>
impl MotionEstimatorBase for Ptr<MotionEstimatorL1>
fn as_raw_mut_MotionEstimatorBase(&mut self) -> *mut c_void
source§fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
Sets motion model. Read more
source§fn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
fn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
Estimates global motion between two 2D point clouds. Read more
source§impl MotionEstimatorBase for Ptr<MotionEstimatorRansacL2>
impl MotionEstimatorBase for Ptr<MotionEstimatorRansacL2>
fn as_raw_mut_MotionEstimatorBase(&mut self) -> *mut c_void
source§fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
Sets motion model. Read more
source§fn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
fn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
Estimates global motion between two 2D point clouds. Read more
source§impl MotionEstimatorBase for Ptr<dyn MotionEstimatorBase>
impl MotionEstimatorBase for Ptr<dyn MotionEstimatorBase>
fn as_raw_mut_MotionEstimatorBase(&mut self) -> *mut c_void
source§fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
Sets motion model. Read more
source§fn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
fn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
Estimates global motion between two 2D point clouds. Read more
source§impl MotionEstimatorBaseConst for Ptr<MotionEstimatorL1>
impl MotionEstimatorBaseConst for Ptr<MotionEstimatorL1>
fn as_raw_MotionEstimatorBase(&self) -> *const c_void
source§fn motion_model(&self) -> Result<MotionModel>
fn motion_model(&self) -> Result<MotionModel>
Returns Read more
source§impl MotionEstimatorBaseConst for Ptr<MotionEstimatorRansacL2>
impl MotionEstimatorBaseConst for Ptr<MotionEstimatorRansacL2>
fn as_raw_MotionEstimatorBase(&self) -> *const c_void
source§fn motion_model(&self) -> Result<MotionModel>
fn motion_model(&self) -> Result<MotionModel>
Returns Read more
source§impl MotionEstimatorBaseConst for Ptr<dyn MotionEstimatorBase>
impl MotionEstimatorBaseConst for Ptr<dyn MotionEstimatorBase>
fn as_raw_MotionEstimatorBase(&self) -> *const c_void
source§fn motion_model(&self) -> Result<MotionModel>
fn motion_model(&self) -> Result<MotionModel>
Returns Read more
source§impl MotionEstimatorL1Trait for Ptr<MotionEstimatorL1>
impl MotionEstimatorL1Trait for Ptr<MotionEstimatorL1>
fn as_raw_mut_MotionEstimatorL1(&mut self) -> *mut c_void
source§fn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
fn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
C++ default parameters Read more
source§impl MotionEstimatorL1TraitConst for Ptr<MotionEstimatorL1>
impl MotionEstimatorL1TraitConst for Ptr<MotionEstimatorL1>
fn as_raw_MotionEstimatorL1(&self) -> *const c_void
source§impl MotionEstimatorRansacL2Trait for Ptr<MotionEstimatorRansacL2>
impl MotionEstimatorRansacL2Trait for Ptr<MotionEstimatorRansacL2>
fn as_raw_mut_MotionEstimatorRansacL2(&mut self) -> *mut c_void
fn set_ransac_params(&mut self, val: &RansacParams) -> Result<()>
fn set_min_inlier_ratio(&mut self, val: f32) -> Result<()>
source§fn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
fn estimate(
&mut self,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
ok: &mut bool
) -> Result<Mat>
C++ default parameters Read more
source§impl MotionEstimatorRansacL2TraitConst for Ptr<MotionEstimatorRansacL2>
impl MotionEstimatorRansacL2TraitConst for Ptr<MotionEstimatorRansacL2>
fn as_raw_MotionEstimatorRansacL2(&self) -> *const c_void
fn ransac_params(&self) -> Result<RansacParams>
fn min_inlier_ratio(&self) -> Result<f32>
source§impl MotionFilterBase for Ptr<GaussianMotionFilter>
impl MotionFilterBase for Ptr<GaussianMotionFilter>
source§impl MotionFilterBase for Ptr<dyn MotionFilterBase>
impl MotionFilterBase for Ptr<dyn MotionFilterBase>
source§impl MotionFilterBaseConst for Ptr<GaussianMotionFilter>
impl MotionFilterBaseConst for Ptr<GaussianMotionFilter>
fn as_raw_MotionFilterBase(&self) -> *const c_void
source§impl MotionFilterBaseConst for Ptr<dyn MotionFilterBase>
impl MotionFilterBaseConst for Ptr<dyn MotionFilterBase>
fn as_raw_MotionFilterBase(&self) -> *const c_void
source§impl MotionInpainterTrait for Ptr<MotionInpainter>
impl MotionInpainterTrait for Ptr<MotionInpainter>
fn as_raw_mut_MotionInpainter(&mut self) -> *mut c_void
fn set_opt_flow_estimator(
&mut self,
val: Ptr<dyn IDenseOptFlowEstimator>
) -> Result<()>
fn set_flow_error_threshold(&mut self, val: f32) -> Result<()>
fn set_dist_threshold(&mut self, val: f32) -> Result<()>
fn set_border_mode(&mut self, val: i32) -> Result<()>
fn inpaint(&mut self, idx: i32, frame: &mut Mat, mask: &mut Mat) -> Result<()>
source§impl MotionInpainterTraitConst for Ptr<MotionInpainter>
impl MotionInpainterTraitConst for Ptr<MotionInpainter>
fn as_raw_MotionInpainter(&self) -> *const c_void
fn opt_flow_estimator(&self) -> Result<Ptr<dyn IDenseOptFlowEstimator>>
fn flow_error_threshold(&self) -> Result<f32>
fn dist_thresh(&self) -> Result<f32>
fn border_mode(&self) -> Result<i32>
source§impl MotionSaliency for Ptr<MotionSaliencyBinWangApr2014>
impl MotionSaliency for Ptr<MotionSaliencyBinWangApr2014>
fn as_raw_mut_MotionSaliency(&mut self) -> *mut c_void
source§impl MotionSaliencyBinWangApr2014Trait for Ptr<MotionSaliencyBinWangApr2014>
impl MotionSaliencyBinWangApr2014Trait for Ptr<MotionSaliencyBinWangApr2014>
fn as_raw_mut_MotionSaliencyBinWangApr2014(&mut self) -> *mut c_void
fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
source§fn set_imagesize(&mut self, w: i32, h: i32) -> Result<()>
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>
fn init(&mut self) -> Result<bool>
This function allows the correct initialization of all data structures that will be used by the
algorithm. Read more
fn set_image_width(&mut self, val: i32) -> Result<()>
fn set_image_height(&mut self, val: i32) -> Result<()>
source§impl MotionSaliencyBinWangApr2014TraitConst for Ptr<MotionSaliencyBinWangApr2014>
impl MotionSaliencyBinWangApr2014TraitConst for Ptr<MotionSaliencyBinWangApr2014>
fn as_raw_MotionSaliencyBinWangApr2014(&self) -> *const c_void
fn get_image_width(&self) -> Result<i32>
fn get_image_height(&self) -> Result<i32>
source§impl MotionSaliencyConst for Ptr<MotionSaliencyBinWangApr2014>
impl MotionSaliencyConst for Ptr<MotionSaliencyBinWangApr2014>
fn as_raw_MotionSaliency(&self) -> *const c_void
source§impl NormHistogramCostExtractor for Ptr<dyn NormHistogramCostExtractor>
impl NormHistogramCostExtractor for Ptr<dyn NormHistogramCostExtractor>
source§impl NormHistogramCostExtractorConst for Ptr<dyn NormHistogramCostExtractor>
impl NormHistogramCostExtractorConst for Ptr<dyn NormHistogramCostExtractor>
fn as_raw_NormHistogramCostExtractor(&self) -> *const c_void
fn get_norm_flag(&self) -> Result<i32>
source§impl NormalBayesClassifier for Ptr<dyn NormalBayesClassifier>
impl NormalBayesClassifier for Ptr<dyn NormalBayesClassifier>
fn as_raw_mut_NormalBayesClassifier(&mut self) -> *mut c_void
source§impl NormalBayesClassifierConst for Ptr<dyn NormalBayesClassifier>
impl NormalBayesClassifierConst for Ptr<dyn NormalBayesClassifier>
fn as_raw_NormalBayesClassifier(&self) -> *const c_void
source§fn predict_prob(
&self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
output_probs: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict_prob(
&self,
inputs: &dyn ToInputArray,
outputs: &mut dyn ToOutputArray,
output_probs: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Predicts the response for sample(s). Read more
source§impl NotLayerTrait for Ptr<NotLayer>
impl NotLayerTrait for Ptr<NotLayer>
fn as_raw_mut_NotLayer(&mut self) -> *mut c_void
source§impl NotLayerTraitConst for Ptr<NotLayer>
impl NotLayerTraitConst for Ptr<NotLayer>
fn as_raw_NotLayer(&self) -> *const c_void
source§impl NullDeblurerTrait for Ptr<NullDeblurer>
impl NullDeblurerTrait for Ptr<NullDeblurer>
source§impl NullDeblurerTraitConst for Ptr<NullDeblurer>
impl NullDeblurerTraitConst for Ptr<NullDeblurer>
fn as_raw_NullDeblurer(&self) -> *const c_void
source§impl NullFrameSourceTrait for Ptr<NullFrameSource>
impl NullFrameSourceTrait for Ptr<NullFrameSource>
source§impl NullFrameSourceTraitConst for Ptr<NullFrameSource>
impl NullFrameSourceTraitConst for Ptr<NullFrameSource>
fn as_raw_NullFrameSource(&self) -> *const c_void
source§impl NullInpainterTrait for Ptr<NullInpainter>
impl NullInpainterTrait for Ptr<NullInpainter>
source§impl NullInpainterTraitConst for Ptr<NullInpainter>
impl NullInpainterTraitConst for Ptr<NullInpainter>
fn as_raw_NullInpainter(&self) -> *const c_void
source§impl NullLogTrait for Ptr<NullLog>
impl NullLogTrait for Ptr<NullLog>
source§impl NullLogTraitConst for Ptr<NullLog>
impl NullLogTraitConst for Ptr<NullLog>
fn as_raw_NullLog(&self) -> *const c_void
source§impl NullOutlierRejectorTrait for Ptr<NullOutlierRejector>
impl NullOutlierRejectorTrait for Ptr<NullOutlierRejector>
fn as_raw_mut_NullOutlierRejector(&mut self) -> *mut c_void
fn process(
&mut self,
frame_size: Size,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
mask: &mut dyn ToOutputArray
) -> Result<()>
source§impl NullOutlierRejectorTraitConst for Ptr<NullOutlierRejector>
impl NullOutlierRejectorTraitConst for Ptr<NullOutlierRejector>
fn as_raw_NullOutlierRejector(&self) -> *const c_void
source§impl NullWobbleSuppressorTraitConst for Ptr<NullWobbleSuppressor>
impl NullWobbleSuppressorTraitConst for Ptr<NullWobbleSuppressor>
fn as_raw_NullWobbleSuppressor(&self) -> *const c_void
source§impl OCRBeamSearchDecoderTrait for Ptr<OCRBeamSearchDecoder>
impl OCRBeamSearchDecoderTrait for Ptr<OCRBeamSearchDecoder>
fn as_raw_mut_OCRBeamSearchDecoder(&mut self) -> *mut c_void
source§fn run_multiple(
&mut self,
image: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
fn run_multiple(
&mut self,
image: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
Recognize text using Beam Search. Read more
source§fn run_multiple_mask(
&mut self,
image: &mut Mat,
mask: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
fn run_multiple_mask(
&mut self,
image: &mut Mat,
mask: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
C++ default parameters Read more
source§fn run(
&mut self,
image: &dyn ToInputArray,
min_confidence: i32,
component_level: i32
) -> Result<String>
fn run(
&mut self,
image: &dyn ToInputArray,
min_confidence: i32,
component_level: i32
) -> Result<String>
C++ default parameters Read more
source§fn run_mask(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
min_confidence: i32,
component_level: i32
) -> Result<String>
fn run_mask(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
min_confidence: i32,
component_level: i32
) -> Result<String>
C++ default parameters Read more
source§impl OCRBeamSearchDecoderTraitConst for Ptr<OCRBeamSearchDecoder>
impl OCRBeamSearchDecoderTraitConst for Ptr<OCRBeamSearchDecoder>
fn as_raw_OCRBeamSearchDecoder(&self) -> *const c_void
source§impl OCRBeamSearchDecoder_ClassifierCallbackTrait for Ptr<OCRBeamSearchDecoder_ClassifierCallback>
impl OCRBeamSearchDecoder_ClassifierCallbackTrait for Ptr<OCRBeamSearchDecoder_ClassifierCallback>
fn as_raw_mut_OCRBeamSearchDecoder_ClassifierCallback(&mut self) -> *mut c_void
source§fn eval(
&mut self,
image: &dyn ToInputArray,
recognition_probabilities: &mut Vector<Vector<f64>>,
oversegmentation: &mut Vector<i32>
) -> Result<()>
fn eval(
&mut self,
image: &dyn ToInputArray,
recognition_probabilities: &mut Vector<Vector<f64>>,
oversegmentation: &mut Vector<i32>
) -> Result<()>
The character classifier must return a (ranked list of) class(es) id(’s) Read more
fn get_window_size(&mut self) -> Result<i32>
fn get_step_size(&mut self) -> Result<i32>
source§impl OCRBeamSearchDecoder_ClassifierCallbackTraitConst for Ptr<OCRBeamSearchDecoder_ClassifierCallback>
impl OCRBeamSearchDecoder_ClassifierCallbackTraitConst for Ptr<OCRBeamSearchDecoder_ClassifierCallback>
source§impl OCRHMMDecoderTrait for Ptr<OCRHMMDecoder>
impl OCRHMMDecoderTrait for Ptr<OCRHMMDecoder>
fn as_raw_mut_OCRHMMDecoder(&mut self) -> *mut c_void
source§fn run_multiple(
&mut self,
image: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
fn run_multiple(
&mut self,
image: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
Recognize text using HMM. Read more
source§fn run_multiple_mask(
&mut self,
image: &mut Mat,
mask: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
fn run_multiple_mask(
&mut self,
image: &mut Mat,
mask: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
Recognize text using HMM. Read more
source§fn run(
&mut self,
image: &dyn ToInputArray,
min_confidence: i32,
component_level: i32
) -> Result<String>
fn run(
&mut self,
image: &dyn ToInputArray,
min_confidence: i32,
component_level: i32
) -> Result<String>
C++ default parameters Read more
source§fn run_mask(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
min_confidence: i32,
component_level: i32
) -> Result<String>
fn run_mask(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
min_confidence: i32,
component_level: i32
) -> Result<String>
C++ default parameters Read more
source§impl OCRHMMDecoderTraitConst for Ptr<OCRHMMDecoder>
impl OCRHMMDecoderTraitConst for Ptr<OCRHMMDecoder>
fn as_raw_OCRHMMDecoder(&self) -> *const c_void
source§impl OCRHMMDecoder_ClassifierCallbackTraitConst for Ptr<OCRHMMDecoder_ClassifierCallback>
impl OCRHMMDecoder_ClassifierCallbackTraitConst for Ptr<OCRHMMDecoder_ClassifierCallback>
fn as_raw_OCRHMMDecoder_ClassifierCallback(&self) -> *const c_void
source§impl OCRHolisticWordRecognizer for Ptr<dyn OCRHolisticWordRecognizer>
impl OCRHolisticWordRecognizer for Ptr<dyn OCRHolisticWordRecognizer>
fn as_raw_mut_OCRHolisticWordRecognizer(&mut self) -> *mut c_void
source§fn run(
&mut self,
image: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
fn run(
&mut self,
image: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
C++ default parameters Read more
source§fn run_mask(
&mut self,
image: &mut Mat,
mask: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
fn run_mask(
&mut self,
image: &mut Mat,
mask: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
Recognize text using a segmentation based word-spotting/classifier cnn. Read more
source§impl OCRHolisticWordRecognizerConst for Ptr<dyn OCRHolisticWordRecognizer>
impl OCRHolisticWordRecognizerConst for Ptr<dyn OCRHolisticWordRecognizer>
fn as_raw_OCRHolisticWordRecognizer(&self) -> *const c_void
source§impl OCRTesseract for Ptr<dyn OCRTesseract>
impl OCRTesseract for Ptr<dyn OCRTesseract>
fn as_raw_mut_OCRTesseract(&mut self) -> *mut c_void
source§fn run_multiple(
&mut self,
image: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
fn run_multiple(
&mut self,
image: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
Recognize text using the tesseract-ocr API. Read more
source§fn run_multiple_mask(
&mut self,
image: &mut Mat,
mask: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
fn run_multiple_mask(
&mut self,
image: &mut Mat,
mask: &mut Mat,
output_text: &mut String,
component_rects: &mut Vector<Rect>,
component_texts: &mut Vector<String>,
component_confidences: &mut Vector<f32>,
component_level: i32
) -> Result<()>
C++ default parameters Read more
source§fn run(
&mut self,
image: &dyn ToInputArray,
min_confidence: i32,
component_level: i32
) -> Result<String>
fn run(
&mut self,
image: &dyn ToInputArray,
min_confidence: i32,
component_level: i32
) -> Result<String>
C++ default parameters Read more
source§fn run_mask(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
min_confidence: i32,
component_level: i32
) -> Result<String>
fn run_mask(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
min_confidence: i32,
component_level: i32
) -> Result<String>
C++ default parameters Read more
fn set_white_list(&mut self, char_whitelist: &str) -> Result<()>
source§impl OCRTesseractConst for Ptr<dyn OCRTesseract>
impl OCRTesseractConst for Ptr<dyn OCRTesseract>
fn as_raw_OCRTesseract(&self) -> *const c_void
source§impl OLSTracker for Ptr<dyn OLSTracker>
impl OLSTracker for Ptr<dyn OLSTracker>
fn as_raw_mut_OLSTracker(&mut self) -> *mut c_void
source§impl OLSTrackerConst for Ptr<dyn OLSTracker>
impl OLSTrackerConst for Ptr<dyn OLSTracker>
fn as_raw_OLSTracker(&self) -> *const c_void
source§impl ORB for Ptr<dyn ORB>
impl ORB for Ptr<dyn ORB>
fn as_raw_mut_ORB(&mut self) -> *mut c_void
fn set_max_features(&mut self, max_features: i32) -> Result<()>
fn set_scale_factor(&mut self, scale_factor: f64) -> Result<()>
fn set_n_levels(&mut self, nlevels: i32) -> Result<()>
fn set_edge_threshold(&mut self, edge_threshold: i32) -> Result<()>
fn set_first_level(&mut self, first_level: i32) -> Result<()>
fn set_wta_k(&mut self, wta_k: i32) -> Result<()>
fn set_score_type(&mut self, score_type: ORB_ScoreType) -> Result<()>
fn set_patch_size(&mut self, patch_size: i32) -> Result<()>
fn set_fast_threshold(&mut self, fast_threshold: i32) -> Result<()>
source§impl ORBConst for Ptr<dyn ORB>
impl ORBConst for Ptr<dyn ORB>
fn as_raw_ORB(&self) -> *const c_void
fn get_max_features(&self) -> Result<i32>
fn get_scale_factor(&self) -> Result<f64>
fn get_n_levels(&self) -> Result<i32>
fn get_edge_threshold(&self) -> Result<i32>
fn get_first_level(&self) -> Result<i32>
fn get_wta_k(&self) -> Result<i32>
fn get_score_type(&self) -> Result<ORB_ScoreType>
fn get_patch_size(&self) -> Result<i32>
fn get_fast_threshold(&self) -> Result<i32>
fn get_default_name(&self) -> Result<String>
source§impl Objectness for Ptr<ObjectnessBING>
impl Objectness for Ptr<ObjectnessBING>
fn as_raw_mut_Objectness(&mut self) -> *mut c_void
source§impl ObjectnessBINGTrait for Ptr<ObjectnessBING>
impl ObjectnessBINGTrait for Ptr<ObjectnessBING>
fn as_raw_mut_ObjectnessBING(&mut self) -> *mut c_void
fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
fn read(&mut self) -> Result<()>
source§fn getobjectness_values(&mut self) -> Result<Vector<f32>>
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<()>
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<()>
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
fn set_base(&mut self, val: f64) -> Result<()>
fn set_nss(&mut self, val: i32) -> Result<()>
fn set_w(&mut self, val: i32) -> Result<()>
source§impl ObjectnessBINGTraitConst for Ptr<ObjectnessBING>
impl ObjectnessBINGTraitConst for Ptr<ObjectnessBING>
source§impl ObjectnessConst for Ptr<ObjectnessBING>
impl ObjectnessConst for Ptr<ObjectnessBING>
fn as_raw_Objectness(&self) -> *const c_void
source§impl Odometry for Ptr<FastICPOdometry>
impl Odometry for Ptr<FastICPOdometry>
source§impl Odometry for Ptr<ICPOdometry>
impl Odometry for Ptr<ICPOdometry>
source§impl Odometry for Ptr<RgbdICPOdometry>
impl Odometry for Ptr<RgbdICPOdometry>
source§impl Odometry for Ptr<RgbdOdometry>
impl Odometry for Ptr<RgbdOdometry>
source§impl OdometryConst for Ptr<FastICPOdometry>
impl OdometryConst for Ptr<FastICPOdometry>
fn as_raw_Odometry(&self) -> *const c_void
source§fn compute(
&self,
src_image: &Mat,
src_depth: &Mat,
src_mask: &Mat,
dst_image: &Mat,
dst_depth: &Mat,
dst_mask: &Mat,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
fn compute(
&self,
src_image: &Mat,
src_depth: &Mat,
src_mask: &Mat,
dst_image: &Mat,
dst_depth: &Mat,
dst_mask: &Mat,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
Method to compute a transformation from the source frame to the destination one.
Some odometry algorithms do not used some data of frames (eg. ICP does not use images).
In such case corresponding arguments can be set as empty Mat.
The method returns true if all internal computations were possible (e.g. there were enough correspondences,
system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided
by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§fn compute2(
&self,
src_frame: &mut Ptr<OdometryFrame>,
dst_frame: &mut Ptr<OdometryFrame>,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
fn compute2(
&self,
src_frame: &mut Ptr<OdometryFrame>,
dst_frame: &mut Ptr<OdometryFrame>,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
One more method to compute a transformation from the source frame to the destination one.
It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data
does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution
of the prepared frame. Read more
source§impl OdometryConst for Ptr<ICPOdometry>
impl OdometryConst for Ptr<ICPOdometry>
fn as_raw_Odometry(&self) -> *const c_void
source§fn compute(
&self,
src_image: &Mat,
src_depth: &Mat,
src_mask: &Mat,
dst_image: &Mat,
dst_depth: &Mat,
dst_mask: &Mat,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
fn compute(
&self,
src_image: &Mat,
src_depth: &Mat,
src_mask: &Mat,
dst_image: &Mat,
dst_depth: &Mat,
dst_mask: &Mat,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
Method to compute a transformation from the source frame to the destination one.
Some odometry algorithms do not used some data of frames (eg. ICP does not use images).
In such case corresponding arguments can be set as empty Mat.
The method returns true if all internal computations were possible (e.g. there were enough correspondences,
system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided
by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§fn compute2(
&self,
src_frame: &mut Ptr<OdometryFrame>,
dst_frame: &mut Ptr<OdometryFrame>,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
fn compute2(
&self,
src_frame: &mut Ptr<OdometryFrame>,
dst_frame: &mut Ptr<OdometryFrame>,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
One more method to compute a transformation from the source frame to the destination one.
It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data
does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution
of the prepared frame. Read more
source§impl OdometryConst for Ptr<RgbdICPOdometry>
impl OdometryConst for Ptr<RgbdICPOdometry>
fn as_raw_Odometry(&self) -> *const c_void
source§fn compute(
&self,
src_image: &Mat,
src_depth: &Mat,
src_mask: &Mat,
dst_image: &Mat,
dst_depth: &Mat,
dst_mask: &Mat,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
fn compute(
&self,
src_image: &Mat,
src_depth: &Mat,
src_mask: &Mat,
dst_image: &Mat,
dst_depth: &Mat,
dst_mask: &Mat,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
Method to compute a transformation from the source frame to the destination one.
Some odometry algorithms do not used some data of frames (eg. ICP does not use images).
In such case corresponding arguments can be set as empty Mat.
The method returns true if all internal computations were possible (e.g. there were enough correspondences,
system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided
by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§fn compute2(
&self,
src_frame: &mut Ptr<OdometryFrame>,
dst_frame: &mut Ptr<OdometryFrame>,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
fn compute2(
&self,
src_frame: &mut Ptr<OdometryFrame>,
dst_frame: &mut Ptr<OdometryFrame>,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
One more method to compute a transformation from the source frame to the destination one.
It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data
does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution
of the prepared frame. Read more
source§impl OdometryConst for Ptr<RgbdOdometry>
impl OdometryConst for Ptr<RgbdOdometry>
fn as_raw_Odometry(&self) -> *const c_void
source§fn compute(
&self,
src_image: &Mat,
src_depth: &Mat,
src_mask: &Mat,
dst_image: &Mat,
dst_depth: &Mat,
dst_mask: &Mat,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
fn compute(
&self,
src_image: &Mat,
src_depth: &Mat,
src_mask: &Mat,
dst_image: &Mat,
dst_depth: &Mat,
dst_mask: &Mat,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
Method to compute a transformation from the source frame to the destination one.
Some odometry algorithms do not used some data of frames (eg. ICP does not use images).
In such case corresponding arguments can be set as empty Mat.
The method returns true if all internal computations were possible (e.g. there were enough correspondences,
system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided
by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§fn compute2(
&self,
src_frame: &mut Ptr<OdometryFrame>,
dst_frame: &mut Ptr<OdometryFrame>,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
fn compute2(
&self,
src_frame: &mut Ptr<OdometryFrame>,
dst_frame: &mut Ptr<OdometryFrame>,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
One more method to compute a transformation from the source frame to the destination one.
It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data
does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution
of the prepared frame. Read more
source§impl OdometryConst for Ptr<dyn Odometry>
impl OdometryConst for Ptr<dyn Odometry>
fn as_raw_Odometry(&self) -> *const c_void
source§fn compute(
&self,
src_image: &Mat,
src_depth: &Mat,
src_mask: &Mat,
dst_image: &Mat,
dst_depth: &Mat,
dst_mask: &Mat,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
fn compute(
&self,
src_image: &Mat,
src_depth: &Mat,
src_mask: &Mat,
dst_image: &Mat,
dst_depth: &Mat,
dst_mask: &Mat,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
Method to compute a transformation from the source frame to the destination one.
Some odometry algorithms do not used some data of frames (eg. ICP does not use images).
In such case corresponding arguments can be set as empty Mat.
The method returns true if all internal computations were possible (e.g. there were enough correspondences,
system of equations has a solution, etc) and resulting transformation satisfies some test if it’s provided
by the Odometry inheritor implementation (e.g. thresholds for maximum translation and rotation). Read more
source§fn compute2(
&self,
src_frame: &mut Ptr<OdometryFrame>,
dst_frame: &mut Ptr<OdometryFrame>,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
fn compute2(
&self,
src_frame: &mut Ptr<OdometryFrame>,
dst_frame: &mut Ptr<OdometryFrame>,
rt: &mut dyn ToOutputArray,
init_rt: &Mat
) -> Result<bool>
One more method to compute a transformation from the source frame to the destination one.
It is designed to save on computing the frame data (image pyramids, normals, etc.). Read more
source§fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
Prepare a cache for the frame. The function checks the precomputed/passed data (throws the error if this data
does not satisfy) and computes all remaining cache data needed for the frame. Returned size is a resolution
of the prepared frame. Read more
source§impl OdometryFrameTrait for Ptr<OdometryFrame>
impl OdometryFrameTrait for Ptr<OdometryFrame>
fn as_raw_mut_OdometryFrame(&mut self) -> *mut c_void
fn set_pyramid_image(&mut self, val: Vector<Mat>)
fn set_pyramid_depth(&mut self, val: Vector<Mat>)
fn set_pyramid_mask(&mut self, val: Vector<Mat>)
fn set_pyramid_cloud(&mut self, val: Vector<Mat>)
fn set_pyramid_d_i_dx(&mut self, val: Vector<Mat>)
fn set_pyramid_d_i_dy(&mut self, val: Vector<Mat>)
fn set_pyramid_textured_mask(&mut self, val: Vector<Mat>)
fn set_pyramid_normals(&mut self, val: Vector<Mat>)
fn set_pyramid_normals_mask(&mut self, val: Vector<Mat>)
fn release(&mut self) -> Result<()>
fn release_pyramids(&mut self) -> Result<()>
source§impl OdometryFrameTraitConst for Ptr<OdometryFrame>
impl OdometryFrameTraitConst for Ptr<OdometryFrame>
fn as_raw_OdometryFrame(&self) -> *const c_void
fn pyramid_image(&self) -> Vector<Mat>
fn pyramid_depth(&self) -> Vector<Mat>
fn pyramid_mask(&self) -> Vector<Mat>
fn pyramid_cloud(&self) -> Vector<Mat>
fn pyramid_d_i_dx(&self) -> Vector<Mat>
fn pyramid_d_i_dy(&self) -> Vector<Mat>
fn pyramid_textured_mask(&self) -> Vector<Mat>
fn pyramid_normals(&self) -> Vector<Mat>
fn pyramid_normals_mask(&self) -> Vector<Mat>
source§impl OnePassStabilizerTraitConst for Ptr<OnePassStabilizer>
impl OnePassStabilizerTraitConst for Ptr<OnePassStabilizer>
fn as_raw_OnePassStabilizer(&self) -> *const c_void
fn motion_filter(&self) -> Result<Ptr<dyn MotionFilterBase>>
source§impl OriginalClassNameTrait for Ptr<OriginalClassName>
impl OriginalClassNameTrait for Ptr<OriginalClassName>
fn as_raw_mut_OriginalClassName(&mut self) -> *mut c_void
source§impl OriginalClassNameTraitConst for Ptr<OriginalClassName>
impl OriginalClassNameTraitConst for Ptr<OriginalClassName>
fn as_raw_OriginalClassName(&self) -> *const c_void
fn get_int_param(&self) -> Result<i32>
fn get_float_param(&self) -> Result<f32>
source§impl PCAPriorTrait for Ptr<PCAPrior>
impl PCAPriorTrait for Ptr<PCAPrior>
fn as_raw_mut_PCAPrior(&mut self) -> *mut c_void
source§impl PCAPriorTraitConst for Ptr<PCAPrior>
impl PCAPriorTraitConst for Ptr<PCAPrior>
source§impl PCTSignatures for Ptr<dyn PCTSignatures>
impl PCTSignatures for Ptr<dyn PCTSignatures>
fn as_raw_mut_PCTSignatures(&mut self) -> *mut c_void
source§fn set_grayscale_bits(&mut self, grayscale_bits: i32) -> Result<()>
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. Read more
source§fn set_window_radius(&mut self, radius: i32) -> Result<()>
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). Read more
source§fn set_weight_x(&mut self, weight: f32) -> Result<()>
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) Read more
source§fn set_weight_y(&mut self, weight: f32) -> Result<()>
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) Read more
source§fn set_weight_l(&mut self, weight: f32) -> Result<()>
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) Read more
source§fn set_weight_a(&mut self, weight: f32) -> Result<()>
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) Read more
source§fn set_weight_b(&mut self, weight: f32) -> Result<()>
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) Read more
source§fn set_weight_contrast(&mut self, weight: f32) -> Result<()>
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) Read more
source§fn set_weight_entropy(&mut self, weight: f32) -> Result<()>
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) Read more
source§fn set_weight(&mut self, idx: i32, value: f32) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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). Read more
source§fn set_max_clusters_count(&mut self, max_clusters_count: i32) -> Result<()>
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. Read more
source§fn set_cluster_min_size(&mut self, cluster_min_size: i32) -> Result<()>
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. Read more
source§fn set_joining_distance(&mut self, joining_distance: f32) -> Result<()>
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. Read more
source§impl PCTSignaturesConst for Ptr<dyn PCTSignatures>
impl PCTSignaturesConst for Ptr<dyn PCTSignatures>
fn as_raw_PCTSignatures(&self) -> *const c_void
source§fn compute_signature(
&self,
image: &dyn ToInputArray,
signature: &mut dyn ToOutputArray
) -> Result<()>
fn compute_signature(
&self,
image: &dyn ToInputArray,
signature: &mut dyn ToOutputArray
) -> Result<()>
Computes signature of given image. Read more
source§fn compute_signatures(
&self,
images: &Vector<Mat>,
signatures: &mut Vector<Mat>
) -> Result<()>
fn compute_signatures(
&self,
images: &Vector<Mat>,
signatures: &mut Vector<Mat>
) -> Result<()>
Computes signatures for multiple images in parallel. Read more
source§fn get_sample_count(&self) -> Result<i32>
fn get_sample_count(&self) -> Result<i32>
Number of initial samples taken from the image.
source§fn get_grayscale_bits(&self) -> Result<i32>
fn get_grayscale_bits(&self) -> Result<i32>
Color resolution of the greyscale bitmap represented in allocated bits
(i.e., value 4 means that 16 shades of grey are used).
The greyscale bitmap is used for computing contrast and entropy values. Read more
source§fn get_window_radius(&self) -> Result<i32>
fn get_window_radius(&self) -> Result<i32>
Size of the texture sampling window used to compute contrast and entropy
(center of the window is always in the pixel selected by x,y coordinates
of the corresponding feature sample). Read more
source§fn get_weight_x(&self) -> Result<f32>
fn get_weight_x(&self) -> Result<f32>
Weights (multiplicative constants) that linearly stretch individual axes of the feature space
(x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy) Read more
source§fn get_weight_y(&self) -> Result<f32>
fn get_weight_y(&self) -> Result<f32>
Weights (multiplicative constants) that linearly stretch individual axes of the feature space
(x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy) Read more
source§fn get_weight_l(&self) -> Result<f32>
fn get_weight_l(&self) -> Result<f32>
Weights (multiplicative constants) that linearly stretch individual axes of the feature space
(x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy) Read more
source§fn get_weight_a(&self) -> Result<f32>
fn get_weight_a(&self) -> Result<f32>
Weights (multiplicative constants) that linearly stretch individual axes of the feature space
(x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy) Read more
source§fn get_weight_b(&self) -> Result<f32>
fn get_weight_b(&self) -> Result<f32>
Weights (multiplicative constants) that linearly stretch individual axes of the feature space
(x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy) Read more
source§fn get_weight_contrast(&self) -> Result<f32>
fn get_weight_contrast(&self) -> Result<f32>
Weights (multiplicative constants) that linearly stretch individual axes of the feature space
(x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy) Read more
source§fn get_weight_entropy(&self) -> Result<f32>
fn get_weight_entropy(&self) -> Result<f32>
Weights (multiplicative constants) that linearly stretch individual axes of the feature space
(x,y = position; L,a,b = color in CIE Lab space; c = contrast. e = entropy) Read more
source§fn get_sampling_points(&self) -> Result<Vector<Point2f>>
fn get_sampling_points(&self) -> Result<Vector<Point2f>>
Initial samples taken from the image.
These sampled features become the input for clustering. Read more
source§fn get_init_seed_count(&self) -> Result<i32>
fn get_init_seed_count(&self) -> Result<i32>
Number of initial seeds (initial number of clusters) for the k-means algorithm.
source§fn get_iteration_count(&self) -> Result<i32>
fn get_iteration_count(&self) -> Result<i32>
Number of iterations of the k-means clustering.
We use fixed number of iterations, since the modified clustering is pruning clusters
(not iteratively refining k clusters). Read more
source§fn get_max_clusters_count(&self) -> Result<i32>
fn get_max_clusters_count(&self) -> Result<i32>
Maximal number of generated clusters. If the number is exceeded,
the clusters are sorted by their weights and the smallest clusters are cropped. Read more
source§fn get_cluster_min_size(&self) -> Result<i32>
fn get_cluster_min_size(&self) -> Result<i32>
This parameter multiplied by the index of iteration gives lower limit for cluster size.
Clusters containing fewer points than specified by the limit have their centroid dismissed
and points are reassigned. Read more
source§fn get_joining_distance(&self) -> Result<f32>
fn get_joining_distance(&self) -> Result<f32>
Threshold euclidean distance between two centroids.
If two cluster centers are closer than this distance,
one of the centroid is dismissed and points are reassigned. Read more
source§fn get_drop_threshold(&self) -> Result<f32>
fn get_drop_threshold(&self) -> Result<f32>
Remove centroids in k-means whose weight is lesser or equal to given threshold.
source§fn get_distance_function(&self) -> Result<i32>
fn get_distance_function(&self) -> Result<i32>
Distance function selector used for measuring distance between two points in k-means.
source§impl PCTSignaturesSQFD for Ptr<dyn PCTSignaturesSQFD>
impl PCTSignaturesSQFD for Ptr<dyn PCTSignaturesSQFD>
fn as_raw_mut_PCTSignaturesSQFD(&mut self) -> *mut c_void
source§impl PCTSignaturesSQFDConst for Ptr<dyn PCTSignaturesSQFD>
impl PCTSignaturesSQFDConst for Ptr<dyn PCTSignaturesSQFD>
fn as_raw_PCTSignaturesSQFD(&self) -> *const c_void
source§fn compute_quadratic_form_distance(
&self,
_signature0: &dyn ToInputArray,
_signature1: &dyn ToInputArray
) -> Result<f32>
fn compute_quadratic_form_distance(
&self,
_signature0: &dyn ToInputArray,
_signature1: &dyn ToInputArray
) -> Result<f32>
Computes Signature Quadratic Form Distance of two signatures. Read more
source§impl PHashTrait for Ptr<PHash>
impl PHashTrait for Ptr<PHash>
fn as_raw_mut_PHash(&mut self) -> *mut c_void
source§impl PHashTraitConst for Ptr<PHash>
impl PHashTraitConst for Ptr<PHash>
fn as_raw_PHash(&self) -> *const c_void
source§impl PaddingLayerTrait for Ptr<PaddingLayer>
impl PaddingLayerTrait for Ptr<PaddingLayer>
fn as_raw_mut_PaddingLayer(&mut self) -> *mut c_void
source§impl PaddingLayerTraitConst for Ptr<PaddingLayer>
impl PaddingLayerTraitConst for Ptr<PaddingLayer>
fn as_raw_PaddingLayer(&self) -> *const c_void
source§impl PaniniPortraitWarperTrait for Ptr<PaniniPortraitWarper>
impl PaniniPortraitWarperTrait for Ptr<PaniniPortraitWarper>
fn as_raw_mut_PaniniPortraitWarper(&mut self) -> *mut c_void
source§impl PaniniWarperTrait for Ptr<PaniniWarper>
impl PaniniWarperTrait for Ptr<PaniniWarper>
fn as_raw_mut_PaniniWarper(&mut self) -> *mut c_void
source§impl PaniniWarperTraitConst for Ptr<PaniniWarper>
impl PaniniWarperTraitConst for Ptr<PaniniWarper>
source§impl ParamGridTrait for Ptr<ParamGrid>
impl ParamGridTrait for Ptr<ParamGrid>
fn as_raw_mut_ParamGrid(&mut self) -> *mut c_void
source§fn set_min_val(&mut self, val: f64)
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)
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)
fn set_log_step(&mut self, val: f64)
Logarithmic step for iterating the statmodel parameter. Read more
source§impl ParamGridTraitConst for Ptr<ParamGrid>
impl ParamGridTraitConst for Ptr<ParamGrid>
fn as_raw_ParamGrid(&self) -> *const c_void
source§impl ParamsTrait for Ptr<Params>
impl ParamsTrait for Ptr<Params>
fn as_raw_mut_Params(&mut self) -> *mut c_void
source§fn set_frame_size(&mut self, val: Size)
fn set_frame_size(&mut self, val: Size)
frame size in pixels
source§fn set_rgb_intr(&mut self, val: Matx33f)
fn set_rgb_intr(&mut self, val: Matx33f)
rgb camera intrinsics
source§fn set_depth_factor(&mut self, val: f32)
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 Read more
source§fn set_bilateral_sigma_depth(&mut self, val: f32)
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)
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)
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)
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)
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. Read more
source§fn set_light_pose(&mut self, val: Vec3f)
fn set_light_pose(&mut self, val: Vec3f)
light pose for rendering in meters
source§fn set_icp_dist_thresh(&mut self, val: f32)
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)
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>)
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)
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 Read more
source§fn set_volume_params(&mut self, val: Kinfu_VolumeParams)
fn set_volume_params(&mut self, val: Kinfu_VolumeParams)
Volume parameters
source§impl ParamsTraitConst for Ptr<Params>
impl ParamsTraitConst for Ptr<Params>
fn as_raw_Params(&self) -> *const c_void
source§fn frame_size(&self) -> Size
fn frame_size(&self) -> Size
frame size in pixels
source§fn depth_factor(&self) -> f32
fn depth_factor(&self) -> f32
pre-scale per 1 meter for input values
Typical values are:
* 5000 per 1 meter for the 16-bit PNG files of TUM database
* 1000 per 1 meter for Kinect 2 device
* 1 per 1 meter for the 32-bit float images in the ROS bag files Read more
source§fn bilateral_sigma_depth(&self) -> f32
fn bilateral_sigma_depth(&self) -> f32
Depth sigma in meters for bilateral smooth
source§fn bilateral_sigma_spatial(&self) -> f32
fn bilateral_sigma_spatial(&self) -> f32
Spatial sigma in pixels for bilateral smooth
source§fn bilateral_kernel_size(&self) -> i32
fn bilateral_kernel_size(&self) -> i32
Kernel size in pixels for bilateral smooth
source§fn pyramid_levels(&self) -> i32
fn pyramid_levels(&self) -> i32
Number of pyramid levels for ICP
source§fn tsdf_min_camera_movement(&self) -> f32
fn tsdf_min_camera_movement(&self) -> f32
Minimal camera movement in meters
Integrate new depth frame only if camera movement exceeds this value. Read more
source§fn light_pose(&self) -> Vec3f
fn light_pose(&self) -> Vec3f
light pose for rendering in meters
source§fn icp_dist_thresh(&self) -> f32
fn icp_dist_thresh(&self) -> f32
distance theshold for ICP in meters
source§fn icp_angle_thresh(&self) -> f32
fn icp_angle_thresh(&self) -> f32
angle threshold for ICP in radians
source§fn icp_iterations(&self) -> Vector<i32>
fn icp_iterations(&self) -> Vector<i32>
number of ICP iterations for each pyramid level
source§fn truncate_threshold(&self) -> f32
fn truncate_threshold(&self) -> f32
Threshold for depth truncation in meters
All depth values beyond this threshold will be set to zero Read more
source§fn volume_params(&self) -> Kinfu_VolumeParams
fn volume_params(&self) -> Kinfu_VolumeParams
Volume parameters
source§impl PermuteLayerTrait for Ptr<PermuteLayer>
impl PermuteLayerTrait for Ptr<PermuteLayer>
fn as_raw_mut_PermuteLayer(&mut self) -> *mut c_void
source§impl PermuteLayerTraitConst for Ptr<PermuteLayer>
impl PermuteLayerTraitConst for Ptr<PermuteLayer>
fn as_raw_PermuteLayer(&self) -> *const c_void
source§impl PhaseUnwrapping for Ptr<dyn HistogramPhaseUnwrapping>
impl PhaseUnwrapping for Ptr<dyn HistogramPhaseUnwrapping>
fn as_raw_mut_PhaseUnwrapping(&mut self) -> *mut c_void
source§fn unwrap_phase_map(
&mut self,
wrapped_phase_map: &dyn ToInputArray,
unwrapped_phase_map: &mut dyn ToOutputArray,
shadow_mask: &dyn ToInputArray
) -> Result<()>
fn unwrap_phase_map(
&mut self,
wrapped_phase_map: &dyn ToInputArray,
unwrapped_phase_map: &mut dyn ToOutputArray,
shadow_mask: &dyn ToInputArray
) -> Result<()>
Unwraps a 2D phase map. Read more
source§impl PhaseUnwrappingConst for Ptr<dyn HistogramPhaseUnwrapping>
impl PhaseUnwrappingConst for Ptr<dyn HistogramPhaseUnwrapping>
fn as_raw_PhaseUnwrapping(&self) -> *const c_void
source§impl PlaneWarperGpuTrait for Ptr<PlaneWarperGpu>
impl PlaneWarperGpuTrait for Ptr<PlaneWarperGpu>
fn as_raw_mut_PlaneWarperGpu(&mut self) -> *mut c_void
source§impl PlaneWarperGpuTraitConst for Ptr<PlaneWarperGpu>
impl PlaneWarperGpuTraitConst for Ptr<PlaneWarperGpu>
source§impl PlaneWarperTrait for Ptr<PlaneWarper>
impl PlaneWarperTrait for Ptr<PlaneWarper>
fn as_raw_mut_PlaneWarper(&mut self) -> *mut c_void
source§impl PlaneWarperTraitConst for Ptr<PlaneWarper>
impl PlaneWarperTraitConst for Ptr<PlaneWarper>
source§impl Plot2d for Ptr<dyn Plot2d>
impl Plot2d for Ptr<dyn Plot2d>
fn as_raw_mut_Plot2d(&mut self) -> *mut c_void
fn set_min_x(&mut self, _plot_min_x: f64) -> Result<()>
fn set_min_y(&mut self, _plot_min_y: f64) -> Result<()>
fn set_max_x(&mut self, _plot_max_x: f64) -> Result<()>
fn set_max_y(&mut self, _plot_max_y: f64) -> Result<()>
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<()>
fn set_need_plot_line(&mut self, _need_plot_line: bool) -> Result<()>
Switches data visualization mode Read more
fn set_plot_line_color(&mut self, _plot_line_color: Scalar) -> Result<()>
fn set_plot_background_color(
&mut self,
_plot_background_color: Scalar
) -> Result<()>
fn set_plot_axis_color(&mut self, _plot_axis_color: Scalar) -> Result<()>
fn set_plot_grid_color(&mut self, _plot_grid_color: Scalar) -> Result<()>
fn set_plot_text_color(&mut self, _plot_text_color: Scalar) -> Result<()>
fn set_plot_size(
&mut self,
_plot_size_width: i32,
_plot_size_height: i32
) -> Result<()>
fn set_show_grid(&mut self, need_show_grid: bool) -> Result<()>
fn set_show_text(&mut self, need_show_text: bool) -> Result<()>
fn set_grid_lines_number(&mut self, grid_lines_number: i32) -> Result<()>
fn set_invert_orientation(&mut self, _invert_orientation: bool) -> Result<()>
source§fn set_point_idx_to_print(&mut self, point_idx: i32) -> Result<()>
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
fn render(&mut self, _plot_result: &mut dyn ToOutputArray) -> Result<()>
source§impl Plot2dConst for Ptr<dyn Plot2d>
impl Plot2dConst for Ptr<dyn Plot2d>
fn as_raw_Plot2d(&self) -> *const c_void
source§impl PoolingLayerInt8Trait for Ptr<PoolingLayerInt8>
impl PoolingLayerInt8Trait for Ptr<PoolingLayerInt8>
fn as_raw_mut_PoolingLayerInt8(&mut self) -> *mut c_void
fn set_input_zp(&mut self, val: i32)
fn set_output_zp(&mut self, val: i32)
fn set_input_sc(&mut self, val: f32)
fn set_output_sc(&mut self, val: f32)
source§impl PoolingLayerTrait for Ptr<PoolingLayer>
impl PoolingLayerTrait for Ptr<PoolingLayer>
fn as_raw_mut_PoolingLayer(&mut self) -> *mut c_void
fn set_type(&mut self, val: i32)
fn set_kernel_size(&mut self, val: Vector<size_t>)
fn set_strides(&mut self, val: Vector<size_t>)
fn set_pads_begin(&mut self, val: Vector<size_t>)
fn set_pads_end(&mut self, val: Vector<size_t>)
source§fn set_global_pooling(&mut self, val: bool)
fn set_global_pooling(&mut self, val: bool)
Flag is true if at least one of the axes is global pooled.
fn set_is_global_pooling(&mut self, val: Vector<bool>)
fn set_compute_max_idx(&mut self, val: bool)
fn set_pad_mode(&mut self, val: &str)
fn set_ceil_mode(&mut self, val: bool)
fn set_ave_pool_padded_area(&mut self, val: bool)
fn set_pooled_size(&mut self, val: Size)
fn set_spatial_scale(&mut self, val: f32)
fn set_ps_roi_out_channels(&mut self, val: i32)
source§impl PoolingLayerTrait for Ptr<PoolingLayerInt8>
impl PoolingLayerTrait for Ptr<PoolingLayerInt8>
fn as_raw_mut_PoolingLayer(&mut self) -> *mut c_void
fn set_type(&mut self, val: i32)
fn set_kernel_size(&mut self, val: Vector<size_t>)
fn set_strides(&mut self, val: Vector<size_t>)
fn set_pads_begin(&mut self, val: Vector<size_t>)
fn set_pads_end(&mut self, val: Vector<size_t>)
source§fn set_global_pooling(&mut self, val: bool)
fn set_global_pooling(&mut self, val: bool)
Flag is true if at least one of the axes is global pooled.
fn set_is_global_pooling(&mut self, val: Vector<bool>)
fn set_compute_max_idx(&mut self, val: bool)
fn set_pad_mode(&mut self, val: &str)
fn set_ceil_mode(&mut self, val: bool)
fn set_ave_pool_padded_area(&mut self, val: bool)
fn set_pooled_size(&mut self, val: Size)
fn set_spatial_scale(&mut self, val: f32)
fn set_ps_roi_out_channels(&mut self, val: i32)
source§impl PoolingLayerTraitConst for Ptr<PoolingLayer>
impl PoolingLayerTraitConst for Ptr<PoolingLayer>
fn as_raw_PoolingLayer(&self) -> *const c_void
fn typ(&self) -> i32
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
source§fn global_pooling(&self) -> bool
fn global_pooling(&self) -> bool
Flag is true if at least one of the axes is global pooled.
fn is_global_pooling(&self) -> Vector<bool>
fn compute_max_idx(&self) -> bool
fn pad_mode(&self) -> String
fn ceil_mode(&self) -> bool
fn ave_pool_padded_area(&self) -> bool
fn pooled_size(&self) -> Size
fn spatial_scale(&self) -> f32
fn ps_roi_out_channels(&self) -> i32
source§impl PoolingLayerTraitConst for Ptr<PoolingLayerInt8>
impl PoolingLayerTraitConst for Ptr<PoolingLayerInt8>
fn as_raw_PoolingLayer(&self) -> *const c_void
fn typ(&self) -> i32
fn kernel_size(&self) -> Vector<size_t>
fn strides(&self) -> Vector<size_t>
fn pads_begin(&self) -> Vector<size_t>
fn pads_end(&self) -> Vector<size_t>
source§fn global_pooling(&self) -> bool
fn global_pooling(&self) -> bool
Flag is true if at least one of the axes is global pooled.
fn is_global_pooling(&self) -> Vector<bool>
fn compute_max_idx(&self) -> bool
fn pad_mode(&self) -> String
fn ceil_mode(&self) -> bool
fn ave_pool_padded_area(&self) -> bool
fn pooled_size(&self) -> Size
fn spatial_scale(&self) -> f32
fn ps_roi_out_channels(&self) -> i32
source§impl Pose3DTrait for Ptr<Pose3D>
impl Pose3DTrait for Ptr<Pose3D>
fn as_raw_mut_Pose3D(&mut self) -> *mut c_void
fn set_alpha(&mut self, val: f64)
fn set_residual(&mut self, val: f64)
fn set_model_index(&mut self, val: size_t)
fn set_num_votes(&mut self, val: size_t)
fn set_pose(&mut self, val: Matx44d)
fn set_angle(&mut self, val: f64)
fn set_t(&mut self, val: Vec3d)
fn set_q(&mut self, val: Vec4d)
source§fn update_pose(&mut self, new_pose: &mut Matx44d) -> Result<()>
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 Read more
source§fn update_pose_1(&mut self, new_r: &mut Matx33d, new_t: &mut Vec3d) -> Result<()>
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<()>
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<()>
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 Read more
fn print_pose(&mut self) -> Result<()>
fn clone(&mut self) -> Result<Ptr<Pose3D>>
fn write_pose(&mut self, file_name: &str) -> Result<i32>
fn read_pose(&mut self, file_name: &str) -> Result<i32>
source§impl Pose3DTraitConst for Ptr<Pose3D>
impl Pose3DTraitConst for Ptr<Pose3D>
source§impl PoseCluster3DTrait for Ptr<PoseCluster3D>
impl PoseCluster3DTrait for Ptr<PoseCluster3D>
fn as_raw_mut_PoseCluster3D(&mut self) -> *mut c_void
fn set_pose_list(&mut self, val: Vector<Pose3DPtr>)
fn set_num_votes(&mut self, val: size_t)
fn set_id(&mut self, val: i32)
source§fn add_pose(&mut self, new_pose: Pose3DPtr) -> Result<()>
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 Read more
fn write_pose_cluster(&mut self, file_name: &str) -> Result<i32>
fn read_pose_cluster(&mut self, file_name: &str) -> Result<i32>
source§impl PoseCluster3DTraitConst for Ptr<PoseCluster3D>
impl PoseCluster3DTraitConst for Ptr<PoseCluster3D>
source§impl PowerLayerTrait for Ptr<PowerLayer>
impl PowerLayerTrait for Ptr<PowerLayer>
source§impl PowerLayerTraitConst for Ptr<PowerLayer>
impl PowerLayerTraitConst for Ptr<PowerLayer>
source§impl PredictCollector for Ptr<StandardCollector>
impl PredictCollector for Ptr<StandardCollector>
source§impl PredictCollector for Ptr<dyn PredictCollector>
impl PredictCollector for Ptr<dyn PredictCollector>
source§impl PredictCollectorConst for Ptr<StandardCollector>
impl PredictCollectorConst for Ptr<StandardCollector>
fn as_raw_PredictCollector(&self) -> *const c_void
source§impl PredictCollectorConst for Ptr<dyn PredictCollector>
impl PredictCollectorConst for Ptr<dyn PredictCollector>
fn as_raw_PredictCollector(&self) -> *const c_void
source§impl PriorBoxLayerTrait for Ptr<PriorBoxLayer>
impl PriorBoxLayerTrait for Ptr<PriorBoxLayer>
fn as_raw_mut_PriorBoxLayer(&mut self) -> *mut c_void
source§impl PriorBoxLayerTraitConst for Ptr<PriorBoxLayer>
impl PriorBoxLayerTraitConst for Ptr<PriorBoxLayer>
fn as_raw_PriorBoxLayer(&self) -> *const c_void
source§impl ProposalLayerTrait for Ptr<ProposalLayer>
impl ProposalLayerTrait for Ptr<ProposalLayer>
fn as_raw_mut_ProposalLayer(&mut self) -> *mut c_void
source§impl ProposalLayerTraitConst for Ptr<ProposalLayer>
impl ProposalLayerTraitConst for Ptr<ProposalLayer>
fn as_raw_ProposalLayer(&self) -> *const c_void
source§impl QRCodeEncoder for Ptr<dyn QRCodeEncoder>
impl QRCodeEncoder for Ptr<dyn QRCodeEncoder>
fn as_raw_mut_QRCodeEncoder(&mut self) -> *mut c_void
source§fn encode(
&mut self,
encoded_info: &str,
qrcode: &mut dyn ToOutputArray
) -> Result<()>
fn encode(
&mut self,
encoded_info: &str,
qrcode: &mut dyn ToOutputArray
) -> Result<()>
Generates QR code from input string. Read more
source§fn encode_structured_append(
&mut self,
encoded_info: &str,
qrcodes: &mut dyn ToOutputArray
) -> Result<()>
fn encode_structured_append(
&mut self,
encoded_info: &str,
qrcodes: &mut dyn ToOutputArray
) -> Result<()>
Generates QR code from input string in Structured Append mode. The encoded message is splitting over a number of QR codes. Read more
source§impl QRCodeEncoderConst for Ptr<dyn QRCodeEncoder>
impl QRCodeEncoderConst for Ptr<dyn QRCodeEncoder>
fn as_raw_QRCodeEncoder(&self) -> *const c_void
source§impl QualityBRISQUETrait for Ptr<QualityBRISQUE>
impl QualityBRISQUETrait for Ptr<QualityBRISQUE>
source§impl QualityBRISQUETraitConst for Ptr<QualityBRISQUE>
impl QualityBRISQUETraitConst for Ptr<QualityBRISQUE>
fn as_raw_QualityBRISQUE(&self) -> *const c_void
source§impl QualityBase for Ptr<QualityBRISQUE>
impl QualityBase for Ptr<QualityBRISQUE>
source§impl QualityBase for Ptr<QualityGMSD>
impl QualityBase for Ptr<QualityGMSD>
source§impl QualityBase for Ptr<QualityMSE>
impl QualityBase for Ptr<QualityMSE>
source§impl QualityBase for Ptr<QualityPSNR>
impl QualityBase for Ptr<QualityPSNR>
source§impl QualityBase for Ptr<QualitySSIM>
impl QualityBase for Ptr<QualitySSIM>
source§impl QualityBaseConst for Ptr<QualityBRISQUE>
impl QualityBaseConst for Ptr<QualityBRISQUE>
source§impl QualityBaseConst for Ptr<QualityGMSD>
impl QualityBaseConst for Ptr<QualityGMSD>
source§impl QualityBaseConst for Ptr<QualityMSE>
impl QualityBaseConst for Ptr<QualityMSE>
source§impl QualityBaseConst for Ptr<QualityPSNR>
impl QualityBaseConst for Ptr<QualityPSNR>
source§impl QualityBaseConst for Ptr<QualitySSIM>
impl QualityBaseConst for Ptr<QualitySSIM>
source§impl QualityGMSDTrait for Ptr<QualityGMSD>
impl QualityGMSDTrait for Ptr<QualityGMSD>
source§impl QualityGMSDTraitConst for Ptr<QualityGMSD>
impl QualityGMSDTraitConst for Ptr<QualityGMSD>
source§impl QualityMSETrait for Ptr<QualityMSE>
impl QualityMSETrait for Ptr<QualityMSE>
source§impl QualityMSETraitConst for Ptr<QualityMSE>
impl QualityMSETraitConst for Ptr<QualityMSE>
source§impl QualityPSNRTrait for Ptr<QualityPSNR>
impl QualityPSNRTrait for Ptr<QualityPSNR>
fn as_raw_mut_QualityPSNR(&mut self) -> *mut c_void
source§impl QualityPSNRTraitConst for Ptr<QualityPSNR>
impl QualityPSNRTraitConst for Ptr<QualityPSNR>
source§impl QualitySSIMTrait for Ptr<QualitySSIM>
impl QualitySSIMTrait for Ptr<QualitySSIM>
source§impl QualitySSIMTraitConst for Ptr<QualitySSIM>
impl QualitySSIMTraitConst for Ptr<QualitySSIM>
source§impl QuantizeLayerTrait for Ptr<QuantizeLayer>
impl QuantizeLayerTrait for Ptr<QuantizeLayer>
source§impl QuantizeLayerTraitConst for Ptr<QuantizeLayer>
impl QuantizeLayerTraitConst for Ptr<QuantizeLayer>
source§impl QuasiDenseStereo for Ptr<dyn QuasiDenseStereo>
impl QuasiDenseStereo for Ptr<dyn QuasiDenseStereo>
fn as_raw_mut_QuasiDenseStereo(&mut self) -> *mut c_void
fn set_param(&mut self, val: PropagationParameters)
source§fn load_parameters(&mut self, filepath: &str) -> Result<i32>
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>
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<()>
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<()>
fn get_dense_matches(
&mut self,
dense_matches: &mut Vector<MatchQuasiDense>
) -> Result<()>
Get The dense corresponding points. Read more
source§fn process(&mut self, img_left: &Mat, img_right: &Mat) -> Result<()>
fn process(&mut self, img_left: &Mat, img_right: &Mat) -> Result<()>
Main process of the algorithm. This method computes the sparse seeds and then densifies them. Read more
source§impl QuasiDenseStereoConst for Ptr<dyn QuasiDenseStereo>
impl QuasiDenseStereoConst for Ptr<dyn QuasiDenseStereo>
fn as_raw_QuasiDenseStereo(&self) -> *const c_void
fn param(&self) -> PropagationParameters
source§impl RFFeatureGetter for Ptr<dyn RFFeatureGetter>
impl RFFeatureGetter for Ptr<dyn RFFeatureGetter>
fn as_raw_mut_RFFeatureGetter(&mut self) -> *mut c_void
source§impl RFFeatureGetterConst for Ptr<dyn RFFeatureGetter>
impl RFFeatureGetterConst for Ptr<dyn RFFeatureGetter>
source§impl RICInterpolator for Ptr<dyn RICInterpolator>
impl RICInterpolator for Ptr<dyn RICInterpolator>
fn as_raw_mut_RICInterpolator(&mut self) -> *mut c_void
source§fn set_cost_map(&mut self, cost_map: &Mat) -> Result<()>
fn set_cost_map(&mut self, cost_map: &Mat) -> Result<()>
Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term.
This implementation is based on a rather simple gradient-based edge map estimation.
To used more complex edge map estimator (e.g. StructuredEdgeDetection that has been
used in the original publication) that may lead to improved accuracies, the internal
edge map estimation can be bypassed here. Read more
source§fn set_superpixel_size(&mut self, sp_size: i32) -> Result<()>
fn set_superpixel_size(&mut self, sp_size: i32) -> Result<()>
Get the internal cost, i.e. edge map, used for estimating the edge-aware term. Read more
source§fn set_superpixel_nn_cnt(&mut self, sp_nn: i32) -> Result<()>
fn set_superpixel_nn_cnt(&mut self, sp_nn: i32) -> Result<()>
Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine
model. Read more
source§fn set_superpixel_ruler(&mut self, ruler: f32) -> Result<()>
fn set_superpixel_ruler(&mut self, ruler: f32) -> Result<()>
Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. Read more
source§fn set_superpixel_mode(&mut self, mode: i32) -> Result<()>
fn set_superpixel_mode(&mut self, mode: i32) -> Result<()>
Parameter to choose superpixel algorithm variant to use: Read more
source§fn set_alpha(&mut self, alpha: f32) -> Result<()>
fn set_alpha(&mut self, alpha: f32) -> Result<()>
Alpha is a parameter defining a global weight for transforming geodesic distance into weight. Read more
source§fn set_model_iter(&mut self, model_iter: i32) -> Result<()>
fn set_model_iter(&mut self, model_iter: i32) -> Result<()>
Parameter defining the number of iterations for piece-wise affine model estimation. Read more
source§fn set_refine_models(&mut self, refine_modles: bool) -> Result<()>
fn set_refine_models(&mut self, refine_modles: bool) -> Result<()>
Parameter to choose wether additional refinement of the piece-wise affine models is employed. Read more
source§fn set_max_flow(&mut self, max_flow: f32) -> Result<()>
fn set_max_flow(&mut self, max_flow: f32) -> Result<()>
MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model.
If the prediction exceeds the treshold the translational model will be applied instead. Read more
source§fn set_use_variational_refinement(
&mut self,
use_variational_refinement: bool
) -> Result<()>
fn set_use_variational_refinement(
&mut self,
use_variational_refinement: bool
) -> Result<()>
Parameter to choose wether the VariationalRefinement post-processing is employed. Read more
source§fn set_use_global_smoother_filter(&mut self, use_fgs: bool) -> Result<()>
fn set_use_global_smoother_filter(&mut self, use_fgs: bool) -> Result<()>
Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more
source§impl RICInterpolatorConst for Ptr<dyn RICInterpolator>
impl RICInterpolatorConst for Ptr<dyn RICInterpolator>
fn as_raw_RICInterpolator(&self) -> *const c_void
source§fn get_superpixel_size(&self) -> Result<i32>
fn get_superpixel_size(&self) -> Result<i32>
Get the internal cost, i.e. edge map, used for estimating the edge-aware term. Read more
source§fn get_superpixel_nn_cnt(&self) -> Result<i32>
fn get_superpixel_nn_cnt(&self) -> Result<i32>
Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine
model.
* see also: setSuperpixelNNCnt Read more
source§fn get_superpixel_ruler(&self) -> Result<f32>
fn get_superpixel_ruler(&self) -> Result<f32>
Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. Read more
source§fn get_superpixel_mode(&self) -> Result<i32>
fn get_superpixel_mode(&self) -> Result<i32>
Parameter to choose superpixel algorithm variant to use: Read more
source§fn get_alpha(&self) -> Result<f32>
fn get_alpha(&self) -> Result<f32>
Alpha is a parameter defining a global weight for transforming geodesic distance into weight. Read more
source§fn get_model_iter(&self) -> Result<i32>
fn get_model_iter(&self) -> Result<i32>
Parameter defining the number of iterations for piece-wise affine model estimation. Read more
source§fn get_refine_models(&self) -> Result<bool>
fn get_refine_models(&self) -> Result<bool>
Parameter to choose wether additional refinement of the piece-wise affine models is employed. Read more
source§fn get_max_flow(&self) -> Result<f32>
fn get_max_flow(&self) -> Result<f32>
MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model.
If the prediction exceeds the treshold the translational model will be applied instead.
* see also: setMaxFlow Read more
source§fn get_use_variational_refinement(&self) -> Result<bool>
fn get_use_variational_refinement(&self) -> Result<bool>
Parameter to choose wether the VariationalRefinement post-processing is employed. Read more
source§fn get_use_global_smoother_filter(&self) -> Result<bool>
fn get_use_global_smoother_filter(&self) -> Result<bool>
Sets whether the fastGlobalSmootherFilter() post-processing is employed. Read more
source§impl RLOFOpticalFlowParameterTrait for Ptr<RLOFOpticalFlowParameter>
impl RLOFOpticalFlowParameterTrait for Ptr<RLOFOpticalFlowParameter>
fn as_raw_mut_RLOFOpticalFlowParameter(&mut self) -> *mut c_void
fn set_solver_type(&mut self, val: SolverType)
fn set_support_region_type(&mut self, val: SupportRegionType)
fn set_norm_sigma0(&mut self, val: f32)
fn set_norm_sigma1(&mut self, val: f32)
fn set_small_win_size(&mut self, val: i32)
fn set_large_win_size(&mut self, val: i32)
fn set_cross_segmentation_threshold(&mut self, val: i32)
fn set_max_level(&mut self, val: i32)
fn set_use_initial_flow(&mut self, val: bool)
fn set_use_illumination_model(&mut self, val: bool)
fn set_use_global_motion_prior(&mut self, val: bool)
fn set_max_iteration(&mut self, val: i32)
fn set_min_eigen_value(&mut self, val: f32)
fn set_global_motion_ransac_threshold(&mut self, val: f32)
source§fn set_use_m_estimator(&mut self, val: bool) -> Result<()>
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
fn set_solver_type_1(&mut self, val: SolverType) -> Result<()>
fn set_support_region_type_1(&mut self, val: SupportRegionType) -> Result<()>
fn set_norm_sigma0_1(&mut self, val: f32) -> Result<()>
fn set_norm_sigma1_1(&mut self, val: f32) -> Result<()>
fn set_small_win_size_1(&mut self, val: i32) -> Result<()>
fn set_large_win_size_1(&mut self, val: i32) -> Result<()>
fn set_cross_segmentation_threshold_1(&mut self, val: i32) -> Result<()>
fn set_max_level_1(&mut self, val: i32) -> Result<()>
fn set_use_initial_flow_1(&mut self, val: bool) -> Result<()>
fn set_use_illumination_model_1(&mut self, val: bool) -> Result<()>
fn set_use_global_motion_prior_1(&mut self, val: bool) -> Result<()>
fn set_max_iteration_1(&mut self, val: i32) -> Result<()>
fn set_min_eigen_value_1(&mut self, val: f32) -> Result<()>
fn set_global_motion_ransac_threshold_1(&mut self, val: f32) -> Result<()>
source§impl RLOFOpticalFlowParameterTraitConst for Ptr<RLOFOpticalFlowParameter>
impl RLOFOpticalFlowParameterTraitConst for Ptr<RLOFOpticalFlowParameter>
fn as_raw_RLOFOpticalFlowParameter(&self) -> *const c_void
fn solver_type(&self) -> SolverType
fn support_region_type(&self) -> SupportRegionType
fn norm_sigma0(&self) -> f32
fn norm_sigma1(&self) -> f32
fn small_win_size(&self) -> i32
fn large_win_size(&self) -> i32
fn cross_segmentation_threshold(&self) -> i32
fn max_level(&self) -> i32
fn use_initial_flow(&self) -> bool
fn use_illumination_model(&self) -> bool
fn use_global_motion_prior(&self) -> bool
fn max_iteration(&self) -> i32
fn min_eigen_value(&self) -> f32
fn global_motion_ransac_threshold(&self) -> f32
fn get_solver_type(&self) -> Result<SolverType>
fn get_support_region_type(&self) -> Result<SupportRegionType>
fn get_norm_sigma0(&self) -> Result<f32>
fn get_norm_sigma1(&self) -> Result<f32>
fn get_small_win_size(&self) -> Result<i32>
fn get_large_win_size(&self) -> Result<i32>
fn get_cross_segmentation_threshold(&self) -> Result<i32>
fn get_max_level(&self) -> Result<i32>
fn get_use_initial_flow(&self) -> Result<bool>
fn get_use_illumination_model(&self) -> Result<bool>
fn get_use_global_motion_prior(&self) -> Result<bool>
fn get_max_iteration(&self) -> Result<i32>
fn get_min_eigen_value(&self) -> Result<f32>
fn get_global_motion_ransac_threshold(&self) -> Result<f32>
source§impl RNNLayer for Ptr<dyn RNNLayer>
impl RNNLayer for Ptr<dyn RNNLayer>
fn as_raw_mut_RNNLayer(&mut self) -> *mut c_void
source§fn set_weights(
&mut self,
wxh: &Mat,
bh: &Mat,
whh: &Mat,
who: &Mat,
bo: &Mat
) -> Result<()>
fn set_weights(
&mut self,
wxh: &Mat,
bh: &Mat,
whh: &Mat,
who: &Mat,
bo: &Mat
) -> Result<()>
Setups learned weights. Read more
If this flag is set to true then layer will produce @f$ h_t @f$ as second output.
@details Shape of the second output is the same as first output. Read more
source§impl RNNLayerConst for Ptr<dyn RNNLayer>
impl RNNLayerConst for Ptr<dyn RNNLayer>
fn as_raw_RNNLayer(&self) -> *const c_void
source§impl RTrees for Ptr<dyn RTrees>
impl RTrees for Ptr<dyn RTrees>
fn as_raw_mut_RTrees(&mut self) -> *mut c_void
source§fn set_calculate_var_importance(&mut self, val: bool) -> Result<()>
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<()>
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<()>
fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>
The termination criteria that specifies when the training algorithm stops.
Either when the specified number of trees is trained and added to the ensemble or when
sufficient accuracy (measured as OOB error) is achieved. Typically the more trees you have the
better the accuracy. However, the improvement in accuracy generally diminishes and asymptotes
pass a certain number of trees. Also to keep in mind, the number of tree increases the
prediction time linearly. Default value is TermCriteria(TermCriteria::MAX_ITERS +
TermCriteria::EPS, 50, 0.1) Read more
source§impl RTreesConst for Ptr<dyn RTrees>
impl RTreesConst for Ptr<dyn RTrees>
fn as_raw_RTrees(&self) -> *const c_void
source§fn get_calculate_var_importance(&self) -> Result<bool>
fn get_calculate_var_importance(&self) -> Result<bool>
If true then variable importance will be calculated and then it can be retrieved by RTrees::getVarImportance.
Default value is false. Read more
source§fn get_active_var_count(&self) -> Result<i32>
fn get_active_var_count(&self) -> Result<i32>
The size of the randomly selected subset of features at each tree node and that are used
to find the best split(s).
If you set it to 0 then the size will be set to the square root of the total number of
features. Default value is 0. Read more
source§fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_term_criteria(&self) -> Result<TermCriteria>
The termination criteria that specifies when the training algorithm stops.
Either when the specified number of trees is trained and added to the ensemble or when
sufficient accuracy (measured as OOB error) is achieved. Typically the more trees you have the
better the accuracy. However, the improvement in accuracy generally diminishes and asymptotes
pass a certain number of trees. Also to keep in mind, the number of tree increases the
prediction time linearly. Default value is TermCriteria(TermCriteria::MAX_ITERS +
TermCriteria::EPS, 50, 0.1) Read more
source§fn get_var_importance(&self) -> Result<Mat>
fn get_var_importance(&self) -> Result<Mat>
Returns the variable importance array.
The method returns the variable importance vector, computed at the training stage when
CalculateVarImportance is set to true. If this flag was set to false, the empty matrix is
returned. Read more
source§fn get_votes(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<()>
fn get_votes(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<()>
Returns the result of each individual tree in the forest.
In case the model is a regression problem, the method will return each of the trees’
results for each of the sample cases. If the model is a classifier, it will return
a Mat with samples + 1 rows, where the first row gives the class number and the
following rows return the votes each class had for each sample. Read more
fn get_oob_error(&self) -> Result<f64>
source§impl RadialVarianceHashTrait for Ptr<RadialVarianceHash>
impl RadialVarianceHashTrait for Ptr<RadialVarianceHash>
fn as_raw_mut_RadialVarianceHash(&mut self) -> *mut c_void
fn set_num_of_angle_line(&mut self, value: i32) -> Result<()>
fn set_sigma(&mut self, value: f64) -> Result<()>
fn get_features(&mut self) -> Result<Vector<f64>>
fn get_hash(&mut self) -> Result<Mat>
fn get_pix_per_line(&mut self, input: &Mat) -> Result<Mat>
fn get_projection(&mut self) -> Result<Mat>
source§impl RapidConst for Ptr<dyn Rapid>
impl RapidConst for Ptr<dyn Rapid>
fn as_raw_Rapid(&self) -> *const c_void
source§impl RawVideoSource for Ptr<dyn RawVideoSource>
impl RawVideoSource for Ptr<dyn RawVideoSource>
fn as_raw_mut_RawVideoSource(&mut self) -> *mut c_void
source§fn get_next_packet(
&mut self,
data: &mut &mut u8,
size: &mut size_t
) -> Result<bool>
fn get_next_packet(
&mut self,
data: &mut &mut u8,
size: &mut size_t
) -> Result<bool>
Returns next packet with RAW video frame. Read more
source§fn update_format(&mut self, video_format: FormatInfo) -> Result<()>
fn update_format(&mut self, video_format: FormatInfo) -> Result<()>
Updates the coded width and height inside format.
source§impl RawVideoSourceConst for Ptr<dyn RawVideoSource>
impl RawVideoSourceConst for Ptr<dyn RawVideoSource>
fn as_raw_RawVideoSource(&self) -> *const c_void
source§fn last_packet_contains_key_frame(&self) -> Result<bool>
fn last_packet_contains_key_frame(&self) -> Result<bool>
Returns true if the last packet contained a key frame.
source§fn format(&self) -> Result<FormatInfo>
fn format(&self) -> Result<FormatInfo>
Returns information about video file format.
source§impl ReLU6LayerTrait for Ptr<ReLU6Layer>
impl ReLU6LayerTrait for Ptr<ReLU6Layer>
fn as_raw_mut_ReLU6Layer(&mut self) -> *mut c_void
fn set_min_value(&mut self, val: f32)
fn set_max_value(&mut self, val: f32)
source§impl ReLU6LayerTraitConst for Ptr<ReLU6Layer>
impl ReLU6LayerTraitConst for Ptr<ReLU6Layer>
source§impl ReLULayerTrait for Ptr<ReLULayer>
impl ReLULayerTrait for Ptr<ReLULayer>
fn as_raw_mut_ReLULayer(&mut self) -> *mut c_void
fn set_negative_slope(&mut self, val: f32)
source§impl ReLULayerTraitConst for Ptr<ReLULayer>
impl ReLULayerTraitConst for Ptr<ReLULayer>
fn as_raw_ReLULayer(&self) -> *const c_void
fn negative_slope(&self) -> f32
source§impl ReciprocalLayerTrait for Ptr<ReciprocalLayer>
impl ReciprocalLayerTrait for Ptr<ReciprocalLayer>
fn as_raw_mut_ReciprocalLayer(&mut self) -> *mut c_void
source§impl ReciprocalLayerTraitConst for Ptr<ReciprocalLayer>
impl ReciprocalLayerTraitConst for Ptr<ReciprocalLayer>
fn as_raw_ReciprocalLayer(&self) -> *const c_void
source§impl ReduceLayerInt8Trait for Ptr<ReduceLayerInt8>
impl ReduceLayerInt8Trait for Ptr<ReduceLayerInt8>
fn as_raw_mut_ReduceLayerInt8(&mut self) -> *mut c_void
source§impl ReduceLayerInt8TraitConst for Ptr<ReduceLayerInt8>
impl ReduceLayerInt8TraitConst for Ptr<ReduceLayerInt8>
fn as_raw_ReduceLayerInt8(&self) -> *const c_void
source§impl ReduceLayerTrait for Ptr<ReduceLayer>
impl ReduceLayerTrait for Ptr<ReduceLayer>
fn as_raw_mut_ReduceLayer(&mut self) -> *mut c_void
fn set_reduce_type(&mut self, val: i32)
fn set_reduce_dims(&mut self, val: Vector<size_t>)
source§impl ReduceLayerTrait for Ptr<ReduceLayerInt8>
impl ReduceLayerTrait for Ptr<ReduceLayerInt8>
fn as_raw_mut_ReduceLayer(&mut self) -> *mut c_void
fn set_reduce_type(&mut self, val: i32)
fn set_reduce_dims(&mut self, val: Vector<size_t>)
source§impl ReduceLayerTraitConst for Ptr<ReduceLayer>
impl ReduceLayerTraitConst for Ptr<ReduceLayer>
fn as_raw_ReduceLayer(&self) -> *const c_void
fn reduce_type(&self) -> i32
fn reduce_dims(&self) -> Vector<size_t>
source§impl ReduceLayerTraitConst for Ptr<ReduceLayerInt8>
impl ReduceLayerTraitConst for Ptr<ReduceLayerInt8>
fn as_raw_ReduceLayer(&self) -> *const c_void
fn reduce_type(&self) -> i32
fn reduce_dims(&self) -> Vector<size_t>
source§impl RegionLayerTrait for Ptr<RegionLayer>
impl RegionLayerTrait for Ptr<RegionLayer>
fn as_raw_mut_RegionLayer(&mut self) -> *mut c_void
fn set_nms_threshold(&mut self, val: f32)
source§impl RegionLayerTraitConst for Ptr<RegionLayer>
impl RegionLayerTraitConst for Ptr<RegionLayer>
fn as_raw_RegionLayer(&self) -> *const c_void
fn nms_threshold(&self) -> f32
source§impl ReorgLayerTrait for Ptr<ReorgLayer>
impl ReorgLayerTrait for Ptr<ReorgLayer>
fn as_raw_mut_ReorgLayer(&mut self) -> *mut c_void
source§impl ReorgLayerTraitConst for Ptr<ReorgLayer>
impl ReorgLayerTraitConst for Ptr<ReorgLayer>
fn as_raw_ReorgLayer(&self) -> *const c_void
source§impl RequantizeLayerTrait for Ptr<RequantizeLayer>
impl RequantizeLayerTrait for Ptr<RequantizeLayer>
source§impl ReshapeLayerTrait for Ptr<ReshapeLayer>
impl ReshapeLayerTrait for Ptr<ReshapeLayer>
fn as_raw_mut_ReshapeLayer(&mut self) -> *mut c_void
fn set_new_shape_desc(&mut self, val: MatShape)
fn set_new_shape_range(&mut self, val: Range)
source§impl ReshapeLayerTraitConst for Ptr<ReshapeLayer>
impl ReshapeLayerTraitConst for Ptr<ReshapeLayer>
fn as_raw_ReshapeLayer(&self) -> *const c_void
fn new_shape_desc(&self) -> Vector<i32>
fn new_shape_range(&self) -> Range
source§impl ResizeLayerTrait for Ptr<ResizeLayer>
impl ResizeLayerTrait for Ptr<ResizeLayer>
fn as_raw_mut_ResizeLayer(&mut self) -> *mut c_void
source§impl ResizeLayerTraitConst for Ptr<ResizeLayer>
impl ResizeLayerTraitConst for Ptr<ResizeLayer>
fn as_raw_ResizeLayer(&self) -> *const c_void
source§impl Retina for Ptr<dyn Retina>
impl Retina for Ptr<dyn Retina>
fn as_raw_mut_Retina(&mut self) -> *mut c_void
source§fn get_output_size(&mut self) -> Result<Size>
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<()>
fn setup_from_file(
&mut self,
retina_parameter_file: &str,
apply_default_setup_on_failure: bool
) -> Result<()>
Try to open an XML retina parameters file to adjust current retina instance setup Read more
source§fn setup_from_storage(
&mut self,
fs: &mut FileStorage,
apply_default_setup_on_failure: bool
) -> Result<()>
fn setup_from_storage(
&mut self,
fs: &mut FileStorage,
apply_default_setup_on_failure: bool
) -> Result<()>
Try to open an XML retina parameters file to adjust current retina instance setup Read more
source§fn setup(&mut self, new_parameters: RetinaParameters) -> Result<()>
fn setup(&mut self, new_parameters: RetinaParameters) -> Result<()>
Try to open an XML retina parameters file to adjust current retina instance setup Read more
source§fn get_parameters(&mut self) -> Result<RetinaParameters>
fn get_parameters(&mut self) -> Result<RetinaParameters>
Returns Read more
source§fn print_setup(&mut self) -> Result<String>
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<()>
fn setup_op_land_ipl_parvo_channel(
&mut self,
color_mode: bool,
normalise_output: bool,
photoreceptors_local_adaptation_sensitivity: f32,
photoreceptors_temporal_constant: f32,
photoreceptors_spatial_constant: f32,
horizontal_cells_gain: f32,
hcells_temporal_constant: f32,
hcells_spatial_constant: f32,
ganglion_cells_sensitivity: f32
) -> Result<()>
Setup the OPL and IPL parvo channels (see biologocal model) Read more
source§fn setup_ipl_magno_channel(
&mut self,
normalise_output: bool,
parasol_cells_beta: f32,
parasol_cells_tau: f32,
parasol_cells_k: f32,
amacrin_cells_temporal_cut_frequency: f32,
v0_compression_parameter: f32,
local_adaptintegration_tau: f32,
local_adaptintegration_k: f32
) -> Result<()>
fn setup_ipl_magno_channel(
&mut self,
normalise_output: bool,
parasol_cells_beta: f32,
parasol_cells_tau: f32,
parasol_cells_k: f32,
amacrin_cells_temporal_cut_frequency: f32,
v0_compression_parameter: f32,
local_adaptintegration_tau: f32,
local_adaptintegration_k: f32
) -> Result<()>
Set parameters values for the Inner Plexiform Layer (IPL) magnocellular channel Read more
source§fn run(&mut self, input_image: &dyn ToInputArray) -> Result<()>
fn run(&mut self, input_image: &dyn ToInputArray) -> Result<()>
Method which allows retina to be applied on an input image, Read more
source§fn apply_fast_tone_mapping(
&mut self,
input_image: &dyn ToInputArray,
output_tone_mapped_image: &mut dyn ToOutputArray
) -> Result<()>
fn apply_fast_tone_mapping(
&mut self,
input_image: &dyn ToInputArray,
output_tone_mapped_image: &mut dyn ToOutputArray
) -> Result<()>
Method which processes an image in the aim to correct its luminance correct
backlight problems, enhance details in shadows. Read more
source§fn get_parvo(
&mut self,
retina_output_parvo: &mut dyn ToOutputArray
) -> Result<()>
fn get_parvo(
&mut self,
retina_output_parvo: &mut dyn ToOutputArray
) -> Result<()>
Accessor of the details channel of the retina (models foveal vision). Read more
source§fn get_parvo_raw_to(
&mut self,
retina_output_parvo: &mut dyn ToOutputArray
) -> Result<()>
fn get_parvo_raw_to(
&mut self,
retina_output_parvo: &mut dyn ToOutputArray
) -> Result<()>
Accessor of the details channel of the retina (models foveal vision). Read more
source§fn get_magno(
&mut self,
retina_output_magno: &mut dyn ToOutputArray
) -> Result<()>
fn get_magno(
&mut self,
retina_output_magno: &mut dyn ToOutputArray
) -> Result<()>
Accessor of the motion channel of the retina (models peripheral vision). Read more
source§fn get_magno_raw_to(
&mut self,
retina_output_magno: &mut dyn ToOutputArray
) -> Result<()>
fn get_magno_raw_to(
&mut self,
retina_output_magno: &mut dyn ToOutputArray
) -> Result<()>
Accessor of the motion channel of the retina (models peripheral vision). Read more
source§fn set_color_saturation(
&mut self,
saturate_colors: bool,
color_saturation_value: f32
) -> Result<()>
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§impl RetinaConst for Ptr<dyn Retina>
impl RetinaConst for Ptr<dyn Retina>
fn as_raw_Retina(&self) -> *const c_void
source§fn write(&self, fs: &str) -> Result<()>
fn write(&self, fs: &str) -> Result<()>
Write xml/yml formated parameters information Read more
source§fn write_to_storage(&self, fs: &mut FileStorage) -> Result<()>
fn write_to_storage(&self, fs: &mut FileStorage) -> Result<()>
Write xml/yml formated parameters information Read more
source§impl RetinaFastToneMapping for Ptr<dyn RetinaFastToneMapping>
impl RetinaFastToneMapping for Ptr<dyn RetinaFastToneMapping>
fn as_raw_mut_RetinaFastToneMapping(&mut self) -> *mut c_void
source§fn apply_fast_tone_mapping(
&mut self,
input_image: &dyn ToInputArray,
output_tone_mapped_image: &mut dyn ToOutputArray
) -> Result<()>
fn apply_fast_tone_mapping(
&mut self,
input_image: &dyn ToInputArray,
output_tone_mapped_image: &mut dyn ToOutputArray
) -> Result<()>
applies a luminance correction (initially High Dynamic Range (HDR) tone mapping) Read more
source§impl RetinaFastToneMappingConst for Ptr<dyn RetinaFastToneMapping>
impl RetinaFastToneMappingConst for Ptr<dyn RetinaFastToneMapping>
fn as_raw_RetinaFastToneMapping(&self) -> *const c_void
source§impl RgbdFrameTrait for Ptr<OdometryFrame>
impl RgbdFrameTrait for Ptr<OdometryFrame>
source§impl RgbdFrameTrait for Ptr<RgbdFrame>
impl RgbdFrameTrait for Ptr<RgbdFrame>
source§impl RgbdFrameTraitConst for Ptr<OdometryFrame>
impl RgbdFrameTraitConst for Ptr<OdometryFrame>
source§impl RgbdFrameTraitConst for Ptr<RgbdFrame>
impl RgbdFrameTraitConst for Ptr<RgbdFrame>
source§impl RgbdICPOdometryTrait for Ptr<RgbdICPOdometry>
impl RgbdICPOdometryTrait for Ptr<RgbdICPOdometry>
fn as_raw_mut_RgbdICPOdometry(&mut self) -> *mut c_void
fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>
fn set_min_depth(&mut self, val: f64) -> Result<()>
fn set_max_depth(&mut self, val: f64) -> Result<()>
fn set_max_depth_diff(&mut self, val: f64) -> Result<()>
fn set_max_points_part(&mut self, val: f64) -> Result<()>
fn set_iteration_counts(&mut self, val: &Mat) -> Result<()>
fn set_min_gradient_magnitudes(&mut self, val: &Mat) -> Result<()>
fn set_transform_type(&mut self, val: i32) -> Result<()>
fn set_max_translation(&mut self, val: f64) -> Result<()>
fn set_max_rotation(&mut self, val: f64) -> Result<()>
source§impl RgbdICPOdometryTraitConst for Ptr<RgbdICPOdometry>
impl RgbdICPOdometryTraitConst for Ptr<RgbdICPOdometry>
fn as_raw_RgbdICPOdometry(&self) -> *const c_void
fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
fn get_camera_matrix(&self) -> Result<Mat>
fn get_min_depth(&self) -> Result<f64>
fn get_max_depth(&self) -> Result<f64>
fn get_max_depth_diff(&self) -> Result<f64>
fn get_max_points_part(&self) -> Result<f64>
fn get_iteration_counts(&self) -> Result<Mat>
fn get_min_gradient_magnitudes(&self) -> Result<Mat>
fn get_transform_type(&self) -> Result<i32>
fn get_max_translation(&self) -> Result<f64>
fn get_max_rotation(&self) -> Result<f64>
fn get_normals_computer(&self) -> Result<Ptr<RgbdNormals>>
source§impl RgbdNormalsTrait for Ptr<RgbdNormals>
impl RgbdNormalsTrait for Ptr<RgbdNormals>
fn as_raw_mut_RgbdNormals(&mut self) -> *mut c_void
fn set_rows(&mut self, val: i32) -> Result<()>
fn set_cols(&mut self, val: i32) -> Result<()>
fn set_window_size(&mut self, val: i32) -> Result<()>
fn set_depth(&mut self, val: i32) -> Result<()>
fn set_k(&mut self, val: &Mat) -> Result<()>
fn set_method(&mut self, val: i32) -> Result<()>
source§impl RgbdNormalsTraitConst for Ptr<RgbdNormals>
impl RgbdNormalsTraitConst for Ptr<RgbdNormals>
fn as_raw_RgbdNormals(&self) -> *const c_void
source§fn initialize(&self) -> Result<()>
fn initialize(&self) -> Result<()>
Initializes some data that is cached for later computation
If that function is not called, it will be called the first time normals are computed Read more
fn get_rows(&self) -> Result<i32>
fn get_cols(&self) -> Result<i32>
fn get_window_size(&self) -> Result<i32>
fn get_depth(&self) -> Result<i32>
fn get_k(&self) -> Result<Mat>
fn get_method(&self) -> Result<i32>
source§impl RgbdOdometryTrait for Ptr<RgbdOdometry>
impl RgbdOdometryTrait for Ptr<RgbdOdometry>
fn as_raw_mut_RgbdOdometry(&mut self) -> *mut c_void
fn set_camera_matrix(&mut self, val: &Mat) -> Result<()>
fn set_min_depth(&mut self, val: f64) -> Result<()>
fn set_max_depth(&mut self, val: f64) -> Result<()>
fn set_max_depth_diff(&mut self, val: f64) -> Result<()>
fn set_iteration_counts(&mut self, val: &Mat) -> Result<()>
fn set_min_gradient_magnitudes(&mut self, val: &Mat) -> Result<()>
fn set_max_points_part(&mut self, val: f64) -> Result<()>
fn set_transform_type(&mut self, val: i32) -> Result<()>
fn set_max_translation(&mut self, val: f64) -> Result<()>
fn set_max_rotation(&mut self, val: f64) -> Result<()>
source§impl RgbdOdometryTraitConst for Ptr<RgbdOdometry>
impl RgbdOdometryTraitConst for Ptr<RgbdOdometry>
fn as_raw_RgbdOdometry(&self) -> *const c_void
fn prepare_frame_cache(
&self,
frame: &mut Ptr<OdometryFrame>,
cache_type: i32
) -> Result<Size>
fn get_camera_matrix(&self) -> Result<Mat>
fn get_min_depth(&self) -> Result<f64>
fn get_max_depth(&self) -> Result<f64>
fn get_max_depth_diff(&self) -> Result<f64>
fn get_iteration_counts(&self) -> Result<Mat>
fn get_min_gradient_magnitudes(&self) -> Result<Mat>
fn get_max_points_part(&self) -> Result<f64>
fn get_transform_type(&self) -> Result<i32>
fn get_max_translation(&self) -> Result<f64>
fn get_max_rotation(&self) -> Result<f64>
source§impl RgbdPlaneTrait for Ptr<RgbdPlane>
impl RgbdPlaneTrait for Ptr<RgbdPlane>
fn as_raw_mut_RgbdPlane(&mut self) -> *mut c_void
fn set_block_size(&mut self, val: i32) -> Result<()>
fn set_min_size(&mut self, val: i32) -> Result<()>
fn set_method(&mut self, val: i32) -> Result<()>
fn set_threshold(&mut self, val: f64) -> Result<()>
fn set_sensor_error_a(&mut self, val: f64) -> Result<()>
fn set_sensor_error_b(&mut self, val: f64) -> Result<()>
fn set_sensor_error_c(&mut self, val: f64) -> Result<()>
source§impl RgbdPlaneTraitConst for Ptr<RgbdPlane>
impl RgbdPlaneTraitConst for Ptr<RgbdPlane>
fn as_raw_RgbdPlane(&self) -> *const c_void
fn get_block_size(&self) -> Result<i32>
fn get_min_size(&self) -> Result<i32>
fn get_method(&self) -> Result<i32>
fn get_threshold(&self) -> Result<f64>
fn get_sensor_error_a(&self) -> Result<f64>
fn get_sensor_error_b(&self) -> Result<f64>
fn get_sensor_error_c(&self) -> Result<f64>
source§impl RidgeDetectionFilter for Ptr<dyn RidgeDetectionFilter>
impl RidgeDetectionFilter for Ptr<dyn RidgeDetectionFilter>
fn as_raw_mut_RidgeDetectionFilter(&mut self) -> *mut c_void
source§fn get_ridge_filtered_image(
&mut self,
_img: &dyn ToInputArray,
out: &mut dyn ToOutputArray
) -> Result<()>
fn get_ridge_filtered_image(
&mut self,
_img: &dyn ToInputArray,
out: &mut dyn ToOutputArray
) -> Result<()>
Apply Ridge detection filter on input image. Read more
source§impl RidgeDetectionFilterConst for Ptr<dyn RidgeDetectionFilter>
impl RidgeDetectionFilterConst for Ptr<dyn RidgeDetectionFilter>
fn as_raw_RidgeDetectionFilter(&self) -> *const c_void
source§impl RoundLayerTrait for Ptr<RoundLayer>
impl RoundLayerTrait for Ptr<RoundLayer>
fn as_raw_mut_RoundLayer(&mut self) -> *mut c_void
source§impl RoundLayerTraitConst for Ptr<RoundLayer>
impl RoundLayerTraitConst for Ptr<RoundLayer>
fn as_raw_RoundLayer(&self) -> *const c_void
source§impl SFMLibmvEuclideanReconstruction for Ptr<dyn SFMLibmvEuclideanReconstruction>
impl SFMLibmvEuclideanReconstruction for Ptr<dyn SFMLibmvEuclideanReconstruction>
fn as_raw_mut_SFMLibmvEuclideanReconstruction(&mut self) -> *mut c_void
source§fn run(&mut self, points2d: &dyn ToInputArray) -> Result<()>
fn run(&mut self, points2d: &dyn ToInputArray) -> Result<()>
Calls the pipeline in order to perform Eclidean reconstruction. Read more
source§fn run_1(
&mut self,
points2d: &dyn ToInputArray,
k: &mut dyn ToInputOutputArray,
rs: &mut dyn ToOutputArray,
ts: &mut dyn ToOutputArray,
points3d: &mut dyn ToOutputArray
) -> Result<()>
fn run_1(
&mut self,
points2d: &dyn ToInputArray,
k: &mut dyn ToInputOutputArray,
rs: &mut dyn ToOutputArray,
ts: &mut dyn ToOutputArray,
points3d: &mut dyn ToOutputArray
) -> Result<()>
Calls the pipeline in order to perform Eclidean reconstruction. Read more
source§fn run_2(&mut self, images: &Vector<String>) -> Result<()>
fn run_2(&mut self, images: &Vector<String>) -> Result<()>
Calls the pipeline in order to perform Eclidean reconstruction. Read more
source§fn run_3(
&mut self,
images: &Vector<String>,
k: &mut dyn ToInputOutputArray,
rs: &mut dyn ToOutputArray,
ts: &mut dyn ToOutputArray,
points3d: &mut dyn ToOutputArray
) -> Result<()>
fn run_3(
&mut self,
images: &Vector<String>,
k: &mut dyn ToInputOutputArray,
rs: &mut dyn ToOutputArray,
ts: &mut dyn ToOutputArray,
points3d: &mut dyn ToOutputArray
) -> Result<()>
Calls the pipeline in order to perform Eclidean reconstruction. Read more
source§fn get_points(&mut self, points3d: &mut dyn ToOutputArray) -> Result<()>
fn get_points(&mut self, points3d: &mut dyn ToOutputArray) -> Result<()>
Returns the estimated 3d points. Read more
source§fn get_cameras(
&mut self,
rs: &mut dyn ToOutputArray,
ts: &mut dyn ToOutputArray
) -> Result<()>
fn get_cameras(
&mut self,
rs: &mut dyn ToOutputArray,
ts: &mut dyn ToOutputArray
) -> Result<()>
Returns the estimated camera extrinsic parameters. Read more
source§fn set_reconstruction_options(
&mut self,
libmv_reconstruction_options: libmv_ReconstructionOptions
) -> Result<()>
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<()>
fn set_camera_intrinsic_options(
&mut self,
libmv_camera_intrinsics_options: libmv_CameraIntrinsicsOptions
) -> Result<()>
Setter method for camera intrinsic options. Read more
source§impl SIFTTraitConst for Ptr<SIFT>
impl SIFTTraitConst for Ptr<SIFT>
fn as_raw_SIFT(&self) -> *const c_void
fn get_default_name(&self) -> Result<String>
source§impl SURF for Ptr<dyn SURF>
impl SURF for Ptr<dyn SURF>
fn as_raw_mut_SURF(&mut self) -> *mut c_void
fn set_hessian_threshold(&mut self, hessian_threshold: f64) -> Result<()>
fn set_n_octaves(&mut self, n_octaves: i32) -> Result<()>
fn set_n_octave_layers(&mut self, n_octave_layers: i32) -> Result<()>
fn set_extended(&mut self, extended: bool) -> Result<()>
fn set_upright(&mut self, upright: bool) -> Result<()>
source§impl SURFConst for Ptr<dyn SURF>
impl SURFConst for Ptr<dyn SURF>
fn as_raw_SURF(&self) -> *const c_void
fn get_hessian_threshold(&self) -> Result<f64>
fn get_n_octaves(&self) -> Result<i32>
fn get_n_octave_layers(&self) -> Result<i32>
fn get_extended(&self) -> Result<bool>
fn get_upright(&self) -> Result<bool>
source§impl SURF_CUDATrait for Ptr<SURF_CUDA>
impl SURF_CUDATrait for Ptr<SURF_CUDA>
fn as_raw_mut_SURF_CUDA(&mut self) -> *mut c_void
fn set_hessian_threshold(&mut self, val: f64)
fn set_n_octaves(&mut self, val: i32)
fn set_n_octave_layers(&mut self, val: i32)
fn set_extended(&mut self, val: bool)
fn set_upright(&mut self, val: bool)
source§fn set_keypoints_ratio(&mut self, val: f32)
fn set_keypoints_ratio(&mut self, val: f32)
max keypoints = min(keypointsRatio * img.size().area(), 65535)
fn set_sum(&mut self, val: GpuMat)
fn set_mask1(&mut self, val: GpuMat)
fn set_mask_sum(&mut self, val: GpuMat)
fn set_det(&mut self, val: GpuMat)
fn set_trace(&mut self, val: GpuMat)
fn set_max_pos_buffer(&mut self, val: GpuMat)
source§fn upload_keypoints(
&mut self,
keypoints: &Vector<KeyPoint>,
keypoints_gpu: &mut GpuMat
) -> Result<()>
fn upload_keypoints(
&mut self,
keypoints: &Vector<KeyPoint>,
keypoints_gpu: &mut GpuMat
) -> Result<()>
upload host keypoints to device memory
source§fn download_keypoints(
&mut self,
keypoints_gpu: &GpuMat,
keypoints: &mut Vector<KeyPoint>
) -> Result<()>
fn download_keypoints(
&mut self,
keypoints_gpu: &GpuMat,
keypoints: &mut Vector<KeyPoint>
) -> Result<()>
download keypoints from device to host memory
source§fn download_descriptors(
&mut self,
descriptors_gpu: &GpuMat,
descriptors: &mut Vector<f32>
) -> Result<()>
fn download_descriptors(
&mut self,
descriptors_gpu: &GpuMat,
descriptors: &mut Vector<f32>
) -> Result<()>
download descriptors from device to host memory
source§fn detect(
&mut self,
img: &GpuMat,
mask: &GpuMat,
keypoints: &mut GpuMat
) -> Result<()>
fn detect(
&mut self,
img: &GpuMat,
mask: &GpuMat,
keypoints: &mut GpuMat
) -> Result<()>
Finds the keypoints using fast hessian detector used in SURF Read more
source§fn detect_with_descriptors(
&mut self,
img: &GpuMat,
mask: &GpuMat,
keypoints: &mut GpuMat,
descriptors: &mut GpuMat,
use_provided_keypoints: bool
) -> Result<()>
fn detect_with_descriptors(
&mut self,
img: &GpuMat,
mask: &GpuMat,
keypoints: &mut GpuMat,
descriptors: &mut GpuMat,
use_provided_keypoints: bool
) -> Result<()>
Finds the keypoints and computes their descriptors using fast hessian detector used in SURF Read more
fn release_memory(&mut self) -> Result<()>
source§impl SURF_CUDATraitConst for Ptr<SURF_CUDA>
impl SURF_CUDATraitConst for Ptr<SURF_CUDA>
fn as_raw_SURF_CUDA(&self) -> *const c_void
fn hessian_threshold(&self) -> f64
fn n_octaves(&self) -> i32
fn n_octave_layers(&self) -> i32
fn extended(&self) -> bool
fn upright(&self) -> bool
source§fn keypoints_ratio(&self) -> f32
fn keypoints_ratio(&self) -> f32
max keypoints = min(keypointsRatio * img.size().area(), 65535)
fn sum(&self) -> GpuMat
fn mask1(&self) -> GpuMat
fn mask_sum(&self) -> GpuMat
fn det(&self) -> GpuMat
fn trace(&self) -> GpuMat
fn max_pos_buffer(&self) -> GpuMat
source§fn descriptor_size(&self) -> Result<i32>
fn descriptor_size(&self) -> Result<i32>
returns the descriptor size in float’s (64 or 128)
source§fn default_norm(&self) -> Result<i32>
fn default_norm(&self) -> Result<i32>
returns the default norm type
source§impl SVM for Ptr<dyn SVM>
impl SVM for Ptr<dyn SVM>
fn as_raw_mut_SVM(&mut self) -> *mut c_void
source§fn set_type(&mut self, val: i32) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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<()>
fn set_p(&mut self, val: f64) -> Result<()>
Parameter inline formula of a %SVM optimization problem.
For SVM::EPS_SVR. Default value is 0. Read more
source§fn set_class_weights(&mut self, val: &Mat) -> Result<()>
fn set_class_weights(&mut self, val: &Mat) -> Result<()>
Optional weights in the SVM::C_SVC problem, assigned to particular classes.
They are multiplied by C so the parameter C of class i becomes
classWeights(i) * C
. Thus
these weights affect the misclassification penalty for different classes. The larger weight,
the larger penalty on misclassification of data from the corresponding class. Default value is
empty Mat. Read moresource§fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>
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 moresource§fn set_kernel(&mut self, kernel_type: i32) -> Result<()>
fn set_kernel(&mut self, kernel_type: i32) -> Result<()>
Initialize with one of predefined kernels.
See SVM::KernelTypes. Read more
source§fn set_custom_kernel(&mut self, _kernel: &Ptr<dyn SVM_Kernel>) -> Result<()>
fn set_custom_kernel(&mut self, _kernel: &Ptr<dyn SVM_Kernel>) -> Result<()>
Initialize with custom kernel.
See SVM::Kernel class for implementation details Read more
source§fn train_auto(
&mut self,
data: &Ptr<dyn TrainData>,
k_fold: i32,
cgrid: ParamGrid,
gamma_grid: ParamGrid,
p_grid: ParamGrid,
nu_grid: ParamGrid,
coeff_grid: ParamGrid,
degree_grid: ParamGrid,
balanced: bool
) -> Result<bool>
fn train_auto(
&mut self,
data: &Ptr<dyn TrainData>,
k_fold: i32,
cgrid: ParamGrid,
gamma_grid: ParamGrid,
p_grid: ParamGrid,
nu_grid: ParamGrid,
coeff_grid: ParamGrid,
degree_grid: ParamGrid,
balanced: bool
) -> Result<bool>
Trains an %SVM with optimal parameters. Read more
source§fn train_auto_with_data(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray,
k_fold: i32,
cgrid: Ptr<ParamGrid>,
gamma_grid: Ptr<ParamGrid>,
p_grid: Ptr<ParamGrid>,
nu_grid: Ptr<ParamGrid>,
coeff_grid: Ptr<ParamGrid>,
degree_grid: Ptr<ParamGrid>,
balanced: bool
) -> Result<bool>
fn train_auto_with_data(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray,
k_fold: i32,
cgrid: Ptr<ParamGrid>,
gamma_grid: Ptr<ParamGrid>,
p_grid: Ptr<ParamGrid>,
nu_grid: Ptr<ParamGrid>,
coeff_grid: Ptr<ParamGrid>,
degree_grid: Ptr<ParamGrid>,
balanced: bool
) -> Result<bool>
Trains an %SVM with optimal parameters Read more
source§impl SVMConst for Ptr<dyn SVM>
impl SVMConst for Ptr<dyn SVM>
fn as_raw_SVM(&self) -> *const c_void
source§fn get_type(&self) -> Result<i32>
fn get_type(&self) -> Result<i32>
Type of a %SVM formulation.
See SVM::Types. Default value is SVM::C_SVC. Read more
source§fn get_gamma(&self) -> Result<f64>
fn get_gamma(&self) -> Result<f64>
Parameter inline formula of a kernel function.
For SVM::POLY, SVM::RBF, SVM::SIGMOID or SVM::CHI2. Default value is 1. Read more
source§fn get_coef0(&self) -> Result<f64>
fn get_coef0(&self) -> Result<f64>
Parameter coef0 of a kernel function.
For SVM::POLY or SVM::SIGMOID. Default value is 0. Read more
source§fn get_degree(&self) -> Result<f64>
fn get_degree(&self) -> Result<f64>
Parameter degree of a kernel function.
For SVM::POLY. Default value is 0. Read more
source§fn get_c(&self) -> Result<f64>
fn get_c(&self) -> Result<f64>
Parameter C of a %SVM optimization problem.
For SVM::C_SVC, SVM::EPS_SVR or SVM::NU_SVR. Default value is 0. Read more
source§fn get_nu(&self) -> Result<f64>
fn get_nu(&self) -> Result<f64>
Parameter inline formula of a %SVM optimization problem.
For SVM::NU_SVC, SVM::ONE_CLASS or SVM::NU_SVR. Default value is 0. Read more
source§fn get_p(&self) -> Result<f64>
fn get_p(&self) -> Result<f64>
Parameter inline formula of a %SVM optimization problem.
For SVM::EPS_SVR. Default value is 0. Read more
source§fn get_class_weights(&self) -> Result<Mat>
fn get_class_weights(&self) -> Result<Mat>
Optional weights in the SVM::C_SVC problem, assigned to particular classes.
They are multiplied by C so the parameter C of class i becomes
classWeights(i) * C
. Thus
these weights affect the misclassification penalty for different classes. The larger weight,
the larger penalty on misclassification of data from the corresponding class. Default value is
empty Mat. Read moresource§fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_term_criteria(&self) -> Result<TermCriteria>
Termination criteria of the iterative %SVM training procedure which solves a partial
case of constrained quadratic optimization problem.
You can specify tolerance and/or the maximum number of iterations. Default value is
TermCriteria( TermCriteria::MAX_ITER + TermCriteria::EPS, 1000, FLT_EPSILON )
; Read moresource§fn get_kernel_type(&self) -> Result<i32>
fn get_kernel_type(&self) -> Result<i32>
Type of a %SVM kernel.
See SVM::KernelTypes. Default value is SVM::RBF. Read more
source§fn get_uncompressed_support_vectors(&self) -> Result<Mat>
fn get_uncompressed_support_vectors(&self) -> Result<Mat>
Retrieves all the uncompressed support vectors of a linear %SVM Read more
source§fn get_decision_function(
&self,
i: i32,
alpha: &mut dyn ToOutputArray,
svidx: &mut dyn ToOutputArray
) -> Result<f64>
fn get_decision_function(
&self,
i: i32,
alpha: &mut dyn ToOutputArray,
svidx: &mut dyn ToOutputArray
) -> Result<f64>
Retrieves the decision function Read more
source§impl SVMSGD for Ptr<dyn SVMSGD>
impl SVMSGD for Ptr<dyn SVMSGD>
fn as_raw_mut_SVMSGD(&mut self) -> *mut c_void
source§fn set_optimal_parameters(
&mut self,
svmsgd_type: i32,
margin_type: i32
) -> Result<()>
fn set_optimal_parameters(
&mut self,
svmsgd_type: i32,
margin_type: i32
) -> Result<()>
Function sets optimal parameters values for chosen SVM SGD model. Read more
source§fn set_svmsgd_type(&mut self, svmsgd_type: i32) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
fn set_term_criteria(&mut self, val: TermCriteria) -> Result<()>
Termination criteria of the training algorithm.
You can specify the maximum number of iterations (maxCount) and/or how much the error could
change between the iterations to make the algorithm continue (epsilon). Read more
source§impl SVMSGDConst for Ptr<dyn SVMSGD>
impl SVMSGDConst for Ptr<dyn SVMSGD>
fn as_raw_SVMSGD(&self) -> *const c_void
source§fn get_svmsgd_type(&self) -> Result<i32>
fn get_svmsgd_type(&self) -> Result<i32>
%Algorithm type, one of SVMSGD::SvmsgdType. Read more
source§fn get_margin_regularization(&self) -> Result<f32>
fn get_margin_regularization(&self) -> Result<f32>
Parameter marginRegularization of a %SVMSGD optimization problem. Read more
source§fn get_initial_step_size(&self) -> Result<f32>
fn get_initial_step_size(&self) -> Result<f32>
Parameter initialStepSize of a %SVMSGD optimization problem. Read more
source§fn get_step_decreasing_power(&self) -> Result<f32>
fn get_step_decreasing_power(&self) -> Result<f32>
Parameter stepDecreasingPower of a %SVMSGD optimization problem. Read more
source§fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_term_criteria(&self) -> Result<TermCriteria>
Termination criteria of the training algorithm.
You can specify the maximum number of iterations (maxCount) and/or how much the error could
change between the iterations to make the algorithm continue (epsilon). Read more
source§impl SVM_Kernel for Ptr<dyn SVM_Kernel>
impl SVM_Kernel for Ptr<dyn SVM_Kernel>
source§impl SVM_KernelConst for Ptr<dyn SVM_Kernel>
impl SVM_KernelConst for Ptr<dyn SVM_Kernel>
source§impl Saliency for Ptr<MotionSaliencyBinWangApr2014>
impl Saliency for Ptr<MotionSaliencyBinWangApr2014>
fn as_raw_mut_Saliency(&mut self) -> *mut c_void
source§fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
\brief Compute the saliency
\param image The image.
\param saliencyMap The computed saliency map.
\return true if the saliency map is computed, false otherwise Read more
source§impl Saliency for Ptr<ObjectnessBING>
impl Saliency for Ptr<ObjectnessBING>
fn as_raw_mut_Saliency(&mut self) -> *mut c_void
source§fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
\brief Compute the saliency
\param image The image.
\param saliencyMap The computed saliency map.
\return true if the saliency map is computed, false otherwise Read more
source§impl Saliency for Ptr<StaticSaliencyFineGrained>
impl Saliency for Ptr<StaticSaliencyFineGrained>
fn as_raw_mut_Saliency(&mut self) -> *mut c_void
source§fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
\brief Compute the saliency
\param image The image.
\param saliencyMap The computed saliency map.
\return true if the saliency map is computed, false otherwise Read more
source§impl Saliency for Ptr<StaticSaliencySpectralResidual>
impl Saliency for Ptr<StaticSaliencySpectralResidual>
fn as_raw_mut_Saliency(&mut self) -> *mut c_void
source§fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
\brief Compute the saliency
\param image The image.
\param saliencyMap The computed saliency map.
\return true if the saliency map is computed, false otherwise Read more
source§impl SaliencyConst for Ptr<MotionSaliencyBinWangApr2014>
impl SaliencyConst for Ptr<MotionSaliencyBinWangApr2014>
fn as_raw_Saliency(&self) -> *const c_void
source§impl SaliencyConst for Ptr<ObjectnessBING>
impl SaliencyConst for Ptr<ObjectnessBING>
fn as_raw_Saliency(&self) -> *const c_void
source§impl SaliencyConst for Ptr<StaticSaliencyFineGrained>
impl SaliencyConst for Ptr<StaticSaliencyFineGrained>
fn as_raw_Saliency(&self) -> *const c_void
source§impl SaliencyConst for Ptr<StaticSaliencySpectralResidual>
impl SaliencyConst for Ptr<StaticSaliencySpectralResidual>
fn as_raw_Saliency(&self) -> *const c_void
source§impl ScaleLayerInt8Trait for Ptr<ScaleLayerInt8>
impl ScaleLayerInt8Trait for Ptr<ScaleLayerInt8>
fn as_raw_mut_ScaleLayerInt8(&mut self) -> *mut c_void
fn set_output_sc(&mut self, val: f32)
fn set_output_zp(&mut self, val: i32)
source§impl ScaleLayerInt8TraitConst for Ptr<ScaleLayerInt8>
impl ScaleLayerInt8TraitConst for Ptr<ScaleLayerInt8>
source§impl ScaleLayerTrait for Ptr<ScaleLayer>
impl ScaleLayerTrait for Ptr<ScaleLayer>
source§impl ScaleLayerTrait for Ptr<ScaleLayerInt8>
impl ScaleLayerTrait for Ptr<ScaleLayerInt8>
source§impl ScaleLayerTraitConst for Ptr<ScaleLayer>
impl ScaleLayerTraitConst for Ptr<ScaleLayer>
source§impl ScaleLayerTraitConst for Ptr<ScaleLayerInt8>
impl ScaleLayerTraitConst for Ptr<ScaleLayerInt8>
source§impl ScanSegment for Ptr<dyn ScanSegment>
impl ScanSegment for Ptr<dyn ScanSegment>
fn as_raw_mut_ScanSegment(&mut self) -> *mut c_void
source§fn get_number_of_superpixels(&mut self) -> Result<i32>
fn get_number_of_superpixels(&mut self) -> Result<i32>
Returns the actual superpixel segmentation from the last image processed using iterate. Read more
source§fn iterate(&mut self, img: &dyn ToInputArray) -> Result<()>
fn iterate(&mut self, img: &dyn ToInputArray) -> Result<()>
Calculates the superpixel segmentation on a given image with the initialized
parameters in the ScanSegment object. Read more
source§fn get_labels(&mut self, labels_out: &mut dyn ToOutputArray) -> Result<()>
fn get_labels(&mut self, labels_out: &mut dyn ToOutputArray) -> Result<()>
Returns the segmentation labeling of the image. Read more
source§fn get_label_contour_mask(
&mut self,
image: &mut dyn ToOutputArray,
thick_line: bool
) -> Result<()>
fn get_label_contour_mask(
&mut self,
image: &mut dyn ToOutputArray,
thick_line: bool
) -> Result<()>
Returns the mask of the superpixel segmentation stored in the ScanSegment object. Read more
source§impl ScanSegmentConst for Ptr<dyn ScanSegment>
impl ScanSegmentConst for Ptr<dyn ScanSegment>
fn as_raw_ScanSegment(&self) -> *const c_void
source§impl SearchParamsTrait for Ptr<SearchParams>
impl SearchParamsTrait for Ptr<SearchParams>
fn as_raw_mut_SearchParams(&mut self) -> *mut c_void
source§impl SearchParamsTraitConst for Ptr<SearchParams>
impl SearchParamsTraitConst for Ptr<SearchParams>
fn as_raw_SearchParams(&self) -> *const c_void
source§impl SelectiveSearchSegmentation for Ptr<dyn SelectiveSearchSegmentation>
impl SelectiveSearchSegmentation for Ptr<dyn SelectiveSearchSegmentation>
fn as_raw_mut_SelectiveSearchSegmentation(&mut self) -> *mut c_void
source§fn set_base_image(&mut self, img: &dyn ToInputArray) -> Result<()>
fn set_base_image(&mut self, img: &dyn ToInputArray) -> Result<()>
Set a image used by switch* functions to initialize the class Read more
source§fn switch_to_single_strategy(&mut self, k: i32, sigma: f32) -> Result<()>
fn switch_to_single_strategy(&mut self, k: i32, sigma: f32) -> Result<()>
Initialize the class with the ‘Single stragegy’ parameters describled in uijlings2013selective. Read more
source§fn switch_to_selective_search_fast(
&mut self,
base_k: i32,
inc_k: i32,
sigma: f32
) -> Result<()>
fn switch_to_selective_search_fast(
&mut self,
base_k: i32,
inc_k: i32,
sigma: f32
) -> Result<()>
Initialize the class with the ‘Selective search fast’ parameters describled in uijlings2013selective. Read more
source§fn switch_to_selective_search_quality(
&mut self,
base_k: i32,
inc_k: i32,
sigma: f32
) -> Result<()>
fn switch_to_selective_search_quality(
&mut self,
base_k: i32,
inc_k: i32,
sigma: f32
) -> Result<()>
Initialize the class with the ‘Selective search fast’ parameters describled in uijlings2013selective. Read more
source§fn add_image(&mut self, img: &dyn ToInputArray) -> Result<()>
fn add_image(&mut self, img: &dyn ToInputArray) -> Result<()>
Add a new image in the list of images to process. Read more
source§fn clear_images(&mut self) -> Result<()>
fn clear_images(&mut self) -> Result<()>
Clear the list of images to process
source§fn add_graph_segmentation(&mut self, g: Ptr<dyn GraphSegmentation>) -> Result<()>
fn add_graph_segmentation(&mut self, g: Ptr<dyn GraphSegmentation>) -> Result<()>
Add a new graph segmentation in the list of graph segementations to process. Read more
source§fn clear_graph_segmentations(&mut self) -> Result<()>
fn clear_graph_segmentations(&mut self) -> Result<()>
Clear the list of graph segmentations to process;
source§fn add_strategy(
&mut self,
s: Ptr<dyn SelectiveSearchSegmentationStrategy>
) -> Result<()>
fn add_strategy(
&mut self,
s: Ptr<dyn SelectiveSearchSegmentationStrategy>
) -> Result<()>
Add a new strategy in the list of strategy to process. Read more
source§fn clear_strategies(&mut self) -> Result<()>
fn clear_strategies(&mut self) -> Result<()>
Clear the list of strategy to process;
source§impl SelectiveSearchSegmentationConst for Ptr<dyn SelectiveSearchSegmentation>
impl SelectiveSearchSegmentationConst for Ptr<dyn SelectiveSearchSegmentation>
fn as_raw_SelectiveSearchSegmentation(&self) -> *const c_void
source§impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategy>
impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategy>
fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void
source§fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
Set a initial image, with a segmentation. Read more
source§impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategyColor>
impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategyColor>
fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void
source§fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
Set a initial image, with a segmentation. Read more
source§impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategyFill>
impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategyFill>
fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void
source§fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
Set a initial image, with a segmentation. Read more
source§impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>
impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>
fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void
source§fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
Set a initial image, with a segmentation. Read more
source§impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategySize>
impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategySize>
fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void
source§fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
Set a initial image, with a segmentation. Read more
source§impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>
impl SelectiveSearchSegmentationStrategy for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>
fn as_raw_mut_SelectiveSearchSegmentationStrategy(&mut self) -> *mut c_void
source§fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
fn set_image(
&mut self,
img: &dyn ToInputArray,
regions: &dyn ToInputArray,
sizes: &dyn ToInputArray,
image_id: i32
) -> Result<()>
Set a initial image, with a segmentation. Read more
source§impl SelectiveSearchSegmentationStrategyColor for Ptr<dyn SelectiveSearchSegmentationStrategyColor>
impl SelectiveSearchSegmentationStrategyColor for Ptr<dyn SelectiveSearchSegmentationStrategyColor>
fn as_raw_mut_SelectiveSearchSegmentationStrategyColor(&mut self) -> *mut c_void
source§impl SelectiveSearchSegmentationStrategyColorConst for Ptr<dyn SelectiveSearchSegmentationStrategyColor>
impl SelectiveSearchSegmentationStrategyColorConst for Ptr<dyn SelectiveSearchSegmentationStrategyColor>
source§impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategy>
impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategy>
source§impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategyColor>
impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategyColor>
source§impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategyFill>
impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategyFill>
source§impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>
impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>
source§impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategySize>
impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategySize>
source§impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>
impl SelectiveSearchSegmentationStrategyConst for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>
source§impl SelectiveSearchSegmentationStrategyFill for Ptr<dyn SelectiveSearchSegmentationStrategyFill>
impl SelectiveSearchSegmentationStrategyFill for Ptr<dyn SelectiveSearchSegmentationStrategyFill>
fn as_raw_mut_SelectiveSearchSegmentationStrategyFill(&mut self) -> *mut c_void
source§impl SelectiveSearchSegmentationStrategyFillConst for Ptr<dyn SelectiveSearchSegmentationStrategyFill>
impl SelectiveSearchSegmentationStrategyFillConst for Ptr<dyn SelectiveSearchSegmentationStrategyFill>
source§impl SelectiveSearchSegmentationStrategyMultiple for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>
impl SelectiveSearchSegmentationStrategyMultiple for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>
fn as_raw_mut_SelectiveSearchSegmentationStrategyMultiple(
&mut self
) -> *mut c_void
source§fn add_strategy(
&mut self,
g: Ptr<dyn SelectiveSearchSegmentationStrategy>,
weight: f32
) -> Result<()>
fn add_strategy(
&mut self,
g: Ptr<dyn SelectiveSearchSegmentationStrategy>,
weight: f32
) -> Result<()>
Add a new sub-strategy Read more
source§fn clear_strategies(&mut self) -> Result<()>
fn clear_strategies(&mut self) -> Result<()>
Remove all sub-strategies
source§impl SelectiveSearchSegmentationStrategyMultipleConst for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>
impl SelectiveSearchSegmentationStrategyMultipleConst for Ptr<dyn SelectiveSearchSegmentationStrategyMultiple>
source§impl SelectiveSearchSegmentationStrategySize for Ptr<dyn SelectiveSearchSegmentationStrategySize>
impl SelectiveSearchSegmentationStrategySize for Ptr<dyn SelectiveSearchSegmentationStrategySize>
fn as_raw_mut_SelectiveSearchSegmentationStrategySize(&mut self) -> *mut c_void
source§impl SelectiveSearchSegmentationStrategySizeConst for Ptr<dyn SelectiveSearchSegmentationStrategySize>
impl SelectiveSearchSegmentationStrategySizeConst for Ptr<dyn SelectiveSearchSegmentationStrategySize>
source§impl SelectiveSearchSegmentationStrategyTexture for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>
impl SelectiveSearchSegmentationStrategyTexture for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>
fn as_raw_mut_SelectiveSearchSegmentationStrategyTexture(
&mut self
) -> *mut c_void
source§impl SelectiveSearchSegmentationStrategyTextureConst for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>
impl SelectiveSearchSegmentationStrategyTextureConst for Ptr<dyn SelectiveSearchSegmentationStrategyTexture>
source§impl SeluLayerTrait for Ptr<SeluLayer>
impl SeluLayerTrait for Ptr<SeluLayer>
source§impl SeluLayerTraitConst for Ptr<SeluLayer>
impl SeluLayerTraitConst for Ptr<SeluLayer>
source§impl ShapeContextDistanceExtractor for Ptr<dyn ShapeContextDistanceExtractor>
impl ShapeContextDistanceExtractor for Ptr<dyn ShapeContextDistanceExtractor>
fn as_raw_mut_ShapeContextDistanceExtractor(&mut self) -> *mut c_void
source§fn set_angular_bins(&mut self, n_angular_bins: i32) -> Result<()>
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<()>
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<()>
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<()>
fn set_outer_radius(&mut self, outer_radius: f32) -> Result<()>
Set the outer radius of the shape context descriptor. Read more
fn set_rotation_invariant(&mut self, rotation_invariant: bool) -> Result<()>
source§fn set_shape_context_weight(&mut self, shape_context_weight: f32) -> Result<()>
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<()>
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<()>
fn set_bending_energy_weight(&mut self, bending_energy_weight: f32) -> Result<()>
Set the weight of the Bending Energy in the final value of the shape distance. The bending energy
definition depends on what transformation is being used to align the shapes. The final value of the
shape distance is a user-defined linear combination of the shape context distance, an image
appearance distance, and a bending energy. Read more
source§fn set_images(
&mut self,
image1: &dyn ToInputArray,
image2: &dyn ToInputArray
) -> Result<()>
fn set_images(
&mut self,
image1: &dyn ToInputArray,
image2: &dyn ToInputArray
) -> Result<()>
Set the images that correspond to each shape. This images are used in the calculation of the Image
Appearance cost. Read more
fn set_iterations(&mut self, iterations: i32) -> Result<()>
source§fn set_cost_extractor(
&mut self,
comparer: Ptr<dyn HistogramCostExtractor>
) -> Result<()>
fn set_cost_extractor(
&mut self,
comparer: Ptr<dyn HistogramCostExtractor>
) -> Result<()>
Set the algorithm used for building the shape context descriptor cost matrix. Read more
source§fn set_std_dev(&mut self, sigma: f32) -> Result<()>
fn set_std_dev(&mut self, sigma: f32) -> Result<()>
Set the value of the standard deviation for the Gaussian window for the image appearance cost. Read more
source§fn set_transform_algorithm(
&mut self,
transformer: Ptr<dyn ShapeTransformer>
) -> Result<()>
fn set_transform_algorithm(
&mut self,
transformer: Ptr<dyn ShapeTransformer>
) -> Result<()>
Set the algorithm used for aligning the shapes. Read more
source§impl ShapeContextDistanceExtractorConst for Ptr<dyn ShapeContextDistanceExtractor>
impl ShapeContextDistanceExtractorConst for Ptr<dyn ShapeContextDistanceExtractor>
fn as_raw_ShapeContextDistanceExtractor(&self) -> *const c_void
fn get_angular_bins(&self) -> Result<i32>
fn get_radial_bins(&self) -> Result<i32>
fn get_inner_radius(&self) -> Result<f32>
fn get_outer_radius(&self) -> Result<f32>
fn get_rotation_invariant(&self) -> Result<bool>
fn get_shape_context_weight(&self) -> Result<f32>
fn get_image_appearance_weight(&self) -> Result<f32>
fn get_bending_energy_weight(&self) -> Result<f32>
fn get_images(
&self,
image1: &mut dyn ToOutputArray,
image2: &mut dyn ToOutputArray
) -> Result<()>
fn get_iterations(&self) -> Result<i32>
fn get_cost_extractor(&self) -> Result<Ptr<dyn HistogramCostExtractor>>
fn get_std_dev(&self) -> Result<f32>
fn get_transform_algorithm(&self) -> Result<Ptr<dyn ShapeTransformer>>
source§impl ShapeDistanceExtractor for Ptr<dyn HausdorffDistanceExtractor>
impl ShapeDistanceExtractor for Ptr<dyn HausdorffDistanceExtractor>
fn as_raw_mut_ShapeDistanceExtractor(&mut self) -> *mut c_void
source§fn compute_distance(
&mut self,
contour1: &dyn ToInputArray,
contour2: &dyn ToInputArray
) -> Result<f32>
fn compute_distance(
&mut self,
contour1: &dyn ToInputArray,
contour2: &dyn ToInputArray
) -> Result<f32>
Compute the shape distance between two shapes defined by its contours. Read more
source§impl ShapeDistanceExtractor for Ptr<dyn ShapeContextDistanceExtractor>
impl ShapeDistanceExtractor for Ptr<dyn ShapeContextDistanceExtractor>
fn as_raw_mut_ShapeDistanceExtractor(&mut self) -> *mut c_void
source§fn compute_distance(
&mut self,
contour1: &dyn ToInputArray,
contour2: &dyn ToInputArray
) -> Result<f32>
fn compute_distance(
&mut self,
contour1: &dyn ToInputArray,
contour2: &dyn ToInputArray
) -> Result<f32>
Compute the shape distance between two shapes defined by its contours. Read more
source§impl ShapeDistanceExtractorConst for Ptr<dyn HausdorffDistanceExtractor>
impl ShapeDistanceExtractorConst for Ptr<dyn HausdorffDistanceExtractor>
fn as_raw_ShapeDistanceExtractor(&self) -> *const c_void
source§impl ShapeDistanceExtractorConst for Ptr<dyn ShapeContextDistanceExtractor>
impl ShapeDistanceExtractorConst for Ptr<dyn ShapeContextDistanceExtractor>
fn as_raw_ShapeDistanceExtractor(&self) -> *const c_void
source§impl ShapeTransformer for Ptr<dyn AffineTransformer>
impl ShapeTransformer for Ptr<dyn AffineTransformer>
fn as_raw_mut_ShapeTransformer(&mut self) -> *mut c_void
source§fn estimate_transformation(
&mut self,
transforming_shape: &dyn ToInputArray,
target_shape: &dyn ToInputArray,
matches: &mut Vector<DMatch>
) -> Result<()>
fn estimate_transformation(
&mut self,
transforming_shape: &dyn ToInputArray,
target_shape: &dyn ToInputArray,
matches: &mut Vector<DMatch>
) -> Result<()>
Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more
source§fn apply_transformation(
&mut self,
input: &dyn ToInputArray,
output: &mut dyn ToOutputArray
) -> Result<f32>
fn apply_transformation(
&mut self,
input: &dyn ToInputArray,
output: &mut dyn ToOutputArray
) -> Result<f32>
Apply a transformation, given a pre-estimated transformation parameters. Read more
source§impl ShapeTransformer for Ptr<dyn ShapeTransformer>
impl ShapeTransformer for Ptr<dyn ShapeTransformer>
fn as_raw_mut_ShapeTransformer(&mut self) -> *mut c_void
source§fn estimate_transformation(
&mut self,
transforming_shape: &dyn ToInputArray,
target_shape: &dyn ToInputArray,
matches: &mut Vector<DMatch>
) -> Result<()>
fn estimate_transformation(
&mut self,
transforming_shape: &dyn ToInputArray,
target_shape: &dyn ToInputArray,
matches: &mut Vector<DMatch>
) -> Result<()>
Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more
source§fn apply_transformation(
&mut self,
input: &dyn ToInputArray,
output: &mut dyn ToOutputArray
) -> Result<f32>
fn apply_transformation(
&mut self,
input: &dyn ToInputArray,
output: &mut dyn ToOutputArray
) -> Result<f32>
Apply a transformation, given a pre-estimated transformation parameters. Read more
source§impl ShapeTransformer for Ptr<dyn ThinPlateSplineShapeTransformer>
impl ShapeTransformer for Ptr<dyn ThinPlateSplineShapeTransformer>
fn as_raw_mut_ShapeTransformer(&mut self) -> *mut c_void
source§fn estimate_transformation(
&mut self,
transforming_shape: &dyn ToInputArray,
target_shape: &dyn ToInputArray,
matches: &mut Vector<DMatch>
) -> Result<()>
fn estimate_transformation(
&mut self,
transforming_shape: &dyn ToInputArray,
target_shape: &dyn ToInputArray,
matches: &mut Vector<DMatch>
) -> Result<()>
Estimate the transformation parameters of the current transformer algorithm, based on point matches. Read more
source§fn apply_transformation(
&mut self,
input: &dyn ToInputArray,
output: &mut dyn ToOutputArray
) -> Result<f32>
fn apply_transformation(
&mut self,
input: &dyn ToInputArray,
output: &mut dyn ToOutputArray
) -> Result<f32>
Apply a transformation, given a pre-estimated transformation parameters. Read more
source§impl ShapeTransformerConst for Ptr<dyn AffineTransformer>
impl ShapeTransformerConst for Ptr<dyn AffineTransformer>
fn as_raw_ShapeTransformer(&self) -> *const c_void
source§fn warp_image(
&self,
transforming_image: &dyn ToInputArray,
output: &mut dyn ToOutputArray,
flags: i32,
border_mode: i32,
border_value: Scalar
) -> Result<()>
fn warp_image(
&self,
transforming_image: &dyn ToInputArray,
output: &mut dyn ToOutputArray,
flags: i32,
border_mode: i32,
border_value: Scalar
) -> Result<()>
Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
source§impl ShapeTransformerConst for Ptr<dyn ShapeTransformer>
impl ShapeTransformerConst for Ptr<dyn ShapeTransformer>
fn as_raw_ShapeTransformer(&self) -> *const c_void
source§fn warp_image(
&self,
transforming_image: &dyn ToInputArray,
output: &mut dyn ToOutputArray,
flags: i32,
border_mode: i32,
border_value: Scalar
) -> Result<()>
fn warp_image(
&self,
transforming_image: &dyn ToInputArray,
output: &mut dyn ToOutputArray,
flags: i32,
border_mode: i32,
border_value: Scalar
) -> Result<()>
Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
source§impl ShapeTransformerConst for Ptr<dyn ThinPlateSplineShapeTransformer>
impl ShapeTransformerConst for Ptr<dyn ThinPlateSplineShapeTransformer>
fn as_raw_ShapeTransformer(&self) -> *const c_void
source§fn warp_image(
&self,
transforming_image: &dyn ToInputArray,
output: &mut dyn ToOutputArray,
flags: i32,
border_mode: i32,
border_value: Scalar
) -> Result<()>
fn warp_image(
&self,
transforming_image: &dyn ToInputArray,
output: &mut dyn ToOutputArray,
flags: i32,
border_mode: i32,
border_value: Scalar
) -> Result<()>
Apply a transformation, given a pre-estimated transformation parameters, to an Image. Read more
source§impl ShrinkLayerTrait for Ptr<ShrinkLayer>
impl ShrinkLayerTrait for Ptr<ShrinkLayer>
source§impl ShrinkLayerTraitConst for Ptr<ShrinkLayer>
impl ShrinkLayerTraitConst for Ptr<ShrinkLayer>
source§impl SigmoidLayerTrait for Ptr<SigmoidLayer>
impl SigmoidLayerTrait for Ptr<SigmoidLayer>
fn as_raw_mut_SigmoidLayer(&mut self) -> *mut c_void
source§impl SigmoidLayerTraitConst for Ptr<SigmoidLayer>
impl SigmoidLayerTraitConst for Ptr<SigmoidLayer>
fn as_raw_SigmoidLayer(&self) -> *const c_void
source§impl SignLayerTrait for Ptr<SignLayer>
impl SignLayerTrait for Ptr<SignLayer>
fn as_raw_mut_SignLayer(&mut self) -> *mut c_void
source§impl SignLayerTraitConst for Ptr<SignLayer>
impl SignLayerTraitConst for Ptr<SignLayer>
fn as_raw_SignLayer(&self) -> *const c_void
source§impl SimpleBlobDetectorTrait for Ptr<SimpleBlobDetector>
impl SimpleBlobDetectorTrait for Ptr<SimpleBlobDetector>
fn as_raw_mut_SimpleBlobDetector(&mut self) -> *mut c_void
source§impl SimpleBlobDetectorTraitConst for Ptr<SimpleBlobDetector>
impl SimpleBlobDetectorTraitConst for Ptr<SimpleBlobDetector>
fn as_raw_SimpleBlobDetector(&self) -> *const c_void
fn get_default_name(&self) -> Result<String>
source§impl SimpleWB for Ptr<dyn SimpleWB>
impl SimpleWB for Ptr<dyn SimpleWB>
source§impl SimpleWBConst for Ptr<dyn SimpleWB>
impl SimpleWBConst for Ptr<dyn SimpleWB>
fn as_raw_SimpleWB(&self) -> *const c_void
source§impl SinLayerTrait for Ptr<SinLayer>
impl SinLayerTrait for Ptr<SinLayer>
fn as_raw_mut_SinLayer(&mut self) -> *mut c_void
source§impl SinLayerTraitConst for Ptr<SinLayer>
impl SinLayerTraitConst for Ptr<SinLayer>
fn as_raw_SinLayer(&self) -> *const c_void
source§impl SinhLayerTrait for Ptr<SinhLayer>
impl SinhLayerTrait for Ptr<SinhLayer>
fn as_raw_mut_SinhLayer(&mut self) -> *mut c_void
source§impl SinhLayerTraitConst for Ptr<SinhLayer>
impl SinhLayerTraitConst for Ptr<SinhLayer>
fn as_raw_SinhLayer(&self) -> *const c_void
source§impl SinusoidalPattern for Ptr<dyn SinusoidalPattern>
impl SinusoidalPattern for Ptr<dyn SinusoidalPattern>
fn as_raw_mut_SinusoidalPattern(&mut self) -> *mut c_void
source§fn compute_phase_map(
&mut self,
pattern_images: &dyn ToInputArray,
wrapped_phase_map: &mut dyn ToOutputArray,
shadow_mask: &mut dyn ToOutputArray,
fundamental: &dyn ToInputArray
) -> Result<()>
fn compute_phase_map(
&mut self,
pattern_images: &dyn ToInputArray,
wrapped_phase_map: &mut dyn ToOutputArray,
shadow_mask: &mut dyn ToOutputArray,
fundamental: &dyn ToInputArray
) -> Result<()>
Compute a wrapped phase map from sinusoidal patterns. Read more
source§fn unwrap_phase_map(
&mut self,
wrapped_phase_map: &dyn ToInputArray,
unwrapped_phase_map: &mut dyn ToOutputArray,
cam_size: Size,
shadow_mask: &dyn ToInputArray
) -> Result<()>
fn unwrap_phase_map(
&mut self,
wrapped_phase_map: &dyn ToInputArray,
unwrapped_phase_map: &mut dyn ToOutputArray,
cam_size: Size,
shadow_mask: &dyn ToInputArray
) -> Result<()>
Unwrap the wrapped phase map to remove phase ambiguities. Read more
source§fn find_pro_cam_matches(
&mut self,
proj_unwrapped_phase_map: &dyn ToInputArray,
cam_unwrapped_phase_map: &dyn ToInputArray,
matches: &mut dyn ToOutputArray
) -> Result<()>
fn find_pro_cam_matches(
&mut self,
proj_unwrapped_phase_map: &dyn ToInputArray,
cam_unwrapped_phase_map: &dyn ToInputArray,
matches: &mut dyn ToOutputArray
) -> Result<()>
Find correspondences between the two devices thanks to unwrapped phase maps. Read more
source§fn compute_data_modulation_term(
&mut self,
pattern_images: &dyn ToInputArray,
data_modulation_term: &mut dyn ToOutputArray,
shadow_mask: &dyn ToInputArray
) -> Result<()>
fn compute_data_modulation_term(
&mut self,
pattern_images: &dyn ToInputArray,
data_modulation_term: &mut dyn ToOutputArray,
shadow_mask: &dyn ToInputArray
) -> Result<()>
compute the data modulation term. Read more
source§impl SinusoidalPatternConst for Ptr<dyn SinusoidalPattern>
impl SinusoidalPatternConst for Ptr<dyn SinusoidalPattern>
fn as_raw_SinusoidalPattern(&self) -> *const c_void
source§impl SinusoidalPattern_ParamsTrait for Ptr<SinusoidalPattern_Params>
impl SinusoidalPattern_ParamsTrait for Ptr<SinusoidalPattern_Params>
fn as_raw_mut_SinusoidalPattern_Params(&mut self) -> *mut c_void
fn set_width(&mut self, val: i32)
fn set_height(&mut self, val: i32)
fn set_nbr_of_periods(&mut self, val: i32)
fn set_shift_value(&mut self, val: f32)
fn set_method_id(&mut self, val: i32)
fn set_nbr_of_pixels_between_markers(&mut self, val: i32)
fn set_horizontal(&mut self, val: bool)
fn set_set_markers(&mut self, val: bool)
fn set_markers_location(&mut self, val: Vector<Point2f>)
source§impl SinusoidalPattern_ParamsTraitConst for Ptr<SinusoidalPattern_Params>
impl SinusoidalPattern_ParamsTraitConst for Ptr<SinusoidalPattern_Params>
fn as_raw_SinusoidalPattern_Params(&self) -> *const c_void
fn width(&self) -> i32
fn height(&self) -> i32
fn nbr_of_periods(&self) -> i32
fn shift_value(&self) -> f32
fn method_id(&self) -> i32
fn nbr_of_pixels_between_markers(&self) -> i32
fn horizontal(&self) -> bool
fn set_markers(&self) -> bool
fn markers_location(&self) -> Vector<Point2f>
source§impl SliceLayerTrait for Ptr<SliceLayer>
impl SliceLayerTrait for Ptr<SliceLayer>
source§impl SliceLayerTraitConst for Ptr<SliceLayer>
impl SliceLayerTraitConst for Ptr<SliceLayer>
source§impl SoftmaxLayerInt8Trait for Ptr<SoftmaxLayerInt8>
impl SoftmaxLayerInt8Trait for Ptr<SoftmaxLayerInt8>
fn as_raw_mut_SoftmaxLayerInt8(&mut self) -> *mut c_void
fn set_output_sc(&mut self, val: f32)
fn set_output_zp(&mut self, val: i32)
source§impl SoftmaxLayerTrait for Ptr<SoftmaxLayer>
impl SoftmaxLayerTrait for Ptr<SoftmaxLayer>
fn as_raw_mut_SoftmaxLayer(&mut self) -> *mut c_void
fn set_log_soft_max(&mut self, val: bool)
source§impl SoftmaxLayerTrait for Ptr<SoftmaxLayerInt8>
impl SoftmaxLayerTrait for Ptr<SoftmaxLayerInt8>
fn as_raw_mut_SoftmaxLayer(&mut self) -> *mut c_void
fn set_log_soft_max(&mut self, val: bool)
source§impl SoftmaxLayerTraitConst for Ptr<SoftmaxLayer>
impl SoftmaxLayerTraitConst for Ptr<SoftmaxLayer>
fn as_raw_SoftmaxLayer(&self) -> *const c_void
fn log_soft_max(&self) -> bool
source§impl SoftmaxLayerTraitConst for Ptr<SoftmaxLayerInt8>
impl SoftmaxLayerTraitConst for Ptr<SoftmaxLayerInt8>
fn as_raw_SoftmaxLayer(&self) -> *const c_void
fn log_soft_max(&self) -> bool
source§impl SoftplusLayerTrait for Ptr<SoftplusLayer>
impl SoftplusLayerTrait for Ptr<SoftplusLayer>
fn as_raw_mut_SoftplusLayer(&mut self) -> *mut c_void
source§impl SoftplusLayerTraitConst for Ptr<SoftplusLayer>
impl SoftplusLayerTraitConst for Ptr<SoftplusLayer>
fn as_raw_SoftplusLayer(&self) -> *const c_void
source§impl SoftsignLayerTrait for Ptr<SoftsignLayer>
impl SoftsignLayerTrait for Ptr<SoftsignLayer>
fn as_raw_mut_SoftsignLayer(&mut self) -> *mut c_void
source§impl SoftsignLayerTraitConst for Ptr<SoftsignLayer>
impl SoftsignLayerTraitConst for Ptr<SoftsignLayer>
fn as_raw_SoftsignLayer(&self) -> *const c_void
source§impl SparseMatchInterpolator for Ptr<dyn EdgeAwareInterpolator>
impl SparseMatchInterpolator for Ptr<dyn EdgeAwareInterpolator>
fn as_raw_mut_SparseMatchInterpolator(&mut self) -> *mut c_void
source§fn interpolate(
&mut self,
from_image: &dyn ToInputArray,
from_points: &dyn ToInputArray,
to_image: &dyn ToInputArray,
to_points: &dyn ToInputArray,
dense_flow: &mut dyn ToOutputArray
) -> Result<()>
fn interpolate(
&mut self,
from_image: &dyn ToInputArray,
from_points: &dyn ToInputArray,
to_image: &dyn ToInputArray,
to_points: &dyn ToInputArray,
dense_flow: &mut dyn ToOutputArray
) -> Result<()>
Interpolate input sparse matches. Read more
source§impl SparseMatchInterpolator for Ptr<dyn RICInterpolator>
impl SparseMatchInterpolator for Ptr<dyn RICInterpolator>
fn as_raw_mut_SparseMatchInterpolator(&mut self) -> *mut c_void
source§fn interpolate(
&mut self,
from_image: &dyn ToInputArray,
from_points: &dyn ToInputArray,
to_image: &dyn ToInputArray,
to_points: &dyn ToInputArray,
dense_flow: &mut dyn ToOutputArray
) -> Result<()>
fn interpolate(
&mut self,
from_image: &dyn ToInputArray,
from_points: &dyn ToInputArray,
to_image: &dyn ToInputArray,
to_points: &dyn ToInputArray,
dense_flow: &mut dyn ToOutputArray
) -> Result<()>
Interpolate input sparse matches. Read more
source§impl SparseMatchInterpolatorConst for Ptr<dyn EdgeAwareInterpolator>
impl SparseMatchInterpolatorConst for Ptr<dyn EdgeAwareInterpolator>
fn as_raw_SparseMatchInterpolator(&self) -> *const c_void
source§impl SparseMatchInterpolatorConst for Ptr<dyn RICInterpolator>
impl SparseMatchInterpolatorConst for Ptr<dyn RICInterpolator>
fn as_raw_SparseMatchInterpolator(&self) -> *const c_void
source§impl SparseOpticalFlow for Ptr<dyn SparseOpticalFlow>
impl SparseOpticalFlow for Ptr<dyn SparseOpticalFlow>
fn as_raw_mut_SparseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
prev_img: &dyn ToInputArray,
next_img: &dyn ToInputArray,
prev_pts: &dyn ToInputArray,
next_pts: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
err: &mut dyn ToOutputArray
) -> Result<()>
fn calc(
&mut self,
prev_img: &dyn ToInputArray,
next_img: &dyn ToInputArray,
prev_pts: &dyn ToInputArray,
next_pts: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
err: &mut dyn ToOutputArray
) -> Result<()>
Calculates a sparse optical flow. Read more
source§impl SparseOpticalFlow for Ptr<dyn SparsePyrLKOpticalFlow>
impl SparseOpticalFlow for Ptr<dyn SparsePyrLKOpticalFlow>
fn as_raw_mut_SparseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
prev_img: &dyn ToInputArray,
next_img: &dyn ToInputArray,
prev_pts: &dyn ToInputArray,
next_pts: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
err: &mut dyn ToOutputArray
) -> Result<()>
fn calc(
&mut self,
prev_img: &dyn ToInputArray,
next_img: &dyn ToInputArray,
prev_pts: &dyn ToInputArray,
next_pts: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
err: &mut dyn ToOutputArray
) -> Result<()>
Calculates a sparse optical flow. Read more
source§impl SparseOpticalFlow for Ptr<dyn SparseRLOFOpticalFlow>
impl SparseOpticalFlow for Ptr<dyn SparseRLOFOpticalFlow>
fn as_raw_mut_SparseOpticalFlow(&mut self) -> *mut c_void
source§fn calc(
&mut self,
prev_img: &dyn ToInputArray,
next_img: &dyn ToInputArray,
prev_pts: &dyn ToInputArray,
next_pts: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
err: &mut dyn ToOutputArray
) -> Result<()>
fn calc(
&mut self,
prev_img: &dyn ToInputArray,
next_img: &dyn ToInputArray,
prev_pts: &dyn ToInputArray,
next_pts: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
err: &mut dyn ToOutputArray
) -> Result<()>
Calculates a sparse optical flow. Read more
source§impl SparseOpticalFlowConst for Ptr<dyn SparseOpticalFlow>
impl SparseOpticalFlowConst for Ptr<dyn SparseOpticalFlow>
fn as_raw_SparseOpticalFlow(&self) -> *const c_void
source§impl SparseOpticalFlowConst for Ptr<dyn SparsePyrLKOpticalFlow>
impl SparseOpticalFlowConst for Ptr<dyn SparsePyrLKOpticalFlow>
fn as_raw_SparseOpticalFlow(&self) -> *const c_void
source§impl SparseOpticalFlowConst for Ptr<dyn SparseRLOFOpticalFlow>
impl SparseOpticalFlowConst for Ptr<dyn SparseRLOFOpticalFlow>
fn as_raw_SparseOpticalFlow(&self) -> *const c_void
source§impl SparsePyrLKOpticalFlow for Ptr<dyn SparsePyrLKOpticalFlow>
impl SparsePyrLKOpticalFlow for Ptr<dyn SparsePyrLKOpticalFlow>
fn as_raw_mut_SparsePyrLKOpticalFlow(&mut self) -> *mut c_void
fn set_win_size(&mut self, win_size: Size) -> Result<()>
fn set_max_level(&mut self, max_level: i32) -> Result<()>
fn set_term_criteria(&mut self, crit: &mut TermCriteria) -> Result<()>
fn set_flags(&mut self, flags: i32) -> Result<()>
fn set_min_eig_threshold(&mut self, min_eig_threshold: f64) -> Result<()>
source§impl SparsePyrLKOpticalFlowConst for Ptr<dyn SparsePyrLKOpticalFlow>
impl SparsePyrLKOpticalFlowConst for Ptr<dyn SparsePyrLKOpticalFlow>
fn as_raw_SparsePyrLKOpticalFlow(&self) -> *const c_void
fn get_win_size(&self) -> Result<Size>
fn get_max_level(&self) -> Result<i32>
fn get_term_criteria(&self) -> Result<TermCriteria>
fn get_flags(&self) -> Result<i32>
fn get_min_eig_threshold(&self) -> Result<f64>
source§impl SparsePyrLkOptFlowEstimatorGpuTrait for Ptr<SparsePyrLkOptFlowEstimatorGpu>
impl SparsePyrLkOptFlowEstimatorGpuTrait for Ptr<SparsePyrLkOptFlowEstimatorGpu>
fn as_raw_mut_SparsePyrLkOptFlowEstimatorGpu(&mut self) -> *mut c_void
fn run(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
points0: &dyn ToInputArray,
points1: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
errors: &mut dyn ToOutputArray
) -> Result<()>
fn run_1(
&mut self,
frame0: &GpuMat,
frame1: &GpuMat,
points0: &GpuMat,
points1: &mut GpuMat,
status: &mut GpuMat,
errors: &mut GpuMat
) -> Result<()>
fn run_2(
&mut self,
frame0: &GpuMat,
frame1: &GpuMat,
points0: &GpuMat,
points1: &mut GpuMat,
status: &mut GpuMat
) -> Result<()>
source§impl SparsePyrLkOptFlowEstimatorGpuTraitConst for Ptr<SparsePyrLkOptFlowEstimatorGpu>
impl SparsePyrLkOptFlowEstimatorGpuTraitConst for Ptr<SparsePyrLkOptFlowEstimatorGpu>
fn as_raw_SparsePyrLkOptFlowEstimatorGpu(&self) -> *const c_void
source§impl SparsePyrLkOptFlowEstimatorTrait for Ptr<SparsePyrLkOptFlowEstimator>
impl SparsePyrLkOptFlowEstimatorTrait for Ptr<SparsePyrLkOptFlowEstimator>
fn as_raw_mut_SparsePyrLkOptFlowEstimator(&mut self) -> *mut c_void
fn run(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
points0: &dyn ToInputArray,
points1: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
errors: &mut dyn ToOutputArray
) -> Result<()>
source§impl SparsePyrLkOptFlowEstimatorTraitConst for Ptr<SparsePyrLkOptFlowEstimator>
impl SparsePyrLkOptFlowEstimatorTraitConst for Ptr<SparsePyrLkOptFlowEstimator>
fn as_raw_SparsePyrLkOptFlowEstimator(&self) -> *const c_void
source§impl SparseRLOFOpticalFlow for Ptr<dyn SparseRLOFOpticalFlow>
impl SparseRLOFOpticalFlow for Ptr<dyn SparseRLOFOpticalFlow>
fn as_raw_mut_SparseRLOFOpticalFlow(&mut self) -> *mut c_void
source§fn set_rlof_optical_flow_parameter(
&mut self,
val: Ptr<RLOFOpticalFlowParameter>
) -> Result<()>
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<()>
fn set_forward_backward(&mut self, val: f32) -> Result<()>
Threshold for the forward backward confidence check
For each feature point a motion vector inline formula is computed.
* If the forward backward error block formula
* is larger than threshold given by this function then the status will not be used by the following
* vector field interpolation. inline formula denotes the backward flow. Note, the forward backward test
* will only be applied if the threshold > 0. This may results into a doubled runtime for the motion estimation.
* see also: setForwardBackward Read more
source§impl SparseRLOFOpticalFlowConst for Ptr<dyn SparseRLOFOpticalFlow>
impl SparseRLOFOpticalFlowConst for Ptr<dyn SparseRLOFOpticalFlow>
fn as_raw_SparseRLOFOpticalFlow(&self) -> *const c_void
source§fn get_rlof_optical_flow_parameter(
&self
) -> Result<Ptr<RLOFOpticalFlowParameter>>
fn get_rlof_optical_flow_parameter(
&self
) -> Result<Ptr<RLOFOpticalFlowParameter>>
@copydoc DenseRLOFOpticalFlow::setRLOFOpticalFlowParameter Read more
source§fn get_forward_backward(&self) -> Result<f32>
fn get_forward_backward(&self) -> Result<f32>
Threshold for the forward backward confidence check
For each feature point a motion vector inline formula is computed.
* If the forward backward error block formula
* is larger than threshold given by this function then the status will not be used by the following
* vector field interpolation. inline formula denotes the backward flow. Note, the forward backward test
* will only be applied if the threshold > 0. This may results into a doubled runtime for the motion estimation.
* see also: setForwardBackward
* see also: setForwardBackward Read more
source§impl SphericalWarperGpuTrait for Ptr<SphericalWarperGpu>
impl SphericalWarperGpuTrait for Ptr<SphericalWarperGpu>
fn as_raw_mut_SphericalWarperGpu(&mut self) -> *mut c_void
source§impl SphericalWarperTrait for Ptr<SphericalWarper>
impl SphericalWarperTrait for Ptr<SphericalWarper>
fn as_raw_mut_SphericalWarper(&mut self) -> *mut c_void
source§impl SplitLayerTrait for Ptr<SplitLayer>
impl SplitLayerTrait for Ptr<SplitLayer>
fn as_raw_mut_SplitLayer(&mut self) -> *mut c_void
source§fn set_outputs_count(&mut self, val: i32)
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>
impl SplitLayerTraitConst for Ptr<SplitLayer>
fn as_raw_SplitLayer(&self) -> *const c_void
source§fn outputs_count(&self) -> i32
fn outputs_count(&self) -> i32
Number of copies that will be produced (is ignored when negative).
source§impl SqrtLayerTrait for Ptr<SqrtLayer>
impl SqrtLayerTrait for Ptr<SqrtLayer>
fn as_raw_mut_SqrtLayer(&mut self) -> *mut c_void
source§impl SqrtLayerTraitConst for Ptr<SqrtLayer>
impl SqrtLayerTraitConst for Ptr<SqrtLayer>
fn as_raw_SqrtLayer(&self) -> *const c_void
source§impl StabilizerBase for Ptr<OnePassStabilizer>
impl StabilizerBase for Ptr<OnePassStabilizer>
fn as_raw_mut_StabilizerBase(&mut self) -> *mut c_void
fn set_log(&mut self, ilog: Ptr<dyn ILog>) -> Result<()>
fn set_radius(&mut self, val: i32) -> Result<()>
fn set_frame_source(&mut self, val: Ptr<dyn IFrameSource>) -> Result<()>
fn set_mask_source(&mut self, val: &Ptr<dyn IFrameSource>) -> Result<()>
fn set_motion_estimator(
&mut self,
val: Ptr<dyn ImageMotionEstimatorBase>
) -> Result<()>
fn set_deblurer(&mut self, val: Ptr<dyn DeblurerBase>) -> Result<()>
fn set_trim_ratio(&mut self, val: f32) -> Result<()>
fn set_correction_for_inclusion(&mut self, val: bool) -> Result<()>
fn set_border_mode(&mut self, val: i32) -> Result<()>
fn set_inpainter(&mut self, val: Ptr<dyn InpainterBase>) -> Result<()>
source§impl StabilizerBase for Ptr<TwoPassStabilizer>
impl StabilizerBase for Ptr<TwoPassStabilizer>
fn as_raw_mut_StabilizerBase(&mut self) -> *mut c_void
fn set_log(&mut self, ilog: Ptr<dyn ILog>) -> Result<()>
fn set_radius(&mut self, val: i32) -> Result<()>
fn set_frame_source(&mut self, val: Ptr<dyn IFrameSource>) -> Result<()>
fn set_mask_source(&mut self, val: &Ptr<dyn IFrameSource>) -> Result<()>
fn set_motion_estimator(
&mut self,
val: Ptr<dyn ImageMotionEstimatorBase>
) -> Result<()>
fn set_deblurer(&mut self, val: Ptr<dyn DeblurerBase>) -> Result<()>
fn set_trim_ratio(&mut self, val: f32) -> Result<()>
fn set_correction_for_inclusion(&mut self, val: bool) -> Result<()>
fn set_border_mode(&mut self, val: i32) -> Result<()>
fn set_inpainter(&mut self, val: Ptr<dyn InpainterBase>) -> Result<()>
source§impl StabilizerBaseConst for Ptr<OnePassStabilizer>
impl StabilizerBaseConst for Ptr<OnePassStabilizer>
fn as_raw_StabilizerBase(&self) -> *const c_void
fn log(&self) -> Result<Ptr<dyn ILog>>
fn radius(&self) -> Result<i32>
fn frame_source(&self) -> Result<Ptr<dyn IFrameSource>>
fn mask_source(&self) -> Result<Ptr<dyn IFrameSource>>
fn motion_estimator(&self) -> Result<Ptr<dyn ImageMotionEstimatorBase>>
fn deblurrer(&self) -> Result<Ptr<dyn DeblurerBase>>
fn trim_ratio(&self) -> Result<f32>
fn do_correction_for_inclusion(&self) -> Result<bool>
fn border_mode(&self) -> Result<i32>
fn inpainter(&self) -> Result<Ptr<dyn InpainterBase>>
source§impl StabilizerBaseConst for Ptr<TwoPassStabilizer>
impl StabilizerBaseConst for Ptr<TwoPassStabilizer>
fn as_raw_StabilizerBase(&self) -> *const c_void
fn log(&self) -> Result<Ptr<dyn ILog>>
fn radius(&self) -> Result<i32>
fn frame_source(&self) -> Result<Ptr<dyn IFrameSource>>
fn mask_source(&self) -> Result<Ptr<dyn IFrameSource>>
fn motion_estimator(&self) -> Result<Ptr<dyn ImageMotionEstimatorBase>>
fn deblurrer(&self) -> Result<Ptr<dyn DeblurerBase>>
fn trim_ratio(&self) -> Result<f32>
fn do_correction_for_inclusion(&self) -> Result<bool>
fn border_mode(&self) -> Result<i32>
fn inpainter(&self) -> Result<Ptr<dyn InpainterBase>>
source§impl StandardCollectorTraitConst for Ptr<StandardCollector>
impl StandardCollectorTraitConst for Ptr<StandardCollector>
fn as_raw_StandardCollector(&self) -> *const c_void
source§fn get_min_label(&self) -> Result<i32>
fn get_min_label(&self) -> Result<i32>
Returns label with minimal distance
source§fn get_min_dist(&self) -> Result<f64>
fn get_min_dist(&self) -> Result<f64>
Returns minimal distance value
source§impl StarDetectorTrait for Ptr<StarDetector>
impl StarDetectorTrait for Ptr<StarDetector>
fn as_raw_mut_StarDetector(&mut self) -> *mut c_void
source§impl StarDetectorTraitConst for Ptr<StarDetector>
impl StarDetectorTraitConst for Ptr<StarDetector>
fn as_raw_StarDetector(&self) -> *const c_void
source§impl StatModel for Ptr<dyn ANN_MLP>
impl StatModel for Ptr<dyn ANN_MLP>
fn as_raw_mut_StatModel(&mut self) -> *mut c_void
source§fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
Trains the statistical model Read more
source§fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
Trains the statistical model Read more
source§impl StatModel for Ptr<dyn Boost>
impl StatModel for Ptr<dyn Boost>
fn as_raw_mut_StatModel(&mut self) -> *mut c_void
source§fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
Trains the statistical model Read more
source§fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
Trains the statistical model Read more
source§impl StatModel for Ptr<dyn DTrees>
impl StatModel for Ptr<dyn DTrees>
fn as_raw_mut_StatModel(&mut self) -> *mut c_void
source§fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
Trains the statistical model Read more
source§fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
Trains the statistical model Read more
source§impl StatModel for Ptr<dyn EM>
impl StatModel for Ptr<dyn EM>
fn as_raw_mut_StatModel(&mut self) -> *mut c_void
source§fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
Trains the statistical model Read more
source§fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
Trains the statistical model Read more
source§impl StatModel for Ptr<dyn KNearest>
impl StatModel for Ptr<dyn KNearest>
fn as_raw_mut_StatModel(&mut self) -> *mut c_void
source§fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
Trains the statistical model Read more
source§fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
Trains the statistical model Read more
source§impl StatModel for Ptr<dyn LogisticRegression>
impl StatModel for Ptr<dyn LogisticRegression>
fn as_raw_mut_StatModel(&mut self) -> *mut c_void
source§fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
Trains the statistical model Read more
source§fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
Trains the statistical model Read more
source§impl StatModel for Ptr<dyn NormalBayesClassifier>
impl StatModel for Ptr<dyn NormalBayesClassifier>
fn as_raw_mut_StatModel(&mut self) -> *mut c_void
source§fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
Trains the statistical model Read more
source§fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
Trains the statistical model Read more
source§impl StatModel for Ptr<dyn RTrees>
impl StatModel for Ptr<dyn RTrees>
fn as_raw_mut_StatModel(&mut self) -> *mut c_void
source§fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
Trains the statistical model Read more
source§fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
Trains the statistical model Read more
source§impl StatModel for Ptr<dyn SVM>
impl StatModel for Ptr<dyn SVM>
fn as_raw_mut_StatModel(&mut self) -> *mut c_void
source§fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
Trains the statistical model Read more
source§fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
Trains the statistical model Read more
source§impl StatModel for Ptr<dyn SVMSGD>
impl StatModel for Ptr<dyn SVMSGD>
fn as_raw_mut_StatModel(&mut self) -> *mut c_void
source§fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
fn train_with_data(
&mut self,
train_data: &Ptr<dyn TrainData>,
flags: i32
) -> Result<bool>
Trains the statistical model Read more
source§fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
fn train(
&mut self,
samples: &dyn ToInputArray,
layout: i32,
responses: &dyn ToInputArray
) -> Result<bool>
Trains the statistical model Read more
source§impl StatModelConst for Ptr<dyn ANN_MLP>
impl StatModelConst for Ptr<dyn ANN_MLP>
fn as_raw_StatModel(&self) -> *const c_void
source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
source§fn is_classifier(&self) -> Result<bool>
fn is_classifier(&self) -> Result<bool>
Returns true if the model is classifier
source§fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
Computes error on the training or test dataset Read more
source§fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
source§impl StatModelConst for Ptr<dyn Boost>
impl StatModelConst for Ptr<dyn Boost>
fn as_raw_StatModel(&self) -> *const c_void
source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
source§fn is_classifier(&self) -> Result<bool>
fn is_classifier(&self) -> Result<bool>
Returns true if the model is classifier
source§fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
Computes error on the training or test dataset Read more
source§fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
source§impl StatModelConst for Ptr<dyn DTrees>
impl StatModelConst for Ptr<dyn DTrees>
fn as_raw_StatModel(&self) -> *const c_void
source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
source§fn is_classifier(&self) -> Result<bool>
fn is_classifier(&self) -> Result<bool>
Returns true if the model is classifier
source§fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
Computes error on the training or test dataset Read more
source§fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
source§impl StatModelConst for Ptr<dyn EM>
impl StatModelConst for Ptr<dyn EM>
fn as_raw_StatModel(&self) -> *const c_void
source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
source§fn is_classifier(&self) -> Result<bool>
fn is_classifier(&self) -> Result<bool>
Returns true if the model is classifier
source§fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
Computes error on the training or test dataset Read more
source§fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
source§impl StatModelConst for Ptr<dyn KNearest>
impl StatModelConst for Ptr<dyn KNearest>
fn as_raw_StatModel(&self) -> *const c_void
source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
source§fn is_classifier(&self) -> Result<bool>
fn is_classifier(&self) -> Result<bool>
Returns true if the model is classifier
source§fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
Computes error on the training or test dataset Read more
source§fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
source§impl StatModelConst for Ptr<dyn LogisticRegression>
impl StatModelConst for Ptr<dyn LogisticRegression>
fn as_raw_StatModel(&self) -> *const c_void
source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
source§fn is_classifier(&self) -> Result<bool>
fn is_classifier(&self) -> Result<bool>
Returns true if the model is classifier
source§fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
Computes error on the training or test dataset Read more
source§fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
source§impl StatModelConst for Ptr<dyn NormalBayesClassifier>
impl StatModelConst for Ptr<dyn NormalBayesClassifier>
fn as_raw_StatModel(&self) -> *const c_void
source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
source§fn is_classifier(&self) -> Result<bool>
fn is_classifier(&self) -> Result<bool>
Returns true if the model is classifier
source§fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
Computes error on the training or test dataset Read more
source§fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
source§impl StatModelConst for Ptr<dyn RTrees>
impl StatModelConst for Ptr<dyn RTrees>
fn as_raw_StatModel(&self) -> *const c_void
source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
source§fn is_classifier(&self) -> Result<bool>
fn is_classifier(&self) -> Result<bool>
Returns true if the model is classifier
source§fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
Computes error on the training or test dataset Read more
source§fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
source§impl StatModelConst for Ptr<dyn SVM>
impl StatModelConst for Ptr<dyn SVM>
fn as_raw_StatModel(&self) -> *const c_void
source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
source§fn is_classifier(&self) -> Result<bool>
fn is_classifier(&self) -> Result<bool>
Returns true if the model is classifier
source§fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
Computes error on the training or test dataset Read more
source§fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
source§impl StatModelConst for Ptr<dyn SVMSGD>
impl StatModelConst for Ptr<dyn SVMSGD>
fn as_raw_StatModel(&self) -> *const c_void
source§fn get_var_count(&self) -> Result<i32>
fn get_var_count(&self) -> Result<i32>
Returns the number of variables in training samples
fn empty(&self) -> Result<bool>
source§fn is_trained(&self) -> Result<bool>
fn is_trained(&self) -> Result<bool>
Returns true if the model is trained
source§fn is_classifier(&self) -> Result<bool>
fn is_classifier(&self) -> Result<bool>
Returns true if the model is classifier
source§fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
fn calc_error(
&self,
data: &Ptr<dyn TrainData>,
test: bool,
resp: &mut dyn ToOutputArray
) -> Result<f32>
Computes error on the training or test dataset Read more
source§fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
fn predict(
&self,
samples: &dyn ToInputArray,
results: &mut dyn ToOutputArray,
flags: i32
) -> Result<f32>
Predicts response(s) for the provided sample(s) Read more
source§impl StaticSaliency for Ptr<StaticSaliencyFineGrained>
impl StaticSaliency for Ptr<StaticSaliencyFineGrained>
fn as_raw_mut_StaticSaliency(&mut self) -> *mut c_void
source§fn compute_binary_map(
&mut self,
_saliency_map: &dyn ToInputArray,
_binary_map: &mut dyn ToOutputArray
) -> Result<bool>
fn compute_binary_map(
&mut self,
_saliency_map: &dyn ToInputArray,
_binary_map: &mut dyn ToOutputArray
) -> Result<bool>
This function perform a binary map of given saliency map. This is obtained in this
way: Read more
source§impl StaticSaliency for Ptr<StaticSaliencySpectralResidual>
impl StaticSaliency for Ptr<StaticSaliencySpectralResidual>
fn as_raw_mut_StaticSaliency(&mut self) -> *mut c_void
source§fn compute_binary_map(
&mut self,
_saliency_map: &dyn ToInputArray,
_binary_map: &mut dyn ToOutputArray
) -> Result<bool>
fn compute_binary_map(
&mut self,
_saliency_map: &dyn ToInputArray,
_binary_map: &mut dyn ToOutputArray
) -> Result<bool>
This function perform a binary map of given saliency map. This is obtained in this
way: Read more
source§impl StaticSaliencyConst for Ptr<StaticSaliencyFineGrained>
impl StaticSaliencyConst for Ptr<StaticSaliencyFineGrained>
fn as_raw_StaticSaliency(&self) -> *const c_void
source§impl StaticSaliencyConst for Ptr<StaticSaliencySpectralResidual>
impl StaticSaliencyConst for Ptr<StaticSaliencySpectralResidual>
fn as_raw_StaticSaliency(&self) -> *const c_void
source§impl StaticSaliencyFineGrainedTrait for Ptr<StaticSaliencyFineGrained>
impl StaticSaliencyFineGrainedTrait for Ptr<StaticSaliencyFineGrained>
fn as_raw_mut_StaticSaliencyFineGrained(&mut self) -> *mut c_void
fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
source§impl StaticSaliencyFineGrainedTraitConst for Ptr<StaticSaliencyFineGrained>
impl StaticSaliencyFineGrainedTraitConst for Ptr<StaticSaliencyFineGrained>
fn as_raw_StaticSaliencyFineGrained(&self) -> *const c_void
source§impl StaticSaliencySpectralResidualTrait for Ptr<StaticSaliencySpectralResidual>
impl StaticSaliencySpectralResidualTrait for Ptr<StaticSaliencySpectralResidual>
fn as_raw_mut_StaticSaliencySpectralResidual(&mut self) -> *mut c_void
fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
fn read(&mut self, fn_: &FileNode) -> Result<()>
fn set_image_width(&mut self, val: i32) -> Result<()>
fn set_image_height(&mut self, val: i32) -> Result<()>
source§impl StereoBM for Ptr<dyn CUDA_StereoBM>
impl StereoBM for Ptr<dyn CUDA_StereoBM>
fn as_raw_mut_StereoBM(&mut self) -> *mut c_void
fn set_pre_filter_type(&mut self, pre_filter_type: i32) -> Result<()>
fn set_pre_filter_size(&mut self, pre_filter_size: i32) -> Result<()>
fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>
fn set_texture_threshold(&mut self, texture_threshold: i32) -> Result<()>
fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>
fn set_smaller_block_size(&mut self, block_size: i32) -> Result<()>
fn set_roi1(&mut self, roi1: Rect) -> Result<()>
fn set_roi2(&mut self, roi2: Rect) -> Result<()>
source§impl StereoBM for Ptr<dyn StereoBM>
impl StereoBM for Ptr<dyn StereoBM>
fn as_raw_mut_StereoBM(&mut self) -> *mut c_void
fn set_pre_filter_type(&mut self, pre_filter_type: i32) -> Result<()>
fn set_pre_filter_size(&mut self, pre_filter_size: i32) -> Result<()>
fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>
fn set_texture_threshold(&mut self, texture_threshold: i32) -> Result<()>
fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>
fn set_smaller_block_size(&mut self, block_size: i32) -> Result<()>
fn set_roi1(&mut self, roi1: Rect) -> Result<()>
fn set_roi2(&mut self, roi2: Rect) -> Result<()>
source§impl StereoBMConst for Ptr<dyn CUDA_StereoBM>
impl StereoBMConst for Ptr<dyn CUDA_StereoBM>
fn as_raw_StereoBM(&self) -> *const c_void
fn get_pre_filter_type(&self) -> Result<i32>
fn get_pre_filter_size(&self) -> Result<i32>
fn get_pre_filter_cap(&self) -> Result<i32>
fn get_texture_threshold(&self) -> Result<i32>
fn get_uniqueness_ratio(&self) -> Result<i32>
fn get_smaller_block_size(&self) -> Result<i32>
fn get_roi1(&self) -> Result<Rect>
fn get_roi2(&self) -> Result<Rect>
source§impl StereoBMConst for Ptr<dyn StereoBM>
impl StereoBMConst for Ptr<dyn StereoBM>
fn as_raw_StereoBM(&self) -> *const c_void
fn get_pre_filter_type(&self) -> Result<i32>
fn get_pre_filter_size(&self) -> Result<i32>
fn get_pre_filter_cap(&self) -> Result<i32>
fn get_texture_threshold(&self) -> Result<i32>
fn get_uniqueness_ratio(&self) -> Result<i32>
fn get_smaller_block_size(&self) -> Result<i32>
fn get_roi1(&self) -> Result<Rect>
fn get_roi2(&self) -> Result<Rect>
source§impl StereoMatcher for Ptr<dyn CUDA_StereoBM>
impl StereoMatcher for Ptr<dyn CUDA_StereoBM>
fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void
source§fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
Computes disparity map for the specified stereo pair Read more
fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>
fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>
fn set_block_size(&mut self, block_size: i32) -> Result<()>
fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>
fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>
fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>
source§impl StereoMatcher for Ptr<dyn CUDA_StereoBeliefPropagation>
impl StereoMatcher for Ptr<dyn CUDA_StereoBeliefPropagation>
fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void
source§fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
Computes disparity map for the specified stereo pair Read more
fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>
fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>
fn set_block_size(&mut self, block_size: i32) -> Result<()>
fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>
fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>
fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>
source§impl StereoMatcher for Ptr<dyn CUDA_StereoConstantSpaceBP>
impl StereoMatcher for Ptr<dyn CUDA_StereoConstantSpaceBP>
fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void
source§fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
Computes disparity map for the specified stereo pair Read more
fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>
fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>
fn set_block_size(&mut self, block_size: i32) -> Result<()>
fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>
fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>
fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>
source§impl StereoMatcher for Ptr<dyn CUDA_StereoSGM>
impl StereoMatcher for Ptr<dyn CUDA_StereoSGM>
fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void
source§fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
Computes disparity map for the specified stereo pair Read more
fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>
fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>
fn set_block_size(&mut self, block_size: i32) -> Result<()>
fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>
fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>
fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>
source§impl StereoMatcher for Ptr<dyn StereoBM>
impl StereoMatcher for Ptr<dyn StereoBM>
fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void
source§fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
Computes disparity map for the specified stereo pair Read more
fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>
fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>
fn set_block_size(&mut self, block_size: i32) -> Result<()>
fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>
fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>
fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>
source§impl StereoMatcher for Ptr<dyn StereoMatcher>
impl StereoMatcher for Ptr<dyn StereoMatcher>
fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void
source§fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
Computes disparity map for the specified stereo pair Read more
fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>
fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>
fn set_block_size(&mut self, block_size: i32) -> Result<()>
fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>
fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>
fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>
source§impl StereoMatcher for Ptr<dyn StereoSGBM>
impl StereoMatcher for Ptr<dyn StereoSGBM>
fn as_raw_mut_StereoMatcher(&mut self) -> *mut c_void
source§fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
fn compute(
&mut self,
left: &dyn ToInputArray,
right: &dyn ToInputArray,
disparity: &mut dyn ToOutputArray
) -> Result<()>
Computes disparity map for the specified stereo pair Read more
fn set_min_disparity(&mut self, min_disparity: i32) -> Result<()>
fn set_num_disparities(&mut self, num_disparities: i32) -> Result<()>
fn set_block_size(&mut self, block_size: i32) -> Result<()>
fn set_speckle_window_size(&mut self, speckle_window_size: i32) -> Result<()>
fn set_speckle_range(&mut self, speckle_range: i32) -> Result<()>
fn set_disp12_max_diff(&mut self, disp12_max_diff: i32) -> Result<()>
source§impl StereoMatcherConst for Ptr<dyn CUDA_StereoBM>
impl StereoMatcherConst for Ptr<dyn CUDA_StereoBM>
fn as_raw_StereoMatcher(&self) -> *const c_void
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
source§impl StereoMatcherConst for Ptr<dyn CUDA_StereoBeliefPropagation>
impl StereoMatcherConst for Ptr<dyn CUDA_StereoBeliefPropagation>
fn as_raw_StereoMatcher(&self) -> *const c_void
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
source§impl StereoMatcherConst for Ptr<dyn CUDA_StereoConstantSpaceBP>
impl StereoMatcherConst for Ptr<dyn CUDA_StereoConstantSpaceBP>
fn as_raw_StereoMatcher(&self) -> *const c_void
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
source§impl StereoMatcherConst for Ptr<dyn CUDA_StereoSGM>
impl StereoMatcherConst for Ptr<dyn CUDA_StereoSGM>
fn as_raw_StereoMatcher(&self) -> *const c_void
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
source§impl StereoMatcherConst for Ptr<dyn StereoBM>
impl StereoMatcherConst for Ptr<dyn StereoBM>
fn as_raw_StereoMatcher(&self) -> *const c_void
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
source§impl StereoMatcherConst for Ptr<dyn StereoMatcher>
impl StereoMatcherConst for Ptr<dyn StereoMatcher>
fn as_raw_StereoMatcher(&self) -> *const c_void
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
source§impl StereoMatcherConst for Ptr<dyn StereoSGBM>
impl StereoMatcherConst for Ptr<dyn StereoSGBM>
fn as_raw_StereoMatcher(&self) -> *const c_void
fn get_min_disparity(&self) -> Result<i32>
fn get_num_disparities(&self) -> Result<i32>
fn get_block_size(&self) -> Result<i32>
fn get_speckle_window_size(&self) -> Result<i32>
fn get_speckle_range(&self) -> Result<i32>
fn get_disp12_max_diff(&self) -> Result<i32>
source§impl StereoSGBM for Ptr<dyn CUDA_StereoSGM>
impl StereoSGBM for Ptr<dyn CUDA_StereoSGM>
fn as_raw_mut_StereoSGBM(&mut self) -> *mut c_void
fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>
fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>
fn set_p1(&mut self, p1: i32) -> Result<()>
fn set_p2(&mut self, p2: i32) -> Result<()>
fn set_mode(&mut self, mode: i32) -> Result<()>
source§impl StereoSGBM for Ptr<dyn StereoSGBM>
impl StereoSGBM for Ptr<dyn StereoSGBM>
fn as_raw_mut_StereoSGBM(&mut self) -> *mut c_void
fn set_pre_filter_cap(&mut self, pre_filter_cap: i32) -> Result<()>
fn set_uniqueness_ratio(&mut self, uniqueness_ratio: i32) -> Result<()>
fn set_p1(&mut self, p1: i32) -> Result<()>
fn set_p2(&mut self, p2: i32) -> Result<()>
fn set_mode(&mut self, mode: i32) -> Result<()>
source§impl StereoSGBMConst for Ptr<dyn CUDA_StereoSGM>
impl StereoSGBMConst for Ptr<dyn CUDA_StereoSGM>
source§impl StereoSGBMConst for Ptr<dyn StereoSGBM>
impl StereoSGBMConst for Ptr<dyn StereoSGBM>
source§impl StereographicWarperTrait for Ptr<StereographicWarper>
impl StereographicWarperTrait for Ptr<StereographicWarper>
fn as_raw_mut_StereographicWarper(&mut self) -> *mut c_void
source§impl StitcherTrait for Ptr<Stitcher>
impl StitcherTrait for Ptr<Stitcher>
fn as_raw_mut_Stitcher(&mut self) -> *mut c_void
fn set_registration_resol(&mut self, resol_mpx: f64) -> Result<()>
fn set_seam_estimation_resol(&mut self, resol_mpx: f64) -> Result<()>
fn set_compositing_resol(&mut self, resol_mpx: f64) -> Result<()>
fn set_pano_confidence_thresh(&mut self, conf_thresh: f64) -> Result<()>
fn set_wave_correction(&mut self, flag: bool) -> Result<()>
fn set_interpolation_flags(
&mut self,
interp_flags: InterpolationFlags
) -> Result<()>
fn set_wave_correct_kind(&mut self, kind: Detail_WaveCorrectKind) -> Result<()>
fn features_finder_1(&mut self) -> Result<Ptr<Feature2D>>
fn set_features_finder(&mut self, features_finder: Ptr<Feature2D>) -> Result<()>
fn features_matcher_1(&mut self) -> Result<Ptr<dyn Detail_FeaturesMatcher>>
fn set_features_matcher(
&mut self,
features_matcher: Ptr<dyn Detail_FeaturesMatcher>
) -> Result<()>
fn set_matching_mask(&mut self, mask: &UMat) -> Result<()>
fn bundle_adjuster_1(&mut self) -> Result<Ptr<dyn Detail_BundleAdjusterBase>>
fn set_bundle_adjuster(
&mut self,
bundle_adjuster: Ptr<dyn Detail_BundleAdjusterBase>
) -> Result<()>
fn estimator_1(&mut self) -> Result<Ptr<dyn Detail_Estimator>>
fn set_estimator(&mut self, estimator: Ptr<dyn Detail_Estimator>) -> Result<()>
fn warper_1(&mut self) -> Result<Ptr<dyn WarperCreator>>
fn set_warper(&mut self, creator: Ptr<dyn WarperCreator>) -> Result<()>
fn exposure_compensator_1(
&mut self
) -> Result<Ptr<dyn Detail_ExposureCompensator>>
fn set_exposure_compensator(
&mut self,
exposure_comp: Ptr<dyn Detail_ExposureCompensator>
) -> Result<()>
fn seam_finder_1(&mut self) -> Result<Ptr<dyn Detail_SeamFinder>>
fn set_seam_finder(
&mut self,
seam_finder: Ptr<dyn Detail_SeamFinder>
) -> Result<()>
fn blender_1(&mut self) -> Result<Ptr<Detail_Blender>>
fn set_blender(&mut self, b: Ptr<Detail_Blender>) -> Result<()>
source§fn estimate_transform(
&mut self,
images: &dyn ToInputArray,
masks: &dyn ToInputArray
) -> Result<Stitcher_Status>
fn estimate_transform(
&mut self,
images: &dyn ToInputArray,
masks: &dyn ToInputArray
) -> Result<Stitcher_Status>
These functions try to match the given images and to estimate rotations of each camera. Read more
source§fn set_transform(
&mut self,
images: &dyn ToInputArray,
cameras: &Vector<Detail_CameraParams>,
component: &Vector<i32>
) -> Result<Stitcher_Status>
fn set_transform(
&mut self,
images: &dyn ToInputArray,
cameras: &Vector<Detail_CameraParams>,
component: &Vector<i32>
) -> Result<Stitcher_Status>
These function restors camera rotation and camera intrinsics of each camera
that can be got with @ref Stitcher::cameras call Read more
source§fn set_transform_1(
&mut self,
images: &dyn ToInputArray,
cameras: &Vector<Detail_CameraParams>
) -> Result<Stitcher_Status>
fn set_transform_1(
&mut self,
images: &dyn ToInputArray,
cameras: &Vector<Detail_CameraParams>
) -> Result<Stitcher_Status>
These function restors camera rotation and camera intrinsics of each camera
that can be got with @ref Stitcher::cameras call Read more
source§fn compose_panorama(
&mut self,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
fn compose_panorama(
&mut self,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
These functions try to compose the given images (or images stored internally from the other function
calls) into the final pano under the assumption that the image transformations were estimated
before. Read more
source§fn compose_panorama_images(
&mut self,
images: &dyn ToInputArray,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
fn compose_panorama_images(
&mut self,
images: &dyn ToInputArray,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
These functions try to compose the given images (or images stored internally from the other function
calls) into the final pano under the assumption that the image transformations were estimated
before. Read more
source§fn stitch(
&mut self,
images: &dyn ToInputArray,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
fn stitch(
&mut self,
images: &dyn ToInputArray,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
These functions try to stitch the given images. Read more
source§fn stitch_mask(
&mut self,
images: &dyn ToInputArray,
masks: &dyn ToInputArray,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
fn stitch_mask(
&mut self,
images: &dyn ToInputArray,
masks: &dyn ToInputArray,
pano: &mut dyn ToOutputArray
) -> Result<Stitcher_Status>
These functions try to stitch the given images. Read more
source§impl StitcherTraitConst for Ptr<Stitcher>
impl StitcherTraitConst for Ptr<Stitcher>
fn as_raw_Stitcher(&self) -> *const c_void
fn registration_resol(&self) -> Result<f64>
fn seam_estimation_resol(&self) -> Result<f64>
fn compositing_resol(&self) -> Result<f64>
fn pano_confidence_thresh(&self) -> Result<f64>
fn wave_correction(&self) -> Result<bool>
fn interpolation_flags(&self) -> Result<InterpolationFlags>
fn wave_correct_kind(&self) -> Result<Detail_WaveCorrectKind>
fn features_finder(&self) -> Result<Ptr<Feature2D>>
fn features_matcher(&self) -> Result<Ptr<dyn Detail_FeaturesMatcher>>
fn matching_mask(&self) -> Result<UMat>
fn bundle_adjuster(&self) -> Result<Ptr<dyn Detail_BundleAdjusterBase>>
fn estimator(&self) -> Result<Ptr<dyn Detail_Estimator>>
fn warper(&self) -> Result<Ptr<dyn WarperCreator>>
fn exposure_compensator(&self) -> Result<Ptr<dyn Detail_ExposureCompensator>>
fn seam_finder(&self) -> Result<Ptr<dyn Detail_SeamFinder>>
fn blender(&self) -> Result<Ptr<Detail_Blender>>
fn component(&self) -> Result<Vector<i32>>
fn cameras(&self) -> Result<Vector<Detail_CameraParams>>
fn work_scale(&self) -> Result<f64>
fn result_mask(&self) -> Result<UMat>
source§impl StructuredEdgeDetection for Ptr<dyn StructuredEdgeDetection>
impl StructuredEdgeDetection for Ptr<dyn StructuredEdgeDetection>
fn as_raw_mut_StructuredEdgeDetection(&mut self) -> *mut c_void
source§impl StructuredEdgeDetectionConst for Ptr<dyn StructuredEdgeDetection>
impl StructuredEdgeDetectionConst for Ptr<dyn StructuredEdgeDetection>
fn as_raw_StructuredEdgeDetection(&self) -> *const c_void
source§fn detect_edges(
&self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn detect_edges(
&self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
The function detects edges in src and draw them to dst. Read more
source§fn compute_orientation(
&self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn compute_orientation(
&self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
The function computes orientation from edge image. Read more
source§fn edges_nms(
&self,
edge_image: &dyn ToInputArray,
orientation_image: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
r: i32,
s: i32,
m: f32,
is_parallel: bool
) -> Result<()>
fn edges_nms(
&self,
edge_image: &dyn ToInputArray,
orientation_image: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
r: i32,
s: i32,
m: f32,
is_parallel: bool
) -> Result<()>
The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction. Read more
source§impl StructuredLightPattern for Ptr<dyn GrayCodePattern>
impl StructuredLightPattern for Ptr<dyn GrayCodePattern>
source§impl StructuredLightPattern for Ptr<dyn SinusoidalPattern>
impl StructuredLightPattern for Ptr<dyn SinusoidalPattern>
source§impl StructuredLightPatternConst for Ptr<dyn GrayCodePattern>
impl StructuredLightPatternConst for Ptr<dyn GrayCodePattern>
fn as_raw_StructuredLightPattern(&self) -> *const c_void
source§fn decode(
&self,
pattern_images: &Vector<Vector<Mat>>,
disparity_map: &mut dyn ToOutputArray,
black_images: &dyn ToInputArray,
white_images: &dyn ToInputArray,
flags: i32
) -> Result<bool>
fn decode(
&self,
pattern_images: &Vector<Vector<Mat>>,
disparity_map: &mut dyn ToOutputArray,
black_images: &dyn ToInputArray,
white_images: &dyn ToInputArray,
flags: i32
) -> Result<bool>
Decodes the structured light pattern, generating a disparity map Read more
source§impl StructuredLightPatternConst for Ptr<dyn SinusoidalPattern>
impl StructuredLightPatternConst for Ptr<dyn SinusoidalPattern>
fn as_raw_StructuredLightPattern(&self) -> *const c_void
source§fn decode(
&self,
pattern_images: &Vector<Vector<Mat>>,
disparity_map: &mut dyn ToOutputArray,
black_images: &dyn ToInputArray,
white_images: &dyn ToInputArray,
flags: i32
) -> Result<bool>
fn decode(
&self,
pattern_images: &Vector<Vector<Mat>>,
disparity_map: &mut dyn ToOutputArray,
black_images: &dyn ToInputArray,
white_images: &dyn ToInputArray,
flags: i32
) -> Result<bool>
Decodes the structured light pattern, generating a disparity map Read more
source§impl SuperpixelLSC for Ptr<dyn SuperpixelLSC>
impl SuperpixelLSC for Ptr<dyn SuperpixelLSC>
source§impl SuperpixelLSCConst for Ptr<dyn SuperpixelLSC>
impl SuperpixelLSCConst for Ptr<dyn SuperpixelLSC>
fn as_raw_SuperpixelLSC(&self) -> *const c_void
source§fn get_number_of_superpixels(&self) -> Result<i32>
fn get_number_of_superpixels(&self) -> Result<i32>
Calculates the actual amount of superpixels on a given segmentation computed
and stored in SuperpixelLSC object. Read more
source§fn get_labels(&self, labels_out: &mut dyn ToOutputArray) -> Result<()>
fn get_labels(&self, labels_out: &mut dyn ToOutputArray) -> Result<()>
Returns the segmentation labeling of the image. Read more
source§fn get_label_contour_mask(
&self,
image: &mut dyn ToOutputArray,
thick_line: bool
) -> Result<()>
fn get_label_contour_mask(
&self,
image: &mut dyn ToOutputArray,
thick_line: bool
) -> Result<()>
Returns the mask of the superpixel segmentation stored in SuperpixelLSC object. Read more
source§impl SuperpixelSEEDS for Ptr<dyn SuperpixelSEEDS>
impl SuperpixelSEEDS for Ptr<dyn SuperpixelSEEDS>
fn as_raw_mut_SuperpixelSEEDS(&mut self) -> *mut c_void
source§fn get_number_of_superpixels(&mut self) -> Result<i32>
fn get_number_of_superpixels(&mut self) -> Result<i32>
Calculates the superpixel segmentation on a given image stored in SuperpixelSEEDS object. Read more
source§fn iterate(&mut self, img: &dyn ToInputArray, num_iterations: i32) -> Result<()>
fn iterate(&mut self, img: &dyn ToInputArray, num_iterations: i32) -> Result<()>
Calculates the superpixel segmentation on a given image with the initialized
parameters in the SuperpixelSEEDS object. Read more
source§fn get_labels(&mut self, labels_out: &mut dyn ToOutputArray) -> Result<()>
fn get_labels(&mut self, labels_out: &mut dyn ToOutputArray) -> Result<()>
Returns the segmentation labeling of the image. Read more
source§fn get_label_contour_mask(
&mut self,
image: &mut dyn ToOutputArray,
thick_line: bool
) -> Result<()>
fn get_label_contour_mask(
&mut self,
image: &mut dyn ToOutputArray,
thick_line: bool
) -> Result<()>
Returns the mask of the superpixel segmentation stored in SuperpixelSEEDS object. Read more
source§impl SuperpixelSEEDSConst for Ptr<dyn SuperpixelSEEDS>
impl SuperpixelSEEDSConst for Ptr<dyn SuperpixelSEEDS>
fn as_raw_SuperpixelSEEDS(&self) -> *const c_void
source§impl SuperpixelSLIC for Ptr<dyn SuperpixelSLIC>
impl SuperpixelSLIC for Ptr<dyn SuperpixelSLIC>
source§impl SuperpixelSLICConst for Ptr<dyn SuperpixelSLIC>
impl SuperpixelSLICConst for Ptr<dyn SuperpixelSLIC>
fn as_raw_SuperpixelSLIC(&self) -> *const c_void
source§fn get_number_of_superpixels(&self) -> Result<i32>
fn get_number_of_superpixels(&self) -> Result<i32>
Calculates the actual amount of superpixels on a given segmentation computed
and stored in SuperpixelSLIC object. Read more
source§fn get_labels(&self, labels_out: &mut dyn ToOutputArray) -> Result<()>
fn get_labels(&self, labels_out: &mut dyn ToOutputArray) -> Result<()>
Returns the segmentation labeling of the image. Read more
source§fn get_label_contour_mask(
&self,
image: &mut dyn ToOutputArray,
thick_line: bool
) -> Result<()>
fn get_label_contour_mask(
&self,
image: &mut dyn ToOutputArray,
thick_line: bool
) -> Result<()>
Returns the mask of the superpixel segmentation stored in SuperpixelSLIC object. Read more
source§impl Superres_BroxOpticalFlow for Ptr<dyn Superres_BroxOpticalFlow>
impl Superres_BroxOpticalFlow for Ptr<dyn Superres_BroxOpticalFlow>
fn as_raw_mut_Superres_BroxOpticalFlow(&mut self) -> *mut c_void
source§fn set_inner_iterations(&mut self, val: i32) -> Result<()>
fn set_inner_iterations(&mut self, val: i32) -> Result<()>
Number of lagged non-linearity iterations (inner loop) Read more
source§impl Superres_BroxOpticalFlowConst for Ptr<dyn Superres_BroxOpticalFlow>
impl Superres_BroxOpticalFlowConst for Ptr<dyn Superres_BroxOpticalFlow>
source§impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_BroxOpticalFlow>
impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_BroxOpticalFlow>
fn as_raw_mut_Superres_DenseOpticalFlowExt(&mut self) -> *mut c_void
source§fn calc(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow1: &mut dyn ToOutputArray,
flow2: &mut dyn ToOutputArray
) -> Result<()>
fn calc(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow1: &mut dyn ToOutputArray,
flow2: &mut dyn ToOutputArray
) -> Result<()>
C++ default parameters Read more
fn collect_garbage(&mut self) -> Result<()>
source§impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_DenseOpticalFlowExt>
impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_DenseOpticalFlowExt>
fn as_raw_mut_Superres_DenseOpticalFlowExt(&mut self) -> *mut c_void
source§fn calc(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow1: &mut dyn ToOutputArray,
flow2: &mut dyn ToOutputArray
) -> Result<()>
fn calc(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow1: &mut dyn ToOutputArray,
flow2: &mut dyn ToOutputArray
) -> Result<()>
C++ default parameters Read more
fn collect_garbage(&mut self) -> Result<()>
source§impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_DualTVL1OpticalFlow>
impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_DualTVL1OpticalFlow>
fn as_raw_mut_Superres_DenseOpticalFlowExt(&mut self) -> *mut c_void
source§fn calc(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow1: &mut dyn ToOutputArray,
flow2: &mut dyn ToOutputArray
) -> Result<()>
fn calc(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow1: &mut dyn ToOutputArray,
flow2: &mut dyn ToOutputArray
) -> Result<()>
C++ default parameters Read more
fn collect_garbage(&mut self) -> Result<()>
source§impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_FarnebackOpticalFlow>
impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_FarnebackOpticalFlow>
fn as_raw_mut_Superres_DenseOpticalFlowExt(&mut self) -> *mut c_void
source§fn calc(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow1: &mut dyn ToOutputArray,
flow2: &mut dyn ToOutputArray
) -> Result<()>
fn calc(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow1: &mut dyn ToOutputArray,
flow2: &mut dyn ToOutputArray
) -> Result<()>
C++ default parameters Read more
fn collect_garbage(&mut self) -> Result<()>
source§impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_PyrLKOpticalFlow>
impl Superres_DenseOpticalFlowExt for Ptr<dyn Superres_PyrLKOpticalFlow>
fn as_raw_mut_Superres_DenseOpticalFlowExt(&mut self) -> *mut c_void
source§fn calc(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow1: &mut dyn ToOutputArray,
flow2: &mut dyn ToOutputArray
) -> Result<()>
fn calc(
&mut self,
frame0: &dyn ToInputArray,
frame1: &dyn ToInputArray,
flow1: &mut dyn ToOutputArray,
flow2: &mut dyn ToOutputArray
) -> Result<()>
C++ default parameters Read more
fn collect_garbage(&mut self) -> Result<()>
source§impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_BroxOpticalFlow>
impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_BroxOpticalFlow>
fn as_raw_Superres_DenseOpticalFlowExt(&self) -> *const c_void
source§impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_DenseOpticalFlowExt>
impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_DenseOpticalFlowExt>
fn as_raw_Superres_DenseOpticalFlowExt(&self) -> *const c_void
source§impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_DualTVL1OpticalFlow>
impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_DualTVL1OpticalFlow>
fn as_raw_Superres_DenseOpticalFlowExt(&self) -> *const c_void
source§impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_FarnebackOpticalFlow>
impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_FarnebackOpticalFlow>
fn as_raw_Superres_DenseOpticalFlowExt(&self) -> *const c_void
source§impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_PyrLKOpticalFlow>
impl Superres_DenseOpticalFlowExtConst for Ptr<dyn Superres_PyrLKOpticalFlow>
fn as_raw_Superres_DenseOpticalFlowExt(&self) -> *const c_void
source§impl Superres_DualTVL1OpticalFlow for Ptr<dyn Superres_DualTVL1OpticalFlow>
impl Superres_DualTVL1OpticalFlow for Ptr<dyn Superres_DualTVL1OpticalFlow>
fn as_raw_mut_Superres_DualTVL1OpticalFlow(&mut self) -> *mut c_void
source§impl Superres_DualTVL1OpticalFlowConst for Ptr<dyn Superres_DualTVL1OpticalFlow>
impl Superres_DualTVL1OpticalFlowConst for Ptr<dyn Superres_DualTVL1OpticalFlow>
fn as_raw_Superres_DualTVL1OpticalFlow(&self) -> *const c_void
source§impl Superres_FarnebackOpticalFlow for Ptr<dyn Superres_FarnebackOpticalFlow>
impl Superres_FarnebackOpticalFlow for Ptr<dyn Superres_FarnebackOpticalFlow>
fn as_raw_mut_Superres_FarnebackOpticalFlow(&mut self) -> *mut c_void
source§impl Superres_FarnebackOpticalFlowConst for Ptr<dyn Superres_FarnebackOpticalFlow>
impl Superres_FarnebackOpticalFlowConst for Ptr<dyn Superres_FarnebackOpticalFlow>
fn as_raw_Superres_FarnebackOpticalFlow(&self) -> *const c_void
source§impl Superres_FrameSource for Ptr<dyn Superres_FrameSource>
impl Superres_FrameSource for Ptr<dyn Superres_FrameSource>
source§impl Superres_FrameSource for Ptr<dyn Superres_SuperResolution>
impl Superres_FrameSource for Ptr<dyn Superres_SuperResolution>
source§impl Superres_FrameSourceConst for Ptr<dyn Superres_FrameSource>
impl Superres_FrameSourceConst for Ptr<dyn Superres_FrameSource>
fn as_raw_Superres_FrameSource(&self) -> *const c_void
source§impl Superres_FrameSourceConst for Ptr<dyn Superres_SuperResolution>
impl Superres_FrameSourceConst for Ptr<dyn Superres_SuperResolution>
fn as_raw_Superres_FrameSource(&self) -> *const c_void
source§impl Superres_PyrLKOpticalFlow for Ptr<dyn Superres_PyrLKOpticalFlow>
impl Superres_PyrLKOpticalFlow for Ptr<dyn Superres_PyrLKOpticalFlow>
fn as_raw_mut_Superres_PyrLKOpticalFlow(&mut self) -> *mut c_void
source§impl Superres_SuperResolution for Ptr<dyn Superres_SuperResolution>
impl Superres_SuperResolution for Ptr<dyn Superres_SuperResolution>
fn as_raw_mut_Superres_SuperResolution(&mut self) -> *mut c_void
source§fn set_input(
&mut self,
frame_source: &Ptr<dyn Superres_FrameSource>
) -> Result<()>
fn set_input(
&mut self,
frame_source: &Ptr<dyn Superres_FrameSource>
) -> Result<()>
Set input frame source for Super Resolution algorithm. Read more
source§fn next_frame(&mut self, frame: &mut dyn ToOutputArray) -> Result<()>
fn next_frame(&mut self, frame: &mut dyn ToOutputArray) -> Result<()>
Process next frame from input and return output result. Read more
fn reset(&mut self) -> Result<()>
source§fn collect_garbage(&mut self) -> Result<()>
fn collect_garbage(&mut self) -> Result<()>
Clear all inner buffers.
source§fn set_tau(&mut self, val: f64) -> Result<()>
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<()>
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<()>
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<()>
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<()>
fn set_blur_kernel_size(&mut self, val: i32) -> Result<()>
Gaussian blur kernel size Read more
source§fn set_temporal_area_radius(&mut self, val: i32) -> Result<()>
fn set_temporal_area_radius(&mut self, val: i32) -> Result<()>
Radius of the temporal search area Read more
source§fn set_optical_flow(
&mut self,
val: &Ptr<dyn Superres_DenseOpticalFlowExt>
) -> Result<()>
fn set_optical_flow(
&mut self,
val: &Ptr<dyn Superres_DenseOpticalFlowExt>
) -> Result<()>
Dense optical flow algorithm Read more
source§impl Superres_SuperResolutionConst for Ptr<dyn Superres_SuperResolution>
impl Superres_SuperResolutionConst for Ptr<dyn Superres_SuperResolution>
fn as_raw_Superres_SuperResolution(&self) -> *const c_void
source§fn get_lambda(&self) -> Result<f64>
fn get_lambda(&self) -> Result<f64>
Weight parameter to balance data term and smoothness term Read more
source§fn get_alpha(&self) -> Result<f64>
fn get_alpha(&self) -> Result<f64>
Parameter of spacial distribution in Bilateral-TV Read more
source§fn get_temporal_area_radius(&self) -> Result<i32>
fn get_temporal_area_radius(&self) -> Result<i32>
Radius of the temporal search area Read more
source§fn get_optical_flow(&self) -> Result<Ptr<dyn Superres_DenseOpticalFlowExt>>
fn get_optical_flow(&self) -> Result<Ptr<dyn Superres_DenseOpticalFlowExt>>
Dense optical flow algorithm Read more
source§impl SwishLayerTrait for Ptr<SwishLayer>
impl SwishLayerTrait for Ptr<SwishLayer>
fn as_raw_mut_SwishLayer(&mut self) -> *mut c_void
source§impl SwishLayerTraitConst for Ptr<SwishLayer>
impl SwishLayerTraitConst for Ptr<SwishLayer>
fn as_raw_SwishLayer(&self) -> *const c_void
source§impl SyntheticSequenceGeneratorTrait for Ptr<SyntheticSequenceGenerator>
impl SyntheticSequenceGeneratorTrait for Ptr<SyntheticSequenceGenerator>
fn as_raw_mut_SyntheticSequenceGenerator(&mut self) -> *mut c_void
source§fn get_next_frame(
&mut self,
frame: &mut dyn ToOutputArray,
gt_mask: &mut dyn ToOutputArray
) -> Result<()>
fn get_next_frame(
&mut self,
frame: &mut dyn ToOutputArray,
gt_mask: &mut dyn ToOutputArray
) -> Result<()>
Obtain the next frame in the sequence. Read more
source§impl SyntheticSequenceGeneratorTraitConst for Ptr<SyntheticSequenceGenerator>
impl SyntheticSequenceGeneratorTraitConst for Ptr<SyntheticSequenceGenerator>
fn as_raw_SyntheticSequenceGenerator(&self) -> *const c_void
source§impl TBMR for Ptr<dyn TBMR>
impl TBMR for Ptr<dyn TBMR>
fn as_raw_mut_TBMR(&mut self) -> *mut c_void
fn set_min_area(&mut self, min_area: i32) -> Result<()>
fn set_max_area_relative(&mut self, max_area: f32) -> Result<()>
fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>
fn set_n_scales(&mut self, n_scales: i32) -> Result<()>
source§impl TBMRConst for Ptr<dyn TBMR>
impl TBMRConst for Ptr<dyn TBMR>
fn as_raw_TBMR(&self) -> *const c_void
fn get_min_area(&self) -> Result<i32>
fn get_max_area_relative(&self) -> Result<f32>
fn get_scale_factor(&self) -> Result<f32>
fn get_n_scales(&self) -> Result<i32>
source§impl TanHLayerTrait for Ptr<TanHLayer>
impl TanHLayerTrait for Ptr<TanHLayer>
fn as_raw_mut_TanHLayer(&mut self) -> *mut c_void
source§impl TanHLayerTraitConst for Ptr<TanHLayer>
impl TanHLayerTraitConst for Ptr<TanHLayer>
fn as_raw_TanHLayer(&self) -> *const c_void
source§impl TanLayerTrait for Ptr<TanLayer>
impl TanLayerTrait for Ptr<TanLayer>
fn as_raw_mut_TanLayer(&mut self) -> *mut c_void
source§impl TanLayerTraitConst for Ptr<TanLayer>
impl TanLayerTraitConst for Ptr<TanLayer>
fn as_raw_TanLayer(&self) -> *const c_void
source§impl TextDetector for Ptr<dyn TextDetectorCNN>
impl TextDetector for Ptr<dyn TextDetectorCNN>
source§impl TextDetectorCNN for Ptr<dyn TextDetectorCNN>
impl TextDetectorCNN for Ptr<dyn TextDetectorCNN>
fn as_raw_mut_TextDetectorCNN(&mut self) -> *mut c_void
source§impl TextDetectorCNNConst for Ptr<dyn TextDetectorCNN>
impl TextDetectorCNNConst for Ptr<dyn TextDetectorCNN>
fn as_raw_TextDetectorCNN(&self) -> *const c_void
source§impl TextDetectorConst for Ptr<dyn TextDetectorCNN>
impl TextDetectorConst for Ptr<dyn TextDetectorCNN>
fn as_raw_TextDetector(&self) -> *const c_void
source§impl ThinPlateSplineShapeTransformerConst for Ptr<dyn ThinPlateSplineShapeTransformer>
impl ThinPlateSplineShapeTransformerConst for Ptr<dyn ThinPlateSplineShapeTransformer>
fn as_raw_ThinPlateSplineShapeTransformer(&self) -> *const c_void
fn get_regularization_parameter(&self) -> Result<f64>
source§impl ToFileMotionWriterTrait for Ptr<ToFileMotionWriter>
impl ToFileMotionWriterTrait for Ptr<ToFileMotionWriter>
fn as_raw_mut_ToFileMotionWriter(&mut self) -> *mut c_void
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn set_frame_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>
source§impl ToFileMotionWriterTraitConst for Ptr<ToFileMotionWriter>
impl ToFileMotionWriterTraitConst for Ptr<ToFileMotionWriter>
fn as_raw_ToFileMotionWriter(&self) -> *const c_void
fn motion_model(&self) -> Result<MotionModel>
source§impl Tonemap for Ptr<dyn TonemapDrago>
impl Tonemap for Ptr<dyn TonemapDrago>
source§impl Tonemap for Ptr<dyn TonemapDurand>
impl Tonemap for Ptr<dyn TonemapDurand>
source§impl Tonemap for Ptr<dyn TonemapMantiuk>
impl Tonemap for Ptr<dyn TonemapMantiuk>
source§impl Tonemap for Ptr<dyn TonemapReinhard>
impl Tonemap for Ptr<dyn TonemapReinhard>
source§impl TonemapConst for Ptr<dyn Tonemap>
impl TonemapConst for Ptr<dyn Tonemap>
source§impl TonemapConst for Ptr<dyn TonemapDrago>
impl TonemapConst for Ptr<dyn TonemapDrago>
source§impl TonemapConst for Ptr<dyn TonemapDurand>
impl TonemapConst for Ptr<dyn TonemapDurand>
source§impl TonemapConst for Ptr<dyn TonemapMantiuk>
impl TonemapConst for Ptr<dyn TonemapMantiuk>
source§impl TonemapConst for Ptr<dyn TonemapReinhard>
impl TonemapConst for Ptr<dyn TonemapReinhard>
source§impl TonemapDrago for Ptr<dyn TonemapDrago>
impl TonemapDrago for Ptr<dyn TonemapDrago>
source§impl TonemapDragoConst for Ptr<dyn TonemapDrago>
impl TonemapDragoConst for Ptr<dyn TonemapDrago>
source§impl TonemapDurand for Ptr<dyn TonemapDurand>
impl TonemapDurand for Ptr<dyn TonemapDurand>
fn as_raw_mut_TonemapDurand(&mut self) -> *mut c_void
fn set_saturation(&mut self, saturation: f32) -> Result<()>
fn set_contrast(&mut self, contrast: f32) -> Result<()>
fn set_sigma_space(&mut self, sigma_space: f32) -> Result<()>
fn set_sigma_color(&mut self, sigma_color: f32) -> Result<()>
source§impl TonemapDurandConst for Ptr<dyn TonemapDurand>
impl TonemapDurandConst for Ptr<dyn TonemapDurand>
fn as_raw_TonemapDurand(&self) -> *const c_void
fn get_saturation(&self) -> Result<f32>
fn get_contrast(&self) -> Result<f32>
fn get_sigma_space(&self) -> Result<f32>
fn get_sigma_color(&self) -> Result<f32>
source§impl TonemapMantiuk for Ptr<dyn TonemapMantiuk>
impl TonemapMantiuk for Ptr<dyn TonemapMantiuk>
source§impl TonemapMantiukConst for Ptr<dyn TonemapMantiuk>
impl TonemapMantiukConst for Ptr<dyn TonemapMantiuk>
source§impl TonemapReinhard for Ptr<dyn TonemapReinhard>
impl TonemapReinhard for Ptr<dyn TonemapReinhard>
source§impl TonemapReinhardConst for Ptr<dyn TonemapReinhard>
impl TonemapReinhardConst for Ptr<dyn TonemapReinhard>
fn as_raw_TonemapReinhard(&self) -> *const c_void
fn get_intensity(&self) -> Result<f32>
fn get_light_adaptation(&self) -> Result<f32>
fn get_color_adaptation(&self) -> Result<f32>
source§impl Tracker for Ptr<dyn OLSTracker>
impl Tracker for Ptr<dyn OLSTracker>
fn as_raw_mut_Tracker(&mut self) -> *mut c_void
source§fn compute(
&mut self,
img: &dyn ToInputArray,
num: i32,
len: i32,
k: &dyn ToInputArray,
rvec: &mut dyn ToInputOutputArray,
tvec: &mut dyn ToInputOutputArray,
termcrit: TermCriteria
) -> Result<f32>
fn compute(
&mut self,
img: &dyn ToInputArray,
num: i32,
len: i32,
k: &dyn ToInputArray,
rvec: &mut dyn ToInputOutputArray,
tvec: &mut dyn ToInputOutputArray,
termcrit: TermCriteria
) -> Result<f32>
C++ default parameters Read more
fn clear_state(&mut self) -> Result<()>
source§impl Tracker for Ptr<dyn Rapid>
impl Tracker for Ptr<dyn Rapid>
fn as_raw_mut_Tracker(&mut self) -> *mut c_void
source§fn compute(
&mut self,
img: &dyn ToInputArray,
num: i32,
len: i32,
k: &dyn ToInputArray,
rvec: &mut dyn ToInputOutputArray,
tvec: &mut dyn ToInputOutputArray,
termcrit: TermCriteria
) -> Result<f32>
fn compute(
&mut self,
img: &dyn ToInputArray,
num: i32,
len: i32,
k: &dyn ToInputArray,
rvec: &mut dyn ToInputOutputArray,
tvec: &mut dyn ToInputOutputArray,
termcrit: TermCriteria
) -> Result<f32>
C++ default parameters Read more
fn clear_state(&mut self) -> Result<()>
source§impl Tracker for Ptr<dyn TrackerCSRT>
impl Tracker for Ptr<dyn TrackerCSRT>
source§impl Tracker for Ptr<dyn TrackerDaSiamRPN>
impl Tracker for Ptr<dyn TrackerDaSiamRPN>
source§impl Tracker for Ptr<dyn TrackerGOTURN>
impl Tracker for Ptr<dyn TrackerGOTURN>
source§impl Tracker for Ptr<dyn TrackerKCF>
impl Tracker for Ptr<dyn TrackerKCF>
source§impl Tracker for Ptr<dyn TrackerMIL>
impl Tracker for Ptr<dyn TrackerMIL>
source§impl TrackerCSRT for Ptr<dyn TrackerCSRT>
impl TrackerCSRT for Ptr<dyn TrackerCSRT>
fn as_raw_mut_TrackerCSRT(&mut self) -> *mut c_void
fn set_initial_mask(&mut self, mask: &dyn ToInputArray) -> Result<()>
source§impl TrackerCSRTConst for Ptr<dyn TrackerCSRT>
impl TrackerCSRTConst for Ptr<dyn TrackerCSRT>
fn as_raw_TrackerCSRT(&self) -> *const c_void
source§impl TrackerConst for Ptr<dyn OLSTracker>
impl TrackerConst for Ptr<dyn OLSTracker>
fn as_raw_Tracker(&self) -> *const c_void
source§impl TrackerConst for Ptr<dyn Rapid>
impl TrackerConst for Ptr<dyn Rapid>
fn as_raw_Tracker(&self) -> *const c_void
source§impl TrackerConst for Ptr<dyn TrackerCSRT>
impl TrackerConst for Ptr<dyn TrackerCSRT>
fn as_raw_Tracker(&self) -> *const c_void
source§impl TrackerConst for Ptr<dyn TrackerDaSiamRPN>
impl TrackerConst for Ptr<dyn TrackerDaSiamRPN>
fn as_raw_Tracker(&self) -> *const c_void
source§impl TrackerConst for Ptr<dyn TrackerGOTURN>
impl TrackerConst for Ptr<dyn TrackerGOTURN>
fn as_raw_Tracker(&self) -> *const c_void
source§impl TrackerConst for Ptr<dyn TrackerKCF>
impl TrackerConst for Ptr<dyn TrackerKCF>
fn as_raw_Tracker(&self) -> *const c_void
source§impl TrackerConst for Ptr<dyn TrackerMIL>
impl TrackerConst for Ptr<dyn TrackerMIL>
fn as_raw_Tracker(&self) -> *const c_void
source§impl TrackerDaSiamRPN for Ptr<dyn TrackerDaSiamRPN>
impl TrackerDaSiamRPN for Ptr<dyn TrackerDaSiamRPN>
fn as_raw_mut_TrackerDaSiamRPN(&mut self) -> *mut c_void
source§fn get_tracking_score(&mut self) -> Result<f32>
fn get_tracking_score(&mut self) -> Result<f32>
Return tracking score
source§impl TrackerDaSiamRPNConst for Ptr<dyn TrackerDaSiamRPN>
impl TrackerDaSiamRPNConst for Ptr<dyn TrackerDaSiamRPN>
fn as_raw_TrackerDaSiamRPN(&self) -> *const c_void
source§impl TrackerGOTURN for Ptr<dyn TrackerGOTURN>
impl TrackerGOTURN for Ptr<dyn TrackerGOTURN>
fn as_raw_mut_TrackerGOTURN(&mut self) -> *mut c_void
source§impl TrackerGOTURNConst for Ptr<dyn TrackerGOTURN>
impl TrackerGOTURNConst for Ptr<dyn TrackerGOTURN>
fn as_raw_TrackerGOTURN(&self) -> *const c_void
source§impl TrackerKCF for Ptr<dyn TrackerKCF>
impl TrackerKCF for Ptr<dyn TrackerKCF>
fn as_raw_mut_TrackerKCF(&mut self) -> *mut c_void
source§fn set_feature_extractor(
&mut self,
callback: TrackerKCF_FeatureExtractorCallbackFN,
pca_func: bool
) -> Result<()>
fn set_feature_extractor(
&mut self,
callback: TrackerKCF_FeatureExtractorCallbackFN,
pca_func: bool
) -> Result<()>
C++ default parameters Read more
source§impl TrackerKCFConst for Ptr<dyn TrackerKCF>
impl TrackerKCFConst for Ptr<dyn TrackerKCF>
fn as_raw_TrackerKCF(&self) -> *const c_void
source§impl TrackerMIL for Ptr<dyn TrackerMIL>
impl TrackerMIL for Ptr<dyn TrackerMIL>
fn as_raw_mut_TrackerMIL(&mut self) -> *mut c_void
source§impl TrackerMILConst for Ptr<dyn TrackerMIL>
impl TrackerMILConst for Ptr<dyn TrackerMIL>
fn as_raw_TrackerMIL(&self) -> *const c_void
source§impl TrainData for Ptr<dyn TrainData>
impl TrainData for Ptr<dyn TrainData>
fn as_raw_mut_TrainData(&mut self) -> *mut c_void
source§fn set_train_test_split(&mut self, count: i32, shuffle: bool) -> Result<()>
fn set_train_test_split(&mut self, count: i32, shuffle: bool) -> Result<()>
Splits the training data into the training and test parts Read more
source§fn set_train_test_split_ratio(&mut self, ratio: f64, shuffle: bool) -> Result<()>
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
fn shuffle_train_test(&mut self) -> Result<()>
source§impl TrainDataConst for Ptr<dyn TrainData>
impl TrainDataConst for Ptr<dyn TrainData>
fn as_raw_TrainData(&self) -> *const c_void
fn get_layout(&self) -> Result<i32>
fn get_n_train_samples(&self) -> Result<i32>
fn get_n_test_samples(&self) -> Result<i32>
fn get_n_samples(&self) -> Result<i32>
fn get_n_vars(&self) -> Result<i32>
fn get_n_all_vars(&self) -> Result<i32>
fn get_sample(
&self,
var_idx: &dyn ToInputArray,
sidx: i32,
buf: &mut f32
) -> Result<()>
fn get_samples(&self) -> Result<Mat>
fn get_missing(&self) -> Result<Mat>
source§fn get_train_samples(
&self,
layout: i32,
compress_samples: bool,
compress_vars: bool
) -> Result<Mat>
fn get_train_samples(
&self,
layout: i32,
compress_samples: bool,
compress_vars: bool
) -> Result<Mat>
Returns matrix of train samples Read more
source§fn get_train_norm_cat_responses(&self) -> Result<Mat>
fn get_train_norm_cat_responses(&self) -> Result<Mat>
Returns the vector of normalized categorical responses Read more
fn get_test_responses(&self) -> Result<Mat>
fn get_test_norm_cat_responses(&self) -> Result<Mat>
fn get_responses(&self) -> Result<Mat>
fn get_norm_cat_responses(&self) -> Result<Mat>
fn get_sample_weights(&self) -> Result<Mat>
fn get_train_sample_weights(&self) -> Result<Mat>
fn get_test_sample_weights(&self) -> Result<Mat>
fn get_var_idx(&self) -> Result<Mat>
fn get_var_type(&self) -> Result<Mat>
fn get_var_symbol_flags(&self) -> Result<Mat>
fn get_response_type(&self) -> Result<i32>
fn get_train_sample_idx(&self) -> Result<Mat>
fn get_test_sample_idx(&self) -> Result<Mat>
fn get_values(
&self,
vi: i32,
sidx: &dyn ToInputArray,
values: &mut f32
) -> Result<()>
fn get_norm_cat_values(
&self,
vi: i32,
sidx: &dyn ToInputArray,
values: &mut i32
) -> Result<()>
fn get_default_subst_values(&self) -> Result<Mat>
fn get_cat_count(&self, vi: i32) -> Result<i32>
fn get_cat_ofs(&self) -> Result<Mat>
fn get_cat_map(&self) -> Result<Mat>
source§fn get_test_samples(&self) -> Result<Mat>
fn get_test_samples(&self) -> Result<Mat>
Returns matrix of test samples
source§impl TransientAreasSegmentationModule for Ptr<dyn TransientAreasSegmentationModule>
impl TransientAreasSegmentationModule for Ptr<dyn TransientAreasSegmentationModule>
fn as_raw_mut_TransientAreasSegmentationModule(&mut self) -> *mut c_void
source§fn setup_from_file(
&mut self,
segmentation_parameter_file: &str,
apply_default_setup_on_failure: bool
) -> Result<()>
fn setup_from_file(
&mut self,
segmentation_parameter_file: &str,
apply_default_setup_on_failure: bool
) -> Result<()>
try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
source§fn setup_from_storage(
&mut self,
fs: &mut FileStorage,
apply_default_setup_on_failure: bool
) -> Result<()>
fn setup_from_storage(
&mut self,
fs: &mut FileStorage,
apply_default_setup_on_failure: bool
) -> Result<()>
try to open an XML segmentation parameters file to adjust current segmentation instance setup Read more
source§fn setup(&mut self, new_parameters: SegmentationParameters) -> Result<()>
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>
fn get_parameters(&mut self) -> Result<SegmentationParameters>
return the current parameters setup
source§fn run(
&mut self,
input_to_segment: &dyn ToInputArray,
channel_index: i32
) -> Result<()>
fn run(
&mut self,
input_to_segment: &dyn ToInputArray,
channel_index: i32
) -> Result<()>
main processing method, get result using methods getSegmentationPicture() Read more
source§fn get_segmentation_picture(
&mut self,
transient_areas: &mut dyn ToOutputArray
) -> Result<()>
fn get_segmentation_picture(
&mut self,
transient_areas: &mut dyn ToOutputArray
) -> Result<()>
access function
return the last segmentation result: a boolean picture which is resampled between 0 and 255 for a display purpose Read more
source§fn clear_all_buffers(&mut self) -> Result<()>
fn clear_all_buffers(&mut self) -> Result<()>
cleans all the buffers of the instance
source§impl TranslationBasedLocalOutlierRejectorTrait for Ptr<TranslationBasedLocalOutlierRejector>
impl TranslationBasedLocalOutlierRejectorTrait for Ptr<TranslationBasedLocalOutlierRejector>
fn as_raw_mut_TranslationBasedLocalOutlierRejector(&mut self) -> *mut c_void
fn set_cell_size(&mut self, val: Size) -> Result<()>
fn set_ransac_params(&mut self, val: RansacParams) -> Result<()>
fn process(
&mut self,
frame_size: Size,
points0: &dyn ToInputArray,
points1: &dyn ToInputArray,
mask: &mut dyn ToOutputArray
) -> Result<()>
source§impl TranslationBasedLocalOutlierRejectorTraitConst for Ptr<TranslationBasedLocalOutlierRejector>
impl TranslationBasedLocalOutlierRejectorTraitConst for Ptr<TranslationBasedLocalOutlierRejector>
fn as_raw_TranslationBasedLocalOutlierRejector(&self) -> *const c_void
fn cell_size(&self) -> Result<Size>
fn ransac_params(&self) -> Result<RansacParams>
source§impl TransverseMercatorWarperTrait for Ptr<TransverseMercatorWarper>
impl TransverseMercatorWarperTrait for Ptr<TransverseMercatorWarper>
fn as_raw_mut_TransverseMercatorWarper(&mut self) -> *mut c_void
source§impl TwoPassStabilizerTrait for Ptr<TwoPassStabilizer>
impl TwoPassStabilizerTrait for Ptr<TwoPassStabilizer>
fn as_raw_mut_TwoPassStabilizer(&mut self) -> *mut c_void
fn set_motion_stabilizer(
&mut self,
val: Ptr<dyn IMotionStabilizer>
) -> Result<()>
fn set_wobble_suppressor(
&mut self,
val: Ptr<dyn WobbleSuppressorBase>
) -> Result<()>
fn set_estimate_trim_ratio(&mut self, val: bool) -> Result<()>
fn reset(&mut self) -> Result<()>
fn next_frame(&mut self) -> Result<Mat>
source§impl TwoPassStabilizerTraitConst for Ptr<TwoPassStabilizer>
impl TwoPassStabilizerTraitConst for Ptr<TwoPassStabilizer>
fn as_raw_TwoPassStabilizer(&self) -> *const c_void
fn motion_stabilizer(&self) -> Result<Ptr<dyn IMotionStabilizer>>
fn wobble_suppressor(&self) -> Result<Ptr<dyn WobbleSuppressorBase>>
fn must_estimate_trima_ratio(&self) -> Result<bool>
source§impl VGG for Ptr<dyn VGG>
impl VGG for Ptr<dyn VGG>
fn as_raw_mut_VGG(&mut self) -> *mut c_void
fn set_sigma(&mut self, isigma: f32) -> Result<()>
fn set_use_normalize_image(&mut self, img_normalize: bool) -> Result<()>
fn set_use_scale_orientation(
&mut self,
use_scale_orientation: bool
) -> Result<()>
fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>
fn set_use_normalize_descriptor(&mut self, dsc_normalize: bool) -> Result<()>
source§impl VGGConst for Ptr<dyn VGG>
impl VGGConst for Ptr<dyn VGG>
fn as_raw_VGG(&self) -> *const c_void
fn get_sigma(&self) -> Result<f32>
fn get_use_normalize_image(&self) -> Result<bool>
fn get_use_scale_orientation(&self) -> Result<bool>
fn get_scale_factor(&self) -> Result<f32>
fn get_use_normalize_descriptor(&self) -> Result<bool>
source§impl VariationalRefinement for Ptr<dyn VariationalRefinement>
impl VariationalRefinement for Ptr<dyn VariationalRefinement>
fn as_raw_mut_VariationalRefinement(&mut self) -> *mut c_void
source§fn calc_uv(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow_u: &mut dyn ToInputOutputArray,
flow_v: &mut dyn ToInputOutputArray
) -> Result<()>
fn calc_uv(
&mut self,
i0: &dyn ToInputArray,
i1: &dyn ToInputArray,
flow_u: &mut dyn ToInputOutputArray,
flow_v: &mut dyn ToInputOutputArray
) -> Result<()>
@ref calc function overload to handle separate horizontal (u) and vertical (v) flow components
(to avoid extra splits/merges) Read more
source§fn set_fixed_point_iterations(&mut self, val: i32) -> Result<()>
fn set_fixed_point_iterations(&mut self, val: i32) -> Result<()>
Number of outer (fixed-point) iterations in the minimization procedure. Read more
source§impl VariationalRefinementConst for Ptr<dyn VariationalRefinement>
impl VariationalRefinementConst for Ptr<dyn VariationalRefinement>
fn as_raw_VariationalRefinement(&self) -> *const c_void
source§fn get_fixed_point_iterations(&self) -> Result<i32>
fn get_fixed_point_iterations(&self) -> Result<i32>
Number of outer (fixed-point) iterations in the minimization procedure. Read more
source§impl VideoFileSourceTrait for Ptr<VideoFileSource>
impl VideoFileSourceTrait for Ptr<VideoFileSource>
fn as_raw_mut_VideoFileSource(&mut self) -> *mut c_void
fn reset(&mut self) -> Result<()>
fn next_frame(&mut self) -> Result<Mat>
fn width(&mut self) -> Result<i32>
fn height(&mut self) -> Result<i32>
fn count(&mut self) -> Result<i32>
fn fps(&mut self) -> Result<f64>
source§impl VideoFileSourceTraitConst for Ptr<VideoFileSource>
impl VideoFileSourceTraitConst for Ptr<VideoFileSource>
fn as_raw_VideoFileSource(&self) -> *const c_void
source§impl VideoReader for Ptr<dyn VideoReader>
impl VideoReader for Ptr<dyn VideoReader>
fn as_raw_mut_VideoReader(&mut self) -> *mut c_void
source§fn next_frame(&mut self, frame: &mut GpuMat, stream: &mut Stream) -> Result<bool>
fn next_frame(&mut self, frame: &mut GpuMat, stream: &mut Stream) -> Result<bool>
Grabs, decodes and returns the next video frame. Read more
source§fn grab(&mut self, stream: &mut Stream) -> Result<bool>
fn grab(&mut self, stream: &mut Stream) -> Result<bool>
Grabs the next frame from the video source. Read more
source§fn set(
&mut self,
property_id: VideoReaderProps,
property_val: f64
) -> Result<bool>
fn set(
&mut self,
property_id: VideoReaderProps,
property_val: f64
) -> Result<bool>
Sets a property in the VideoReader. Read more
fn set_video_reader_props(
&mut self,
property_id: VideoReaderProps,
property_val: f64
) -> Result<bool>
source§impl VideoReaderConst for Ptr<dyn VideoReader>
impl VideoReaderConst for Ptr<dyn VideoReader>
fn as_raw_VideoReader(&self) -> *const c_void
source§fn format(&self) -> Result<FormatInfo>
fn format(&self) -> Result<FormatInfo>
Returns information about video file format.
source§fn retrieve(&self, frame: &mut dyn ToOutputArray, idx: size_t) -> Result<bool>
fn retrieve(&self, frame: &mut dyn ToOutputArray, idx: size_t) -> Result<bool>
Returns previously grabbed video data. Read more
source§fn retrieve_1(&self, frame: &mut Mat, idx: size_t) -> Result<bool>
fn retrieve_1(&self, frame: &mut Mat, idx: size_t) -> Result<bool>
Returns previously grabbed encoded video data. Read more
source§fn retrieve_2(&self, frame: &mut GpuMat) -> Result<bool>
fn retrieve_2(&self, frame: &mut GpuMat) -> Result<bool>
Returns the next video frame. Read more
source§fn get(
&self,
property_id: VideoReaderProps,
property_val: &mut f64
) -> Result<bool>
fn get(
&self,
property_id: VideoReaderProps,
property_val: &mut f64
) -> Result<bool>
Returns the specified VideoReader property Read more
source§fn get_video_reader_props(
&self,
property_id: VideoReaderProps,
property_val_out: &mut f64,
property_val_in: f64
) -> Result<bool>
fn get_video_reader_props(
&self,
property_id: VideoReaderProps,
property_val_out: &mut f64,
property_val_in: f64
) -> Result<bool>
C++ default parameters Read more
source§impl VideoWriter for Ptr<dyn VideoWriter>
impl VideoWriter for Ptr<dyn VideoWriter>
source§impl VideoWriterConst for Ptr<dyn VideoWriter>
impl VideoWriterConst for Ptr<dyn VideoWriter>
fn as_raw_VideoWriter(&self) -> *const c_void
fn get_encoder_params(&self) -> Result<EncoderParams>
source§impl WBDetector for Ptr<dyn WBDetector>
impl WBDetector for Ptr<dyn WBDetector>
source§impl WBDetectorConst for Ptr<dyn WBDetector>
impl WBDetectorConst for Ptr<dyn WBDetector>
source§impl WarperCreator for Ptr<AffineWarper>
impl WarperCreator for Ptr<AffineWarper>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<CompressedRectilinearPortraitWarper>
impl WarperCreator for Ptr<CompressedRectilinearPortraitWarper>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<CompressedRectilinearWarper>
impl WarperCreator for Ptr<CompressedRectilinearWarper>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<CylindricalWarper>
impl WarperCreator for Ptr<CylindricalWarper>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<CylindricalWarperGpu>
impl WarperCreator for Ptr<CylindricalWarperGpu>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<FisheyeWarper>
impl WarperCreator for Ptr<FisheyeWarper>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<MercatorWarper>
impl WarperCreator for Ptr<MercatorWarper>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<PaniniPortraitWarper>
impl WarperCreator for Ptr<PaniniPortraitWarper>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<PaniniWarper>
impl WarperCreator for Ptr<PaniniWarper>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<PlaneWarper>
impl WarperCreator for Ptr<PlaneWarper>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<PlaneWarperGpu>
impl WarperCreator for Ptr<PlaneWarperGpu>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<SphericalWarper>
impl WarperCreator for Ptr<SphericalWarper>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<SphericalWarperGpu>
impl WarperCreator for Ptr<SphericalWarperGpu>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<StereographicWarper>
impl WarperCreator for Ptr<StereographicWarper>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<TransverseMercatorWarper>
impl WarperCreator for Ptr<TransverseMercatorWarper>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreator for Ptr<dyn WarperCreator>
impl WarperCreator for Ptr<dyn WarperCreator>
fn as_raw_mut_WarperCreator(&mut self) -> *mut c_void
source§impl WarperCreatorConst for Ptr<AffineWarper>
impl WarperCreatorConst for Ptr<AffineWarper>
source§impl WarperCreatorConst for Ptr<CylindricalWarper>
impl WarperCreatorConst for Ptr<CylindricalWarper>
source§impl WarperCreatorConst for Ptr<CylindricalWarperGpu>
impl WarperCreatorConst for Ptr<CylindricalWarperGpu>
source§impl WarperCreatorConst for Ptr<FisheyeWarper>
impl WarperCreatorConst for Ptr<FisheyeWarper>
source§impl WarperCreatorConst for Ptr<MercatorWarper>
impl WarperCreatorConst for Ptr<MercatorWarper>
source§impl WarperCreatorConst for Ptr<PaniniPortraitWarper>
impl WarperCreatorConst for Ptr<PaniniPortraitWarper>
source§impl WarperCreatorConst for Ptr<PaniniWarper>
impl WarperCreatorConst for Ptr<PaniniWarper>
source§impl WarperCreatorConst for Ptr<PlaneWarper>
impl WarperCreatorConst for Ptr<PlaneWarper>
source§impl WarperCreatorConst for Ptr<PlaneWarperGpu>
impl WarperCreatorConst for Ptr<PlaneWarperGpu>
source§impl WarperCreatorConst for Ptr<SphericalWarper>
impl WarperCreatorConst for Ptr<SphericalWarper>
source§impl WarperCreatorConst for Ptr<SphericalWarperGpu>
impl WarperCreatorConst for Ptr<SphericalWarperGpu>
source§impl WarperCreatorConst for Ptr<StereographicWarper>
impl WarperCreatorConst for Ptr<StereographicWarper>
source§impl WarperCreatorConst for Ptr<dyn WarperCreator>
impl WarperCreatorConst for Ptr<dyn WarperCreator>
source§impl WeightingDeblurerTraitConst for Ptr<WeightingDeblurer>
impl WeightingDeblurerTraitConst for Ptr<WeightingDeblurer>
fn as_raw_WeightingDeblurer(&self) -> *const c_void
fn sensitivity(&self) -> Result<f32>
source§impl WhiteBalancer for Ptr<dyn GrayworldWB>
impl WhiteBalancer for Ptr<dyn GrayworldWB>
fn as_raw_mut_WhiteBalancer(&mut self) -> *mut c_void
source§fn balance_white(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn balance_white(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
Applies white balancing to the input image Read more
source§impl WhiteBalancer for Ptr<dyn LearningBasedWB>
impl WhiteBalancer for Ptr<dyn LearningBasedWB>
fn as_raw_mut_WhiteBalancer(&mut self) -> *mut c_void
source§fn balance_white(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn balance_white(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
Applies white balancing to the input image Read more
source§impl WhiteBalancer for Ptr<dyn SimpleWB>
impl WhiteBalancer for Ptr<dyn SimpleWB>
fn as_raw_mut_WhiteBalancer(&mut self) -> *mut c_void
source§fn balance_white(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
fn balance_white(
&mut self,
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray
) -> Result<()>
Applies white balancing to the input image Read more
source§impl WhiteBalancerConst for Ptr<dyn GrayworldWB>
impl WhiteBalancerConst for Ptr<dyn GrayworldWB>
fn as_raw_WhiteBalancer(&self) -> *const c_void
source§impl WhiteBalancerConst for Ptr<dyn LearningBasedWB>
impl WhiteBalancerConst for Ptr<dyn LearningBasedWB>
fn as_raw_WhiteBalancer(&self) -> *const c_void
source§impl WhiteBalancerConst for Ptr<dyn SimpleWB>
impl WhiteBalancerConst for Ptr<dyn SimpleWB>
fn as_raw_WhiteBalancer(&self) -> *const c_void
source§impl WindowScene for Ptr<dyn WindowScene>
impl WindowScene for Ptr<dyn WindowScene>
fn as_raw_mut_WindowScene(&mut self) -> *mut c_void
source§fn set_background(&mut self, image: &dyn ToInputArray) -> Result<()>
fn set_background(&mut self, image: &dyn ToInputArray) -> Result<()>
set window background to custom image/ color Read more
source§fn set_background_color(&mut self, color: Scalar) -> Result<()>
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<()>
fn set_compositors(&mut self, names: &Vector<String>) -> Result<()>
enable an ordered chain of full-screen post processing effects Read more
source§fn create_entity(
&mut self,
name: &str,
meshname: &str,
tvec: &dyn ToInputArray,
rot: &dyn ToInputArray
) -> Result<()>
fn create_entity(
&mut self,
name: &str,
meshname: &str,
tvec: &dyn ToInputArray,
rot: &dyn ToInputArray
) -> Result<()>
place an entity of a mesh in the scene Read more
source§fn remove_entity(&mut self, name: &str) -> Result<()>
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<()>
fn set_entity_property(
&mut self,
name: &str,
prop: i32,
value: &str,
sub_entity_idx: i32
) -> Result<()>
set the property of an entity to the given value Read more
source§fn set_entity_property_1(
&mut self,
name: &str,
prop: i32,
value: Scalar
) -> Result<()>
fn set_entity_property_1(
&mut self,
name: &str,
prop: i32,
value: Scalar
) -> Result<()>
set the property of an entity to the given value Read more
source§fn get_entity_property(
&mut self,
name: &str,
prop: i32,
value: &mut dyn ToOutputArray
) -> Result<()>
fn get_entity_property(
&mut self,
name: &str,
prop: i32,
value: &mut dyn ToOutputArray
) -> Result<()>
get the property of an entity Read more
source§fn create_camera_entity(
&mut self,
name: &str,
k: &dyn ToInputArray,
imsize: Size,
z_far: f32,
tvec: &dyn ToInputArray,
rot: &dyn ToInputArray,
color: Scalar
) -> Result<Rect2d>
fn create_camera_entity(
&mut self,
name: &str,
k: &dyn ToInputArray,
imsize: Size,
z_far: f32,
tvec: &dyn ToInputArray,
rot: &dyn ToInputArray,
color: Scalar
) -> Result<Rect2d>
convenience method to visualize a camera position Read more
source§fn create_light_entity(
&mut self,
name: &str,
tvec: &dyn ToInputArray,
rot: &dyn ToInputArray,
diffuse_color: Scalar,
specular_color: Scalar
) -> Result<()>
fn create_light_entity(
&mut self,
name: &str,
tvec: &dyn ToInputArray,
rot: &dyn ToInputArray,
diffuse_color: Scalar,
specular_color: Scalar
) -> Result<()>
creates a point light in the scene Read more
source§fn update_entity_pose(
&mut self,
name: &str,
tvec: &dyn ToInputArray,
rot: &dyn ToInputArray
) -> Result<()>
fn update_entity_pose(
&mut self,
name: &str,
tvec: &dyn ToInputArray,
rot: &dyn ToInputArray
) -> Result<()>
update entity pose by transformation in the parent coordinate space. (pre-rotation) Read more
source§fn set_entity_pose(
&mut self,
name: &str,
tvec: &dyn ToInputArray,
rot: &dyn ToInputArray,
invert: bool
) -> Result<()>
fn set_entity_pose(
&mut self,
name: &str,
tvec: &dyn ToInputArray,
rot: &dyn ToInputArray,
invert: bool
) -> Result<()>
set entity pose in the world coordinate space. Read more
source§fn get_entity_pose(
&mut self,
name: &str,
r: &mut dyn ToOutputArray,
tvec: &mut dyn ToOutputArray,
invert: bool
) -> Result<()>
fn get_entity_pose(
&mut self,
name: &str,
r: &mut dyn ToOutputArray,
tvec: &mut dyn ToOutputArray,
invert: bool
) -> Result<()>
Retrieves the current pose of an entity Read more
source§fn get_entity_animations(
&mut self,
name: &str,
out: &mut Vector<String>
) -> Result<()>
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<()>
fn play_entity_animation(
&mut self,
name: &str,
animname: &str,
loop_: bool
) -> Result<()>
play entity animation Read more
source§fn stop_entity_animation(&mut self, name: &str, animname: &str) -> Result<()>
fn stop_entity_animation(&mut self, name: &str, animname: &str) -> Result<()>
stop entity animation Read more
source§fn get_screenshot(&mut self, frame: &mut dyn ToOutputArray) -> Result<()>
fn get_screenshot(&mut self, frame: &mut dyn ToOutputArray) -> Result<()>
read back the image generated by the last call to @ref waitKey
source§fn get_compositor_texture(
&mut self,
compname: &str,
texname: &str,
out: &mut dyn ToOutputArray,
mrt_index: i32
) -> Result<()>
fn get_compositor_texture(
&mut self,
compname: &str,
texname: &str,
out: &mut dyn ToOutputArray,
mrt_index: i32
) -> Result<()>
read back the texture of an active compositor Read more
source§fn get_depth(&mut self, depth: &mut dyn ToOutputArray) -> Result<()>
fn get_depth(&mut self, depth: &mut dyn ToOutputArray) -> Result<()>
get the depth for the current frame. Read more
source§fn fix_camera_yaw_axis(
&mut self,
use_fixed: bool,
up: &dyn ToInputArray
) -> Result<()>
fn fix_camera_yaw_axis(
&mut self,
use_fixed: bool,
up: &dyn ToInputArray
) -> Result<()>
convenience method to force the “up” axis to stay fixed Read more
source§fn set_camera_pose(
&mut self,
tvec: &dyn ToInputArray,
rot: &dyn ToInputArray,
invert: bool
) -> Result<()>
fn set_camera_pose(
&mut self,
tvec: &dyn ToInputArray,
rot: &dyn ToInputArray,
invert: bool
) -> Result<()>
Sets the current camera pose Read more
source§fn set_camera_look_at(
&mut self,
target: &str,
offset: &dyn ToInputArray
) -> Result<()>
fn set_camera_look_at(
&mut self,
target: &str,
offset: &dyn ToInputArray
) -> Result<()>
convenience method to orient the camera to a specific entity Read more
source§fn set_entity_look_at(
&mut self,
origin: &str,
target: &str,
offset: &dyn ToInputArray
) -> Result<()>
fn set_entity_look_at(
&mut self,
origin: &str,
target: &str,
offset: &dyn ToInputArray
) -> Result<()>
convenience method to orient an entity to a specific entity.
If target is an empty string the entity looks at the given offset point Read more
source§fn get_camera_pose(
&mut self,
r: &mut dyn ToOutputArray,
tvec: &mut dyn ToOutputArray,
invert: bool
) -> Result<()>
fn get_camera_pose(
&mut self,
r: &mut dyn ToOutputArray,
tvec: &mut dyn ToOutputArray,
invert: bool
) -> Result<()>
Retrieves the current camera pose Read more
source§fn set_camera_intrinsics(
&mut self,
k: &dyn ToInputArray,
imsize: Size,
z_near: f32,
z_far: f32
) -> Result<()>
fn set_camera_intrinsics(
&mut self,
k: &dyn ToInputArray,
imsize: Size,
z_near: f32,
z_far: f32
) -> Result<()>
set intrinsics of the camera Read more