pub trait LSDDetectorTraitConst: AlgorithmTraitConst {
    // Required method
    fn as_raw_LSDDetector(&self) -> *const c_void;

    // Provided method
    fn detect_multiple(
        &self,
        images: &Vector<Mat>,
        keylines: &mut Vector<Vector<KeyLine>>,
        scale: i32,
        num_octaves: i32,
        masks: &Vector<Mat>
    ) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

source

fn detect_multiple( &self, images: &Vector<Mat>, keylines: &mut Vector<Vector<KeyLine>>, scale: i32, num_octaves: i32, masks: &Vector<Mat> ) -> Result<()>

Detect lines inside an image.

Parameters
  • image: input image
  • keypoints: vector that will store extracted lines for one or more images
  • scale: scale factor used in pyramids generation
  • numOctaves: number of octaves inside pyramid
  • mask: mask matrix to detect only KeyLines of interest
Overloaded parameters
  • images: input images
  • keylines: set of vectors that will store extracted lines for one or more images
  • scale: scale factor used in pyramids generation
  • numOctaves: number of octaves inside pyramid
  • masks: vector of mask matrices to detect only KeyLines of interest from each input image
C++ default parameters
  • masks: std::vector()

Implementors§