Three-Dimensional Mats still not accessible in OpenCV Java (Bug #3988)
Description
I've just recently started using OpenCV and tried creating a 3-dimensional histogram (using Imgproc.calcHist()), via the Java bindings for OpenCV.
I started with OpenCV 2.4.10, but pretty quickly found out that while you can create the histogram just fine, there's no way to access it afterwards.
Mat.get() and Mat.dump() just thow an "Assertion failed (m.dims <= 2)" error, so it seems they can't work with 3D-Mats at all.
I found this
http://code.opencv.org/issues/1447
more-than-two-years-old issue here.
Since there has been no update for two years, and the last thing said was that it will be done after OpenCV 2.4, I immediately downloaded the OpenCV 3 Alpha, hoping it to be fixed by now.
Sadly, it isn't, the problem still persists exactly as it has been. You can create a three-dimensional histogram just fine, but you can never do anything with it afterwards, since its contents are inaccessible.
What I would like to know is - are there any plans to implement this functionality anytime in the near future?
I've read that OpenCV 3 Full will be released on Christmas or the start of 2015. Will it include this functionality for the Java bindings then?
I understand that this isn't a conceptual problem, since it seems to be working just fine in C++ (not tried it myself, but according to the Internet, people are working with this).
Of course, I don't know how hard it is to implement this in the Java bindings, too.
Even if this isn't fixed in the very near future, I would still like an official word about it, so I know if I just need to wait or need to try finding a workaround for this (using C++, using three 1-dimensional histograms, etc.).
Thanks in advance, and I'll gladly provide more data if needed.
Related issues
related to Bug #1447: Problem Accessing Histogram Elements in Android Version o... | Open |
History
Updated by J. Z. over 10 years ago
- Assignee deleted (
Andrey Pavlenko)
Updated by Maksim Shabunin almost 10 years ago
- Target version changed from 3.0-beta to 3.0
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4856