java bufferedimage mendapatkan data raster

 int[] data = ((DataBufferInt) bufferedImage.getRaster().getDataBuffer()).getData();
Bredo