In opencv is their any method to segment given image based on the cielab color space like this one provided by matlab? What i want is not convert rgb image into binary image than apply opencv segmentation methods like watershed but instead convert the rgb image into lab color space and than directly apply some algorithm to segment given image.