Imaging Science and Photochemistry ›› 2019, Vol. 37 ›› Issue (1): 18-32.DOI: 10.7517/issn.1674-0475.181004

Previous Articles     Next Articles

Color Image Segmentation Algorithm Based on Lab Sub Channel Histogram and Its Application

YU Yiming, JIN Dian, WANG Qi, ZHANG Qi, CHEN Xi, WANG Xiaoju   

  1. College of Light Industry and Food Engineering, Nanjing Forestry University, Nanjing 210037, Jiangsu, P. R. China
  • Received:2018-10-25 Revised:2018-11-19 Online:2019-01-15 Published:2019-01-15

Abstract: In view of the color and texture features of the image are not taken into account in the traditional gray scale histogram segmentation algorithm, this paper proposed a new color image segmentation algorithm based on Lab sub channel histogram to solve the problems such as over segmentation or under segmentation for no obvious gray value difference images or grayscale overlapped images. The algorithm introduces three segmentation bases with sequence irrelevance:luminance "L" channel, red-green "a" channel and blue-yellow "b" channel, and then use the Newton interpolation method to fit operation. Users can choose the channel freely for different brightness and chromaticity attribute images. The paper also uses the matching principle of adjacent area gray value to solve the exact matching problem of pixels in the adjacent target area. The algorithm realizes the extraction of different objects in the image by sub office, sub morphology and subarea. In the light of images with significant difference in regional luminance characteristics or regional color difference greater than regional brightness difference, the segmentation results of the algorithm in this paper are better than the traditional gray scale histogram segmentation algorithm through a series of experimental verification, it greatly improves the applicability of histogram segmentation algorithm. Then we combine the new algorithm with the classic Reinhard color transfer algorithm, use the sub channel segmentation algorithm to obtain the target regions of interest from the source image and then transfer them separately. It solves problems of the interference to non-target area of image, color miscommunication and serious level loss of classical Reinhard color transfer algorithm. It breaks through the limitation that the traditional transfer algorithm can only coloring the whole region, and realizes accurate coloring in the subarea.

Key words: image processing, sequence irrelevance, Lab sub channel histogram segmentation algorithm, Newton interpolation method, matching principle of adjacent area gray value, evenness evaluation index, Reinhard color transfer algorithm