农机化研究
農機化研究
농궤화연구
JOURNAL OF AGRICULTURAL MECHANIZATION RESEARCH
2015年
7期
61-65
,共5页
红枣%标记%极半径%形状检测
紅棘%標記%極半徑%形狀檢測
홍조%표기%겁반경%형상검측
chinese date%labelling method%polar radius%shape detection
形状是分级的最重要参数之一,本文采用标记法对红枣形状进行了识别。通过图像预处理获取红枣二值图像,通过边界追踪获取目标边界笛卡尔坐标,并将其转化为极坐标,对目标图像进行缩放旋转使均值圆成为基线,切割的4部分边界曲线能完整表达。对边界曲线进行多项式拟合,获取极值点坐标,将其映射回被拟合曲线上,获取对应极值点坐标。若两极小极半径差值大于阈值,则红枣畸形;若两极大极半径附近区域极半径过渡平缓,判红枣为规整,否则为较规整。取53粒红枣进行检测,其中16粒畸形,17粒较规整,20粒规整。检测结果表明:畸形枣识别准确率达100%,较规整枣的识别准确率94%,规整枣识别准确率95%,可基本满足红枣分级系统精度的要求。
形狀是分級的最重要參數之一,本文採用標記法對紅棘形狀進行瞭識彆。通過圖像預處理穫取紅棘二值圖像,通過邊界追蹤穫取目標邊界笛卡爾坐標,併將其轉化為極坐標,對目標圖像進行縮放鏇轉使均值圓成為基線,切割的4部分邊界麯線能完整錶達。對邊界麯線進行多項式擬閤,穫取極值點坐標,將其映射迴被擬閤麯線上,穫取對應極值點坐標。若兩極小極半徑差值大于閾值,則紅棘畸形;若兩極大極半徑附近區域極半徑過渡平緩,判紅棘為規整,否則為較規整。取53粒紅棘進行檢測,其中16粒畸形,17粒較規整,20粒規整。檢測結果錶明:畸形棘識彆準確率達100%,較規整棘的識彆準確率94%,規整棘識彆準確率95%,可基本滿足紅棘分級繫統精度的要求。
형상시분급적최중요삼수지일,본문채용표기법대홍조형상진행료식별。통과도상예처리획취홍조이치도상,통과변계추종획취목표변계적잡이좌표,병장기전화위겁좌표,대목표도상진행축방선전사균치원성위기선,절할적4부분변계곡선능완정표체。대변계곡선진행다항식의합,획취겁치점좌표,장기영사회피의합곡선상,획취대응겁치점좌표。약량겁소겁반경차치대우역치,칙홍조기형;약량겁대겁반경부근구역겁반경과도평완,판홍조위규정,부칙위교규정。취53립홍조진행검측,기중16립기형,17립교규정,20립규정。검측결과표명:기형조식별준학솔체100%,교규정조적식별준학솔94%,규정조식별준학솔95%,가기본만족홍조분급계통정도적요구。
Shape is a basic parameters of classification, this paper has a identification on shape of Chinese date based on the mark method.Have a image preprocessing to get binary image of Chinese date;Have a boundary tracking to get car-tesian coordinates of target boundary; Transform them into polar coordinates; Scale and rotate the target image to make mean round become a base line and cut the boundary curve to four parts by it.Have a polynomial fitting on the boundary curves in order to get extreme value point coordinates;Mapping them to the fitted curve to obtain corresponding points.If the difference value of two local minimum polar radius is bigger than the threshold value , the Chinese date is deformity;If the points nearby two local minimum polar radius transit gently, the Chinese date is considered as regular shape, else relatively regular shape.Do experiments with 53 Chinese dates including 16 abnormal shape dates and 17 relatively regu-lar shape dates and 20 normal dates.The result show that the recognition rate of deformity jujube is 100% and that of relatively normal jujube is 94 and that of normal jujube is 95 , which basically meet the accuracy requirement of the red jujube grading system.