Added image and mask getters