Ask Your Question
0

How to convert encoded image string to Mat in OpenCV in JAVA?

asked 2013-09-13 06:45:43 -0600

surodip gravatar image

updated 2013-09-13 11:34:28 -0600

In my work I have to get image matrix from the encoded string of an image. I am using OpenCV and JAVA.

Can anyone tell me how to do this?

Thanks, Surodip

edit retag flag offensive close merge delete

Comments

encoded => How?

Spas Hristov gravatar imageSpas Hristov ( 2013-09-13 06:50:13 -0600 )edit

Encoded in Base64. I read an image, convert it to byte[] and encode it into Base64 String using Base64.Base64.encodeBase64String(byte[])

surodip gravatar imagesurodip ( 2013-09-13 07:09:07 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
-1

answered 2013-09-13 08:00:11 -0600

Try that: link text

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-09-13 06:45:43 -0600

Seen: 2,054 times

Last updated: Sep 13 '13