image_modify_local2 function

Modify both a Subregion and the Whole of an Image