[][src]Trait opencv::cudaimgproc::CUDA_TemplateMatching

pub trait CUDA_TemplateMatching: AlgorithmTrait {
    pub fn as_raw_CUDA_TemplateMatching(&self) -> *const c_void;
pub fn as_raw_mut_CUDA_TemplateMatching(&mut self) -> *mut c_void; pub fn match_(
        &mut self,
        image: &dyn ToInputArray,
        templ: &dyn ToInputArray,
        result: &mut dyn ToOutputArray,
        stream: &mut Stream
    ) -> Result<()> { ... } }

Base class for Template Matching. :

Required methods

Loading content...

Provided methods

pub fn match_(
    &mut self,
    image: &dyn ToInputArray,
    templ: &dyn ToInputArray,
    result: &mut dyn ToOutputArray,
    stream: &mut Stream
) -> Result<()>
[src]

Computes a proximity map for a raster template and an image where the template is searched for.

Parameters

  • image: Source image.
  • templ: Template image with the size and type the same as image .
  • result: Map containing comparison results ( CV_32FC1 ). If image is W x H and templ is w x h, then result must be W-w+1 x H-h+1.
  • stream: Stream for the asynchronous version.

C++ default parameters

  • stream: Stream::Null()
Loading content...

Implementors

Loading content...