Changes to avoid learn and renew the color model of a empty or very small set of data.