Add match function taking depth image as input