public static Bitmap grayToBitmap ( GrayU8 input , Bitmap . Config config ) { Bitmap output = Bitmap . createBitmap ( input . width , input . height , config ) ; grayToBitmap ( input , output , null ) ; return output ; }
Converts GrayU8 into a new Bitmap .