Due to the computational complexity and long time of the color image processing and difficult selection of the adequate threshold for the grey image segmentation, through full analysis of the veneer color image and based on the obvious difference be-tweer the background color and the target colour,this paper proposes the colour image segmentation algorithm based on K-means with optimized initial centre in RGB colour space R channel.This algorithm needs not performing the colour space trans for mation to further reduce the computational complexity and it can be used to improve the accuracy and correctness of its segmentation.%針對彩色圖像處理運算量大、計算耗時和灰度圖像分割自適應(yīng)閾值選擇困難的問題,在通過對單板彩色圖像充分分析的基礎(chǔ)上,基于背景和目標(biāo)顏色差異比較明顯,提出了基于彩色圖像RGB彩色空間的R通道的K-均值優(yōu)化初始中心聚類的分割方法.該方法不需要彩色空間的變換,進(jìn)一步降低了計算的復(fù)雜度.實驗結(jié)果表明,可以提高分割的效率和準(zhǔn)確性.
展開▼