added region method in Image for returning subimages