An image algorithm to determine all the orientation lines of the targets in a crop image was proposed. The color image was converted into a gray image. The crops were separated from the backgrounds by K-means clustering. The orientation areas and orientation points were obtained by analyzing each horizon scan line in the binary image. The clustering function was defined according to the abscissa of orientation points on the two next horizon scan lines. The orientation lines were correctly detected by a passing a known point Hough transform. Test results showed that the algorithm was capable in accurately detecting different orientation lines. The algorithm required 0.12 s to determine all the orientation lines for a 640×480 pixel color image.
參考文獻(xiàn)
相似文獻(xiàn)
引證文獻(xiàn)
引用本文
張紅霞,張鐵中,陳兵旗.基于模式識(shí)別的農(nóng)田目標(biāo)定位線檢測(cè)[J].農(nóng)業(yè)機(jī)械學(xué)報(bào),2008,39(2):107-111.[J]. Transactions of the Chinese Society for Agricultural Machinery,2008,39(2):107-111.