also rescale a mask
split K in K_image and K_depth