answered Jan 11 '16
In C++ it is cvtColor(raw, bgr, CV_BayerBG2BGR) (there are a lot of CV_Bayer... values), I hope in Java it looks very similar.
cvtColor(raw, bgr, CV_BayerBG2BGR)