Hello =)

I want to invert a bitmap with following code

Bitmap bitm = BitmapFactory.decodeFile(Environment.
getExternalStorageDirectory().getPath() + "/detected.jpg");
Mat imgToProcess = new Mat();
Utils.bitmapToMat(bitm, imgToProcess);
imgToProcess = imgToProcess.inv();

I got everytime an exception in this Line:
imgToProcess = imgToProcess.inv();

Am I using this Function with the right way?




--

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupandroid-opencv @
categoriesandroid
postedJan 7, '13 at 7:18a
activeJan 8, '13 at 11:52a
posts2
users2
websiteandroid.com

People

Translate

site design / logo © 2019 Grokbase