pub struct Algorithm { /* private fields */ }
Expand description
This is a base class for all more or less complex algorithms in OpenCV
especially for classes of algorithms, for which there can be multiple implementations. The examples are stereo correspondence (for which there are algorithms like block matching, semi-global block matching, graph-cut etc.), background subtraction (which can be done using mixture-of-gaussians models, codebook-based algorithm etc.), optical flow (block matching, Lucas-Kanade, Horn-Schunck etc.).
Here is example of SimpleBlobDetector use in your application via Algorithm interface: Algorithm
Implementations§
Trait Implementations§
source§impl AlgorithmTrait for Algorithm
impl AlgorithmTrait for Algorithm
source§impl AlgorithmTraitConst for Algorithm
impl AlgorithmTraitConst for Algorithm
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn write(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
fn write_1(&self, fs: &mut impl FileStorageTrait, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
§Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§impl Boxed for Algorithm
impl Boxed for Algorithm
source§unsafe fn from_raw(ptr: <Algorithm as OpenCVFromExtern>::ExternReceive) -> Self
unsafe fn from_raw(ptr: <Algorithm as OpenCVFromExtern>::ExternReceive) -> Self
Wrap the specified raw pointer Read more
source§fn into_raw(self) -> <Algorithm as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw(self) -> <Algorithm as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
source§fn as_raw(&self) -> <Algorithm as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <Algorithm as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
source§fn as_raw_mut(
&mut self
) -> <Algorithm as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self ) -> <Algorithm as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
source§impl From<AccumLayer> for Algorithm
impl From<AccumLayer> for Algorithm
source§fn from(s: AccumLayer) -> Self
fn from(s: AccumLayer) -> Self
Converts to this type from the input type.
source§impl From<AcoshLayer> for Algorithm
impl From<AcoshLayer> for Algorithm
source§fn from(s: AcoshLayer) -> Self
fn from(s: AcoshLayer) -> Self
Converts to this type from the input type.
source§impl From<ActivationLayer> for Algorithm
impl From<ActivationLayer> for Algorithm
source§fn from(s: ActivationLayer) -> Self
fn from(s: ActivationLayer) -> Self
Converts to this type from the input type.
source§impl From<ActivationLayerInt8> for Algorithm
impl From<ActivationLayerInt8> for Algorithm
source§fn from(s: ActivationLayerInt8) -> Self
fn from(s: ActivationLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<AdaptiveManifoldFilter> for Algorithm
impl From<AdaptiveManifoldFilter> for Algorithm
source§fn from(s: AdaptiveManifoldFilter) -> Self
fn from(s: AdaptiveManifoldFilter) -> Self
Converts to this type from the input type.
source§impl From<AffineFeature> for Algorithm
impl From<AffineFeature> for Algorithm
source§fn from(s: AffineFeature) -> Self
fn from(s: AffineFeature) -> Self
Converts to this type from the input type.
source§impl From<AffineFeature2D> for Algorithm
impl From<AffineFeature2D> for Algorithm
source§fn from(s: AffineFeature2D) -> Self
fn from(s: AffineFeature2D) -> Self
Converts to this type from the input type.
source§impl From<AffineTransformer> for Algorithm
impl From<AffineTransformer> for Algorithm
source§fn from(s: AffineTransformer) -> Self
fn from(s: AffineTransformer) -> Self
Converts to this type from the input type.
source§impl From<AgastFeatureDetector> for Algorithm
impl From<AgastFeatureDetector> for Algorithm
source§fn from(s: AgastFeatureDetector) -> Self
fn from(s: AgastFeatureDetector) -> Self
Converts to this type from the input type.
source§impl From<AlignExposures> for Algorithm
impl From<AlignExposures> for Algorithm
source§fn from(s: AlignExposures) -> Self
fn from(s: AlignExposures) -> Self
Converts to this type from the input type.
source§impl From<ArucoDetector> for Algorithm
impl From<ArucoDetector> for Algorithm
source§fn from(s: ArucoDetector) -> Self
fn from(s: ArucoDetector) -> Self
Converts to this type from the input type.
source§impl From<AsinhLayer> for Algorithm
impl From<AsinhLayer> for Algorithm
source§fn from(s: AsinhLayer) -> Self
fn from(s: AsinhLayer) -> Self
Converts to this type from the input type.
source§impl From<AtanhLayer> for Algorithm
impl From<AtanhLayer> for Algorithm
source§fn from(s: AtanhLayer) -> Self
fn from(s: AtanhLayer) -> Self
Converts to this type from the input type.
source§impl From<AttentionLayer> for Algorithm
impl From<AttentionLayer> for Algorithm
source§fn from(s: AttentionLayer) -> Self
fn from(s: AttentionLayer) -> Self
Converts to this type from the input type.
source§impl From<AverageHash> for Algorithm
impl From<AverageHash> for Algorithm
source§fn from(s: AverageHash) -> Self
fn from(s: AverageHash) -> Self
Converts to this type from the input type.
source§impl From<BackgroundSubtractor> for Algorithm
impl From<BackgroundSubtractor> for Algorithm
source§fn from(s: BackgroundSubtractor) -> Self
fn from(s: BackgroundSubtractor) -> Self
Converts to this type from the input type.
source§impl From<BackgroundSubtractorCNT> for Algorithm
impl From<BackgroundSubtractorCNT> for Algorithm
source§fn from(s: BackgroundSubtractorCNT) -> Self
fn from(s: BackgroundSubtractorCNT) -> Self
Converts to this type from the input type.
source§impl From<BackgroundSubtractorGMG> for Algorithm
impl From<BackgroundSubtractorGMG> for Algorithm
source§fn from(s: BackgroundSubtractorGMG) -> Self
fn from(s: BackgroundSubtractorGMG) -> Self
Converts to this type from the input type.
source§impl From<BackgroundSubtractorGSOC> for Algorithm
impl From<BackgroundSubtractorGSOC> for Algorithm
source§fn from(s: BackgroundSubtractorGSOC) -> Self
fn from(s: BackgroundSubtractorGSOC) -> Self
Converts to this type from the input type.
source§impl From<BackgroundSubtractorKNN> for Algorithm
impl From<BackgroundSubtractorKNN> for Algorithm
source§fn from(s: BackgroundSubtractorKNN) -> Self
fn from(s: BackgroundSubtractorKNN) -> Self
Converts to this type from the input type.
source§impl From<BackgroundSubtractorLSBP> for Algorithm
impl From<BackgroundSubtractorLSBP> for Algorithm
source§fn from(s: BackgroundSubtractorLSBP) -> Self
fn from(s: BackgroundSubtractorLSBP) -> Self
Converts to this type from the input type.
source§impl From<BackgroundSubtractorMOG> for Algorithm
impl From<BackgroundSubtractorMOG> for Algorithm
source§fn from(s: BackgroundSubtractorMOG) -> Self
fn from(s: BackgroundSubtractorMOG) -> Self
Converts to this type from the input type.
source§impl From<BackgroundSubtractorMOG2> for Algorithm
impl From<BackgroundSubtractorMOG2> for Algorithm
source§fn from(s: BackgroundSubtractorMOG2) -> Self
fn from(s: BackgroundSubtractorMOG2) -> Self
Converts to this type from the input type.
source§impl From<BaseCascadeClassifier> for Algorithm
impl From<BaseCascadeClassifier> for Algorithm
source§fn from(s: BaseCascadeClassifier) -> Self
fn from(s: BaseCascadeClassifier) -> Self
Converts to this type from the input type.
source§impl From<BaseConvolutionLayer> for Algorithm
impl From<BaseConvolutionLayer> for Algorithm
source§fn from(s: BaseConvolutionLayer) -> Self
fn from(s: BaseConvolutionLayer) -> Self
Converts to this type from the input type.
source§impl From<BasicFaceRecognizer> for Algorithm
impl From<BasicFaceRecognizer> for Algorithm
source§fn from(s: BasicFaceRecognizer) -> Self
fn from(s: BasicFaceRecognizer) -> Self
Converts to this type from the input type.
source§impl From<BatchNormLayer> for Algorithm
impl From<BatchNormLayer> for Algorithm
source§fn from(s: BatchNormLayer) -> Self
fn from(s: BatchNormLayer) -> Self
Converts to this type from the input type.
source§impl From<BatchNormLayerInt8> for Algorithm
impl From<BatchNormLayerInt8> for Algorithm
source§fn from(s: BatchNormLayerInt8) -> Self
fn from(s: BatchNormLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<BinaryDescriptor> for Algorithm
impl From<BinaryDescriptor> for Algorithm
source§fn from(s: BinaryDescriptor) -> Self
fn from(s: BinaryDescriptor) -> Self
Converts to this type from the input type.
source§impl From<BinaryDescriptorMatcher> for Algorithm
impl From<BinaryDescriptorMatcher> for Algorithm
source§fn from(s: BinaryDescriptorMatcher) -> Self
fn from(s: BinaryDescriptorMatcher) -> Self
Converts to this type from the input type.
source§impl From<BlankLayer> for Algorithm
impl From<BlankLayer> for Algorithm
source§fn from(s: BlankLayer) -> Self
fn from(s: BlankLayer) -> Self
Converts to this type from the input type.
source§impl From<BlockMeanHash> for Algorithm
impl From<BlockMeanHash> for Algorithm
source§fn from(s: BlockMeanHash) -> Self
fn from(s: BlockMeanHash) -> Self
Converts to this type from the input type.
source§impl From<BriefDescriptorExtractor> for Algorithm
impl From<BriefDescriptorExtractor> for Algorithm
source§fn from(s: BriefDescriptorExtractor) -> Self
fn from(s: BriefDescriptorExtractor) -> Self
Converts to this type from the input type.
source§impl From<CUDA_BackgroundSubtractorMOG> for Algorithm
impl From<CUDA_BackgroundSubtractorMOG> for Algorithm
source§fn from(s: CUDA_BackgroundSubtractorMOG) -> Self
fn from(s: CUDA_BackgroundSubtractorMOG) -> Self
Converts to this type from the input type.
source§impl From<CUDA_BackgroundSubtractorMOG2> for Algorithm
impl From<CUDA_BackgroundSubtractorMOG2> for Algorithm
source§fn from(s: CUDA_BackgroundSubtractorMOG2) -> Self
fn from(s: CUDA_BackgroundSubtractorMOG2) -> Self
Converts to this type from the input type.
source§impl From<CUDA_BroxOpticalFlow> for Algorithm
impl From<CUDA_BroxOpticalFlow> for Algorithm
source§fn from(s: CUDA_BroxOpticalFlow) -> Self
fn from(s: CUDA_BroxOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<CUDA_CLAHE> for Algorithm
impl From<CUDA_CLAHE> for Algorithm
source§fn from(s: CUDA_CLAHE) -> Self
fn from(s: CUDA_CLAHE) -> Self
Converts to this type from the input type.
source§impl From<CUDA_CannyEdgeDetector> for Algorithm
impl From<CUDA_CannyEdgeDetector> for Algorithm
source§fn from(s: CUDA_CannyEdgeDetector) -> Self
fn from(s: CUDA_CannyEdgeDetector) -> Self
Converts to this type from the input type.
source§impl From<CUDA_CascadeClassifier> for Algorithm
impl From<CUDA_CascadeClassifier> for Algorithm
source§fn from(s: CUDA_CascadeClassifier) -> Self
fn from(s: CUDA_CascadeClassifier) -> Self
Converts to this type from the input type.
source§impl From<CUDA_CornernessCriteria> for Algorithm
impl From<CUDA_CornernessCriteria> for Algorithm
source§fn from(s: CUDA_CornernessCriteria) -> Self
fn from(s: CUDA_CornernessCriteria) -> Self
Converts to this type from the input type.
source§impl From<CUDA_CornersDetector> for Algorithm
impl From<CUDA_CornersDetector> for Algorithm
source§fn from(s: CUDA_CornersDetector) -> Self
fn from(s: CUDA_CornersDetector) -> Self
Converts to this type from the input type.
source§impl From<CUDA_DenseOpticalFlow> for Algorithm
impl From<CUDA_DenseOpticalFlow> for Algorithm
source§fn from(s: CUDA_DenseOpticalFlow) -> Self
fn from(s: CUDA_DenseOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<CUDA_DensePyrLKOpticalFlow> for Algorithm
impl From<CUDA_DensePyrLKOpticalFlow> for Algorithm
source§fn from(s: CUDA_DensePyrLKOpticalFlow) -> Self
fn from(s: CUDA_DensePyrLKOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<CUDA_DescriptorMatcher> for Algorithm
impl From<CUDA_DescriptorMatcher> for Algorithm
source§fn from(s: CUDA_DescriptorMatcher) -> Self
fn from(s: CUDA_DescriptorMatcher) -> Self
Converts to this type from the input type.
source§impl From<CUDA_DisparityBilateralFilter> for Algorithm
impl From<CUDA_DisparityBilateralFilter> for Algorithm
source§fn from(s: CUDA_DisparityBilateralFilter) -> Self
fn from(s: CUDA_DisparityBilateralFilter) -> Self
Converts to this type from the input type.
source§impl From<CUDA_FarnebackOpticalFlow> for Algorithm
impl From<CUDA_FarnebackOpticalFlow> for Algorithm
source§fn from(s: CUDA_FarnebackOpticalFlow) -> Self
fn from(s: CUDA_FarnebackOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<CUDA_FastFeatureDetector> for Algorithm
impl From<CUDA_FastFeatureDetector> for Algorithm
source§fn from(s: CUDA_FastFeatureDetector) -> Self
fn from(s: CUDA_FastFeatureDetector) -> Self
Converts to this type from the input type.
source§impl From<CUDA_Feature2DAsync> for Algorithm
impl From<CUDA_Feature2DAsync> for Algorithm
source§fn from(s: CUDA_Feature2DAsync) -> Self
fn from(s: CUDA_Feature2DAsync) -> Self
Converts to this type from the input type.
source§impl From<CUDA_HoughCirclesDetector> for Algorithm
impl From<CUDA_HoughCirclesDetector> for Algorithm
source§fn from(s: CUDA_HoughCirclesDetector) -> Self
fn from(s: CUDA_HoughCirclesDetector) -> Self
Converts to this type from the input type.
source§impl From<CUDA_HoughLinesDetector> for Algorithm
impl From<CUDA_HoughLinesDetector> for Algorithm
source§fn from(s: CUDA_HoughLinesDetector) -> Self
fn from(s: CUDA_HoughLinesDetector) -> Self
Converts to this type from the input type.
source§impl From<CUDA_HoughSegmentDetector> for Algorithm
impl From<CUDA_HoughSegmentDetector> for Algorithm
source§fn from(s: CUDA_HoughSegmentDetector) -> Self
fn from(s: CUDA_HoughSegmentDetector) -> Self
Converts to this type from the input type.
source§impl From<CUDA_NvidiaHWOpticalFlow> for Algorithm
impl From<CUDA_NvidiaHWOpticalFlow> for Algorithm
source§fn from(s: CUDA_NvidiaHWOpticalFlow) -> Self
fn from(s: CUDA_NvidiaHWOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<CUDA_NvidiaOpticalFlow_1_0> for Algorithm
impl From<CUDA_NvidiaOpticalFlow_1_0> for Algorithm
source§fn from(s: CUDA_NvidiaOpticalFlow_1_0) -> Self
fn from(s: CUDA_NvidiaOpticalFlow_1_0) -> Self
Converts to this type from the input type.
source§impl From<CUDA_NvidiaOpticalFlow_2_0> for Algorithm
impl From<CUDA_NvidiaOpticalFlow_2_0> for Algorithm
source§fn from(s: CUDA_NvidiaOpticalFlow_2_0) -> Self
fn from(s: CUDA_NvidiaOpticalFlow_2_0) -> Self
Converts to this type from the input type.
source§impl From<CUDA_OpticalFlowDual_TVL1> for Algorithm
impl From<CUDA_OpticalFlowDual_TVL1> for Algorithm
source§fn from(s: CUDA_OpticalFlowDual_TVL1) -> Self
fn from(s: CUDA_OpticalFlowDual_TVL1) -> Self
Converts to this type from the input type.
source§impl From<CUDA_SparseOpticalFlow> for Algorithm
impl From<CUDA_SparseOpticalFlow> for Algorithm
source§fn from(s: CUDA_SparseOpticalFlow) -> Self
fn from(s: CUDA_SparseOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<CUDA_SparsePyrLKOpticalFlow> for Algorithm
impl From<CUDA_SparsePyrLKOpticalFlow> for Algorithm
source§fn from(s: CUDA_SparsePyrLKOpticalFlow) -> Self
fn from(s: CUDA_SparsePyrLKOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<CUDA_StereoBM> for Algorithm
impl From<CUDA_StereoBM> for Algorithm
source§fn from(s: CUDA_StereoBM) -> Self
fn from(s: CUDA_StereoBM) -> Self
Converts to this type from the input type.
source§impl From<CUDA_StereoBeliefPropagation> for Algorithm
impl From<CUDA_StereoBeliefPropagation> for Algorithm
source§fn from(s: CUDA_StereoBeliefPropagation) -> Self
fn from(s: CUDA_StereoBeliefPropagation) -> Self
Converts to this type from the input type.
source§impl From<CUDA_StereoConstantSpaceBP> for Algorithm
impl From<CUDA_StereoConstantSpaceBP> for Algorithm
source§fn from(s: CUDA_StereoConstantSpaceBP) -> Self
fn from(s: CUDA_StereoConstantSpaceBP) -> Self
Converts to this type from the input type.
source§impl From<CUDA_StereoSGM> for Algorithm
impl From<CUDA_StereoSGM> for Algorithm
source§fn from(s: CUDA_StereoSGM) -> Self
fn from(s: CUDA_StereoSGM) -> Self
Converts to this type from the input type.
source§impl From<CUDA_TemplateMatching> for Algorithm
impl From<CUDA_TemplateMatching> for Algorithm
source§fn from(s: CUDA_TemplateMatching) -> Self
fn from(s: CUDA_TemplateMatching) -> Self
Converts to this type from the input type.
source§impl From<CalibrateCRF> for Algorithm
impl From<CalibrateCRF> for Algorithm
source§fn from(s: CalibrateCRF) -> Self
fn from(s: CalibrateCRF) -> Self
Converts to this type from the input type.
source§impl From<CalibrateDebevec> for Algorithm
impl From<CalibrateDebevec> for Algorithm
source§fn from(s: CalibrateDebevec) -> Self
fn from(s: CalibrateDebevec) -> Self
Converts to this type from the input type.
source§impl From<CalibrateRobertson> for Algorithm
impl From<CalibrateRobertson> for Algorithm
source§fn from(s: CalibrateRobertson) -> Self
fn from(s: CalibrateRobertson) -> Self
Converts to this type from the input type.
source§impl From<ChannelsPReLULayer> for Algorithm
impl From<ChannelsPReLULayer> for Algorithm
source§fn from(s: ChannelsPReLULayer) -> Self
fn from(s: ChannelsPReLULayer) -> Self
Converts to this type from the input type.
source§impl From<CharucoDetector> for Algorithm
impl From<CharucoDetector> for Algorithm
source§fn from(s: CharucoDetector) -> Self
fn from(s: CharucoDetector) -> Self
Converts to this type from the input type.
source§impl From<ChiHistogramCostExtractor> for Algorithm
impl From<ChiHistogramCostExtractor> for Algorithm
source§fn from(s: ChiHistogramCostExtractor) -> Self
fn from(s: ChiHistogramCostExtractor) -> Self
Converts to this type from the input type.
source§impl From<ColorMomentHash> for Algorithm
impl From<ColorMomentHash> for Algorithm
source§fn from(s: ColorMomentHash) -> Self
fn from(s: ColorMomentHash) -> Self
Converts to this type from the input type.
source§impl From<CompareLayer> for Algorithm
impl From<CompareLayer> for Algorithm
source§fn from(s: CompareLayer) -> Self
fn from(s: CompareLayer) -> Self
Converts to this type from the input type.
source§impl From<ConcatLayer> for Algorithm
impl From<ConcatLayer> for Algorithm
source§fn from(s: ConcatLayer) -> Self
fn from(s: ConcatLayer) -> Self
Converts to this type from the input type.
source§impl From<ConjGradSolver> for Algorithm
impl From<ConjGradSolver> for Algorithm
source§fn from(s: ConjGradSolver) -> Self
fn from(s: ConjGradSolver) -> Self
Converts to this type from the input type.
source§impl From<ConstLayer> for Algorithm
impl From<ConstLayer> for Algorithm
source§fn from(s: ConstLayer) -> Self
fn from(s: ConstLayer) -> Self
Converts to this type from the input type.
source§impl From<ContourFitting> for Algorithm
impl From<ContourFitting> for Algorithm
source§fn from(s: ContourFitting) -> Self
fn from(s: ContourFitting) -> Self
Converts to this type from the input type.
source§impl From<Convolution> for Algorithm
impl From<Convolution> for Algorithm
source§fn from(s: Convolution) -> Self
fn from(s: Convolution) -> Self
Converts to this type from the input type.
source§impl From<ConvolutionLayer> for Algorithm
impl From<ConvolutionLayer> for Algorithm
source§fn from(s: ConvolutionLayer) -> Self
fn from(s: ConvolutionLayer) -> Self
Converts to this type from the input type.
source§impl From<ConvolutionLayerInt8> for Algorithm
impl From<ConvolutionLayerInt8> for Algorithm
source§fn from(s: ConvolutionLayerInt8) -> Self
fn from(s: ConvolutionLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<CorrelationLayer> for Algorithm
impl From<CorrelationLayer> for Algorithm
source§fn from(s: CorrelationLayer) -> Self
fn from(s: CorrelationLayer) -> Self
Converts to this type from the input type.
source§impl From<CropAndResizeLayer> for Algorithm
impl From<CropAndResizeLayer> for Algorithm
source§fn from(s: CropAndResizeLayer) -> Self
fn from(s: CropAndResizeLayer) -> Self
Converts to this type from the input type.
source§impl From<CumSumLayer> for Algorithm
impl From<CumSumLayer> for Algorithm
source§fn from(s: CumSumLayer) -> Self
fn from(s: CumSumLayer) -> Self
Converts to this type from the input type.
source§impl From<CustomPattern> for Algorithm
impl From<CustomPattern> for Algorithm
source§fn from(s: CustomPattern) -> Self
fn from(s: CustomPattern) -> Self
Converts to this type from the input type.
source§impl From<DISOpticalFlow> for Algorithm
impl From<DISOpticalFlow> for Algorithm
source§fn from(s: DISOpticalFlow) -> Self
fn from(s: DISOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<DataAugmentationLayer> for Algorithm
impl From<DataAugmentationLayer> for Algorithm
source§fn from(s: DataAugmentationLayer) -> Self
fn from(s: DataAugmentationLayer) -> Self
Converts to this type from the input type.
source§impl From<DeconvolutionLayer> for Algorithm
impl From<DeconvolutionLayer> for Algorithm
source§fn from(s: DeconvolutionLayer) -> Self
fn from(s: DeconvolutionLayer) -> Self
Converts to this type from the input type.
source§impl From<DenseOpticalFlow> for Algorithm
impl From<DenseOpticalFlow> for Algorithm
source§fn from(s: DenseOpticalFlow) -> Self
fn from(s: DenseOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<DenseRLOFOpticalFlow> for Algorithm
impl From<DenseRLOFOpticalFlow> for Algorithm
source§fn from(s: DenseRLOFOpticalFlow) -> Self
fn from(s: DenseRLOFOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<DepthCleaner> for Algorithm
impl From<DepthCleaner> for Algorithm
source§fn from(s: DepthCleaner) -> Self
fn from(s: DepthCleaner) -> Self
Converts to this type from the input type.
source§impl From<DequantizeLayer> for Algorithm
impl From<DequantizeLayer> for Algorithm
source§fn from(s: DequantizeLayer) -> Self
fn from(s: DequantizeLayer) -> Self
Converts to this type from the input type.
source§impl From<DescriptorMatcher> for Algorithm
impl From<DescriptorMatcher> for Algorithm
source§fn from(s: DescriptorMatcher) -> Self
fn from(s: DescriptorMatcher) -> Self
Converts to this type from the input type.
source§impl From<DetectionOutputLayer> for Algorithm
impl From<DetectionOutputLayer> for Algorithm
source§fn from(s: DetectionOutputLayer) -> Self
fn from(s: DetectionOutputLayer) -> Self
Converts to this type from the input type.
source§impl From<DisparityFilter> for Algorithm
impl From<DisparityFilter> for Algorithm
source§fn from(s: DisparityFilter) -> Self
fn from(s: DisparityFilter) -> Self
Converts to this type from the input type.
source§impl From<DisparityWLSFilter> for Algorithm
impl From<DisparityWLSFilter> for Algorithm
source§fn from(s: DisparityWLSFilter) -> Self
fn from(s: DisparityWLSFilter) -> Self
Converts to this type from the input type.
source§impl From<DownhillSolver> for Algorithm
impl From<DownhillSolver> for Algorithm
source§fn from(s: DownhillSolver) -> Self
fn from(s: DownhillSolver) -> Self
Converts to this type from the input type.
source§impl From<DualTVL1OpticalFlow> for Algorithm
impl From<DualTVL1OpticalFlow> for Algorithm
source§fn from(s: DualTVL1OpticalFlow) -> Self
fn from(s: DualTVL1OpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<EMDHistogramCostExtractor> for Algorithm
impl From<EMDHistogramCostExtractor> for Algorithm
source§fn from(s: EMDHistogramCostExtractor) -> Self
fn from(s: EMDHistogramCostExtractor) -> Self
Converts to this type from the input type.
source§impl From<EMDL1HistogramCostExtractor> for Algorithm
impl From<EMDL1HistogramCostExtractor> for Algorithm
source§fn from(s: EMDL1HistogramCostExtractor) -> Self
fn from(s: EMDL1HistogramCostExtractor) -> Self
Converts to this type from the input type.
source§impl From<EdgeAwareInterpolator> for Algorithm
impl From<EdgeAwareInterpolator> for Algorithm
source§fn from(s: EdgeAwareInterpolator) -> Self
fn from(s: EdgeAwareInterpolator) -> Self
Converts to this type from the input type.
source§impl From<EdgeDrawing> for Algorithm
impl From<EdgeDrawing> for Algorithm
source§fn from(s: EdgeDrawing) -> Self
fn from(s: EdgeDrawing) -> Self
Converts to this type from the input type.
source§impl From<EigenFaceRecognizer> for Algorithm
impl From<EigenFaceRecognizer> for Algorithm
source§fn from(s: EigenFaceRecognizer) -> Self
fn from(s: EigenFaceRecognizer) -> Self
Converts to this type from the input type.
source§impl From<EinsumLayer> for Algorithm
impl From<EinsumLayer> for Algorithm
source§fn from(s: EinsumLayer) -> Self
fn from(s: EinsumLayer) -> Self
Converts to this type from the input type.
source§impl From<EltwiseLayer> for Algorithm
impl From<EltwiseLayer> for Algorithm
source§fn from(s: EltwiseLayer) -> Self
fn from(s: EltwiseLayer) -> Self
Converts to this type from the input type.
source§impl From<EltwiseLayerInt8> for Algorithm
impl From<EltwiseLayerInt8> for Algorithm
source§fn from(s: EltwiseLayerInt8) -> Self
fn from(s: EltwiseLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<ExpandLayer> for Algorithm
impl From<ExpandLayer> for Algorithm
source§fn from(s: ExpandLayer) -> Self
fn from(s: ExpandLayer) -> Self
Converts to this type from the input type.
source§impl From<FaceRecognizer> for Algorithm
impl From<FaceRecognizer> for Algorithm
source§fn from(s: FaceRecognizer) -> Self
fn from(s: FaceRecognizer) -> Self
Converts to this type from the input type.
source§impl From<FacemarkAAM> for Algorithm
impl From<FacemarkAAM> for Algorithm
source§fn from(s: FacemarkAAM) -> Self
fn from(s: FacemarkAAM) -> Self
Converts to this type from the input type.
source§impl From<FacemarkKazemi> for Algorithm
impl From<FacemarkKazemi> for Algorithm
source§fn from(s: FacemarkKazemi) -> Self
fn from(s: FacemarkKazemi) -> Self
Converts to this type from the input type.
source§impl From<FacemarkLBF> for Algorithm
impl From<FacemarkLBF> for Algorithm
source§fn from(s: FacemarkLBF) -> Self
fn from(s: FacemarkLBF) -> Self
Converts to this type from the input type.
source§impl From<FacemarkTrain> for Algorithm
impl From<FacemarkTrain> for Algorithm
source§fn from(s: FacemarkTrain) -> Self
fn from(s: FacemarkTrain) -> Self
Converts to this type from the input type.
source§impl From<FarnebackOpticalFlow> for Algorithm
impl From<FarnebackOpticalFlow> for Algorithm
source§fn from(s: FarnebackOpticalFlow) -> Self
fn from(s: FarnebackOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<FastBilateralSolverFilter> for Algorithm
impl From<FastBilateralSolverFilter> for Algorithm
source§fn from(s: FastBilateralSolverFilter) -> Self
fn from(s: FastBilateralSolverFilter) -> Self
Converts to this type from the input type.
source§impl From<FastFeatureDetector> for Algorithm
impl From<FastFeatureDetector> for Algorithm
source§fn from(s: FastFeatureDetector) -> Self
fn from(s: FastFeatureDetector) -> Self
Converts to this type from the input type.
source§impl From<FastGlobalSmootherFilter> for Algorithm
impl From<FastGlobalSmootherFilter> for Algorithm
source§fn from(s: FastGlobalSmootherFilter) -> Self
fn from(s: FastGlobalSmootherFilter) -> Self
Converts to this type from the input type.
source§impl From<FastICPOdometry> for Algorithm
impl From<FastICPOdometry> for Algorithm
source§fn from(s: FastICPOdometry) -> Self
fn from(s: FastICPOdometry) -> Self
Converts to this type from the input type.
source§impl From<FastLineDetector> for Algorithm
impl From<FastLineDetector> for Algorithm
source§fn from(s: FastLineDetector) -> Self
fn from(s: FastLineDetector) -> Self
Converts to this type from the input type.
source§impl From<FisherFaceRecognizer> for Algorithm
impl From<FisherFaceRecognizer> for Algorithm
source§fn from(s: FisherFaceRecognizer) -> Self
fn from(s: FisherFaceRecognizer) -> Self
Converts to this type from the input type.
source§impl From<FlannBasedMatcher> for Algorithm
impl From<FlannBasedMatcher> for Algorithm
source§fn from(s: FlannBasedMatcher) -> Self
fn from(s: FlannBasedMatcher) -> Self
Converts to this type from the input type.
source§impl From<FlattenLayer> for Algorithm
impl From<FlattenLayer> for Algorithm
source§fn from(s: FlattenLayer) -> Self
fn from(s: FlattenLayer) -> Self
Converts to this type from the input type.
source§impl From<FloorLayer> for Algorithm
impl From<FloorLayer> for Algorithm
source§fn from(s: FloorLayer) -> Self
fn from(s: FloorLayer) -> Self
Converts to this type from the input type.
source§impl From<FlowWarpLayer> for Algorithm
impl From<FlowWarpLayer> for Algorithm
source§fn from(s: FlowWarpLayer) -> Self
fn from(s: FlowWarpLayer) -> Self
Converts to this type from the input type.
source§impl From<GFTTDetector> for Algorithm
impl From<GFTTDetector> for Algorithm
source§fn from(s: GFTTDetector) -> Self
fn from(s: GFTTDetector) -> Self
Converts to this type from the input type.
source§impl From<GatherElementsLayer> for Algorithm
impl From<GatherElementsLayer> for Algorithm
source§fn from(s: GatherElementsLayer) -> Self
fn from(s: GatherElementsLayer) -> Self
Converts to this type from the input type.
source§impl From<GatherLayer> for Algorithm
impl From<GatherLayer> for Algorithm
source§fn from(s: GatherLayer) -> Self
fn from(s: GatherLayer) -> Self
Converts to this type from the input type.
source§impl From<GeluApproximationLayer> for Algorithm
impl From<GeluApproximationLayer> for Algorithm
source§fn from(s: GeluApproximationLayer) -> Self
fn from(s: GeluApproximationLayer) -> Self
Converts to this type from the input type.
source§impl From<GeneralizedHough> for Algorithm
impl From<GeneralizedHough> for Algorithm
source§fn from(s: GeneralizedHough) -> Self
fn from(s: GeneralizedHough) -> Self
Converts to this type from the input type.
source§impl From<GeneralizedHoughBallard> for Algorithm
impl From<GeneralizedHoughBallard> for Algorithm
source§fn from(s: GeneralizedHoughBallard) -> Self
fn from(s: GeneralizedHoughBallard) -> Self
Converts to this type from the input type.
source§impl From<GeneralizedHoughGuil> for Algorithm
impl From<GeneralizedHoughGuil> for Algorithm
source§fn from(s: GeneralizedHoughGuil) -> Self
fn from(s: GeneralizedHoughGuil) -> Self
Converts to this type from the input type.
source§impl From<GraphSegmentation> for Algorithm
impl From<GraphSegmentation> for Algorithm
source§fn from(s: GraphSegmentation) -> Self
fn from(s: GraphSegmentation) -> Self
Converts to this type from the input type.
source§impl From<GrayCodePattern> for Algorithm
impl From<GrayCodePattern> for Algorithm
source§fn from(s: GrayCodePattern) -> Self
fn from(s: GrayCodePattern) -> Self
Converts to this type from the input type.
source§impl From<GrayworldWB> for Algorithm
impl From<GrayworldWB> for Algorithm
source§fn from(s: GrayworldWB) -> Self
fn from(s: GrayworldWB) -> Self
Converts to this type from the input type.
source§impl From<GuidedFilter> for Algorithm
impl From<GuidedFilter> for Algorithm
source§fn from(s: GuidedFilter) -> Self
fn from(s: GuidedFilter) -> Self
Converts to this type from the input type.
source§impl From<HardSigmoidLayer> for Algorithm
impl From<HardSigmoidLayer> for Algorithm
source§fn from(s: HardSigmoidLayer) -> Self
fn from(s: HardSigmoidLayer) -> Self
Converts to this type from the input type.
source§impl From<HardSwishLayer> for Algorithm
impl From<HardSwishLayer> for Algorithm
source§fn from(s: HardSwishLayer) -> Self
fn from(s: HardSwishLayer) -> Self
Converts to this type from the input type.
source§impl From<HarrisLaplaceFeatureDetector> for Algorithm
impl From<HarrisLaplaceFeatureDetector> for Algorithm
source§fn from(s: HarrisLaplaceFeatureDetector) -> Self
fn from(s: HarrisLaplaceFeatureDetector) -> Self
Converts to this type from the input type.
source§impl From<HausdorffDistanceExtractor> for Algorithm
impl From<HausdorffDistanceExtractor> for Algorithm
source§fn from(s: HausdorffDistanceExtractor) -> Self
fn from(s: HausdorffDistanceExtractor) -> Self
Converts to this type from the input type.
source§impl From<HfsSegment> for Algorithm
impl From<HfsSegment> for Algorithm
source§fn from(s: HfsSegment) -> Self
fn from(s: HfsSegment) -> Self
Converts to this type from the input type.
source§impl From<HistogramCostExtractor> for Algorithm
impl From<HistogramCostExtractor> for Algorithm
source§fn from(s: HistogramCostExtractor) -> Self
fn from(s: HistogramCostExtractor) -> Self
Converts to this type from the input type.
source§impl From<HistogramPhaseUnwrapping> for Algorithm
impl From<HistogramPhaseUnwrapping> for Algorithm
source§fn from(s: HistogramPhaseUnwrapping) -> Self
fn from(s: HistogramPhaseUnwrapping) -> Self
Converts to this type from the input type.
source§impl From<ICPOdometry> for Algorithm
impl From<ICPOdometry> for Algorithm
source§fn from(s: ICPOdometry) -> Self
fn from(s: ICPOdometry) -> Self
Converts to this type from the input type.
source§impl From<ImgHashBase> for Algorithm
impl From<ImgHashBase> for Algorithm
source§fn from(s: ImgHashBase) -> Self
fn from(s: ImgHashBase) -> Self
Converts to this type from the input type.
source§impl From<InnerProductLayer> for Algorithm
impl From<InnerProductLayer> for Algorithm
source§fn from(s: InnerProductLayer) -> Self
fn from(s: InnerProductLayer) -> Self
Converts to this type from the input type.
source§impl From<InnerProductLayerInt8> for Algorithm
impl From<InnerProductLayerInt8> for Algorithm
source§fn from(s: InnerProductLayerInt8) -> Self
fn from(s: InnerProductLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<InstanceNormLayer> for Algorithm
impl From<InstanceNormLayer> for Algorithm
source§fn from(s: InstanceNormLayer) -> Self
fn from(s: InstanceNormLayer) -> Self
Converts to this type from the input type.
source§impl From<InterpLayer> for Algorithm
impl From<InterpLayer> for Algorithm
source§fn from(s: InterpLayer) -> Self
fn from(s: InterpLayer) -> Self
Converts to this type from the input type.
source§impl From<LBPHFaceRecognizer> for Algorithm
impl From<LBPHFaceRecognizer> for Algorithm
source§fn from(s: LBPHFaceRecognizer) -> Self
fn from(s: LBPHFaceRecognizer) -> Self
Converts to this type from the input type.
source§impl From<LSDDetector> for Algorithm
impl From<LSDDetector> for Algorithm
source§fn from(s: LSDDetector) -> Self
fn from(s: LSDDetector) -> Self
Converts to this type from the input type.
source§impl From<LayerNormLayer> for Algorithm
impl From<LayerNormLayer> for Algorithm
source§fn from(s: LayerNormLayer) -> Self
fn from(s: LayerNormLayer) -> Self
Converts to this type from the input type.
source§impl From<LearningBasedWB> for Algorithm
impl From<LearningBasedWB> for Algorithm
source§fn from(s: LearningBasedWB) -> Self
fn from(s: LearningBasedWB) -> Self
Converts to this type from the input type.
source§impl From<LineSegmentDetector> for Algorithm
impl From<LineSegmentDetector> for Algorithm
source§fn from(s: LineSegmentDetector) -> Self
fn from(s: LineSegmentDetector) -> Self
Converts to this type from the input type.
source§impl From<LogisticRegression> for Algorithm
impl From<LogisticRegression> for Algorithm
source§fn from(s: LogisticRegression) -> Self
fn from(s: LogisticRegression) -> Self
Converts to this type from the input type.
source§impl From<LookUpTable> for Algorithm
impl From<LookUpTable> for Algorithm
source§fn from(s: LookUpTable) -> Self
fn from(s: LookUpTable) -> Self
Converts to this type from the input type.
source§impl From<MCC_CCheckerDetector> for Algorithm
impl From<MCC_CCheckerDetector> for Algorithm
source§fn from(s: MCC_CCheckerDetector) -> Self
fn from(s: MCC_CCheckerDetector) -> Self
Converts to this type from the input type.
source§impl From<MSDDetector> for Algorithm
impl From<MSDDetector> for Algorithm
source§fn from(s: MSDDetector) -> Self
fn from(s: MSDDetector) -> Self
Converts to this type from the input type.
source§impl From<MarrHildrethHash> for Algorithm
impl From<MarrHildrethHash> for Algorithm
source§fn from(s: MarrHildrethHash) -> Self
fn from(s: MarrHildrethHash) -> Self
Converts to this type from the input type.
source§impl From<MatMulLayer> for Algorithm
impl From<MatMulLayer> for Algorithm
source§fn from(s: MatMulLayer) -> Self
fn from(s: MatMulLayer) -> Self
Converts to this type from the input type.
source§impl From<MaxUnpoolLayer> for Algorithm
impl From<MaxUnpoolLayer> for Algorithm
source§fn from(s: MaxUnpoolLayer) -> Self
fn from(s: MaxUnpoolLayer) -> Self
Converts to this type from the input type.
source§impl From<MergeDebevec> for Algorithm
impl From<MergeDebevec> for Algorithm
source§fn from(s: MergeDebevec) -> Self
fn from(s: MergeDebevec) -> Self
Converts to this type from the input type.
source§impl From<MergeExposures> for Algorithm
impl From<MergeExposures> for Algorithm
source§fn from(s: MergeExposures) -> Self
fn from(s: MergeExposures) -> Self
Converts to this type from the input type.
source§impl From<MergeMertens> for Algorithm
impl From<MergeMertens> for Algorithm
source§fn from(s: MergeMertens) -> Self
fn from(s: MergeMertens) -> Self
Converts to this type from the input type.
source§impl From<MergeRobertson> for Algorithm
impl From<MergeRobertson> for Algorithm
source§fn from(s: MergeRobertson) -> Self
fn from(s: MergeRobertson) -> Self
Converts to this type from the input type.
source§impl From<MinProblemSolver> for Algorithm
impl From<MinProblemSolver> for Algorithm
source§fn from(s: MinProblemSolver) -> Self
fn from(s: MinProblemSolver) -> Self
Converts to this type from the input type.
source§impl From<MotionSaliency> for Algorithm
impl From<MotionSaliency> for Algorithm
source§fn from(s: MotionSaliency) -> Self
fn from(s: MotionSaliency) -> Self
Converts to this type from the input type.
source§impl From<MotionSaliencyBinWangApr2014> for Algorithm
impl From<MotionSaliencyBinWangApr2014> for Algorithm
source§fn from(s: MotionSaliencyBinWangApr2014) -> Self
fn from(s: MotionSaliencyBinWangApr2014) -> Self
Converts to this type from the input type.
source§impl From<NaryEltwiseLayer> for Algorithm
impl From<NaryEltwiseLayer> for Algorithm
source§fn from(s: NaryEltwiseLayer) -> Self
fn from(s: NaryEltwiseLayer) -> Self
Converts to this type from the input type.
source§impl From<NormHistogramCostExtractor> for Algorithm
impl From<NormHistogramCostExtractor> for Algorithm
source§fn from(s: NormHistogramCostExtractor) -> Self
fn from(s: NormHistogramCostExtractor) -> Self
Converts to this type from the input type.
source§impl From<NormalBayesClassifier> for Algorithm
impl From<NormalBayesClassifier> for Algorithm
source§fn from(s: NormalBayesClassifier) -> Self
fn from(s: NormalBayesClassifier) -> Self
Converts to this type from the input type.
source§impl From<NormalizeBBoxLayer> for Algorithm
impl From<NormalizeBBoxLayer> for Algorithm
source§fn from(s: NormalizeBBoxLayer) -> Self
fn from(s: NormalizeBBoxLayer) -> Self
Converts to this type from the input type.
source§impl From<Objectness> for Algorithm
impl From<Objectness> for Algorithm
source§fn from(s: Objectness) -> Self
fn from(s: Objectness) -> Self
Converts to this type from the input type.
source§impl From<ObjectnessBING> for Algorithm
impl From<ObjectnessBING> for Algorithm
source§fn from(s: ObjectnessBING) -> Self
fn from(s: ObjectnessBING) -> Self
Converts to this type from the input type.
source§impl From<OpticalFlowPCAFlow> for Algorithm
impl From<OpticalFlowPCAFlow> for Algorithm
source§fn from(s: OpticalFlowPCAFlow) -> Self
fn from(s: OpticalFlowPCAFlow) -> Self
Converts to this type from the input type.
source§impl From<PCTSignatures> for Algorithm
impl From<PCTSignatures> for Algorithm
source§fn from(s: PCTSignatures) -> Self
fn from(s: PCTSignatures) -> Self
Converts to this type from the input type.
source§impl From<PCTSignaturesSQFD> for Algorithm
impl From<PCTSignaturesSQFD> for Algorithm
source§fn from(s: PCTSignaturesSQFD) -> Self
fn from(s: PCTSignaturesSQFD) -> Self
Converts to this type from the input type.
source§impl From<PaddingLayer> for Algorithm
impl From<PaddingLayer> for Algorithm
source§fn from(s: PaddingLayer) -> Self
fn from(s: PaddingLayer) -> Self
Converts to this type from the input type.
source§impl From<PermuteLayer> for Algorithm
impl From<PermuteLayer> for Algorithm
source§fn from(s: PermuteLayer) -> Self
fn from(s: PermuteLayer) -> Self
Converts to this type from the input type.
source§impl From<PhaseUnwrapping> for Algorithm
impl From<PhaseUnwrapping> for Algorithm
source§fn from(s: PhaseUnwrapping) -> Self
fn from(s: PhaseUnwrapping) -> Self
Converts to this type from the input type.
source§impl From<PoolingLayer> for Algorithm
impl From<PoolingLayer> for Algorithm
source§fn from(s: PoolingLayer) -> Self
fn from(s: PoolingLayer) -> Self
Converts to this type from the input type.
source§impl From<PoolingLayerInt8> for Algorithm
impl From<PoolingLayerInt8> for Algorithm
source§fn from(s: PoolingLayerInt8) -> Self
fn from(s: PoolingLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<PowerLayer> for Algorithm
impl From<PowerLayer> for Algorithm
source§fn from(s: PowerLayer) -> Self
fn from(s: PowerLayer) -> Self
Converts to this type from the input type.
source§impl From<PriorBoxLayer> for Algorithm
impl From<PriorBoxLayer> for Algorithm
source§fn from(s: PriorBoxLayer) -> Self
fn from(s: PriorBoxLayer) -> Self
Converts to this type from the input type.
source§impl From<ProposalLayer> for Algorithm
impl From<ProposalLayer> for Algorithm
source§fn from(s: ProposalLayer) -> Self
fn from(s: ProposalLayer) -> Self
Converts to this type from the input type.
source§impl From<QualityBRISQUE> for Algorithm
impl From<QualityBRISQUE> for Algorithm
source§fn from(s: QualityBRISQUE) -> Self
fn from(s: QualityBRISQUE) -> Self
Converts to this type from the input type.
source§impl From<QualityBase> for Algorithm
impl From<QualityBase> for Algorithm
source§fn from(s: QualityBase) -> Self
fn from(s: QualityBase) -> Self
Converts to this type from the input type.
source§impl From<QualityGMSD> for Algorithm
impl From<QualityGMSD> for Algorithm
source§fn from(s: QualityGMSD) -> Self
fn from(s: QualityGMSD) -> Self
Converts to this type from the input type.
source§impl From<QualityMSE> for Algorithm
impl From<QualityMSE> for Algorithm
source§fn from(s: QualityMSE) -> Self
fn from(s: QualityMSE) -> Self
Converts to this type from the input type.
source§impl From<QualityPSNR> for Algorithm
impl From<QualityPSNR> for Algorithm
source§fn from(s: QualityPSNR) -> Self
fn from(s: QualityPSNR) -> Self
Converts to this type from the input type.
source§impl From<QualitySSIM> for Algorithm
impl From<QualitySSIM> for Algorithm
source§fn from(s: QualitySSIM) -> Self
fn from(s: QualitySSIM) -> Self
Converts to this type from the input type.
source§impl From<QuantizeLayer> for Algorithm
impl From<QuantizeLayer> for Algorithm
source§fn from(s: QuantizeLayer) -> Self
fn from(s: QuantizeLayer) -> Self
Converts to this type from the input type.
source§impl From<RFFeatureGetter> for Algorithm
impl From<RFFeatureGetter> for Algorithm
source§fn from(s: RFFeatureGetter) -> Self
fn from(s: RFFeatureGetter) -> Self
Converts to this type from the input type.
source§impl From<RICInterpolator> for Algorithm
impl From<RICInterpolator> for Algorithm
source§fn from(s: RICInterpolator) -> Self
fn from(s: RICInterpolator) -> Self
Converts to this type from the input type.
source§impl From<RadialVarianceHash> for Algorithm
impl From<RadialVarianceHash> for Algorithm
source§fn from(s: RadialVarianceHash) -> Self
fn from(s: RadialVarianceHash) -> Self
Converts to this type from the input type.
source§impl From<Rapid_GOSTracker> for Algorithm
impl From<Rapid_GOSTracker> for Algorithm
source§fn from(s: Rapid_GOSTracker) -> Self
fn from(s: Rapid_GOSTracker) -> Self
Converts to this type from the input type.
source§impl From<Rapid_OLSTracker> for Algorithm
impl From<Rapid_OLSTracker> for Algorithm
source§fn from(s: Rapid_OLSTracker) -> Self
fn from(s: Rapid_OLSTracker) -> Self
Converts to this type from the input type.
source§impl From<Rapid_Rapid> for Algorithm
impl From<Rapid_Rapid> for Algorithm
source§fn from(s: Rapid_Rapid) -> Self
fn from(s: Rapid_Rapid) -> Self
Converts to this type from the input type.
source§impl From<Rapid_Tracker> for Algorithm
impl From<Rapid_Tracker> for Algorithm
source§fn from(s: Rapid_Tracker) -> Self
fn from(s: Rapid_Tracker) -> Self
Converts to this type from the input type.
source§impl From<ReLU6Layer> for Algorithm
impl From<ReLU6Layer> for Algorithm
source§fn from(s: ReLU6Layer) -> Self
fn from(s: ReLU6Layer) -> Self
Converts to this type from the input type.
source§impl From<ReciprocalLayer> for Algorithm
impl From<ReciprocalLayer> for Algorithm
source§fn from(s: ReciprocalLayer) -> Self
fn from(s: ReciprocalLayer) -> Self
Converts to this type from the input type.
source§impl From<ReduceLayer> for Algorithm
impl From<ReduceLayer> for Algorithm
source§fn from(s: ReduceLayer) -> Self
fn from(s: ReduceLayer) -> Self
Converts to this type from the input type.
source§impl From<RegionLayer> for Algorithm
impl From<RegionLayer> for Algorithm
source§fn from(s: RegionLayer) -> Self
fn from(s: RegionLayer) -> Self
Converts to this type from the input type.
source§impl From<ReorgLayer> for Algorithm
impl From<ReorgLayer> for Algorithm
source§fn from(s: ReorgLayer) -> Self
fn from(s: ReorgLayer) -> Self
Converts to this type from the input type.
source§impl From<RequantizeLayer> for Algorithm
impl From<RequantizeLayer> for Algorithm
source§fn from(s: RequantizeLayer) -> Self
fn from(s: RequantizeLayer) -> Self
Converts to this type from the input type.
source§impl From<ReshapeLayer> for Algorithm
impl From<ReshapeLayer> for Algorithm
source§fn from(s: ReshapeLayer) -> Self
fn from(s: ReshapeLayer) -> Self
Converts to this type from the input type.
source§impl From<ResizeLayer> for Algorithm
impl From<ResizeLayer> for Algorithm
source§fn from(s: ResizeLayer) -> Self
fn from(s: ResizeLayer) -> Self
Converts to this type from the input type.
source§impl From<RetinaFastToneMapping> for Algorithm
impl From<RetinaFastToneMapping> for Algorithm
source§fn from(s: RetinaFastToneMapping) -> Self
fn from(s: RetinaFastToneMapping) -> Self
Converts to this type from the input type.
source§impl From<RgbdICPOdometry> for Algorithm
impl From<RgbdICPOdometry> for Algorithm
source§fn from(s: RgbdICPOdometry) -> Self
fn from(s: RgbdICPOdometry) -> Self
Converts to this type from the input type.
source§impl From<RgbdNormals> for Algorithm
impl From<RgbdNormals> for Algorithm
source§fn from(s: RgbdNormals) -> Self
fn from(s: RgbdNormals) -> Self
Converts to this type from the input type.
source§impl From<RgbdOdometry> for Algorithm
impl From<RgbdOdometry> for Algorithm
source§fn from(s: RgbdOdometry) -> Self
fn from(s: RgbdOdometry) -> Self
Converts to this type from the input type.
source§impl From<RidgeDetectionFilter> for Algorithm
impl From<RidgeDetectionFilter> for Algorithm
source§fn from(s: RidgeDetectionFilter) -> Self
fn from(s: RidgeDetectionFilter) -> Self
Converts to this type from the input type.
source§impl From<RoundLayer> for Algorithm
impl From<RoundLayer> for Algorithm
source§fn from(s: RoundLayer) -> Self
fn from(s: RoundLayer) -> Self
Converts to this type from the input type.
source§impl From<SVM_Kernel> for Algorithm
impl From<SVM_Kernel> for Algorithm
source§fn from(s: SVM_Kernel) -> Self
fn from(s: SVM_Kernel) -> Self
Converts to this type from the input type.
source§impl From<ScaleLayer> for Algorithm
impl From<ScaleLayer> for Algorithm
source§fn from(s: ScaleLayer) -> Self
fn from(s: ScaleLayer) -> Self
Converts to this type from the input type.
source§impl From<ScaleLayerInt8> for Algorithm
impl From<ScaleLayerInt8> for Algorithm
source§fn from(s: ScaleLayerInt8) -> Self
fn from(s: ScaleLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<ScanSegment> for Algorithm
impl From<ScanSegment> for Algorithm
source§fn from(s: ScanSegment) -> Self
fn from(s: ScanSegment) -> Self
Converts to this type from the input type.
source§impl From<ScatterLayer> for Algorithm
impl From<ScatterLayer> for Algorithm
source§fn from(s: ScatterLayer) -> Self
fn from(s: ScatterLayer) -> Self
Converts to this type from the input type.
source§impl From<ScatterNDLayer> for Algorithm
impl From<ScatterNDLayer> for Algorithm
source§fn from(s: ScatterNDLayer) -> Self
fn from(s: ScatterNDLayer) -> Self
Converts to this type from the input type.
source§impl From<SelectiveSearchSegmentation> for Algorithm
impl From<SelectiveSearchSegmentation> for Algorithm
source§fn from(s: SelectiveSearchSegmentation) -> Self
fn from(s: SelectiveSearchSegmentation) -> Self
Converts to this type from the input type.
source§impl From<SelectiveSearchSegmentationStrategy> for Algorithm
impl From<SelectiveSearchSegmentationStrategy> for Algorithm
source§fn from(s: SelectiveSearchSegmentationStrategy) -> Self
fn from(s: SelectiveSearchSegmentationStrategy) -> Self
Converts to this type from the input type.
source§impl From<SelectiveSearchSegmentationStrategyColor> for Algorithm
impl From<SelectiveSearchSegmentationStrategyColor> for Algorithm
source§fn from(s: SelectiveSearchSegmentationStrategyColor) -> Self
fn from(s: SelectiveSearchSegmentationStrategyColor) -> Self
Converts to this type from the input type.
source§impl From<SelectiveSearchSegmentationStrategyFill> for Algorithm
impl From<SelectiveSearchSegmentationStrategyFill> for Algorithm
source§fn from(s: SelectiveSearchSegmentationStrategyFill) -> Self
fn from(s: SelectiveSearchSegmentationStrategyFill) -> Self
Converts to this type from the input type.
source§impl From<SelectiveSearchSegmentationStrategyMultiple> for Algorithm
impl From<SelectiveSearchSegmentationStrategyMultiple> for Algorithm
source§fn from(s: SelectiveSearchSegmentationStrategyMultiple) -> Self
fn from(s: SelectiveSearchSegmentationStrategyMultiple) -> Self
Converts to this type from the input type.
source§impl From<SelectiveSearchSegmentationStrategySize> for Algorithm
impl From<SelectiveSearchSegmentationStrategySize> for Algorithm
source§fn from(s: SelectiveSearchSegmentationStrategySize) -> Self
fn from(s: SelectiveSearchSegmentationStrategySize) -> Self
Converts to this type from the input type.
source§impl From<SelectiveSearchSegmentationStrategyTexture> for Algorithm
impl From<SelectiveSearchSegmentationStrategyTexture> for Algorithm
source§fn from(s: SelectiveSearchSegmentationStrategyTexture) -> Self
fn from(s: SelectiveSearchSegmentationStrategyTexture) -> Self
Converts to this type from the input type.
source§impl From<ShapeContextDistanceExtractor> for Algorithm
impl From<ShapeContextDistanceExtractor> for Algorithm
source§fn from(s: ShapeContextDistanceExtractor) -> Self
fn from(s: ShapeContextDistanceExtractor) -> Self
Converts to this type from the input type.
source§impl From<ShapeDistanceExtractor> for Algorithm
impl From<ShapeDistanceExtractor> for Algorithm
source§fn from(s: ShapeDistanceExtractor) -> Self
fn from(s: ShapeDistanceExtractor) -> Self
Converts to this type from the input type.
source§impl From<ShapeTransformer> for Algorithm
impl From<ShapeTransformer> for Algorithm
source§fn from(s: ShapeTransformer) -> Self
fn from(s: ShapeTransformer) -> Self
Converts to this type from the input type.
source§impl From<ShiftLayer> for Algorithm
impl From<ShiftLayer> for Algorithm
source§fn from(s: ShiftLayer) -> Self
fn from(s: ShiftLayer) -> Self
Converts to this type from the input type.
source§impl From<ShiftLayerInt8> for Algorithm
impl From<ShiftLayerInt8> for Algorithm
source§fn from(s: ShiftLayerInt8) -> Self
fn from(s: ShiftLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<ShrinkLayer> for Algorithm
impl From<ShrinkLayer> for Algorithm
source§fn from(s: ShrinkLayer) -> Self
fn from(s: ShrinkLayer) -> Self
Converts to this type from the input type.
source§impl From<ShuffleChannelLayer> for Algorithm
impl From<ShuffleChannelLayer> for Algorithm
source§fn from(s: ShuffleChannelLayer) -> Self
fn from(s: ShuffleChannelLayer) -> Self
Converts to this type from the input type.
source§impl From<SigmoidLayer> for Algorithm
impl From<SigmoidLayer> for Algorithm
source§fn from(s: SigmoidLayer) -> Self
fn from(s: SigmoidLayer) -> Self
Converts to this type from the input type.
source§impl From<SimpleBlobDetector> for Algorithm
impl From<SimpleBlobDetector> for Algorithm
source§fn from(s: SimpleBlobDetector) -> Self
fn from(s: SimpleBlobDetector) -> Self
Converts to this type from the input type.
source§impl From<SinusoidalPattern> for Algorithm
impl From<SinusoidalPattern> for Algorithm
source§fn from(s: SinusoidalPattern) -> Self
fn from(s: SinusoidalPattern) -> Self
Converts to this type from the input type.
source§impl From<SliceLayer> for Algorithm
impl From<SliceLayer> for Algorithm
source§fn from(s: SliceLayer) -> Self
fn from(s: SliceLayer) -> Self
Converts to this type from the input type.
source§impl From<SoftmaxLayer> for Algorithm
impl From<SoftmaxLayer> for Algorithm
source§fn from(s: SoftmaxLayer) -> Self
fn from(s: SoftmaxLayer) -> Self
Converts to this type from the input type.
source§impl From<SoftmaxLayerInt8> for Algorithm
impl From<SoftmaxLayerInt8> for Algorithm
source§fn from(s: SoftmaxLayerInt8) -> Self
fn from(s: SoftmaxLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<SoftplusLayer> for Algorithm
impl From<SoftplusLayer> for Algorithm
source§fn from(s: SoftplusLayer) -> Self
fn from(s: SoftplusLayer) -> Self
Converts to this type from the input type.
source§impl From<SoftsignLayer> for Algorithm
impl From<SoftsignLayer> for Algorithm
source§fn from(s: SoftsignLayer) -> Self
fn from(s: SoftsignLayer) -> Self
Converts to this type from the input type.
source§impl From<SparseMatchInterpolator> for Algorithm
impl From<SparseMatchInterpolator> for Algorithm
source§fn from(s: SparseMatchInterpolator) -> Self
fn from(s: SparseMatchInterpolator) -> Self
Converts to this type from the input type.
source§impl From<SparseOpticalFlow> for Algorithm
impl From<SparseOpticalFlow> for Algorithm
source§fn from(s: SparseOpticalFlow) -> Self
fn from(s: SparseOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<SparsePyrLKOpticalFlow> for Algorithm
impl From<SparsePyrLKOpticalFlow> for Algorithm
source§fn from(s: SparsePyrLKOpticalFlow) -> Self
fn from(s: SparsePyrLKOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<SparseRLOFOpticalFlow> for Algorithm
impl From<SparseRLOFOpticalFlow> for Algorithm
source§fn from(s: SparseRLOFOpticalFlow) -> Self
fn from(s: SparseRLOFOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<SplitLayer> for Algorithm
impl From<SplitLayer> for Algorithm
source§fn from(s: SplitLayer) -> Self
fn from(s: SplitLayer) -> Self
Converts to this type from the input type.
source§impl From<StarDetector> for Algorithm
impl From<StarDetector> for Algorithm
source§fn from(s: StarDetector) -> Self
fn from(s: StarDetector) -> Self
Converts to this type from the input type.
source§impl From<StaticSaliency> for Algorithm
impl From<StaticSaliency> for Algorithm
source§fn from(s: StaticSaliency) -> Self
fn from(s: StaticSaliency) -> Self
Converts to this type from the input type.
source§impl From<StaticSaliencyFineGrained> for Algorithm
impl From<StaticSaliencyFineGrained> for Algorithm
source§fn from(s: StaticSaliencyFineGrained) -> Self
fn from(s: StaticSaliencyFineGrained) -> Self
Converts to this type from the input type.
source§impl From<StaticSaliencySpectralResidual> for Algorithm
impl From<StaticSaliencySpectralResidual> for Algorithm
source§fn from(s: StaticSaliencySpectralResidual) -> Self
fn from(s: StaticSaliencySpectralResidual) -> Self
Converts to this type from the input type.
source§impl From<StereoMatcher> for Algorithm
impl From<StereoMatcher> for Algorithm
source§fn from(s: StereoMatcher) -> Self
fn from(s: StereoMatcher) -> Self
Converts to this type from the input type.
source§impl From<StereoSGBM> for Algorithm
impl From<StereoSGBM> for Algorithm
source§fn from(s: StereoSGBM) -> Self
fn from(s: StereoSGBM) -> Self
Converts to this type from the input type.
source§impl From<StructuredEdgeDetection> for Algorithm
impl From<StructuredEdgeDetection> for Algorithm
source§fn from(s: StructuredEdgeDetection) -> Self
fn from(s: StructuredEdgeDetection) -> Self
Converts to this type from the input type.
source§impl From<StructuredLightPattern> for Algorithm
impl From<StructuredLightPattern> for Algorithm
source§fn from(s: StructuredLightPattern) -> Self
fn from(s: StructuredLightPattern) -> Self
Converts to this type from the input type.
source§impl From<SuperRes_BroxOpticalFlow> for Algorithm
impl From<SuperRes_BroxOpticalFlow> for Algorithm
source§fn from(s: SuperRes_BroxOpticalFlow) -> Self
fn from(s: SuperRes_BroxOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<SuperRes_DenseOpticalFlowExt> for Algorithm
impl From<SuperRes_DenseOpticalFlowExt> for Algorithm
source§fn from(s: SuperRes_DenseOpticalFlowExt) -> Self
fn from(s: SuperRes_DenseOpticalFlowExt) -> Self
Converts to this type from the input type.
source§impl From<SuperRes_DualTVL1OpticalFlow> for Algorithm
impl From<SuperRes_DualTVL1OpticalFlow> for Algorithm
source§fn from(s: SuperRes_DualTVL1OpticalFlow) -> Self
fn from(s: SuperRes_DualTVL1OpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<SuperRes_FarnebackOpticalFlow> for Algorithm
impl From<SuperRes_FarnebackOpticalFlow> for Algorithm
source§fn from(s: SuperRes_FarnebackOpticalFlow) -> Self
fn from(s: SuperRes_FarnebackOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<SuperRes_PyrLKOpticalFlow> for Algorithm
impl From<SuperRes_PyrLKOpticalFlow> for Algorithm
source§fn from(s: SuperRes_PyrLKOpticalFlow) -> Self
fn from(s: SuperRes_PyrLKOpticalFlow) -> Self
Converts to this type from the input type.
source§impl From<SuperRes_SuperResolution> for Algorithm
impl From<SuperRes_SuperResolution> for Algorithm
source§fn from(s: SuperRes_SuperResolution) -> Self
fn from(s: SuperRes_SuperResolution) -> Self
Converts to this type from the input type.
source§impl From<SuperpixelLSC> for Algorithm
impl From<SuperpixelLSC> for Algorithm
source§fn from(s: SuperpixelLSC) -> Self
fn from(s: SuperpixelLSC) -> Self
Converts to this type from the input type.
source§impl From<SuperpixelSEEDS> for Algorithm
impl From<SuperpixelSEEDS> for Algorithm
source§fn from(s: SuperpixelSEEDS) -> Self
fn from(s: SuperpixelSEEDS) -> Self
Converts to this type from the input type.
source§impl From<SuperpixelSLIC> for Algorithm
impl From<SuperpixelSLIC> for Algorithm
source§fn from(s: SuperpixelSLIC) -> Self
fn from(s: SuperpixelSLIC) -> Self
Converts to this type from the input type.
source§impl From<SwishLayer> for Algorithm
impl From<SwishLayer> for Algorithm
source§fn from(s: SwishLayer) -> Self
fn from(s: SwishLayer) -> Self
Converts to this type from the input type.
source§impl From<SyntheticSequenceGenerator> for Algorithm
impl From<SyntheticSequenceGenerator> for Algorithm
source§fn from(s: SyntheticSequenceGenerator) -> Self
fn from(s: SyntheticSequenceGenerator) -> Self
Converts to this type from the input type.
source§impl From<ThinPlateSplineShapeTransformer> for Algorithm
impl From<ThinPlateSplineShapeTransformer> for Algorithm
source§fn from(s: ThinPlateSplineShapeTransformer) -> Self
fn from(s: ThinPlateSplineShapeTransformer) -> Self
Converts to this type from the input type.
source§impl From<ThresholdedReluLayer> for Algorithm
impl From<ThresholdedReluLayer> for Algorithm
source§fn from(s: ThresholdedReluLayer) -> Self
fn from(s: ThresholdedReluLayer) -> Self
Converts to this type from the input type.
source§impl From<TonemapDrago> for Algorithm
impl From<TonemapDrago> for Algorithm
source§fn from(s: TonemapDrago) -> Self
fn from(s: TonemapDrago) -> Self
Converts to this type from the input type.
source§impl From<TonemapDurand> for Algorithm
impl From<TonemapDurand> for Algorithm
source§fn from(s: TonemapDurand) -> Self
fn from(s: TonemapDurand) -> Self
Converts to this type from the input type.
source§impl From<TonemapMantiuk> for Algorithm
impl From<TonemapMantiuk> for Algorithm
source§fn from(s: TonemapMantiuk) -> Self
fn from(s: TonemapMantiuk) -> Self
Converts to this type from the input type.
source§impl From<TonemapReinhard> for Algorithm
impl From<TonemapReinhard> for Algorithm
source§fn from(s: TonemapReinhard) -> Self
fn from(s: TonemapReinhard) -> Self
Converts to this type from the input type.
source§impl From<TransientAreasSegmentationModule> for Algorithm
impl From<TransientAreasSegmentationModule> for Algorithm
source§fn from(s: TransientAreasSegmentationModule) -> Self
fn from(s: TransientAreasSegmentationModule) -> Self
Converts to this type from the input type.
source§impl From<VariationalRefinement> for Algorithm
impl From<VariationalRefinement> for Algorithm
source§fn from(s: VariationalRefinement) -> Self
fn from(s: VariationalRefinement) -> Self
Converts to this type from the input type.
source§impl From<WhiteBalancer> for Algorithm
impl From<WhiteBalancer> for Algorithm
source§fn from(s: WhiteBalancer) -> Self
fn from(s: WhiteBalancer) -> Self
Converts to this type from the input type.
source§impl TryFrom<Algorithm> for ConjGradSolver
impl TryFrom<Algorithm> for ConjGradSolver
source§impl TryFrom<Algorithm> for DownhillSolver
impl TryFrom<Algorithm> for DownhillSolver
source§impl TryFrom<Algorithm> for MinProblemSolver
impl TryFrom<Algorithm> for MinProblemSolver
impl Send for Algorithm
Auto Trait Implementations§
impl Freeze for Algorithm
impl RefUnwindSafe for Algorithm
impl !Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
source§unsafe fn modify_inplace<Res>(
&mut self,
f: impl FnOnce(&Mat, &mut Mat) -> Res
) -> Res
unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Mat, &mut Mat) -> Res ) -> Res
Helper function to call OpenCV functions that allow in-place modification of a
Mat
or another similar object. By passing
a mutable reference to the Mat
to this function your closure will get called with the read reference and a write references
to the same Mat
. This is of course unsafe as it breaks the Rust aliasing rules, but it might be useful for some performance
sensitive operations. One example of an OpenCV function that allows such in-place modification is imgproc::threshold
. Read more