We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to initiate a Mat variable with IplImage object like this:
Mat mat = new Mat(imageObj);
and when printing mat.cols() it says 0 and the data inside is NULL. I am wondering if there is an easy way to do it.
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
it doesn't seem to work, I tried the following code it works: Mat mat = new Mat(imageObj.height(),imageObj.width(),CV_8UC1,imageObj);
Mat mat = new Mat(imageObj.height(),imageObj.width(),CV_8UC1,imageObj);
* Add a Mat(CvArr arr) constructor for convenience (issue bytedeco…
Mat(CvArr arr)
2505c33
…/javacv#317)
Fixed in version 1.2. Thanks for reporting!
No branches or pull requests
I tried to initiate a Mat variable with IplImage object like this:
and when printing mat.cols() it says 0 and the data inside is NULL. I am wondering if there is an easy way to do it.
The text was updated successfully, but these errors were encountered: