2014-10-04 15:37:49 -0600 | asked a question | Cannot computer hog descriptors I want to compute the hog descriptors for a simple image. The code is quite simple. however it always failed with the following message: Whenever I try to compile the project, it generate the following error: What should I do? is it a bug in OpenCV? |
2014-09-11 14:56:22 -0600 | commented answer | No error line number in OpenCV? Hi, I did as you told, but it seems it didn't work. The only error information it gives are errors within OpenCV source file. It still didn't give me which line goes wrong in my main function. It could be really difficult since I either guess which line wrong or by printing each line. This is not convenient at all. Is it a bug of OpenCV? |
2014-09-09 23:28:45 -0600 | asked a question | OpenCV matrix comparator don't work right? I have a strange problem on the OpenCV matrix comparator. My code is really simple, but it seems OpenCV failed to give the correct answer. Is it a bug of OpenCV? The test matrix output is right. However, it is astonished to find that mask matrix are all zeros. Shouldn't it return a matrix of size 3x3 with element equals to one if the corresponding element in test matrix bigger than 2 and equals to zeros if test matrix smaller than 2? Why the result is a 3x3 matrix with all element in zero? Another strange thing is that if I replace the mask to be: what I expected is a 3x3 matrix with all elements equals to one. However, it gives the following result: How could this happen? why there are some elements equals to nan? Is it a big bug in OpenCV? |
2014-09-05 15:09:03 -0600 | received badge | ● Student (source) |
2014-09-05 12:54:18 -0600 | asked a question | How to update a submatrix of a multi dimension matrix in OpenCV I am so confused why I cannot update the sub matrix of a multi dimension matrix in OpenCV. All what i have done is according to their official doc and follow some questions but it failed to update. Here is my code: No matter I use copyTo() or clone(), the test matrix do change. But the three dimensional matrix block didn't change at all! All its value are zero! Is there something wrong with my code? How should I update the sub matrix of a multi dimensional matrix? It could be easy for 2D matrix by using Rect, but how about three dimension? |
2014-09-05 12:52:18 -0600 | asked a question | No error line number in OpenCV? I am a starter for OpenCV. I installed my OpenCV on mac and it succeed. However, whenever I run the program and the program failed, it cannot give which line I am wrong but only output wrong information in OpenCV. For example, I wrote a long program and when running it, it gives the following result but I don't know which line it is(suppose my file is main.cpp) so I really don't know where is the problem. I compiled my files using following commands: |