A smooth algorithm in order to opt depth image of depth sensor