Do pre-processing in depth image handling function, so that user can directly "see" the depth map in the image.