Improve ColorImage and DepthImage efficiency