2020-07-16 22:56:47 -0600 | received badge | ● Popular Question (source) |
2013-09-06 17:25:06 -0600 | asked a question | CMake CUDA master errors I'm on the master branch and I'm failing to compile with CUDA. It builds fine without CUDA on my laptop. The first errors (with multiple line numbers = x) are: (x): error: too few arguments in invocation of macro "CV_StaticAssert" in files opencv/modules/core/include/opencv2/core/matx.hpp opencv/modules/core/include/opencv2/core/operations.hpp opencv/modules/cudev/include/opencv2/cudev/grid/copy.hpp opencv/modules/cudev/include/opencv2/cudev/grid/transform.hpp I can fix that by just removing the definition for CV_StaticAssert in base.hpp. However, the next error is No rule to make target lib/libopencv_cudev.so.2.9.0 needed by lib/libopencv_core.so.2.9.0 Should this go in the bugs tracker? |
2013-08-29 18:55:58 -0600 | commented question | Alpha-Dependent Template Matching @LadyZayin Apologize for the late response, I didn't notice any notification on the comment. The crossCorr function I used is the same one in OpenCV, but glad that you solved the problem. |
2013-07-26 13:53:22 -0600 | received badge | ● Student (source) |
2013-07-10 22:54:36 -0600 | received badge | ● Editor (source) |
2013-07-10 22:53:33 -0600 | asked a question | Alpha-Dependent Template Matching I have a couple of pics that are either 8UC3 or 8UC4 and I would like to template match them almost exactly. I have done this in my code, and I would like to learn if there are better methods to optimize and simplify the code? In also know that it is currently done with block methods and fft, and also I have read about phase based matching. (CUDA's next, but this will do for now). I think I have moved everything out of the loop that is possible. Breaking during GDB sessions usually end up on the multiply or the merge in the loop. I also haven't guarded against all possible values of different types and perhaps there are better ways to guard against different types? (I think my code will fail for graychannel with alpha). Last, what is the best way to guard against matching against a black patch since everything will be 0. I have also referred to these codes, but I developed my own: Thanks alpha-dependent template matching opencv template matching and transparency (more) |