Introduction - If you have any usage issues, please Google them yourself
Based on morphological edge detection of color, first of all in RGB space to the original color image of the R, G, B three pseudo-color image, respectively, morphological edge detection, then three images of the edge intensity of the merger, using threshold segmentation method proposed outline of the edge image.