SLAM-depth based method for AWB stability