Hi I am trying to do a local histogram equalization on an image. I know to do this I first need to split the image up into small image blocks. However I do not know how to do this.

Would I use getSubimage or something?.

Also after i have done the equalization on the sub images how do I join all of the images into one buffered image?