[−][src]Struct opencv::line_descriptor::LSDDetector
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]
&mut self,
image: &Mat,
keypoints: &mut VectorOfKeyLine,
scale: i32,
num_octaves: i32,
mask: &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
C++ default parameters
- mask: Mat()
pub fn detect_multiple(
&self,
images: &VectorOfMat,
keylines: &mut VectorOfVectorOfKeyLine,
scale: i32,
num_octaves: i32,
masks: &VectorOfMat
) -> Result<()>
[src]
&self,
images: &VectorOfMat,
keylines: &mut VectorOfVectorOfKeyLine,
scale: i32,
num_octaves: i32,
masks: &VectorOfMat
) -> Result<()>
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]
fn as_raw_Algorithm(&self) -> *mut c_void
[src]
fn clear(&mut self) -> Result<()>
[src]
fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
fn write_1(&self, fs: &PtrOfFileStorage, name: &str) -> Result<()>
[src]
fn read(&mut self, _fn: &FileNode) -> Result<()>
[src]
fn empty(&self) -> Result<bool>
[src]
fn save(&self, filename: &str) -> Result<()>
[src]
fn get_default_name(&self) -> Result<String>
[src]
impl Send for LSDDetector
[src]
impl Drop for LSDDetector
[src]
Auto Trait Implementations
impl !Sync for LSDDetector
impl Unpin for LSDDetector
impl UnwindSafe for LSDDetector
impl RefUnwindSafe for LSDDetector
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,