2015-09-16 09:50:06 -0600 | asked a question | Memory Leak in Mat::copyTo() I have a vector of images (called images) in OpenCV 3.0.0, which I iterate through in the way shown below. Please disregard, that this code makes no actual sense, I stripped it to point out the problem. Strangely, with each run the memory usage increases, even after the loop has completed. The way I see it, memory should stay the same, since the images in the images-vector are replaced. Manually releasing the matrices does not work either. What can I do to achieve constant memory usage. |
2014-02-10 15:17:38 -0600 | asked a question | BestOf2NearestMatcher gives different result on second run When I excecute the folloing code twice with the exact same inputs, I get two different but similar results. Am I doing domething wrong or is this a bug? A little more info: I have spend a lot of time isolating the problem to this code. I create two different copies of BestOf2NearestMatcher and all input data is being cloned, so there is definitively no change in the input. The result on the first run is always the same and so is the result on the second and third run, and so on. But none of the results equals one of the previous results. |
2013-06-10 04:29:55 -0600 | asked a question | Compiler error when compiling for iOS I followed this guide ( http://docs.opencv.org/doc/tutorials/introduction/ios_install/ios_install.html ) exactly but when executing the script it eventually gives me the following error. How can I fix this? |
2013-02-14 02:36:14 -0600 | answered a question | iOS + Stitcher, include/import problem If you're still having this problem, I have posted a workaround here: http://stackoverflow.com/questions/14127431/strange-unmatched-curly-brace-in-opencv/14870697#14870697 |
2012-12-19 03:09:36 -0600 | received badge | ● Editor (source) |
2012-12-19 03:08:38 -0600 | asked a question | HSV-Range iOS vs. Mac OS I have written a short piece of code, that detects regions with a certain hue in an image (12-17 in the range of 0-180). When running the code in iOS it works perfectly fine. When I run the code in Mac OS as a C++ project, the output only constists of pixels where the hue is around 150 in the range of 0-180. How is this possible? Am I missing something? Both projects are using 2.4.3. The only difference would be the way images are loaded into memory. C++ reads the file directly, Objective-C loads it as a UIImage first. But this really should not make a difference, since the original image is displayed correctly. This is my code: Edit: I just discovered, that the 12-17 range in iOS roughly, but not exactly, maps to 90+12-90+17 in Mac OS, the range still being 0-180. |
2012-12-11 15:35:34 -0600 | received badge | ● Student (source) |
2012-11-04 13:27:28 -0600 | asked a question | Compiler error when using Stitcher under iOS Whenever I try to use the stitcher class in iOS and I include the stitcher-header (
I am very new to openCV but using other functions like |