I am doing an Image Processing algorithm using BoofCV in Android Client. For this, I did a demo on the server side using BufferedImage
.
For that, my code was:
int numBands = bufferedImage.getRaster().getNumBands()
Now, I need to get the number of bands from a Bitmap Image.
Can anyone tell me how I can do this?
Thanks in advance!!