Algorithm and Experiment of Cocoon Segmentation and Location Based on Color and Area Feature

LIU Mochen, XU Ronghao, LI Fade, SONG Zhanhua, YAN Yinfa, HAN Shouqiang

Abstract

To improve the lower efficiency of silkworm cocoon harvesting, an algorithm of cocoon image segmentation and coordinate location was proposed based on color and area characteristics, and a cocoon harvestor was designed based on machine vision. The monocular CMOS camera was firstly used in the algorithm to take image of checker cocooning frame. And the non-measurement distortion correction method was used to correct the image. Secondly, the camera model was calibrated with the internal parameters for the monocular two-dimensional visual measurement system. The image was smoothed via gray and mean shift filter method because the outer floss of the cocoon can cause wrong segmentation of the image in checker cocooning frame image. Then the binary image was obtained by threshold segmentation. Next, the binary image was processed by open operation and area feature extraction method to remove noise region. A part of the smaller noise connected components can be removed by the open operation. The cocoon region can be extracted by the area characteristic when the large area of the connected components can be removed. The center point coordinates of the cocoon region were got by the connected components calibration, and were mapped into the world coordinates through the equation that transformed image coordinates to world coordinates to get the cocoons’ positions in the Cartesian space. Finally, the cocoons were harvested by the cocoon harvestor. According to the experiment, the algorithm had the accuracy rate of 96.88% for the cocoon detection in the checker cocooning frame and less than 6.0mm for the cocoon coordinate, which satisfied the requirement of the location of cocoon harvesting.


Keywords: silkworm cocoon segmentation, image processing, cocoon harvesting, location algorithm, experiment

 

Download Full Text:

PDF


References


CAI Jianrong, ZHOU Xiaojun, LI Yuliang, et al. Recognition of mature orange in natural scene baser! on machine vision [ J ]. Transactions of the CSAE, 2008, 24( 1 ) : 175 - 178. ( in Chinese)

SONG Yajie, XIE Shouyong, KAN Ruilong. Applied research on machine vision technology in non-destructive test of cocoon [ J]. Modern Agricultural Equipments, 2006(9) ; 48 —51. (in Chinese)

ZHOU Zhiyu, LIU Xi’ang, Y ANG Donghe. Application of machine vision in measurement of cocoon superficial area [J ] . Journal of Textile Research, 2006, 27(12): 29 —31. (in Chinese)

GAN Yong. Calculation method for shell thickness of dried cocoon based on image processing[ J ]. Journal of Silk, 2006( 11 ) : 46 - 48. (in Chinese)

CHEN llao, YANG Zheng, LIU Xia, et al. Study on auxiliary testing method for mulberry silkworm cocoon sorting based on MATLAB[ J]. Journal of Silk, 2016(3): 32 -36. (in Chinese)

CHATTERJEE C, ROYCHOWDHURY V P. Algorithms for coplanar camera calibration [J ]• Machine Vision and Applications, 2000, 12(2) ; 84 -97.

GAO Zhanyu, GU Yingying, LIU Yuhang,et al. Self-calibration based on simplified Brown non-linear camera model and modified liFGS algorithm [J ]. Optics and Precision Engineering, 2017,25(9): 2532 -2540. (in Chinese)

XU D, LI Y F, TAN M. A method for calibration cameras with large distortion in lens[J]. Optical Engineering, 2006, 45(4) : 0436021 -0436028.

LtJ Chaohui, CHEN Xiaoguang, WU Wenfu, et al. Automatic measuring system of seeding perpendicularity based on bonocular stereo vision[J]. Transactions of the Chinese Society for Agricultural Machinery, 2002, 33( 1 ) ; 60 -62. ( in Chinese)

CONMANICIU D, MEER P. Mean shift: a robust approach toward feature space analysis [ J ]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2002, 24(5) ; 603 -619.

HU Lian, LUO Xiwen, ZENG Shan, et al. Plant recongnition and localization for intra-row mechanical weeding device based on machine vision [J ]. Transactions of the CSAE, 2013, 29 (10): 12 -18. (in Chinese)

http:// www. j-csam. org/jcsam/ch/reader/ view _ abstract, aspx? Hag = l&file_no = 20160601 & journal _ id = jcsam. DIO; 10. 6041 / j. issn. 1000-1298. 2016. 06. 001.DING Weimin, ZHAO Sicji, ZHAO Sanqin, et all. Measurement methods of fruit tree canopy volume based on machine vision [J/ OL]. Transactions of the Chinese Society for Agricultural Machinery, 2016, 47(6) ; 1 - 10. (in Chinese)

MARAGOS P. Differential morphology and image processing[J ]. IEEE Transactions on Image Processing, 1996, 5(6): 922 -937.

LI Guanlin, MA Zhanhong, WANG llaiguang. Image recognition of wheat stripe rust and wheat leaf rust based on support vector machine [j]. Journal of China Agricultural University, 2012,17(2): 72 -79. (in Chinese)

http:// www. j-csam. org/jcsam/ch/reader/view _abstract, aspx? Hag = l&file_no = 20170205&journal_id = jcsam. DOI; 10. 6041 /j. issn. 1000 -1298.2017. 02.005. SONG Yu, LIU Yongbo, LIU Lu, et al. Extraction method of vavigation baseline of corn roots based on machine vision [J/OL]. Transactions of the Chinese Society for Agricultural Machinery, 2017, 48(2) : 38 -44. ( in Chinese)


Refbacks

  • There are currently no refbacks.