First time here? Check out the FAQ!
answered 2014-11-02 03:10:43 -0600
you normalized the output image to [0..1] range. (yep, that will look pretty dark)
so, map it back to [0..255] range, when converting it to CV_8U:
gry.convertTo(gry, CvType.CV_8U, 255);