|
|
@ -2,6 +2,7 @@ |
|
|
|
#include <string> |
|
|
|
#include <string> |
|
|
|
|
|
|
|
|
|
|
|
#include "opencv2/core/core.hpp" |
|
|
|
#include "opencv2/core/core.hpp" |
|
|
|
|
|
|
|
#include "opencv2/core/utility.hpp" |
|
|
|
#include "opencv2/imgproc/imgproc.hpp" |
|
|
|
#include "opencv2/imgproc/imgproc.hpp" |
|
|
|
#include "opencv2/highgui/highgui.hpp" |
|
|
|
#include "opencv2/highgui/highgui.hpp" |
|
|
|
|
|
|
|
|
|
|
@ -18,7 +19,7 @@ int main(int argc, char** argv) |
|
|
|
|
|
|
|
|
|
|
|
std::string in = argv[1]; |
|
|
|
std::string in = argv[1]; |
|
|
|
|
|
|
|
|
|
|
|
Mat image = imread(in, CV_LOAD_IMAGE_GRAYSCALE); |
|
|
|
Mat image = imread(in, IMREAD_GRAYSCALE); |
|
|
|
|
|
|
|
|
|
|
|
// Create and LSD detector with std refinement.
|
|
|
|
// Create and LSD detector with std refinement.
|
|
|
|
LSD lsd_std(LSD_REFINE_STD); |
|
|
|
LSD lsd_std(LSD_REFINE_STD); |
|
|
|