Class cv::line_descriptor::LSDDetector#
#include <opencv2/line_descriptor/descriptor.hpp>Collaboration diagram for cv::line_descriptor::LSDDetector:
Public Member Functions#
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Constructor & Destructor Documentation#
LSDDetector()#
cv::line_descriptor::LSDDetector::LSDDetector()
Python:
cv.line_descriptor.LSDDetector(_params) -> <line_descriptor_LSDDetector object>
LSDDetector()#
cv::line_descriptor::LSDDetector::LSDDetector(LSDParam _params)
Python:
cv.line_descriptor.LSDDetector(_params) -> <line_descriptor_LSDDetector object>
Member Function Documentation#
detect()#
void cv::line_descriptor::LSDDetector::detect(
const Mat & image,
std::vector< KeyLine > & keypoints,
int scale,
int numOctaves,
const Mat & mask = Mat() )
Python:
cv.line_descriptor.LSDDetector.detect(image, scale, numOctaves[, mask]) -> keypoints
cv.line_descriptor.LSDDetector.detect(images, keylines, scale, numOctaves[, masks])
Detect lines inside an image.
Parameters
image— input imagekeypoints— vector that will store extracted lines for one or more imagesscale— scale factor used in pyramids generationnumOctaves— number of octaves inside pyramidmask— mask matrix to detect only KeyLines of interest
detect()#
void cv::line_descriptor::LSDDetector::detect(
const std::vector< Mat > & images,
std::vector< std::vector< KeyLine > > & keylines,
int scale,
int numOctaves,
const std::vector< Mat > & masks = std::vector< Mat >() )
Python:
cv.line_descriptor.LSDDetector.detect(image, scale, numOctaves[, mask]) -> keypoints
cv.line_descriptor.LSDDetector.detect(images, keylines, scale, numOctaves[, masks])
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Parameters
images— input imageskeylines— set of vectors that will store extracted lines for one or more imagesscale— scale factor used in pyramids generationnumOctaves— number of octaves inside pyramidmasks— vector of mask matrices to detect only KeyLines of interest from each input image
createLSDDetector()#
static Ptr< LSDDetector > cv::line_descriptor::LSDDetector::createLSDDetector()
Python:
cv.line_descriptor.LSDDetector.createLSDDetector() -> retval
cv.line_descriptor.LSDDetector.createLSDDetectorWithParams(params) -> retval
cv.line_descriptor.LSDDetector_createLSDDetector() -> retval
cv.line_descriptor.LSDDetector_createLSDDetectorWithParams(params) -> retval
Creates ad LSDDetector object, using smart pointers.
createLSDDetector()#
static Ptr< LSDDetector > cv::line_descriptor::LSDDetector::createLSDDetector(LSDParam params)
Python:
cv.line_descriptor.LSDDetector.createLSDDetector() -> retval
cv.line_descriptor.LSDDetector.createLSDDetectorWithParams(params) -> retval
cv.line_descriptor.LSDDetector_createLSDDetector() -> retval
cv.line_descriptor.LSDDetector_createLSDDetectorWithParams(params) -> retval
computeGaussianPyramid()#
void cv::line_descriptor::LSDDetector::computeGaussianPyramid(
const Mat & image,
int numOctaves,
int scale )
detectImpl()#
void cv::line_descriptor::LSDDetector::detectImpl(
const Mat & imageSrc,
std::vector< KeyLine > & keylines,
int numOctaves,
int scale,
const Mat & mask )
Member Data Documentation#
gaussianPyrs#
std::vector< cv::Mat > cv::line_descriptor::LSDDetector::gaussianPyrs
params#
LSDParam cv::line_descriptor::LSDDetector::params
Source file#
The documentation for this class was generated from the following file:
opencv2/line_descriptor/descriptor.hpp