code: public static void grayToBitmap( ImageGray input , Bitmap output , byte[] storage) {
  		if( input instanceof GrayU8 )
  			grayToBitmap((GrayU8)input,output,storage);
  		else if( input instanceof GrayF32 )
  			grayToBitmap((GrayF32)input,output,storage);
  		else
  			throw new IllegalArgumentException("Unsupported BoofCV Type: "+input);
  	}
docs: Converts ImageGray into Bitmap.
  
  @see #declareStorage(android.graphics.Bitmap, byte[])
  
  @param input Input gray scale image.
  @param output Output Bitmap image.
  @param storage Byte array used for internal storage. If null it will be declared internally.