CIELab Color based image segmentation
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.
indeed, throwing away color / gradient information is often a bad idea for segmentation purposes.
have a look at hfs and graphbased segmentation
yes, use
cvtColor(src,lab,COLOR_BGR2CIELAB)
. Then use it as any other 3 channel image.