2018-09-24 08:49:34 -0600 | received badge | ● Popular Question (source) |
2017-12-05 07:29:04 -0600 | commented question | DIS Optical Flow crashes when running twice @berak Thanks. |
2017-12-05 05:51:06 -0600 | commented question | DIS Optical Flow crashes when running twice @berak Just in case: you got TWO optical flows, right? (In the code I display the flow image each time, and one needs to |
2017-12-05 05:49:06 -0600 | edited question | DIS Optical Flow crashes when running twice DIS Optical Flow crashes when running twice Hello, When running DIS Optical Flow twice (as in the example below), it cr |
2017-12-05 05:47:12 -0600 | commented question | DIS Optical Flow crashes when running twice @berak Thanks. Are you using the latest version of OpenCV and the latest build of opencv_contrib? I'm on Linux Mint 18.3 |
2017-12-05 05:35:41 -0600 | commented question | DIS Optical Flow crashes when running twice Also crashed with "opencv/samples/data/Megamind.avi". I have updated the full code for the ease of reproduction. The err |
2017-12-05 05:34:14 -0600 | edited question | DIS Optical Flow crashes when running twice DIS Optical Flow crashes when running twice Hello, When running DIS Optical Flow twice (as in the example below), it cr |
2017-12-05 04:59:10 -0600 | received badge | ● Enthusiast |
2017-12-04 14:31:13 -0600 | asked a question | DIS Optical Flow crashes when running twice DIS Optical Flow crashes when running twice Hello, When running DIS Optical Flow twice (as in the example below), it cr |
2017-07-24 03:02:24 -0600 | received badge | ● Famous Question (source) |
2017-07-24 03:02:24 -0600 | received badge | ● Notable Question (source) |
2017-07-24 03:02:24 -0600 | received badge | ● Popular Question (source) |
2016-02-29 18:25:27 -0600 | asked a question | How to include OpenCV source code in C++ project to make it portable? In my C++ project I use (3.1) OpenCV Mat for (only) storing and operating matrices (thus only the core module is used). Now I would like to make the code portable: if a user (running Linux or Windows or OS X) takes my code then he can compile and run it, without installing the whole OpenCV pack. Moreover, I would like the user to run the fastest version of the code (i.e. compiled in Release mode, Optimizations, etc...). Could you please suggest a way to do that? I copied the source code from modules/cores to the project directory but not sure how to proceed. I guess I have to modify the original OpenCV CMakeLists to take into account only the core module, but the file looks complicated for me :( Thank you in advance for any suggestions! |
2016-02-15 08:44:00 -0600 | answered a question | How to do Delaunay Triangulation and return an adjacency matrix? Answered here: http://stackoverflow.com/questions/35... |
2016-02-12 23:50:06 -0600 | asked a question | How to do Delaunay Triangulation and return an adjacency matrix? I am trying to do Delaunay Triangulation for a set of points in OpenCV, but encountered a problem. The function takes a matrix of coordinates and return an adjacency matrix. (If there is and edge connecting the point i and the point j, then adj(i,j) = 1, otherwise 0.) I didn't get it working. The code below give strange results. Could you please help? An example of Delaunay Triangulation is given here. Thank you in advance. |
2015-11-24 13:49:26 -0600 | received badge | ● Famous Question (source) |
2014-10-19 09:36:24 -0600 | received badge | ● Notable Question (source) |
2014-09-19 06:52:12 -0600 | commented answer | How to use parallel_for? Thanks, @Daniil. |
2014-09-18 23:02:46 -0600 | asked a question | Parallel for loop: What's wrong with my code? Update: solved. There are overlaps among the For the purpose of testing the parallel for loop in OpenCV, I created the following code, which just takes a matrix and does some manipulations and outputs another matrix. The parallel code is supposed to give the same results as given by the serial code. However, it is not the case. Before compiling the code, make sure that you have already had TBB properly enabled and installed in OpenCV. (Otherwise the parallelization will not be taken into account and will be treated as serial code, thus you'll obviously obtain the same results.) By executing the obtained binary, I got very random results (even with the same binary, i.e. compiled once but executed several times). Hope somebody can help to figure it out. Thanks in advance. |
2014-09-18 20:29:07 -0600 | commented answer | How to use parallel_for? |
2014-09-02 08:37:22 -0600 | commented question | Missing Icons in Highgui Toolbar and wrong color values +1. I installed 2.4.9 with Qt5 and have the same problem, the toolbar icons are invisible. |
2014-09-02 07:04:09 -0600 | received badge | ● Supporter (source) |
2014-05-19 20:39:08 -0600 | received badge | ● Student (source) |
2014-04-30 04:27:49 -0600 | received badge | ● Popular Question (source) |
2013-06-20 11:44:58 -0600 | answered a question | How can I convert cv::Mat of type CV_8UC1 to a QImage in Qt? Normalize and then convert cv::Math src to QImage qim: |
2013-06-19 12:05:03 -0600 | commented question | Fast adjacency matrix computation from watershed I've answered myself but have to wait 2 days to be able to post it. |
2013-06-19 11:54:59 -0600 | commented question | Fast adjacency matrix computation from watershed Actually, M is the adjacency matrix and need to be computed. |
2013-06-18 10:16:02 -0600 | asked a question | Fast adjacency matrix computation from watershed I would like to know if there is a faster way, than what I have done below, to compute the region adjacency matrix from a watershed image. Input: watershed image with N regions labeled from 1 to N. Output: adjacency matrix of these N regions. 1. For each region, compute the corresponding mask and put all masks into a vector: 2. Define a function to check if two regions are adjacent: 3. Compute the adjacency matrix M: if the i-th region and the j-th region are adjacent, then M[i][j] = M[j][i] =1, otherwise they are equal to 0. |
2013-04-09 08:01:00 -0600 | commented answer | cvtcolor RGB to XYZ You misunderstood the question. Please read carefully any questions before answering. |
2013-04-09 07:59:33 -0600 | received badge | ● Editor (source) |
2013-04-09 07:29:09 -0600 | commented answer | << operator More exactly, a << b means a*2^b. (http://en.wikipedia.org/wiki/Binary_shift#Bit_shifts) |
2013-04-09 07:18:19 -0600 | commented answer | << operator Thanks a lot ! :D |
2013-04-09 07:18:01 -0600 | received badge | ● Scholar (source) |
2013-04-09 05:10:20 -0600 | asked a question | << operator I saw something like this in some source files of OpenCV: What does the operator << do? Thanks. |
2013-04-09 04:55:10 -0600 | asked a question | cvtcolor RGB to XYZ In modules/imgproc/src/color.cpp, line 678: Could anybody tell me where this matrix comes from? I guess it was somehow computed from and (see http://docs.opencv.org/modules/imgproc/doc/miscellaneous_transformations.html) but how and why? Thank you for your help. Update (posted this as an answer but not allowed because I'm a new member): OK I hope somebody can have a better answer. It is actually (correction: 2^12 instead of 2^16, sorry. In the code, 12 is defined as the shift) This is for defining cv::RGB2XYZ_i that will be used in the case the input data are integer ('i' for integer). I guess the main reason for such a conversion is PRECISION (for cv::RGB2XYZ_f, this conversion is not needed, please refer to the source code for details). |