Ask Your Question

Load and display image in greyscale #Android #Java

asked 2014-11-18 04:39:49 -0500

Zain ul abdeen gravatar image

Hi I'm very new to OpenCv and using OpenCv 2.4.9 in android and after spending lots of time I did'nt find anything in documentation. I want to load an image from sdcard and display it as grey scale image in android. Any help is appreciated

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-18 08:20:25 -0500

berak gravatar image,%20int)

Mat gray = Highgui.imread(path, Highgui.CV_LOAD_IMAGE_GRAYSCALE);

edit flag offensive delete link more

Question Tools


Asked: 2014-11-18 04:39:49 -0500

Seen: 268 times

Last updated: Nov 18 '14