Added pixels for a region and subimage methods to image