农业工程学报
農業工程學報
농업공정학보
2013年
9期
156-161
,共6页
韩仲志%邓立苗%徐艳%冯永莲%耿琪超%熊凯*
韓仲誌%鄧立苗%徐豔%馮永蓮%耿琪超%熊凱*
한중지%산립묘%서염%풍영련%경기초%웅개*
计算机视觉%检测%品质分级%胡萝卜%青头%须根%开裂
計算機視覺%檢測%品質分級%鬍蘿蔔%青頭%鬚根%開裂
계산궤시각%검측%품질분급%호라복%청두%수근%개렬
computer vision%detectors%quality control%carrot%green-shoulder%fibrous roots%surface cracks
为了实现基于计算机视觉的胡萝卜外观品质自动分级系统,基于图像处理的方法,参照国家标准(SB/T10450-2007),该文提出影响胡萝卜外观等级的须根、青头、开裂等关键参数的提取算法.须根检测算法通过提取骨架检测端点数来实现,青头检测算法通过R分量上二值化得到,开裂检测算法使用S分量结合区域标记的方法完成,在此基础上构建了须根数、青头比和开裂度3个量化标准,对试验随机采集的520个胡萝卜图像的青头、须根和开裂进行检测,正确率分别达到了97.5%,81.8%,92.3%,总体识别率91.3%.该文所构建的胡萝卜关键特征检测方法,对研究机器视觉的胡萝卜外观品质自动检测装置与分级生产线具有积极意义.
為瞭實現基于計算機視覺的鬍蘿蔔外觀品質自動分級繫統,基于圖像處理的方法,參照國傢標準(SB/T10450-2007),該文提齣影響鬍蘿蔔外觀等級的鬚根、青頭、開裂等關鍵參數的提取算法.鬚根檢測算法通過提取骨架檢測耑點數來實現,青頭檢測算法通過R分量上二值化得到,開裂檢測算法使用S分量結閤區域標記的方法完成,在此基礎上構建瞭鬚根數、青頭比和開裂度3箇量化標準,對試驗隨機採集的520箇鬍蘿蔔圖像的青頭、鬚根和開裂進行檢測,正確率分彆達到瞭97.5%,81.8%,92.3%,總體識彆率91.3%.該文所構建的鬍蘿蔔關鍵特徵檢測方法,對研究機器視覺的鬍蘿蔔外觀品質自動檢測裝置與分級生產線具有積極意義.
위료실현기우계산궤시각적호라복외관품질자동분급계통,기우도상처리적방법,삼조국가표준(SB/T10450-2007),해문제출영향호라복외관등급적수근、청두、개렬등관건삼수적제취산법.수근검측산법통과제취골가검측단점수래실현,청두검측산법통과R분량상이치화득도,개렬검측산법사용S분량결합구역표기적방법완성,재차기출상구건료수근수、청두비화개렬도3개양화표준,대시험수궤채집적520개호라복도상적청두、수근화개렬진행검측,정학솔분별체도료97.5%,81.8%,92.3%,총체식별솔91.3%.해문소구건적호라복관건특정검측방법,대연구궤기시각적호라복외관품질자동검측장치여분급생산선구유적겁의의.
In order to improve the carrot automatic grading system based on computer vision, which refers to the grading standard of purchases and sales of carrots, this article proposed a detection method of carrot with green-shoulder, fibrous roots and surface cracks which impact the carrot appearance grading greatly. Five hundred and twenty carrots were selected randomly as testing samples, and their photos were taken by camera for the next step of processing and research. To detect the fibrous roots, the skeleton was extracted from the binary image after necessary image preprocessing and binariazation. Based on the fact that normal carrots have 5 end points of skeleton, fibrous roots are detected by computing the number of the skeleton end points. The number of fibrous roots is computed by subtracting 5 from the number of skeleton end points and then divided by 2, which is taken as the measure of whether there are fibrous roots on the carrot image. Green-shoulders of carrots can be distinguished by the green color which is very obvious on the R component image, so it is detected by thresholding the R component image of the carrot and computing the area of the green-shoulder region. The ratio of the area of the green-shoulder region and whole carrot region is defined as green-shoulder ratio to measure whether there is green-shoulder on the carrot. As for surface cracks, surface cracks are more obvious on S component images than on the other components, so they are detected by region marking on the S component image and computing the area of surface cracks. The ratio of the area of cracks and the whole carrot is defined as the degree of surface cracking to measure whether there are cracks on the carrot surface. For each carrot image, the three quantitative criteria mentioned above are computed for statistics and analysis, and then the detection accuracy rates of the three criteria are tested. The result show that the detection accuracy rate for the green-shoulder, the fibrous roots and carrot surface cracking defects detection are 97.5%, 81.8%, and 92.3%, respectively. It is showed from the result that the detection algorithms of green-shoulder and fibrous roots have higher accuracy rates than that of surface cracks and have reached above 92%. However, the detection results of cracks are not ideal because the color of cracks area is similar to that of the normal surface and are not obvious on the two-dimensional image. Finally, the detection rates of the three criteria are calculated synthetically. Result shows that the overall accuracy rate can reach 91.3%, which can meet the need of defect detection. The method proposed in this paper has positive significance for the research of carrot appearance quality grading system and product line.