answered Apr 15 '13
Hi! In Android you have RGBA image (but in c++ BGR), so use Imgproc.COLOR_RGBA2GRAY code for grayscale conversion.
Imgproc.COLOR_RGBA2GRAY