[][src]Trait opencv::hub_prelude::CUDA_CannyEdgeDetector

pub trait CUDA_CannyEdgeDetector: AlgorithmTrait {
    pub fn as_raw_CUDA_CannyEdgeDetector(&self) -> *const c_void;
pub fn as_raw_mut_CUDA_CannyEdgeDetector(&mut self) -> *mut c_void; pub fn detect(
        &mut self,
        image: &dyn ToInputArray,
        edges: &mut dyn ToOutputArray,
        stream: &mut Stream
    ) -> Result<()> { ... }
pub fn detect_1(
        &mut self,
        dx: &dyn ToInputArray,
        dy: &dyn ToInputArray,
        edges: &mut dyn ToOutputArray,
        stream: &mut Stream
    ) -> Result<()> { ... }
pub fn set_low_threshold(&mut self, low_thresh: f64) -> Result<()> { ... }
pub fn get_low_threshold(&self) -> Result<f64> { ... }
pub fn set_high_threshold(&mut self, high_thresh: f64) -> Result<()> { ... }
pub fn get_high_threshold(&self) -> Result<f64> { ... }
pub fn set_apperture_size(&mut self, apperture_size: i32) -> Result<()> { ... }
pub fn get_apperture_size(&self) -> Result<i32> { ... }
pub fn set_l2_gradient(&mut self, l2gradient: bool) -> Result<()> { ... }
pub fn get_l2_gradient(&self) -> Result<bool> { ... } }

Base class for Canny Edge Detector. :

Required methods

Loading content...

Provided methods

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

Finds edges in an image using the Canny86 algorithm.

Parameters

  • image: Single-channel 8-bit input image.
  • edges: Output edge map. It has the same size and type as image.
  • stream: Stream for the asynchronous version.

C++ default parameters

  • stream: Stream::Null()

pub fn detect_1(
    &mut self,
    dx: &dyn ToInputArray,
    dy: &dyn ToInputArray,
    edges: &mut dyn ToOutputArray,
    stream: &mut Stream
) -> Result<()>
[src]

Finds edges in an image using the Canny86 algorithm.

Parameters

  • image: Single-channel 8-bit input image.
  • edges: Output edge map. It has the same size and type as image.
  • stream: Stream for the asynchronous version.

Overloaded parameters

  • dx: First derivative of image in the vertical direction. Support only CV_32S type.
  • dy: First derivative of image in the horizontal direction. Support only CV_32S type.
  • edges: Output edge map. It has the same size and type as image.
  • stream: Stream for the asynchronous version.

C++ default parameters

  • stream: Stream::Null()

pub fn set_low_threshold(&mut self, low_thresh: f64) -> Result<()>[src]

pub fn get_low_threshold(&self) -> Result<f64>[src]

pub fn set_high_threshold(&mut self, high_thresh: f64) -> Result<()>[src]

pub fn get_high_threshold(&self) -> Result<f64>[src]

pub fn set_apperture_size(&mut self, apperture_size: i32) -> Result<()>[src]

pub fn get_apperture_size(&self) -> Result<i32>[src]

pub fn set_l2_gradient(&mut self, l2gradient: bool) -> Result<()>[src]

pub fn get_l2_gradient(&self) -> Result<bool>[src]

Loading content...

Implementors

Loading content...