农业工程学报
農業工程學報
농업공정학보
2014年
3期
135-141
,共7页
宋怀波%张卫园%张欣欣%邹睿智
宋懷波%張衛園%張訢訢%鄒睿智
송부파%장위완%장흔흔%추예지
图像处理%图像分割%机器人%阴影去除%模糊集%苹果
圖像處理%圖像分割%機器人%陰影去除%模糊集%蘋果
도상처리%도상분할%궤기인%음영거제%모호집%평과
image processing%image segmentation%robots%shadow removal%fuzzy set theory%apples
为了提高阴影影响下的苹果目标提取精度,该文提出了一种基于模糊集理论的苹果表面阴影去除方法。该方法将含阴影图像作为一个模糊矩阵,利用所设计的隶属函数进行图像去模糊化处理,达到图像增强的目的,进而削弱苹果表面阴影对目标分割的影响。为了验证算法的有效性,采用基于灰度阈值和基于颜色聚类2种算法对去除阴影前后的目标图像进行分割,并选用分割误差、假阳性率、假阴性率和重叠系数4项指标进行了分析比较,试验结果表明,去除阴影之后,2种分割算法所提取的苹果目标区域较去除阴影之前有了较大的提高,2种分割算法的平均分割误差分别为3.08%和3.46%,比去除阴影之前降低了20.53%和25.92%,假阳性率、假阴性率分别降低了29.79%、29.98%和21.25%、29.83%,重叠系数分别提高30.96%和24.55%。与灰度变换法去除阴影后分割的效果比较表明,该方法的平均分割误差降低了29.23%,假阳性率、假阴性率分别降低了30.97%和20.40%,重叠系数提高了26.60%;与直方图均衡化法的比较表明,分割误差降低了25.59%,假阳性率、假阴性率分别降低了22.74%和27.56%,而重叠系数提高了27.43%。这一系列数据表明,基于模糊集理论的阴影去除方法具有较好的阴影去除效果。经过去除阴影后,可以获得更高的目标分割性能,目标提取精度显著提高,表明将模糊集方法应用于苹果目标的阴影去除可以有效地提高苹果目标区域的提取精度。
為瞭提高陰影影響下的蘋果目標提取精度,該文提齣瞭一種基于模糊集理論的蘋果錶麵陰影去除方法。該方法將含陰影圖像作為一箇模糊矩陣,利用所設計的隸屬函數進行圖像去模糊化處理,達到圖像增彊的目的,進而削弱蘋果錶麵陰影對目標分割的影響。為瞭驗證算法的有效性,採用基于灰度閾值和基于顏色聚類2種算法對去除陰影前後的目標圖像進行分割,併選用分割誤差、假暘性率、假陰性率和重疊繫數4項指標進行瞭分析比較,試驗結果錶明,去除陰影之後,2種分割算法所提取的蘋果目標區域較去除陰影之前有瞭較大的提高,2種分割算法的平均分割誤差分彆為3.08%和3.46%,比去除陰影之前降低瞭20.53%和25.92%,假暘性率、假陰性率分彆降低瞭29.79%、29.98%和21.25%、29.83%,重疊繫數分彆提高30.96%和24.55%。與灰度變換法去除陰影後分割的效果比較錶明,該方法的平均分割誤差降低瞭29.23%,假暘性率、假陰性率分彆降低瞭30.97%和20.40%,重疊繫數提高瞭26.60%;與直方圖均衡化法的比較錶明,分割誤差降低瞭25.59%,假暘性率、假陰性率分彆降低瞭22.74%和27.56%,而重疊繫數提高瞭27.43%。這一繫列數據錶明,基于模糊集理論的陰影去除方法具有較好的陰影去除效果。經過去除陰影後,可以穫得更高的目標分割性能,目標提取精度顯著提高,錶明將模糊集方法應用于蘋果目標的陰影去除可以有效地提高蘋果目標區域的提取精度。
위료제고음영영향하적평과목표제취정도,해문제출료일충기우모호집이론적평과표면음영거제방법。해방법장함음영도상작위일개모호구진,이용소설계적대속함수진행도상거모호화처리,체도도상증강적목적,진이삭약평과표면음영대목표분할적영향。위료험증산법적유효성,채용기우회도역치화기우안색취류2충산법대거제음영전후적목표도상진행분할,병선용분할오차、가양성솔、가음성솔화중첩계수4항지표진행료분석비교,시험결과표명,거제음영지후,2충분할산법소제취적평과목표구역교거제음영지전유료교대적제고,2충분할산법적평균분할오차분별위3.08%화3.46%,비거제음영지전강저료20.53%화25.92%,가양성솔、가음성솔분별강저료29.79%、29.98%화21.25%、29.83%,중첩계수분별제고30.96%화24.55%。여회도변환법거제음영후분할적효과비교표명,해방법적평균분할오차강저료29.23%,가양성솔、가음성솔분별강저료30.97%화20.40%,중첩계수제고료26.60%;여직방도균형화법적비교표명,분할오차강저료25.59%,가양성솔、가음성솔분별강저료22.74%화27.56%,이중첩계수제고료27.43%。저일계렬수거표명,기우모호집이론적음영거제방법구유교호적음영거제효과。경과거제음영후,가이획득경고적목표분할성능,목표제취정도현저제고,표명장모호집방법응용우평과목표적음영거제가이유효지제고평과목표구역적제취정도。
Illumination changes and shadows are the problems that must be considered in the recognition of fruits in nature scenes. In order to improve the accuracy of apple extraction under the influence of shadows, an apple surface shadow removal algorithm based on a fuzzy set was presented. In this algorithm, the image including shadows could be seen as a fuzzy matrix. The membership function was used for image de-blurring processing so as to enhance the image and then weaken the shadow’s influence on apple segmentation. After the usage of a fuzzy set theory, the saturation of each pixel should be enhanced so as to reduce the difference of the adjacent pixel points. In order to verify the validity of the algorithm, a gray threshold algorithm and k-means color clustering algorithm were adapted to segment targets before and after shadow removal. In addition, the gray threshold method used in this paper was an Otsu adaptive threshold which could be objective for the judgment of segmentation results. For the k-means method used in this paper, the parameterk was selected ask=3, which means that all the images were clustered into leaves, branches, and apples. In this paper, four criteria such asAf (Segmentation error), FPR (False Positive Rate), FNR (False Negative Rate), and OI (Overlap Index) were used to evaluate the segmentations results. The results showed that after shadow removal, the target extraction area using the two segmentation algorithms were larger than that before shadow removal. The average segmentation error was 3.08% and 3.46% of the two segmentation algorithms, and it decreased 20.53% and 25.92% respectively when compared with the result before shadow removal. The FPR and FNR decreased 29.79%, 28.98%, 21.25%, and 29.83%, and OI increased 30.96% and 24.55%. In order to further verify the validity of this algorithm, the proposed algorithm was compared with a gray scale transform method and histogram equalization method. The experimental results showed that under the method proposed in this paper, the average segmentation error was reduced by 29.23% compared with the result obtained by the gray scale transform method, FPR and FNRwas reduced by 30.97% and 20.40%, while OI increased by 26.60%. Then the method proposed by this paper was compared with the histogram equalization method, resulting in the segmentation errors being reduced by 25.59%, and FPR and FNR was reduced by 22.74% and 27.56%, while OI increased by 27.43%. This series of data showed that the presented algorithm could get better shadow removal effects. All these results showed that the presented shadow removal algorithm proposed by this paper could improve the target segmentation performance and are feasible and effective to remove the shadows of apples. This method has very broad further significance.