2015-02-27 22:03:27 -0600 | commented question | How is histogram stored in Mat? Have you tried to look at OpenCV histogram documentation? |
2015-02-27 22:03:26 -0600 | commented question | Can Open CV c++ VS open a video file ext .wmv? Can you share the error message? |
2015-02-27 22:03:26 -0600 | answered a question | inverting the background and object colors If you provide a sample of the images you have, it'd help me to answer your question. Do you mean and are you sure that every white pixel represents the background? If the answer is yes, then you can convert every not white pixel to be a white pixel and every white pixel to be a black pixel! |
2014-08-23 16:48:33 -0600 | received badge | ● Organizer (source) |
2014-08-23 16:44:33 -0600 | commented question | fill border object I don't understand your question! Do you mean you want to fill the closed objects? If you paraphrase your question, that would be great. |
2014-08-23 16:36:05 -0600 | answered a question | Modify loop for faster execution Sometimes, you can iterate over every even or odd row/col. This is possible if the accuracy is not a very big deal! For instance, I would re-write your code to be: |
2014-08-20 12:11:40 -0600 | commented question | Read raw webcam data @thdrksdfthmn: I was confused too! Does raw mean the raw images? webcamera does support raw images. Or, does it mean the pixel value of the matrix? But I think @ademmler is asking how to get the frames from the webcamera (although they're not raw data). |
2014-08-20 10:10:55 -0600 | commented question | Read raw webcam data Welcome to the open source community and OpenCV community in particular! To gain comprehensive details, I would suggest to go through OpenCV tutorials. They're easy and very informative. If you have a problem with a particular part of the tutorial, share your problem on OpenCV Answers. http://docs.opencv.org/doc/tutorials/introduction/table_of_content_introduction/table_of_content_introduction.html#table-of-content-introduction |
2014-08-19 10:43:16 -0600 | commented question | How can I do blob detection on people? If you share some images for your application would help us to figure out an optimal technique. |
2014-08-19 10:35:04 -0600 | commented question | Which is the better programming language? As @StevenPuttemans said, C++ would the best and it gives you the freedom to optimize your code. Python is also a very nice programming language for some applications. Sometimes you a very simple class, in which writing it in python could be more practical than C++. Honestly speaking, if you don't try most of them you won't get a clear picture you want. |
2014-08-19 10:28:30 -0600 | commented question | OpenCV's svm and libsvm, the difference and how to make them the same That's really surprising! I think OpenCV SVM is based on LibSVM (http://www.csie.ntu.edu.tw/~cjlin/papers/libsvm.pdf), which--perhaps-- means OpenCV developers optimized the code better than the LibSVM's! I mean the source code differs, but the idea is the same. |
2014-08-19 10:00:53 -0600 | commented question | target machine conflict error @StevenPuttemans: You're right! I'm sorry for being 'not polite'! Thanks for pointing it out... |
2014-08-19 04:55:39 -0600 | received badge | ● Nice Answer (source) |
2014-08-19 02:57:04 -0600 | received badge | ● Teacher (source) |
2014-08-18 19:37:52 -0600 | commented question | target machine conflict error Add more information! Never expect help in you case! |
2014-08-18 19:31:39 -0600 | received badge | ● Editor (source) |
2014-08-18 19:30:31 -0600 | commented question | error bitwise operation @berak: I agree with you, I even couldn't continue reading the code! You're asking for help, you should make it easier for others to help you! |
2014-08-18 19:28:41 -0600 | commented answer | how to remove point noise @wuling: You're right, but this case is not easy. Some of the dots you see in the image are not noisy ones, they are part of the letters! So, contours wouldn't help that much. |
2014-08-18 16:04:55 -0600 | commented question | error bitwise operation imagen1 is in BGR and imagen is in HSV. I think you need to have the same color format before applying the bitwise operation. |
2014-08-18 13:21:29 -0600 | answered a question | how to remove point noise This case is not an easy one. It depends on the application and the effects of the noise. The easiest thing you can do to correct the image is to use the median filter After that you can also erode the image and then dilate it If you need to go beyond this level, then you need to extract the features and recognize the outlier (and of course, make them off). This is the result: |
2014-08-16 15:30:26 -0600 | commented question | Load many images in vector<Mat> what's the error message you get? |
2014-08-16 15:28:26 -0600 | answered a question | OpenCv 3 with .Net (C#) OpenCV current official release is 2.4.9 If you need OpenCV C# wrapper, try Emgu. |
2014-08-16 15:23:37 -0600 | answered a question | opencv use callback function Unhandled exception Copy all the opencv dll files (look for them inside the OpenCV directory, which's the one you specified when installed the OpenCV library) to your Visual Studio Project DLLs directory. Finally, add the OpenCV dlls to your Visual Studio project dependencies (Solution Explorer, choose Property Pages from the View menu, select project dependencies from common properties). |
2014-07-16 10:00:16 -0600 | commented answer | like the picture below,how can i deal with the blue edges? You're right! I'm sorry I missed that point. |
2014-07-15 10:12:38 -0600 | answered a question | like the picture below,how can i deal with the blue edges? What you need to do is to AND the binary image by the original image. bk is the output image. |
2014-07-04 23:03:56 -0600 | received badge | ● Citizen Patrol (source) |
2014-07-04 23:03:35 -0600 | commented question | How to weight loss? what's happening here??? |
2014-07-04 23:03:01 -0600 | received badge | ● Critic (source) |
2014-07-04 00:08:52 -0600 | received badge | ● Autobiographer |
2014-07-03 13:21:29 -0600 | commented answer | HELP PLEASE? Image window will not open. The first loop iterates over the rows of the image. As you stated, you need to draw a line every 5th row/col. The first row/col starts at index of zero. Every loop increments by 5 (r+=5 is equivalent to r = r + 5). For more details, see this tutorial: http://www.cprogramming.com/tutorial/lesson3.html and for nested loops: http://www.tutorialspoint.com/cplusplus/cpp_nested_loops.htm I hope this helps you! I would help more if you ask specific questions. |
2014-07-03 12:08:29 -0600 | commented answer | HELP PLEASE? Image window will not open. make sure you understand what's happening in this code. |
2014-07-03 12:07:16 -0600 | answered a question | HELP PLEASE? Image window will not open. Try this code: Just make sure the image given to imread exists. |
2014-07-03 10:52:15 -0600 | commented answer | HELP PLEASE? Image window will not open. Also, do what GilLevi said in the first comment: add cv::waitKey() before the end of the 'main' function. |
2014-07-03 10:38:32 -0600 | commented answer | HELP PLEASE? Image window will not open. One more thing, you already declared 'x' before the for loop so no need to declare another one in the for loop. |
2014-07-03 10:36:23 -0600 | answered a question | HELP PLEASE? Image window will not open. Please, next time post your code in text rather than a picture. I don't know what are you trying to do with your code, but remove the 'return' from the for loops you have. In addition, the OpenCV function that draws a line has the following signature: For more details; Draw a line by using the OpenCV function To draw a line you need the image to draw the lines, and two points (and some other parameters mentioned above) If you state what you want to do clearly, I would help you more. |
2013-12-05 06:48:58 -0600 | received badge | ● Supporter (source) |