Ask Your Question

keowang's profile - activity

2014-02-13 20:39:51 -0600 asked a question accurate detection of a line using hough transform

I have downloaded the hough transform code here to try to detect the lines the code works but could somebody please answer me 1) For each single line, why does it produce many duplicate lines 2) I understand I can hack on the algorithm by changing the threshold values, however, if I increased it some lines became undetectable so how can I strike a balance out of it 3) can I manipulate the minLinLength and maxLineGap of the function to have it produce a better performance? (The first one shows the detection result while the second shows the original line)

detectionoriginal line

Thanks a lot.

2014-02-10 22:05:07 -0600 asked a question DisplayImage.cpp errors Using OpenCV with gcc and CMake

Hi:

I've had issues in compiling DisplayImage.cpp, I've followed the tutorial here and to create a cmake file and generate executables, however, when I was compiling the problem with make it displays the following errors:

Undefined symbols for architecture x86_64:
"cv::namedWindow(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int)", referenced from:
_main in DisplayImage.cpp.o
"cv::imread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int)", referenced from:
_main in DisplayImage.cpp.o
"cv::imshow(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, cv::_InputArray const&)", referenced from:
_main in DisplayImage.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [DisplayImage] Error 1
make[1]: *** [CMakeFiles/DisplayImage.dir/all] Error 2
make: *** [all] Error 2

I am using MacOS could anyone please help!

Thanks

2013-04-15 01:58:19 -0600 received badge  Student (source)
2013-04-15 00:57:58 -0600 asked a question OpenCV Java AP

Just wondering when I can look for the Java API right now I am struggling to find out how to do a simple Hough Line Transform. I've seen a well-written tutorial in C++, where's the counterpart in Java? Please do not refer to http://docs.opencv.org/java/2.4.5/ since it's such a pain to find out which function is in which class.

Thanks a lot.