48 #if defined _MSC_VER && _MSC_VER <= 1700 59 #include <opencv2/imgproc.hpp> 60 #include <opencv2/features2d.hpp> 61 #include <opencv2/core.hpp> 70 #define UINT64_1 ((UINT64)0x01) 71 #define UINT32_1 ((UINT32)0x01) 145 return cv::Point2f(startPointX, startPointY);
151 return cv::Point2f(endPointX, endPointY);
157 return cv::Point2f(sPointInOctaveX, sPointInOctaveY);
163 return cv::Point2f(ePointInOctaveX, ePointInOctaveY);
202 static cv::Ptr<LSDDetector> createLSDDetector();
212 void detect(
const cv::Mat& image, CV_OUT std::vector<KeyLine>& keypoints,
int scale,
int numOctaves,
const cv::Mat& mask = cv::Mat() );
221 void detect(
const std::vector<cv::Mat>& images, std::vector<std::vector<KeyLine> >& keylines,
int scale,
int numOctaves,
222 const std::vector<cv::Mat>& masks = std::vector<cv::Mat>() )
const;
226 void computeGaussianPyramid(
const cv::Mat& image,
int numOctaves,
int scale );
229 void detectImpl(
const cv::Mat& imageSrc, std::vector<KeyLine>& keylines,
int numOctaves,
int scale,
const cv::Mat& mask )
const;
232 std::vector<cv::Mat> gaussianPyrs;
cv::Point2f getStartPoint() const
Definition: LSDDetector.h:143
float startPointY
Definition: LSDDetector.h:126
LSDDetector()
Definition: LSDDetector.h:195
uint16_t UINT16
Definition: LSDDetector.h:66
float startPointX
Definition: LSDDetector.h:125
float angle
Definition: LSDDetector.h:105
cv::Point2f getStartPointInOctave() const
Definition: LSDDetector.h:155
float endPointX
Definition: LSDDetector.h:127
cv::Point2f getEndPoint() const
Definition: LSDDetector.h:149
KeyLine()
Definition: LSDDetector.h:167
int numOfPixels
Definition: LSDDetector.h:140
float sPointInOctaveX
Definition: LSDDetector.h:131
uint64_t UINT64
Definition: LSDDetector.h:64
Definition: LSDDetector.h:189
float lineLength
Definition: LSDDetector.h:137
cv::Point2f pt
Definition: LSDDetector.h:114
float ePointInOctaveX
Definition: LSDDetector.h:133
int octave
Definition: LSDDetector.h:111
cv::Point2f getEndPointInOctave() const
Definition: LSDDetector.h:161
uint8_t UINT8
Definition: LSDDetector.h:67
float response
Definition: LSDDetector.h:119
Definition: LSDDetector.cpp:45
float ePointInOctaveY
Definition: LSDDetector.h:134
float size
Definition: LSDDetector.h:122
uint32_t UINT32
Definition: LSDDetector.h:65
float sPointInOctaveY
Definition: LSDDetector.h:132
int class_id
Definition: LSDDetector.h:108
float endPointY
Definition: LSDDetector.h:128
A class to represent a line.
Definition: LSDDetector.h:101