[go: up one dir, main page]

CN104280349A - Method for identifying hollowness of white radishes based on hyperspectral image - Google Patents

Method for identifying hollowness of white radishes based on hyperspectral image Download PDF

Info

Publication number
CN104280349A
CN104280349A CN201410603264.6A CN201410603264A CN104280349A CN 104280349 A CN104280349 A CN 104280349A CN 201410603264 A CN201410603264 A CN 201410603264A CN 104280349 A CN104280349 A CN 104280349A
Authority
CN
China
Prior art keywords
radish
bran
heart
image
hyperspectral
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410603264.6A
Other languages
Chinese (zh)
Inventor
潘磊庆
胡鹏程
屠康
孙晔
王振杰
顾欣哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Agricultural University
Original Assignee
Nanjing Agricultural University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Agricultural University filed Critical Nanjing Agricultural University
Priority to CN201410603264.6A priority Critical patent/CN104280349A/en
Publication of CN104280349A publication Critical patent/CN104280349A/en
Pending legal-status Critical Current

Links

Landscapes

  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

本发明涉及一种基于高光谱图像对白萝卜糠心鉴定的方法,属于农产品贮藏与加工行业的无损检测技术。通过高光谱成像仪,获取白萝卜贮藏过程中的透射高光谱图像,分析正常白萝卜和糠心白萝卜的光谱响应的差异,提取400-1000nm波长范围的光谱值作为神经网络的输入值,判断出白萝卜是否糠心。本方法可以实现对白萝卜糠心的准确识别,代替人工破坏性检测,有效避免不合格产品流向市场,提高白萝卜食用、加工利用率,促进萝卜深加工业发展,为高光谱技术应用于农产品领域提供借鉴。

The invention relates to a method for identifying the bran heart of white radish based on a hyperspectral image, which belongs to the non-destructive detection technology in the storage and processing industry of agricultural products. Through the hyperspectral imager, the transmission hyperspectral image of white radish during storage is obtained, the difference in spectral response between normal white radish and bran heart white radish is analyzed, and the spectral value in the wavelength range of 400-1000nm is extracted as the input value of the neural network. Find out whether the white radish has a bran heart. This method can realize the accurate identification of the bran heart of white radish, replace manual destructive detection, effectively prevent unqualified products from flowing to the market, improve the edible and processing utilization rate of white radish, promote the development of deep processing industry of radish, and provide a basis for the application of hyperspectral technology in the field of agricultural products. learn from.

Description

一种基于高光谱图像对白萝卜糠心鉴定的方法A method for identification of white radish bran heart based on hyperspectral images

技术领域technical field

本发明是一种高光谱图像技术在白萝卜采后贮藏期间检测糠心的方法,属于农产品贮藏与加工无损检测的技术领域。The invention relates to a hyperspectral image technology method for detecting bran core during post-harvest storage of white radish, and belongs to the technical field of non-destructive detection of agricultural product storage and processing.

背景技术Background technique

萝卜糠心又称空心,是萝卜生长中的自然现象,生长期和贮藏期均能发生。引起萝卜糠心原因有多种,水分失调、肥料条件不适、光照及温度等都会导致萝卜的糠心。糠心过程会使淀粉、糖分等营养物质减少,并且影响其加工、贮藏和食用性。萝卜内部糠心的传统检测方法是采用人工感官检测,不仅费时费力,而且精度不高,难以适合大规模工业化自动分级的需求。因此,建立一种无损、可靠的方法来检测萝卜的糠心,对萝卜进行检测分级,提高萝卜市场价值以及萝卜深加工产业发展都有重要的意义。Radish bran heart, also known as hollow, is a natural phenomenon in the growth of radish, and it can occur during both the growth period and the storage period. There are many reasons for the bran heart of radish. Water imbalance, unsuitable fertilizer conditions, light and temperature will all lead to bran heart of radish. The bran core process will reduce nutrients such as starch and sugar, and affect its processing, storage and edible properties. The traditional detection method of bran heart in radish is to use artificial sensory detection, which is not only time-consuming and laborious, but also has low precision, which is difficult to meet the needs of large-scale industrial automatic grading. Therefore, it is of great significance to establish a non-destructive and reliable method to detect the bran core of radish, to detect and grade radish, to improve the market value of radish and to develop the deep processing industry of radish.

近年来,高光谱图像检测技术作为一种无损伤、快速地分析和评估各类食物质量与安全的方法,得到了广泛的认可。高光谱图像能够检测食品的物理和形态学特征,以及内部的化学和分子学信息,从而分析和评价食品的质量与安全。这种技术在国内外食品工业中都有很好的应用,如Jianwei Qin等[Qin J,Burks T F.Development of a two-band spectral imaging system for real-time citrus cankerdetection[J].Journal of Food Engineering,2012,1(108):87-93.]基于高光谱图像筛选的特征波段,研制了商业水果分级机,其速度为5个/秒,总体分类精度为95.3%。Ana Herrero-Langreo等[Herrero-Langreo A,Lunadei L,et al.MultispectralVision for Monitoring Peach Ripeness[J].Food science,2011,2(76):178-187.]利用高光谱图像技术评价桃子的成熟度,方便确定最佳采摘时间。Piotr Baranowski等[Baranowski P,et al.Detection of early bruises in apples using hyperspectral dataand thermal imaging[J].Journal of Food Engineering,2012,3(110):345-355.]利用高光谱图像对苹果硬度及可溶性固形物进行评估。高光谱图像技术也被应用于苹果、樱桃和柑橘类水果表面缺陷,黄瓜内部缺陷等的检测。近几年国内利用高光谱图像技术对农产品质量的检测发展同样迅速,如黄倩文等[黄文倩,陈立平,李江波,等.基于高光谱成像的苹果轻微损伤检测有效波长选取[J].农业工程学报.2013,29(1):272-277.]对苹果表面轻微损伤检测,高海龙等[高海龙,李小昱,徐森淼,等.马铃薯黑心病和单薯质量的透射高光谱检测方法[J].农业工程学报.2013,29(15):279-285.]对马铃薯黑心病检测,李江波等[李江波,王福杰,应义斌,等.高光谱荧光成像技术在识别早期腐烂脐橙中的应用研究[J].光谱学与光谱分析.2012,32(1):142-146.]利用高光谱荧光检测早期腐烂脐橙,田有文等[田有文,李天来,张琳,等.高光谱图像技术诊断温室黄瓜病害的方法[J].农业工程学报.2010(5):202-206.]黄瓜病害检测等方面都取得了较好的结果。但是萝卜内部糠心的无损检测的技术国内外未见报道,有必要开展采用高光谱图像技术对萝卜内部糠心的无损检测研究。In recent years, hyperspectral image detection technology has been widely recognized as a non-invasive and rapid method for analyzing and evaluating the quality and safety of various foods. Hyperspectral images can detect the physical and morphological characteristics of food, as well as internal chemical and molecular information, so as to analyze and evaluate the quality and safety of food. This technology has been well applied in the food industry at home and abroad, such as Jianwei Qin et al [Qin J, Burks T F.Development of a two-band spectral imaging system for real-time citrus canker detection[J].Journal of Food Engineering, 2012, 1(108): 87-93.] Based on the characteristic bands of hyperspectral image screening, a commercial fruit classifier was developed with a speed of 5 pieces/second and an overall classification accuracy of 95.3%. Ana Herrero-Langreo et al [Herrero-Langreo A, Lunadei L, et al.MultispectralVision for Monitoring Peach Ripeness[J]. Food science, 2011, 2(76): 178-187.] using hyperspectral image technology to evaluate peach ripeness Degree, to facilitate the determination of the best picking time. Piotr Baranowski et al [Baranowski P, et al. Detection of early bruises in apples using hyperspectral data and thermal imaging [J]. Journal of Food Engineering, 2012, 3(110): 345-355.] using hyperspectral images to detect apple hardness and Soluble solids were assessed. Hyperspectral imaging technology has also been applied to the detection of surface defects in apples, cherries and citrus fruits, internal defects in cucumbers, etc. In recent years, domestic use of hyperspectral image technology to detect the quality of agricultural products has also developed rapidly, such as Huang Qianwen et al. .2013, 29(1): 272-277.] Detection of slight damage on apple surface, Gao Hailong et al. Chinese Journal of Agricultural Engineering. 2013, 29(15): 279-285.] Detection of potato black heart disease, Li Jiangbo et al. Research [J]. Spectroscopy and Spectral Analysis. 2012, 32(1): 142-146. Using hyperspectral fluorescence to detect early rotten navel oranges, Tian Youwen et al [Tian Youwen, Li Tianlai, Zhang Lin, et al. Diagnosis of greenhouses using hyperspectral image technology Cucumber disease methods [J]. Agricultural Engineering Journal. 2010 (5): 202-206.] Cucumber disease detection and other aspects have achieved good results. However, the technology of non-destructive detection of bran core inside radish has not been reported at home and abroad. It is necessary to carry out research on non-destructive detection of bran core inside radish using hyperspectral image technology.

发明内容Contents of the invention

技术问题technical problem

鉴于上述技术发展现状,本发明的目的主要针对现有技术无法实现白萝卜在贮藏和售卖过程中糠心无损鉴定的难题,开发高光谱图像检测的快速无损方法,满足萝卜深加工业的迫切需求。通过利用高光谱成像技术,分析正常白萝卜和糠心白萝卜的光谱信息差异,提取响应的特征参数,构建白萝卜糠心的鉴定模型。In view of the above-mentioned technical development status, the purpose of the present invention is to develop a fast and non-destructive method for hyperspectral image detection to meet the urgent needs of the radish deep-processing industry in view of the problem that the existing technology cannot realize the non-destructive identification of the bran heart during storage and sales. By using hyperspectral imaging technology, the spectral information difference between normal white radish and white radish with bran heart was analyzed, the characteristic parameters of the response were extracted, and the identification model of bran heart white radish was constructed.

技术方案Technical solutions

1.一种基于高光谱图像对白萝卜糠心鉴定的方法,其装置构成特征在于:1. A method for identification of white radish bran heart based on hyperspectral image, its device is characterized in that:

1)系统组成,包括高光谱成像单元、样品支架、电动平台、线光源、光箱、电脑和图像采集软件组成,整个装置放置在密闭黑箱中。其中,高光谱成像单元由摄像机(Imperx,ICL-B1620,波段范围为400~1000nm,光谱分辨率为2.8nm)、光谱仪(Specim,ImSpector,V10E)和焦距可变透镜组成,光箱为150W的卤素钨灯,由1个线性光纤导管完成传输,电脑型号为CPU E5800,3.2GHz,内存2G,显卡256M GeForce GT240;图像采集软件为自主开发的Spectral Image软件;1) System composition, including hyperspectral imaging unit, sample holder, motorized platform, line light source, light box, computer and image acquisition software, the whole device is placed in a closed black box. Among them, the hyperspectral imaging unit consists of a camera (Imperx, ICL-B1620, with a wavelength range of 400-1000nm and a spectral resolution of 2.8nm), a spectrometer (Specim, ImSpector, V10E) and a variable focal length lens. The light box is a 150W The halogen tungsten lamp is transmitted by a linear fiber optic tube. The computer model is CPU E5800, 3.2GHz, memory 2G, graphics card 256M GeForce GT240; image acquisition software is Spectral Image software independently developed;

2)透射采集单元,透镜离白萝卜样本距离为20cm,样本紧贴线光源放置,光源强度为90W,采集曝光时间70ms,采集速度2.5mm/s,图像分辨率804×440;2) Transmission acquisition unit, the distance between the lens and the white radish sample is 20cm, the sample is placed close to the line light source, the light source intensity is 90W, the acquisition exposure time is 70ms, the acquisition speed is 2.5mm/s, and the image resolution is 804×440;

其检测步骤在于:Its detection steps are:

1)取大小均一、无机械损伤的待测白萝卜样本,表面清洗干净并晾干,放置于所述的高光谱图像检测系统中,获取高光谱图像;1) Take a sample of white radish to be tested with uniform size and no mechanical damage, clean the surface and dry it, and place it in the hyperspectral image detection system to obtain a hyperspectral image;

2)利用下述公式对获得的图像进行校正,获得校正后的高光谱图像:2) Use the following formula to correct the obtained image to obtain the corrected hyperspectral image:

RcRc == RR 00 -- DD. WW -- DD.

其中:Rc为校正后的高光谱透射图像,R0为原始高光谱透射图像,W为将反射率为99.99%的标准白色校正板,放置在光源正上方,扫描透射白板得到全白的标定图像,D为将镜头盖上镜头盖,采集全黑的标定图像;Among them: Rc is the corrected hyperspectral transmission image, R0 is the original hyperspectral transmission image, W is the standard white calibration plate with a reflectivity of 99.99%, placed directly above the light source, scanning the transmission white board to obtain a full white calibration image , D is to cover the lens with the lens cover, and collect a completely black calibration image;

3)选择图像中白萝卜区域正中间部位25000个pixels的感兴趣区域,提取该区域所有像素点在400-1000nm波段范围内的光谱均值,并作为已构建好的神经网络模型的输入值,输出结果为白萝卜是否糠心,其中构建的神经网络模型参数为:隐藏层数为1,隐藏层节点数为13,隐藏层激活函数为双曲正切;输出层个数为2,即合格样本与糠心样本,输出层激活函数为Softmax。3) Select the region of interest with 25,000 pixels in the middle of the white radish area in the image, extract the spectral mean value of all pixels in the region in the range of 400-1000nm, and use it as the input value of the constructed neural network model, and output The result is whether the white radish is bran-hearted, and the parameters of the neural network model constructed are: the number of hidden layers is 1, the number of nodes in the hidden layer is 13, the activation function of the hidden layer is hyperbolic tangent; the number of output layers is 2, that is, the number of qualified samples and Bran core samples, the output layer activation function is Softmax.

有益效果Beneficial effect

本发明利用对高光谱图像仪器响应信号的监测,能够不破坏白萝卜完整性的情况下,通过白萝卜的高光谱特性,准确分辨出白萝卜内部糠心与否,能够为规范产品品质,提高萝卜市场价值,降低消费者对于可能买到糠心萝卜的顾虑,对萝卜深加工产业都有深刻的意义。相对于传统的破坏性检测,不仅节省时间,而且避免了不必要的浪费。该技术和方法新颖,研究成果不仅可以用于实验室的快速分析和检测,而且可以通过开发在线检测设备和便携式仪器,用于工业自动化生产中的白萝卜糠心鉴定,也为其他农产品内部品质的检测提供了有益的借鉴。The present invention utilizes the monitoring of the response signal of the hyperspectral image instrument to accurately distinguish whether the bran heart inside the white radish is through the hyperspectral characteristics of the white radish without destroying the integrity of the white radish, which can standardize product quality and improve The market value of radishes and the reduction of consumers' concerns about the possibility of buying radishes with bran heart are of profound significance to the radish deep processing industry. Compared with traditional destructive testing, it not only saves time, but also avoids unnecessary waste. The technology and method are novel, and the research results can not only be used for rapid analysis and detection in the laboratory, but also can be used for the identification of white radish bran heart in industrial automatic production through the development of online detection equipment and portable instruments, as well as for the internal quality of other agricultural products. The detection provides a useful reference.

四、附图说明4. Description of drawings

图1:高光谱透射系统白萝卜糠心鉴定的装置Figure 1: Device for identification of white radish bran heart by hyperspectral transmission system

图2:高光谱反射系统白萝卜糠心鉴定的装置Figure 2: Device for identification of white radish bran heart by hyperspectral reflectance system

图3:高光谱半透射系统白萝卜糠心鉴定的装置Figure 3: Device for identification of white radish bran heart by hyperspectral semi-transmission system

图4:透射模式下白萝卜原始平均光谱图Figure 4: Raw average spectrum of white radish in transmission mode

图5:反射模式下白萝卜原始平均光谱图Figure 5: Raw average spectrum of white radish in reflectance mode

图6:半反射模式下白萝卜原始平均光谱图Figure 6: Raw average spectrum of white radish in semi-reflective mode

五、具体实施方式5. Specific implementation

一种基于高光谱图像对白萝卜糠心鉴定的方法,具体实施方式如下:A method for identifying the bran heart of white radish based on hyperspectral images, the specific implementation is as follows:

1.试验材料1. Test material

白萝卜品种为江苏省农科院选育的301萝卜,于2014年5月20号栽培,种植过程中根据萝卜糠心发病原因,对部分萝卜进行特殊处理致使其糠心,2014年7月10号采收,挑选无机械损伤、无病虫害、大小均一样本120个,其中处理和未处理样本各60个,清洗并自然晾干后进行试验。The white radish variety is the 301 radish selected by the Jiangsu Academy of Agricultural Sciences. It was cultivated on May 20, 2014. During the planting process, according to the cause of the radish bran heart, some radishes were specially treated to cause the bran heart. On July 10, 2014 Harvested at No. 1, 120 samples with no mechanical damage, no pests and diseases, and the same size were selected, including 60 treated and untreated samples, cleaned and dried naturally for testing.

2.高光谱图像采集系统2. Hyperspectral image acquisition system

高光谱成像系统主要由摄像机、成像光谱仪、CCD摄像头、光源、一套机械输送装置以及计算机等组成,为台湾五铃公司生产。成像光谱仪的光谱有效波段范围400-1000nm,共440个波段,光谱分辨率为2.8nm,并带有焦距可变透镜,光源为150W卤素钨灯,光源共10档,可调节,并由光纤传输到线光源。为避免外界光线对光谱采集的影响,检测装置整体置于暗箱中,且背景为黑色,不反光。试验分别采用透射、反射和半透射三种检测模式获取白萝卜高光谱图像信号,三种采集模式硬件构成上相同,不同的是光源与样本的相对位置以及参数设置。The hyperspectral imaging system is mainly composed of cameras, imaging spectrometers, CCD cameras, light sources, a set of mechanical conveying devices, and computers, and is produced by Taiwan Isuzu Corporation. The spectral effective band range of the imaging spectrometer is 400-1000nm, a total of 440 bands, the spectral resolution is 2.8nm, and it is equipped with a focal length variable lens. The light source is a 150W halogen tungsten lamp with a total of 10 levels, adjustable, and transmitted by optical fiber to line lights. In order to avoid the influence of external light on the spectrum collection, the detection device is placed in a dark box as a whole, and the background is black without reflection. The test uses three detection modes of transmission, reflection and semi-transmission to acquire hyperspectral image signals of white radish. The hardware configuration of the three acquisition modes is the same, and the difference is the relative position of the light source and the sample and the parameter settings.

基于透射模式下的高光谱图像采集系统如图1所示,样本与光源均固定在传送带上,一个线光源位于样本的正下方,光线透过样本被光谱仪吸收,转换成数据传入计算机。其相关参数设置为曝光时间70ms,传送带速度2.5mm/s,光源强度为90W,光源紧贴样本,相机镜头距离样本20cm,固定样本,防止滚动,开始采集数据。The hyperspectral image acquisition system based on the transmission mode is shown in Figure 1. The sample and light source are fixed on the conveyor belt, and a line light source is located directly below the sample. The light passes through the sample and is absorbed by the spectrometer, and converted into data and sent to the computer. The relevant parameters are set as exposure time 70ms, conveyor belt speed 2.5mm/s, light source intensity 90W, light source close to the sample, camera lens 20cm away from the sample, fixed sample to prevent rolling, and start data collection.

基于反射模式下的高光谱图像采集系统如图2所示,两个线光源分别固定于样本正上方,样本固定于传送带上,线光源发射出的光束交叉,光束交叉点为果实中心,光谱仪通过采集图像收集光谱信息,转换成数据传入计算机。相关参数为曝光时间3ms,传送带速度3mm/s,光源强度45W,线光源夹角45°,相机镜头距离样本25cm,固定样本采集数据。The hyperspectral image acquisition system based on reflection mode is shown in Figure 2. Two line light sources are respectively fixed directly above the sample, and the sample is fixed on the conveyor belt. The beams emitted by the line light sources intersect, and the intersection point of the beams is the center of the fruit. Collect images to collect spectral information, convert it into data and send it to the computer. The relevant parameters are exposure time 3ms, conveyor belt speed 3mm/s, light source intensity 45W, angle of line light source 45°, camera lens distance 25cm from sample, fixed sample to collect data.

基于半透射模式下的高光谱图像采集系统如图3所示,两个线光源分别位于样本两侧,样本固定在传送带上,线光源发出光束直接射入样本内部,光谱仪在样本正上方收集被样本漫反射出来的光谱信息,转换成数据传入计算机。其相关参数设置为曝光时间45ms,传送带速度为3mm/s,光源强度为75W,光源水平放置紧贴样本中心,相机镜头距离样本25cm,固定光源及样本开始采集数据。The hyperspectral image acquisition system based on the semi-transmission mode is shown in Figure 3. Two line light sources are located on both sides of the sample, the sample is fixed on the conveyor belt, and the light beam emitted by the line light source is directly injected into the sample. The spectral information diffusely reflected by the sample is converted into data and transmitted to the computer. The relevant parameters are set as exposure time 45ms, conveyor belt speed 3mm/s, light source intensity 75W, light source placed horizontally close to the center of the sample, camera lens 25cm away from the sample, fixed light source and sample to start collecting data.

3.高光谱图像采集与校正3. Hyperspectral image acquisition and correction

为了消除数据采集过程中的噪音,在与白萝卜样品采集的同样条件下,扫描白色标准校正板(反射率99.99%)后得到全白的标定图像,盖上镜头盖后得到全黑标定图像,通过公式将采集得到的绝对图像转换为相对图像,公式为:In order to eliminate the noise in the data collection process, under the same conditions as the white radish sample collection, a white standard calibration plate (99.99% reflectance) was scanned to obtain a completely white calibration image, and a completely black calibration image was obtained after covering the lens cover. The acquired absolute image is converted into a relative image by the formula, the formula is:

RR == II -- BB WW -- BB -- -- -- (( 11 ))

式(1)中:R为转换得相对图像,I为采集得绝对图像,B为全黑标定图像,W为全白标定图像。In formula (1): R is the converted relative image, I is the collected absolute image, B is the all-black calibration image, and W is the all-white calibration image.

数据处理时,采用感兴趣区域分析法,对每个样品采集得到转换后的高光谱图像选取中间位置25000个pixels的感兴趣区域(ROI区域)平均光谱作为该样品的光谱值,并用全光谱结合偏最小二乘分析(PLS-DA)、支持向量机(SVM)、人工神经网络(ANN)进行建模判别糠心萝卜。During data processing, the region of interest analysis method was used to collect and convert the hyperspectral image of each sample, and the average spectrum of the region of interest (ROI region) with 25,000 pixels in the middle position was selected as the spectral value of the sample, and combined with the full spectrum Partial least squares analysis (PLS-DA), support vector machine (SVM), and artificial neural network (ANN) were used to model and distinguish bran heart radish.

4.数学建模方法4. Mathematical modeling method

运用PLS-DA、SVM、ANN三种方法进行建模,比较每个模型下三种检测模式获得的光谱信息对白萝卜糠心的分类能力,比较分类正确率,判断出最佳检测模式和预测模型。Using three methods of PLS-DA, SVM, and ANN for modeling, comparing the spectral information obtained by the three detection modes under each model for the classification ability of white radish bran heart, comparing the classification accuracy rate, and judging the best detection mode and prediction model .

5.不同采集模式下的原始光谱分析5. Raw spectrum analysis in different acquisition modes

发生糠心的白萝卜,其组织结构及化学成分会随之发生改变,进而影响光的透过、吸收等光学特性,与未发生糠心萝卜有较大区别,故通过光谱(透射、反射、半透射)的差异有望用来判定萝卜是否糠心。采集白萝卜高光谱图像的感兴趣区域,计算其平均值,得到白萝卜在400-1000nm波段区间的光谱值。如图4、5、6分别为透射、反射、半透射模式下正常萝卜与糠心萝卜的平均光谱对比图。The white radish with bran heart will change its tissue structure and chemical composition, which will affect the optical properties such as light transmission and absorption, which is quite different from that of radish without bran heart. Therefore, through the spectrum (transmission, reflection, The difference in semi-transmission) is expected to be used to determine whether the radish is bran heart. Collect the region of interest of the white radish hyperspectral image, calculate its average value, and obtain the spectral value of the white radish in the 400-1000nm band interval. Figures 4, 5, and 6 are the comparison charts of the average spectra of normal radish and bran heart radish in transmission, reflection, and semi-transmission modes, respectively.

比较高光谱图像三种检测模式获得的光谱曲线图,可以看出正常萝卜与糠心萝卜光谱差异较大,显示出高光谱图像检测萝卜糠心的可能性,可以用于区分正常白萝卜和糠心白萝卜。而且,由于白萝卜表面呈白色,光谱反射较强,透射和半透射的光谱能够充分与萝卜内部进行相互作用,能够更好地显示出正常萝卜和糠心萝卜的差异。Comparing the spectral curves obtained by the three detection modes of the hyperspectral image, it can be seen that the spectra of normal radish and bran heart radish are quite different, showing the possibility of hyperspectral image detection of radish bran heart, which can be used to distinguish normal white radish from bran heart Heart white radish. Moreover, since the white radish has a white surface and strong spectral reflection, the transmission and semi-transmission spectra can fully interact with the interior of the radish, which can better show the difference between normal radish and bran-heart radish.

6.全波段光谱不同模型下白萝卜糠心鉴别6. Identification of white radish bran heart under different models of full-band spectrum

利用PLS-DA对糠心萝卜和正常萝卜进行区分,结果如表1所示。从中可以看出,基于透射模式的PLS-DA模型对建模集和预测集正常萝卜的整体判别正确率分别为85.0%和90.0%,对糠心萝卜的识别正确率分别为97.5%和90.0%,故透射模式在PLS-DA模型下整体识别正确率较高,判别糠心效果好。反射检测模式中,PLS-DA模型对建模集和预测集正常萝卜整体识别正确率分别为97.5%和90.0%,而对糠心萝卜识别率分别为65.0%和75.0%,此检测模式下正常萝卜和糠心萝卜识别正确率不稳定,合格样本仅有3个被认定为糠心样本,而糠心样本有19个被判断错误,所以反射模式在PLS-DA模型下不能较好判断萝卜是否糠心。半透射模式中,PLS-DA对建模集和预测集正常萝卜整体识别正确率分别为72.5%和75.0%,对糠心萝卜样本识别正确率分别为97.5%和70.0%,半透射模式在PLS-DA模型下正常萝卜和糠心萝卜识别正确率低,判别糠心效果不好。Using PLS-DA to distinguish bran heart radish from normal radish, the results are shown in Table 1. It can be seen that the PLS-DA model based on the transmission mode has an overall discrimination accuracy of 85.0% and 90.0% for the normal radish in the modeling set and prediction set, and 97.5% and 90.0% for the bran heart radish. , so the overall recognition accuracy of the transmission mode under the PLS-DA model is relatively high, and the effect of distinguishing bran core is good. In the reflection detection mode, the PLS-DA model has an overall recognition accuracy of 97.5% and 90.0% for normal radishes in the modeling set and prediction set, respectively, and 65.0% and 75.0% for bran heart radishes, which is normal in this detection mode. The recognition accuracy of radish and bran-heart radish is unstable. Only 3 qualified samples are identified as bran-heart samples, while 19 bran-heart samples are misjudged. Therefore, the reflection mode cannot judge whether the radish is good under the PLS-DA model. Bran heart. In the semi-transmission mode, the PLS-DA has an overall recognition accuracy of 72.5% and 75.0% for normal radishes in the modeling set and prediction set, and 97.5% and 70.0% for bran-heart radish samples respectively. Under the -DA model, the recognition rate of normal radish and radish with bran heart is low, and the effect of distinguishing bran heart is not good.

表1PLS-DA模型对白萝卜糠心预测结果Table 1 Prediction results of white radish bran heart by PLS-DA model

利用SVM对糠心萝卜和正常萝卜进行区分,预测结果如表2所示。从表中可以看出,基于透射模式的SVM模型对建模集和预测集正常萝卜的整体判别正确率分别为100.0%和95.0%,对糠心萝卜的识别正确率分别为100.0%和85.0%,透射模式在SVM模型下整体识别正确率较高,判别糠心效果好。反射检测模式中,SVM模型对建模集和预测集正常萝卜整体识别正确率分别为87.5%和75.0%,而对糠心萝卜识别率分别为95.0%和90.0%,此检测模式下正常萝卜识别正确率低于糠心萝卜识别正确率,反射模式在SVM模型下总体识别萝卜糠心能力一般。半透射模式中,SVM对建模集和预测集正常萝卜整体识别正确率分别为80.0%和75.0%,对糠心萝卜样本识别正确率分别为92.5%和70.0%,半透射模式在SVM模型下正常萝卜和糠心萝卜识别正确率不稳定,不能较好对萝卜糠心进行判别。Using SVM to distinguish bran heart radish from normal radish, the prediction results are shown in Table 2. It can be seen from the table that the SVM model based on the transmission mode has an overall discrimination accuracy rate of 100.0% and 95.0% for the normal radish in the modeling set and prediction set, and 100.0% and 85.0% for the bran heart radish. , under the SVM model, the overall recognition accuracy of the transmission mode is relatively high, and the effect of distinguishing bran core is good. In the reflection detection mode, the SVM model has an overall recognition accuracy of 87.5% and 75.0% for normal radishes in the modeling set and prediction set, respectively, and 95.0% and 90.0% for bran heart radishes. The correct rate is lower than that of bran-heart radish, and the overall ability of the reflection mode to identify radish bran-heart under the SVM model is average. In the semi-transmission mode, the overall recognition accuracy of SVM for normal radishes in the modeling set and prediction set was 80.0% and 75.0%, respectively, and the recognition accuracy rates for bran-heart radish samples were 92.5% and 70.0%, respectively. The semi-transmission mode under the SVM model The recognition accuracy of normal radish and bran-heart radish is not stable, and it is impossible to distinguish radish bran-heart.

表2SVM模型对白萝卜糠心预测结果Table 2 Prediction results of white radish bran heart by SVM model

利用ANN对糠心萝卜和正常萝卜进行区分,预测结果如表3所示。从中可以看出,基于透射模式的ANN模型对建模集和预测集正常萝卜的整体判别正确率分别为100%和94.4%,对糠心萝卜的识别正确率分别为97.7%和94.1%,故透射模式在ANN模型下整体识别正确率较高,判别糠心效果好。反射检测模式中,ANN模型对建模集和预测集正常萝卜整体识别正确率分别为88.1%和100.0%,而对糠心萝卜识别率分别为76.9%和85.7%,此检测模式下正常萝卜和糠心萝卜识别正确率一般。半透射模式中,ANN对建模集和预测集正常萝卜整体识别正确率分别为84.8%和71.4%,对糠心萝卜样本识别正确率分别为81.8%和93.8%,半透射模式在ANN模型下正常萝卜和糠心萝卜识别正确率低,判别糠心效果不好。Using ANN to distinguish bran heart radish from normal radish, the prediction results are shown in Table 3. It can be seen that the overall discrimination accuracy of the ANN model based on the transmission mode is 100% and 94.4% for the normal radish in the modeling set and the prediction set, and 97.7% and 94.1% for the bran heart radish. The overall recognition accuracy of the transmission mode under the ANN model is relatively high, and the effect of distinguishing bran core is good. In the reflection detection mode, the ANN model has an overall recognition accuracy of 88.1% and 100.0% for normal radishes in the modeling set and prediction set, respectively, and 76.9% and 85.7% for bran heart radishes. Bran heart radish recognition rate is average. In the semi-transmission mode, the overall recognition accuracy rates of ANN for normal radishes in the modeling set and prediction set were 84.8% and 71.4%, respectively, and the recognition accuracy rates for bran heart radish samples were 81.8% and 93.8%, respectively. The semi-transmission mode under the ANN model The recognition rate of normal radish and bran heart radish is low, and the effect of distinguishing bran heart is not good.

表3ANN模型对白萝卜糠心预测结果Table 3 Prediction results of white radish bran heart by ANN model

7.三种预测模型对萝卜糠心识别效果的比较7. Comparison of the recognition effect of three prediction models on the heart of radish bran

通过前述可以发现,不同的检测模式和预测模型对萝卜糠心的检测存在差异。利用PLS-DA模型对萝卜进行糠心判别,透射模式下建模集和预测集总体准确率达到了91.3%和90.0%,但反射模式下识别正确率不稳定,半透射模式下识别正确率较低;利用SVM模型对萝卜进行糠心判别,透射模式下建模集和预测集总体准确率达到了100.0%和90.0%,准确率有了一定提升,但半透射模式下识别正确率低且不稳定;利用ANN模型对萝卜进行糠心判别,透射模式下建模集和预测集总体准确率达到了98.8%和94.3%,识别正确率高且稳定性较前两种模型有所提高。From the above, it can be found that different detection modes and prediction models have differences in the detection of radish bran heart. Using the PLS-DA model to identify the bran heart of radish, the overall accuracy of the modeling set and prediction set in the transmission mode reached 91.3% and 90.0%, but the recognition accuracy in the reflection mode was unstable, and the recognition accuracy in the semi-transmission mode was relatively low. Low; using the SVM model to distinguish the bran heart of radish, the overall accuracy rate of the modeling set and prediction set in the transmission mode reached 100.0% and 90.0%, and the accuracy rate has been improved to a certain extent, but the recognition accuracy rate in the semi-transmission mode is low and not good. Stable; using the ANN model to distinguish the bran heart of radish, the overall accuracy of the modeling set and prediction set in the transmission mode reached 98.8% and 94.3%, and the recognition accuracy rate was high and the stability was improved compared with the previous two models.

因此,整体看来,三种检测模式中,高光谱透射检测模式检测白萝卜糠心准确率最高,且采用PLS-DA、SVM、ANN模型对糠心的识别的总体准确率都是最高,明显优于反射和半透射模式。三种预测模型中,SVM和ANN准确率都较高,但综合准确率和稳定性,ANN预测模型判别白萝卜糠心效果最好。Therefore, on the whole, among the three detection modes, the hyperspectral transmission detection mode has the highest accuracy in detecting white radish bran heart, and the overall accuracy of PLS-DA, SVM, and ANN models for the recognition of bran heart is the highest, obviously. Superior to reflective and semi-transmissive modes. Among the three prediction models, SVM and ANN have higher accuracy rates, but considering the accuracy and stability, the ANN prediction model has the best effect in distinguishing white radish bran.

Claims (1)

1.一种基于高光谱图像对白萝卜糠心鉴定的方法,其装置构成特征在于,1. A method for identification of white radish bran heart based on hyperspectral images, the device is characterized in that, 1)系统组成,包括由摄像机、光谱仪和焦距可变透镜组成的高光谱成像单元、样品支架、电动平台、线光源、光箱、电脑和图像采集软件构成,整个装置放置在密闭黑箱中。其中,摄像机为Imperx,ICL-B1620,波段范围为400~1000nm,光谱分辨率为2.8nm、光谱仪为SpecimV10E;光箱为150W的卤素钨灯,由1个线性光纤导管完成传输;电脑型号为CPU E5800,3.2GHz,内存2G,显卡256M GeForce GT240;图像采集软件为自主开发的Spectral Image软件;光源为透射模式,其中,透镜离白萝卜样本距离为20cm,样本紧贴线光源放置,光源强度为90W,采集曝光时间70ms,采集速度2.5mm/s,图像分辨率804×440;1) The system consists of a hyperspectral imaging unit consisting of a camera, a spectrometer and a variable focal length lens, a sample holder, a motorized platform, a line light source, a light box, a computer and image acquisition software. The entire device is placed in a closed black box. Among them, the camera is Imperx, ICL-B1620, the wavelength range is 400-1000nm, the spectral resolution is 2.8nm, the spectrometer is SpecimV10E; the light box is a 150W halogen tungsten lamp, and the transmission is completed by a linear optical fiber guide; the computer model is CPU E5800, 3.2GHz, memory 2G, graphics card 256M GeForce GT240; image acquisition software is self-developed Spectral Image software; light source is transmission mode, in which the distance between the lens and the white radish sample is 20cm, the sample is placed close to the line light source, and the light source intensity is 90W, acquisition exposure time 70ms, acquisition speed 2.5mm/s, image resolution 804×440; 2)检测步骤为:2) The detection steps are: ①取无机械损伤的待测白萝卜样本,表面干净无杂物,放置于如权利要求1所述的高光谱图像检测系统中,获取高光谱图像;1. Take the white radish sample to be tested without mechanical damage, the surface is clean and free of debris, and placed in the hyperspectral image detection system as claimed in claim 1, to obtain hyperspectral images; ②利用下述公式对获得的图像进行校正,获得校正后的高光谱图像:② Use the following formula to correct the obtained image to obtain the corrected hyperspectral image: RcRc == RR 00 -- DD. WW -- DD. 其中,Rc为校正后的高光谱透射图像,R0为原始高光谱透射图像,W为将反射率为99.99%的标准白色校正板,放置在光源正上方,扫描透射白板得到全白的标定图像,D为将镜头盖上镜头盖,采集全黑的标定图像;Among them, Rc is the corrected hyperspectral transmission image, R0 is the original hyperspectral transmission image, W is a standard white calibration plate with a reflectivity of 99.99%, placed directly above the light source, and scanning the transmission white board to obtain a full white calibration image , D is to cover the lens with the lens cover, and collect a completely black calibration image; ③选择图像中白萝卜区域正中间部位25000个pixels的感兴趣区域,提取该区域所有像素点在400-1000nm波段范围内的光谱均值,作为已构建好的神经网络模型的输入值,输出结果为白萝卜是否糠心,其中构建的神经网络模型参数为:隐藏层数为1,隐藏层节点数为13,隐藏层激活函数为双曲正切;输出层个数为2,即合格样本与糠心样本,输出层激活函数为Softmax。③ Select the region of interest with 25,000 pixels in the middle of the white radish area in the image, and extract the spectral mean value of all pixels in the region within the 400-1000nm band range, as the input value of the constructed neural network model, and the output result is Whether the white radish is bran heart, the parameters of the neural network model constructed are: the number of hidden layers is 1, the number of nodes in the hidden layer is 13, the activation function of the hidden layer is hyperbolic tangent; the number of output layers is 2, that is, the number of qualified samples and bran heart Sample, the output layer activation function is Softmax.
CN201410603264.6A 2014-10-28 2014-10-28 Method for identifying hollowness of white radishes based on hyperspectral image Pending CN104280349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410603264.6A CN104280349A (en) 2014-10-28 2014-10-28 Method for identifying hollowness of white radishes based on hyperspectral image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410603264.6A CN104280349A (en) 2014-10-28 2014-10-28 Method for identifying hollowness of white radishes based on hyperspectral image

Publications (1)

Publication Number Publication Date
CN104280349A true CN104280349A (en) 2015-01-14

Family

ID=52255444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410603264.6A Pending CN104280349A (en) 2014-10-28 2014-10-28 Method for identifying hollowness of white radishes based on hyperspectral image

Country Status (1)

Country Link
CN (1) CN104280349A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105158186A (en) * 2015-09-17 2015-12-16 南京农业大学 Method for detecting black core of white radish based on hyperspectral image
CN105181611A (en) * 2015-10-08 2015-12-23 华中农业大学 Nondestructive testing device for hyperspectral transmission imaging of sphere-like fruits
CN105403520A (en) * 2016-02-04 2016-03-16 广东医学院 Multi-type hyperspectral imaging integration apparatus and system
CN107144533A (en) * 2017-04-20 2017-09-08 浙江大学 A kind of hollow discrimination method of some carrots based on high light spectrum image-forming technology
CN108387530A (en) * 2018-01-22 2018-08-10 江南大学 A kind of lossless detection method carrying out maleic acid in starch based on hyper-spectral image technique
CN109740681A (en) * 2019-01-08 2019-05-10 南方科技大学 Fruit sorting method, device, system, terminal and storage medium
CN109752391A (en) * 2018-12-25 2019-05-14 中国农业大学 A quantification method for carrot surface defect recognition based on machine vision
CN109829464A (en) * 2018-12-24 2019-05-31 核工业北京地质研究院 A method of red fuji apple is screened using spectroscopic data
CN109839188A (en) * 2017-11-27 2019-06-04 核工业北京地质研究院 A kind of ground imaging spectrum scanning system and its application method
CN110231341A (en) * 2019-04-29 2019-09-13 中国科学院合肥物质科学研究院 A kind of rice paddy seed underbead crack on-line measuring device and its detection method
WO2023104220A3 (en) * 2021-12-06 2023-08-03 深圳市海谱纳米光学科技有限公司 Method and system for performing point-to-point white reference correction on hyperspectral image

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103033512A (en) * 2012-07-24 2013-04-10 南京农业大学 Device and method for recognizing hatching egg incubation based on hyperspectrum
CN103278460A (en) * 2013-05-30 2013-09-04 华南农业大学 Test and analysis method of red spider insect pest coercion conditions of orange trees
CN103344575A (en) * 2013-07-01 2013-10-09 江南大学 Hyperspectral-image-technology-based multi-quality nondestructive testing method for dried green soybeans
CN103439270A (en) * 2013-09-11 2013-12-11 南京农业大学 Device and method for detecting cold damage of peach fruits based on hyperspectral images
CN203824902U (en) * 2014-04-15 2014-09-10 华南理工大学 Hyperspectrum-based fruit-vegetable surface damage detection device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103033512A (en) * 2012-07-24 2013-04-10 南京农业大学 Device and method for recognizing hatching egg incubation based on hyperspectrum
CN103278460A (en) * 2013-05-30 2013-09-04 华南农业大学 Test and analysis method of red spider insect pest coercion conditions of orange trees
CN103344575A (en) * 2013-07-01 2013-10-09 江南大学 Hyperspectral-image-technology-based multi-quality nondestructive testing method for dried green soybeans
CN103439270A (en) * 2013-09-11 2013-12-11 南京农业大学 Device and method for detecting cold damage of peach fruits based on hyperspectral images
CN203824902U (en) * 2014-04-15 2014-09-10 华南理工大学 Hyperspectrum-based fruit-vegetable surface damage detection device

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
ANGEL DACAL-NIETO ET AL.: "Non-destructuive detection of hollow heart in potatoes using hyperspectral imaging", 《14TH INTERNATIONAL CONFERENCE ON COMPUTER ANALYSIS OF IMAGES AND PATTERNS(CAIP)》 *
Non-destructuive detection of hollow heart in potatoes using hyperspectral imaging;Angel Dacal-Nieto et al.;《14th International Conference on Computer Analysis of Images and Patterns(CAIP)》;20110831;摘要,第180-182页,图1-2 *
RIOS-CABRERA, R ET AL.: "ANN analysis in a vision approach for potato inspection", 《JOURNAL OF APPLIED RESEARCH AND TECHNOLOGY》 *
利用反射和半透射高光谱图像检测水蜜桃早期冷害;张嫱 等;《食品科学》;20140228;第35卷(第4期);第71-76页 *
吴佳 等: "马铃薯品质无损检测技术研究进展", 《食品与机械》 *
张嫱 等: "利用反射和半透射高光谱图像检测水蜜桃早期冷害", 《食品科学》 *
马铃薯黑心病和单薯质量的透射高光谱检测方法;高海龙 等;《农业工程学报》;20130831;第29卷(第15期);第279-285页 *
高海龙 等: "马铃薯黑心病和单薯质量的透射高光谱检测方法", 《农业工程学报》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105158186A (en) * 2015-09-17 2015-12-16 南京农业大学 Method for detecting black core of white radish based on hyperspectral image
CN105181611A (en) * 2015-10-08 2015-12-23 华中农业大学 Nondestructive testing device for hyperspectral transmission imaging of sphere-like fruits
CN105181611B (en) * 2015-10-08 2018-02-23 华中农业大学 Spherical fruit transmits high light spectrum image-forming the cannot-harm-detection device
CN105403520A (en) * 2016-02-04 2016-03-16 广东医学院 Multi-type hyperspectral imaging integration apparatus and system
CN107144533A (en) * 2017-04-20 2017-09-08 浙江大学 A kind of hollow discrimination method of some carrots based on high light spectrum image-forming technology
CN109839188A (en) * 2017-11-27 2019-06-04 核工业北京地质研究院 A kind of ground imaging spectrum scanning system and its application method
CN108387530A (en) * 2018-01-22 2018-08-10 江南大学 A kind of lossless detection method carrying out maleic acid in starch based on hyper-spectral image technique
CN109829464A (en) * 2018-12-24 2019-05-31 核工业北京地质研究院 A method of red fuji apple is screened using spectroscopic data
CN109829464B (en) * 2018-12-24 2021-01-05 核工业北京地质研究院 A method for screening red Fuji apples using spectral data
CN109752391A (en) * 2018-12-25 2019-05-14 中国农业大学 A quantification method for carrot surface defect recognition based on machine vision
CN109752391B (en) * 2018-12-25 2020-06-30 中国农业大学 A quantification method for carrot surface defect recognition based on machine vision
CN109740681A (en) * 2019-01-08 2019-05-10 南方科技大学 Fruit sorting method, device, system, terminal and storage medium
CN110231341A (en) * 2019-04-29 2019-09-13 中国科学院合肥物质科学研究院 A kind of rice paddy seed underbead crack on-line measuring device and its detection method
WO2023104220A3 (en) * 2021-12-06 2023-08-03 深圳市海谱纳米光学科技有限公司 Method and system for performing point-to-point white reference correction on hyperspectral image

Similar Documents

Publication Publication Date Title
CN104280349A (en) Method for identifying hollowness of white radishes based on hyperspectral image
Ali et al. Rapid and nondestructive techniques for internal and external quality evaluation of watermelons: A review
Qi et al. Rapid and non-destructive determination of soluble solid content of crown pear by visible/near-infrared spectroscopy with deep learning regression
Mendoza et al. Comparison and fusion of four nondestructive sensors for predicting apple fruit firmness and soluble solids content
Li et al. Evaluating the performance of a consumer scale SCiO™ molecular sensor to predict quality of horticultural products
Hu et al. Optimization of soluble solids content prediction models in ‘Hami’melons by means of Vis-NIR spectroscopy and chemometric tools
CN105158186B (en) A kind of method detected based on high spectrum image to ternip evil mind
Khodabakhshian et al. Determining quality and maturity of pomegranates using multispectral imaging
Xudong et al. Nondestructive assessment of quality of Nanfeng mandarin fruit by a portable near infrared spectroscopy
Tian et al. Measurement orientation compensation and comparison of transmission spectroscopy for online detection of moldy apple core
CN1995987A (en) Non-destructive detection method and device for agricultural and animal products based on hyperspectral image technology
Tian et al. An optimal zone combination model for on-line nondestructive prediction of soluble solids content of apple based on full-transmittance spectroscopy
Zhao et al. Visible/near-infrared spectroscopy and hyperspectral imaging facilitate the rapid determination of soluble solids content in fruits
CN102937575B (en) Watermelon sugar degree rapid modeling method based on secondary spectrum recombination
Zeb et al. Towards sweetness classification of orange cultivars using short-wave NIR spectroscopy
Wang et al. Grading detection of “Red Fuji” apple in Luochuan based on machine vision and near-infrared spectroscopy
CN113030011A (en) Rapid nondestructive testing method and system for sugar content of fruits
Wang et al. Quantitative determination of onion internal quality using reflectance, interactance, and transmittance modes of hyperspectral imaging
Sun et al. Assessing and detection of multiple bruises in peaches based on structured hyperspectral imaging
Qiao et al. Online assessment of soluble solids content in strawberries using a developed Vis/NIR spectroscopy system with a hanging grasper
Zhang et al. Development of a hyperspectral imaging system for the early detection of apple rottenness caused by P enicillium
Kim et al. Defect and ripeness inspection of citrus using NIR transmission spectrum
Wang et al. Application of visible/near-infrared spectroscopy combined with machine vision technique to evaluate the ripeness of melons (Cucumis melo L.)
Tian et al. Qualitative and quantitative assessment of apple quality using bulk optical properties in combination with machine learning and chemometrics techniques
Li et al. Identification of hollow edamame using HSI based on deep learning

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150114

RJ01 Rejection of invention patent application after publication