[][src]Struct opencv::line_descriptor::LSDDetector

pub struct LSDDetector { /* fields omitted */ }

Methods

impl LSDDetector[src]

pub fn as_raw_LSDDetector(&self) -> *mut c_void[src]

pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self[src]

impl LSDDetector[src]

pub fn default() -> Result<LSDDetector>[src]

pub fn new(_params: LSDParam) -> Result<LSDDetector>[src]

pub fn create_lsd_detector() -> Result<PtrOfLSDDetector>[src]

Creates ad LSDDetector object, using smart pointers.

pub fn create_lsd_detector_1(params: LSDParam) -> Result<PtrOfLSDDetector>[src]

pub fn detect(
    &mut self,
    image: &Mat,
    keypoints: &mut VectorOfKeyLine,
    scale: i32,
    num_octaves: i32,
    mask: &Mat
) -> Result<()>
[src]

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

C++ default parameters

  • mask: Mat()

pub fn detect_multiple(
    &self,
    images: &VectorOfMat,
    keylines: &mut VectorOfVectorOfKeyLine,
    scale: i32,
    num_octaves: i32,
    masks: &VectorOfMat
) -> Result<()>
[src]

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()

Trait Implementations

impl AlgorithmTrait for LSDDetector[src]

impl Send for LSDDetector[src]

impl Drop for LSDDetector[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]