2020-01-28 09:54:45 -0600 | received badge | ● Notable Question (source) |
2018-09-07 22:49:09 -0600 | received badge | ● Popular Question (source) |
2017-01-18 05:19:46 -0600 | commented answer | OpenCV build fails because I cannot download ICV on our build farm @StevenPuttemans oh I just noticed |
2017-01-18 05:14:58 -0600 | commented answer | OpenCV build fails because I cannot download ICV on our build farm @StevenPuttemans: sure. Basically this line would be changed. But since GitHub only serves over HTTPS (HTTP will redirect to HTTPS), I guess you would use a CDN like RawGit or Githack.. |
2016-10-25 08:56:41 -0600 | commented question | Missing aruco contrib functionality when building OpenCV 3.1.0 Python wrappers for aruco module were added later in dev version (post 3.1.0). |
2016-01-26 09:12:16 -0600 | commented answer | OpenCV build fails because I cannot download ICV on our build farm +1 right on, the CMake I was using (installed from a PPA) was built without SSL support. Perhaps |
2016-01-25 17:28:33 -0600 | received badge | ● Necromancer (source) |
2016-01-25 17:28:33 -0600 | received badge | ● Self-Learner (source) |
2016-01-25 16:40:18 -0600 | received badge | ● Scholar (source) |
2016-01-25 16:39:53 -0600 | answered a question | Changing Mat dimensions inplace Solved; In OpenCV 3.1.0, the |
2015-06-28 13:26:32 -0600 | received badge | ● Student (source) |
2015-06-28 07:38:14 -0600 | commented question | Changing Mat dimensions inplace @berak: no problem, thank you for the help :) I noticed you are a regular on the site, do you know any devs on the OpenCV team we can ping on this thread? I'm sure they'll easily have an answer. |
2015-06-28 05:27:22 -0600 | commented question | Changing Mat dimensions inplace
I know that ... is a 5-dimensional array with 7-channels.
what is the correct way to reshape the ND-array without making a second copy of the data? |
2015-06-28 05:25:45 -0600 | received badge | ● Editor (source) |
2015-06-28 05:17:40 -0600 | received badge | ● Enthusiast |
2015-06-28 01:17:57 -0600 | asked a question | Changing Mat dimensions inplace As part of a larger project, I have some code that does something similar to the following: Is the last assignment safe, or will it mess up the ref count and leak memory? I know the safer option is to just clone the data as in: but I'm trying to avoid making unnecessary copies of data... I'm open to suggestion if there are better ways to reshape the ND-array in-place ... You can assume the following is true: N.B: I am working with OpenCV 3.0.0 EDIT:Another thing I tried is to directly overwrite the Mat But it's not quite right.. Apparently something in the EDIT2:I found an overload of the See the source code (either 3.0 or the master branch)... DetailsLet me explain a bit more about my use case. In my actual code, I'm trying to convert the last dimension of any 1-channel ND-array into channels of a ND-array with one less dimension but multi-channels, without copying the data. (Again we can assume that the array is continuous and the destination number of channels is less than As an example, If I had the following array: I want to convert it from 2x3x4x5 array with 1-channel into a 2x3x4 array with 5-channels, i.e: And I want to avoid unneeded copies... The above The regular Thanks and sorry for the long post :) |
2015-06-23 05:01:11 -0600 | received badge | ● Supporter (source) |