implement the mean of the Lab color space