Ask Your Question

Amin Abouee's profile - activity

2018-02-08 03:22:04 -0600 received badge  Supporter (source)
2014-07-08 07:00:42 -0600 commented question exception in cvWaitKey function (libopencv_highgui library)

StevenPuttemans: obviously I'm not using of cvWaitKey. I used of C++ wrapper and this wrapper converts data to C_API in runtime. It means, finally you run the cvWaitKey not waitKey. for more details, you can see the C++ wrapper of highgui in trunk.

2014-07-06 10:00:07 -0600 received badge  Editor (source)
2014-07-06 09:59:14 -0600 asked a question exception in cvWaitKey function (libopencv_highgui library)

Hi guys, I have opencv 2.4.9 in my mac. I installed it with homebrew package manager and with qt, c++11 and tbb dependencies ("Built from source with: --c++11, --with-qt, --with-tbb"). I don't know why from previous week, It throws an exception due to cvWaitKey and Qtcore when I want to show a video or an image.

0   CoreFoundation                      0x00007fff90a4a25c __exceptionPreprocess + 172
1   libobjc.A.dylib                     0x00007fff8c8e0e75 objc_exception_throw + 43
2   CoreFoundation                      0x00007fff90a4a10c +[NSException raise:format:] + 204
3   AppKit                              0x00007fff83972d14 -[NSCarbonMenuImpl _createMenuRef] + 62
4   AppKit                              0x00007fff839726ea -[NSCarbonMenuImpl _instantiateCarbonMenu] + 143
5   AppKit                              0x00007fff83970eb2 -[NSApplication finishLaunching] + 876
6   AppKit                              0x00007fff83970813 -[NSApplication run] + 128
7   QtGui                               0x0000000105335065 _ZN26QEventDispatcherMacPrivate22ensureNSAppInitializedEv + 97
8   QtGui                               0x0000000105334949 _ZN19QEventDispatcherMac13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 559
9   QtCore                              0x0000000105f7ce4d _ZN16QCoreApplication13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 81
10  libopencv_highgui.2.4.dylib         0x00000001039537f7 cvWaitKey + 191
11  inversekinematics-d                 0x000000010304c241 _ZN13MarkerTracker10findMarkerERN2cv3MatERNSt3__16vectorI6MarkerNS3_9allocatorIS5_EEEEid + 13697
12  inversekinematics-d                 0x0000000103046276 main + 1174
13  libdyld.dylib                       0x00007fff8363e5fd start + 1

In this duration In never changed the libraries that may be corrupted opencv. I also installed the opencv and qt again but the problem has preserved. I'm confused, Can anyone help me ??

2014-01-22 13:49:59 -0600 received badge  Taxonomist
2012-07-13 02:18:28 -0600 received badge  Popular Question (source)
2012-07-10 11:50:35 -0600 asked a question Is stereoRectifyUncalibrated efficient?

hello everybody, I'm using of OpenCV 2.4 for rectification of images with findFundamentalMatrix and stereoRectifyUncalibrated. nearly 2 weeks ago, I saw a matlab code about rectify and I became interested to compare the result between them. at the first I thought that the result of opencv will be better than matlab but after several experiments, I found that the matlab code is better. but why? I searched in internet about them and I found that they use of two difference algorithm according by 2 papers. I think the opencv uses of "Theory and Practice of Projective Rectification" paper by "Richard I. Hartley" that you can found here.

But the base of matlab algorithm code is a paper from "A. Fusiello, E. Trucco and A. Verri" with "Quasi-Euclidean Uncalibrated Epipolar Rectification" title that you can find here and the matlab source code is here. if you see the compRect.m file, you will notice that they use of non-linear least square method (Levenberg–Marquardt algorithm) to find the extrinsic parameters (rotation matrix and focal point).

And my question: why opencv don't use of second method while the result of that is better than opencv. If somebody used of second method (matlab code) already, please explain his experience.

2012-07-09 06:46:30 -0600 received badge  Notable Question (source)
2012-07-09 04:20:17 -0600 received badge  Popular Question (source)
2012-07-08 17:33:30 -0600 received badge  Student (source)
2012-07-08 17:29:59 -0600 asked a question what is CV_FM_RANSAC_ONLY ?

Hello everybody, I'm working with opencv 2.4.2 and I find that after opencv 2.4.1, findFundamentalMat function support 2 separate methods for RANSAC algorithm, CV_FM_RANSAC and CV_FM_RANSAC_ONLY with the same default parameters. I couldn't find any reference and details about the CV_FM_RANSAC_ONLY in opencv documentation 2.4.1 and 2.4.2. Anybody know what is the difference between implementation of CV_FM_RANSAC_ONLY and CV_FM_RANSAC ? In generally, which one is better?