Hi all, I want to read the data from a binary image, which is readed by BufferedImage. I want to read the data into a matrix. Do
int array[] = raster.getPiexls(0,0,w,h,array) can read the binary data out?
Printable View
Hi all, I want to read the data from a binary image, which is readed by BufferedImage. I want to read the data into a matrix. Do
int array[] = raster.getPiexls(0,0,w,h,array) can read the binary data out?
I found that the getPixels can get the binary data into a int array, which one pixel occupy one element.:D