moved creation of masked geo-physical image into ImageManager and reused the code at multiple locations
(cherry picked from commit 7d38cb6)