CN111460947B - BP neural network-based method and system for identifying metal minerals under microscope - Google Patents

BP neural network-based method and system for identifying metal minerals under microscope Download PDF

Info

Publication number
CN111460947B
CN111460947B CN202010216536.2A CN202010216536A CN111460947B CN 111460947 B CN111460947 B CN 111460947B CN 202010216536 A CN202010216536 A CN 202010216536A CN 111460947 B CN111460947 B CN 111460947B
Authority
CN
China
Prior art keywords
metal mineral
neural network
unknown
image
mineral image
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.)
Active
Application number
CN202010216536.2A
Other languages
Chinese (zh)
Other versions
CN111460947A (en
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.)
Jilin University
Original Assignee
Jilin 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 Jilin University filed Critical Jilin University
Priority to CN202010216536.2A priority Critical patent/CN111460947B/en
Publication of CN111460947A publication Critical patent/CN111460947A/en
Priority to AU2020103251A priority patent/AU2020103251A4/en
Application granted granted Critical
Publication of CN111460947B publication Critical patent/CN111460947B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/69Microscopic objects, e.g. biological cells or cellular parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Molecular Biology (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Computational Linguistics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

本发明公开一种基于BP神经网络对显微镜下金属矿物的识别方法及系统,涉及金属矿物识别技术领域,主要包括获取反射偏光显微镜拍摄的未知金属矿物图像;利用MATLAB软件对未知金属矿物图像进行处理得到未知金属矿物图像初步特征数据;确定环境差异性特征;根据未知金属矿物图像初步特征数据和环境差异性特征计算未知金属矿物图像最终特征数据;将未知金属矿物图像最终特征数据输入到训练好的BP神经网络模型中,确定未知金属矿物的种类。本发明通过计算机软件和反射偏光显微镜对图像进行自动识别,在保证金属矿物识别成本低的基础上,排除个人因素和环境因素干扰,提高识别准确率。

Figure 202010216536

The invention discloses a method and system for identifying metal minerals under a microscope based on a BP neural network, and relates to the technical field of metal mineral identification. Obtain the preliminary characteristic data of the unknown metal mineral image; determine the environmental difference characteristics; calculate the final characteristic data of the unknown metal mineral image according to the preliminary characteristic data of the unknown metal mineral image and the environmental difference characteristics; input the final characteristic data of the unknown metal mineral image into the trained In the BP neural network model, the types of unknown metal minerals are determined. The invention automatically recognizes images through computer software and a reflective polarizing microscope, eliminates the interference of personal factors and environmental factors on the basis of ensuring the low cost of metal mineral recognition, and improves the recognition accuracy.

Figure 202010216536

Description

基于BP神经网络对显微镜下金属矿物的识别方法及系统Recognition method and system of metal minerals under microscope based on BP neural network

技术领域technical field

本发明涉及金属矿物识别技术领域,特别是涉及一种基于BP神经网络对显微镜下金属矿物的识别方法及系统。The invention relates to the technical field of metal mineral identification, in particular to a method and system for identifying metal minerals under a microscope based on a BP neural network.

背景技术Background technique

随着经济和社会的发展,对金属的需求量也在不断加大,对金属矿石的开采和鉴定也提出了更高的要求。金属矿石的鉴定方法较多,电子探针分析技术和反射偏光显微镜技术是常见的鉴定方法。With the development of economy and society, the demand for metals is also increasing, and higher requirements are also put forward for the mining and identification of metal ores. There are many identification methods for metal ores, and electron probe analysis technology and reflection polarized light microscopy technology are the common identification methods.

伴随科技和信息的发展,电子探针分析技术也在不断的改革和创新,从以往的多元素分析技术的基础上,不断升级和提高。但是电子探针分析技术存在以下缺点:电子探针分析仪器造价昂贵,一台电子探针分析仪器单价高达百万人民币,后期还需要专门的维护和保养,并不适合平常高校学习和工作中的使用;电子探针分析仪器笨重不利于携带,限制使用范围;需要有一定经验的人进行操作。With the development of science and technology and information, the electronic probe analysis technology is also constantly reformed and innovated, and has been continuously upgraded and improved from the previous multi-element analysis technology. However, the electronic probe analysis technology has the following shortcomings: the cost of the electronic probe analysis instrument is expensive, the unit price of an electronic probe analysis instrument is as high as one million yuan, and special maintenance and maintenance are required in the later stage, which is not suitable for ordinary college study and work. Use; the electronic probe analysis instrument is cumbersome and unfavorable to carry, limiting the scope of use; it needs to be operated by people with certain experience.

反射偏光显微镜技术是利用反射偏光显微镜来鉴定金属矿物,主要是利用金属矿物的光学性质、物理性质来识别金属矿物。一般来说,一些反射率相近的矿物,难于用简易比较法测定反射率的级别,反射色相近的矿物,很难用精确的语言描述。另外,由于人的个体差异,特别是色盲或者色弱患者,对显微镜下矿物颜色的观察更是困难,如乳黄色、淡黄色,褐色、棕色、棕褐色,有时很难区分,就算是经验丰富的从业人员也不能保证百分百的准确性,误差大。Reflection polarized light microscopy technology is to identify metal minerals using reflected polarized light microscopy, mainly using the optical properties and physical properties of metal minerals to identify metal minerals. Generally speaking, some minerals with similar reflectance are difficult to measure the reflectance level by simple comparison method, and it is difficult to describe the minerals with similar reflection color in precise language. In addition, due to individual differences among people, especially those with color blindness or color weakness, it is even more difficult to observe the color of minerals under the microscope, such as milky yellow, light yellow, brown, brown, tan, and sometimes it is difficult to distinguish, even experienced Practitioners cannot guarantee 100% accuracy, and the error is large.

发明内容SUMMARY OF THE INVENTION

本发明的目的是提供一种基于BP神经网络对显微镜下金属矿物的识别方法及系统,利用机器学习手段解决日常地质活动中对于部分金属矿物识别时存在的成本高、误差大的问题。The purpose of the present invention is to provide a method and system for identifying metal minerals under a microscope based on BP neural network, using machine learning means to solve the problems of high cost and large errors in identifying some metal minerals in daily geological activities.

为实现上述目的,本发明提供了如下方案:For achieving the above object, the present invention provides following scheme:

一种基于BP神经网络对显微镜下金属矿物的识别方法,包括:A method for identifying metal minerals under a microscope based on BP neural network, including:

获取反射偏光显微镜拍摄的未知金属矿物图像;Obtain images of unknown metal minerals captured by reflection polarized light microscopy;

利用MATLAB软件对所述未知金属矿物图像进行处理,得到未知金属矿物图像初步特征数据;Use MATLAB software to process the unknown metal mineral image to obtain the preliminary characteristic data of the unknown metal mineral image;

确定环境差异性特征;所述环境差异性特征为第一特征数据与第二特征数据的差值;所述第一特征数据为在拍摄未知金属矿物图像的光照强度下,第一金属矿物图像的特征数据,所述第二特征为在训练BP神经网络模型时所采用的光照强度下,第二金属矿物图像的特征数据;所述第一金属矿物图像与所述第二金属矿物图像的光照强度不同,金属矿物种类相同;Determine the environmental difference feature; the environmental difference feature is the difference between the first feature data and the second feature data; the first feature data is the light intensity of the first metal mineral image under the light intensity of the unknown metal mineral image. Feature data, the second feature is the feature data of the second metal mineral image under the light intensity used when training the BP neural network model; the light intensity of the first metal mineral image and the second metal mineral image Different, the metal minerals are of the same type;

根据所述未知金属矿物图像初步特征数据和所述环境差异性特征,计算未知金属矿物图像最终特征数据;According to the preliminary feature data of the unknown metal mineral image and the environmental difference feature, calculate the final feature data of the unknown metal mineral image;

将所述未知金属矿物图像最终特征数据输入到训练好的BP神经网络模型中,确定未知金属矿物的种类;其中,所述训练好的BP神经网络模型的输入为未知金属矿物图像最终特征数据,所述训练好的BP神经网络模型的输出为金属矿物的种类。Input the final feature data of the unknown metal mineral image into the trained BP neural network model to determine the type of the unknown metal mineral; wherein, the input of the trained BP neural network model is the final feature data of the unknown metal mineral image, The output of the trained BP neural network model is the type of metal mineral.

可选的,所述利用MATLAB软件对所述未知金属矿物图像进行处理,得到未知金属矿物图像初步特征数据,具体包括:Optionally, using MATLAB software to process the unknown metal mineral image to obtain preliminary feature data of the unknown metal mineral image, specifically including:

采用imread函数将所述未知金属矿物图像读入MATLAB软件中;所述未知金属矿物图像在MATLAB软件中的存储形式为三维数组形式;所述三维数组形式包含未知金属矿物图像的RGB色彩信息;The unknown metal mineral image is read into MATLAB software by using the imread function; the storage form of the unknown metal mineral image in the MATLAB software is a three-dimensional array form; the three-dimensional array form contains the RGB color information of the unknown metal mineral image;

对所述未知金属矿物图像依次进行均值滤波和归一化处理;Perform mean filtering and normalization processing on the unknown metal mineral image sequentially;

对归一化处理后的未知金属矿物图像进行特征提取,得到未知金属矿物图像初步特征数据。Feature extraction is performed on the normalized unknown metal mineral image to obtain preliminary feature data of the unknown metal mineral image.

可选的,所述对归一化处理后的未知金属矿物图像进行特征提取,得到得到未知金属矿物图像初步特征数据,具体包括:Optionally, performing feature extraction on the normalized unknown metal mineral image to obtain preliminary feature data of the unknown metal mineral image, specifically including:

对归一化处理后的未知金属矿物图像进行维度分离,得到三个一维数组;三个所述一维数组分别为,第一一维数组,第二一维数组以及第三一维数组;Dimensional separation is performed on the normalized image of the unknown metal mineral to obtain three one-dimensional arrays; the three one-dimensional arrays are respectively, the first one-dimensional array, the second one-dimensional array and the third one-dimensional array;

使用mean函数,计算每个所述一维数组的平均值;Using the mean function, calculate the mean of each of the one-dimensional arrays;

根据所有的所述一维数组的平均值,确定未知金属矿物图像初步特征数据;所述未知金属矿物图像初步特征数据包括四个元素,第一元素为第一一维数组的平均值,第二元素为第二一维数组的平均值,第三元素为第三一维数组的平均值,第四个元素为未知金属矿物的种类。According to the average value of all the one-dimensional arrays, the preliminary feature data of the unknown metal mineral image is determined; the preliminary feature data of the unknown metal mineral image includes four elements, the first element is the average value of the first one-dimensional array, and the second element is the average value of the first one-dimensional array. The element is the average value of the second one-dimensional array, the third element is the average value of the third one-dimensional array, and the fourth element is the type of the unknown metal mineral.

可选的,所述根据所述未知金属矿物图像初步特征数据和所述环境差异性特征,计算未知金属矿物图像最终特征数据,具体包括:Optionally, calculating the final feature data of the unknown metal mineral image according to the preliminary feature data of the unknown metal mineral image and the environmental difference feature, specifically including:

将所述环境差异性特征叠加到所述未知金属矿物图像初步特征数据中,得到未知金属矿物图像最终特征数据。The environmental difference feature is superimposed on the preliminary feature data of the unknown metal mineral image to obtain final feature data of the unknown metal mineral image.

可选的,训练BP神经网络模型的步骤包括:Optionally, the steps of training the BP neural network model include:

获取同一光照强度下不同种类的历史金属矿物图像;Obtain different types of historical metal mineral images under the same light intensity;

利用MATLAB软件对所有的所述历史金属矿物图像进行处理;Use MATLAB software to process all the historical metal mineral images;

对处理后的历史金属矿物图像进行分组,得到训练集和测试集;Group the processed historical metal mineral images to obtain a training set and a test set;

利用所述训练集中的数据对BP神经网络模型进行训练,并当满足设定的训练停止条件后,停止训练所述BP神经网络模型,得到初步BP神经网络模型;Use the data in the training set to train the BP neural network model, and when the set training stop condition is met, stop training the BP neural network model to obtain a preliminary BP neural network model;

采用所述测试集中的数据对所述初步BP神经网络模型进行测试,并当满足设定的测试条件后,停止测试所述初步BP神经网络模型,保存满足测试条件的初步BP神经网络模型;其中,所述满足测试条件的初步BP神经网络模型为训练好的BP神经网络模型。Use the data in the test set to test the preliminary BP neural network model, and when the set test conditions are met, stop testing the preliminary BP neural network model, and save the preliminary BP neural network model that meets the test conditions; wherein , the preliminary BP neural network model that meets the test conditions is a trained BP neural network model.

一种基于BP神经网络对显微镜下金属矿物的识别系统,包括:A recognition system for metal minerals under microscope based on BP neural network, including:

未知金属矿物图像获取模块,用于获取反射偏光显微镜拍摄的未知金属矿物图像;The unknown metal mineral image acquisition module is used to obtain the unknown metal mineral image captured by the reflection polarized light microscope;

未知金属矿物图像初步特征数据计算模块,用于利用MATLAB软件对所述未知金属矿物图像进行处理,得到未知金属矿物图像初步特征数据;The unknown metal mineral image preliminary feature data calculation module is used to process the unknown metal mineral image by using MATLAB software to obtain the unknown metal mineral image preliminary feature data;

环境差异性特征确定模块,用于确定环境差异性特征;所述环境差异性特征为第一特征数据与第二特征数据的差值;所述第一特征数据为在拍摄未知金属矿物图像的光照强度下,第一金属矿物图像的特征数据,所述第二特征为在训练BP神经网络模型时所采用的光照强度下,第二金属矿物图像的特征数据;所述第一金属矿物图像与所述第二金属矿物图像的光照强度不同,金属矿物种类相同;The environmental difference feature determination module is used to determine the environmental difference feature; the environmental difference feature is the difference between the first feature data and the second feature data; the first feature data is the illumination of the image of the unknown metal mineral. Intensity, the characteristic data of the first metal mineral image, and the second characteristic is the characteristic data of the second metal mineral image under the light intensity used when training the BP neural network model; the first metal mineral image and the The light intensity of the second metal mineral image is different, and the metal mineral type is the same;

未知金属矿物图像最终特征数据计算模块,用于根据所述未知金属矿物图像初步特征数据和所述环境差异性特征,计算未知金属矿物图像最终特征数据;The final feature data calculation module of the unknown metal mineral image is used to calculate the final feature data of the unknown metal mineral image according to the preliminary feature data of the unknown metal mineral image and the environmental difference feature;

未知金属矿物种类确定模块,用于将所述未知金属矿物图像最终特征数据输入到训练好的BP神经网络模型中,确定未知金属矿物的种类;其中,所述训练好的BP神经网络模型的输入为未知金属矿物图像最终特征数据,所述训练好的BP神经网络模型的输出为金属矿物的种类。The unknown metal mineral type determination module is used to input the final characteristic data of the unknown metal mineral image into the trained BP neural network model to determine the type of the unknown metal mineral; wherein, the input of the trained BP neural network model is the final feature data of the unknown metal mineral image, and the output of the trained BP neural network model is the type of metal mineral.

可选的,所述未知金属矿物图像初步特征数据计算模块,具体包括:Optionally, the unknown metal mineral image preliminary feature data calculation module specifically includes:

读入单元,用于采用imread函数将所述未知金属矿物图像读入MATLAB软件中;所述未知金属矿物图像在MATLAB软件中的存储形式为三维数组形式;所述三维数组形式包含未知金属矿物图像的RGB色彩信息;The read-in unit is used to read the unknown metal mineral image into the MATLAB software by using the imread function; the storage form of the unknown metal mineral image in the MATLAB software is in the form of a three-dimensional array; the three-dimensional array form contains the unknown metal mineral image RGB color information;

处理单元,用于对所述未知金属矿物图像依次进行均值滤波和归一化处理;a processing unit, configured to sequentially perform mean filtering and normalization processing on the unknown metal mineral image;

未知金属矿物图像初步特征数据确定单元,用于对归一化处理后的未知金属矿物图像进行特征提取,得到未知金属矿物图像初步特征数据。The unit for determining the preliminary feature data of the unknown metal mineral image is used for extracting the features of the normalized unknown metal mineral image to obtain the preliminary feature data of the unknown metal mineral image.

可选的,所述未知金属矿物图像初步特征数据确定单元,具体包括:Optionally, the unit for determining the preliminary feature data of the unknown metal mineral image specifically includes:

维度分离子单元,用于对归一化处理后的未知金属矿物图像进行维度分离,得到三个一维数组;三个所述一维数组分别为,第一一维数组,第二一维数组以及第三一维数组;The dimension separation subunit is used to separate the dimensions of the normalized unknown metal mineral image to obtain three one-dimensional arrays; the three one-dimensional arrays are, respectively, the first one-dimensional array and the second one-dimensional array and the third one-dimensional array;

平均值计算子单元,用于使用mean函数,计算每个所述一维数组的平均值;an average value calculation subunit, used for calculating the average value of each of the one-dimensional arrays using the mean function;

未知金属矿物图像初步特征数据确定子单元,用于根据所有的所述一维数组的平均值,确定未知金属矿物图像初步特征数据;所述未知金属矿物图像初步特征数据包括四个元素,第一元素为第一一维数组的平均值,第二元素为第二一维数组的平均值,第三元素为第三一维数组的平均值,第四个元素为未知金属矿物的种类。The subunit for determining the preliminary feature data of the unknown metal mineral image is used to determine the preliminary feature data of the unknown metal mineral image according to the average value of all the one-dimensional arrays; the preliminary feature data of the unknown metal mineral image includes four elements, the first The element is the average value of the first one-dimensional array, the second element is the average value of the second one-dimensional array, the third element is the average value of the third one-dimensional array, and the fourth element is the type of unknown metal minerals.

可选的,所述未知金属矿物图像最终特征数据计算模块,具体包括:Optionally, the final feature data calculation module of the unknown metal mineral image specifically includes:

未知金属矿物图像最终特征数据计算单元,用于将所述环境差异性特征叠加到所述未知金属矿物图像初步特征数据中,得到未知金属矿物图像最终特征数据。The final feature data calculation unit of the unknown metal mineral image is configured to superimpose the environmental difference feature into the preliminary feature data of the unknown metal mineral image to obtain the final feature data of the unknown metal mineral image.

可选的,所述识别系统还包括BP神经网络模型训练模块;其中,所述BP神经网络模型训练模块,具体包括:Optionally, the identification system further includes a BP neural network model training module; wherein, the BP neural network model training module specifically includes:

历史金属矿物图像获取单元,用于获取同一光照强度下不同种类的历史金属矿物图像;The historical metal mineral image acquisition unit is used to obtain different types of historical metal mineral images under the same light intensity;

历史金属矿物图像处理单元,用于利用MATLAB软件对所有的所述历史金属矿物图像进行处理;A historical metal mineral image processing unit for processing all the historical metal mineral images by using MATLAB software;

训练集和测试集确定单元,用于对处理后的历史金属矿物图像进行分组,得到训练集和测试集;The training set and the test set determine the unit, which is used to group the processed historical metal mineral images to obtain the training set and the test set;

初步BP神经网络模型确定单元,用于利用所述训练集中的数据对BP神经网络模型进行训练,并当满足设定的训练停止条件后,停止训练所述BP神经网络模型,得到初步BP神经网络模型;The preliminary BP neural network model determination unit is used to train the BP neural network model by using the data in the training set, and when the set training stop condition is satisfied, stop training the BP neural network model, and obtain a preliminary BP neural network Model;

训练好的BP神经网络模型确定单元,用于采用所述测试集中的数据对所述初步BP神经网络模型进行测试,并当满足设定的测试条件后,停止测试所述初步BP神经网络模型,保存满足测试条件的初步BP神经网络模型;其中,所述满足测试条件的初步BP神经网络模型为训练好的BP神经网络模型。The trained BP neural network model determination unit is used to test the preliminary BP neural network model using the data in the test set, and when the set test conditions are met, stop testing the preliminary BP neural network model, Preliminary BP neural network models that meet the test conditions are saved; wherein, the preliminary BP neural network models that meet the test conditions are trained BP neural network models.

根据本发明提供的具体实施例,本发明公开了以下技术效果:According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

本发明一种基于BP神经网络对显微镜下金属矿物的识别方法及系统,依靠计算机软件和反射偏光显微镜对图像进行自动识别,在保证金属矿物识别成本低的基础上,排除个人因素和环境因素干扰,提高识别准确率,且扩大了使用范围。The invention is a method and system for identifying metal minerals under a microscope based on a BP neural network, relying on computer software and a reflection polarizing microscope to automatically identify images, and on the basis of ensuring low identification costs for metal minerals, eliminating the interference of personal factors and environmental factors , improve the recognition accuracy, and expand the scope of use.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings required in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some of the present invention. In the embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative labor.

图1为本发明实施例基于BP神经网络对显微镜下金属矿物的识别方法的流程图;1 is a flow chart of a method for identifying metal minerals under a microscope based on a BP neural network according to an embodiment of the present invention;

图2为本发明实施例基于BP神经网络对显微镜下金属矿物的识别系统的结构图;2 is a structural diagram of a recognition system for metal minerals under a microscope based on a BP neural network according to an embodiment of the present invention;

图3为本发明实施例40倍镜下的方铅矿图;Fig. 3 is the galena map under the 40 times mirror of the embodiment of the present invention;

图4为本发明实施例方铅矿图片表面的亮度分布图;Fig. 4 is the luminance distribution diagram of the galena picture surface of the embodiment of the present invention;

图5为本发明实施例40倍镜下硼镁铁矿图;Fig. 5 is the boron mafic ore picture under the 40 times mirror of the embodiment of the present invention;

图6为本发明实施例40倍镜下闪锌矿图;6 is a diagram of sphalerite under a 40-fold mirror according to an embodiment of the present invention;

图7为本发明实施例BP神经网络模型的结构图。FIG. 7 is a structural diagram of a BP neural network model according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.

实施例一Example 1

如图1所示,本实施例提供的一种基于BP神经网络对显微镜下金属矿物的识别方法,具体包括以下步骤。As shown in FIG. 1 , a method for identifying metal minerals under a microscope based on a BP neural network provided in this embodiment specifically includes the following steps.

步骤101:获取反射偏光显微镜拍摄的未知金属矿物图像。Step 101: Acquire an image of an unknown metal mineral photographed by a reflection polarizing microscope.

步骤102:利用MATLAB软件对所述未知金属矿物图像进行处理,得到未知金属矿物图像初步特征数据。Step 102: Use MATLAB software to process the image of the unknown metal mineral to obtain preliminary characteristic data of the image of the unknown metal mineral.

步骤103:确定环境差异性特征;所述环境差异性特征为第一特征数据与第二特征数据的差值;所述第一特征数据为在拍摄未知金属矿物图像的光照强度下,第一金属矿物图像的特征数据,所述第二特征为在训练BP神经网络模型时所采用的光照强度下,第二金属矿物图像的特征数据;所述第一金属矿物图像与所述第二金属矿物图像的光照强度不同,金属矿物种类相同。Step 103: Determine the environmental difference characteristic; the environmental difference characteristic is the difference between the first characteristic data and the second characteristic data; Feature data of the mineral image, the second feature is the feature data of the second metal mineral image under the light intensity used when training the BP neural network model; the first metal mineral image and the second metal mineral image The light intensity is different, and the types of metal minerals are the same.

步骤104:根据所述未知金属矿物图像初步特征数据和所述环境差异性特征,计算未知金属矿物图像最终特征数据。Step 104: Calculate the final feature data of the unknown metal mineral image according to the preliminary feature data of the unknown metal mineral image and the environmental difference feature.

步骤105:将所述未知金属矿物图像最终特征数据输入到训练好的BP神经网络模型中,确定未知金属矿物的种类;其中,所述训练好的BP神经网络模型的输入为未知金属矿物图像最终特征数据,所述训练好的BP神经网络模型的输出为金属矿物的种类。Step 105: Input the final feature data of the unknown metal mineral image into the trained BP neural network model to determine the type of the unknown metal mineral; wherein, the input of the trained BP neural network model is the final unknown metal mineral image. Feature data, the output of the trained BP neural network model is the type of metal mineral.

步骤102具体包括:Step 102 specifically includes:

采用imread函数将所述未知金属矿物图像读入MATLAB软件中;所述未知金属矿物图像在MATLAB软件中的存储形式为三维数组形式;所述三维数组形式包含未知金属矿物图像的RGB色彩信息。The unknown metal mineral image is read into MATLAB software by using the imread function; the storage form of the unknown metal mineral image in the MATLAB software is a three-dimensional array form; the three-dimensional array form contains the RGB color information of the unknown metal mineral image.

对所述未知金属矿物图像依次进行均值滤波和归一化处理。Perform mean filtering and normalization processing on the unknown metal mineral image sequentially.

对归一化处理后的未知金属矿物图像进行特征提取,得到未知金属矿物图像初步特征数据。具体为:第一步,对归一化处理后的未知金属矿物图像进行维度分离,得到三个一维数组;三个所述一维数组分别为,第一一维数组,第二一维数组以及第三一维数组;第二步,使用mean函数,计算每个所述一维数组的平均值;第三步,根据所有的所述一维数组的平均值,确定未知金属矿物图像初步特征数据;所述未知金属矿物图像初步特征数据包括四个元素,第一元素为第一一维数组的平均值,第二元素为第二一维数组的平均值,第三元素为第三一维数组的平均值,第四个元素为未知金属矿物的种类。Feature extraction is performed on the normalized unknown metal mineral image to obtain preliminary feature data of the unknown metal mineral image. Specifically: the first step is to separate the dimensions of the normalized unknown metal mineral image to obtain three one-dimensional arrays; the three one-dimensional arrays are, respectively, the first one-dimensional array and the second one-dimensional array and the third one-dimensional array; the second step, using the mean function, to calculate the average value of each of the one-dimensional arrays; the third step, according to the average value of all the one-dimensional arrays, determine the preliminary characteristics of the unknown metal mineral image data; the preliminary feature data of the unknown metal mineral image includes four elements, the first element is the average value of the first one-dimensional array, the second element is the average value of the second one-dimensional array, and the third element is the third one-dimensional array The average value of the array, the fourth element is the type of the unknown metal mineral.

步骤104具体包括:Step 104 specifically includes:

将所述环境差异性特征叠加到所述未知金属矿物图像初步特征数据中,得到未知金属矿物图像最终特征数据。The environmental difference feature is superimposed on the preliminary feature data of the unknown metal mineral image to obtain final feature data of the unknown metal mineral image.

优选的,本发明还包括训练BP神经网络模型的步骤,该步骤具体为:Preferably, the present invention also includes the step of training the BP neural network model, and the step is specifically:

获取同一光照强度下不同种类的历史金属矿物图像。Obtain historical metal mineral images of different species under the same light intensity.

利用MATLAB软件对所有的所述历史金属矿物图像进行处理。All the historical metal mineral images were processed using MATLAB software.

对处理后的历史金属矿物图像进行分组,得到训练集和测试集。The processed historical metal mineral images are grouped to obtain a training set and a test set.

利用所述训练集中的数据对BP神经网络模型进行训练,并当满足设定的训练停止条件后,停止训练所述BP神经网络模型,得到初步BP神经网络模型。Use the data in the training set to train the BP neural network model, and stop training the BP neural network model when the set training stop condition is satisfied to obtain a preliminary BP neural network model.

采用所述测试集中的数据对所述初步BP神经网络模型进行测试,并当满足设定的测试条件后,停止测试所述初步BP神经网络模型,保存满足测试条件的初步BP神经网络模型;其中,所述满足测试条件的初步BP神经网络模型为训练好的BP神经网络模型。Use the data in the test set to test the preliminary BP neural network model, and when the set test conditions are met, stop testing the preliminary BP neural network model, and save the preliminary BP neural network model that meets the test conditions; wherein , the preliminary BP neural network model that meets the test conditions is a trained BP neural network model.

实施例二Embodiment 2

如图2所示,本实施例还提供了一种基于BP神经网络对显微镜下金属矿物的识别系统,包括:As shown in Figure 2, this embodiment also provides a recognition system for metal minerals under a microscope based on BP neural network, including:

未知金属矿物图像获取模块201,用于获取反射偏光显微镜拍摄的未知金属矿物图像。The unknown metal mineral image acquisition module 201 is used to obtain an unknown metal mineral image captured by a reflection polarized light microscope.

未知金属矿物图像初步特征数据计算模块202,用于利用MATLAB软件对所述未知金属矿物图像进行处理,得到未知金属矿物图像初步特征数据。The unknown metal mineral image preliminary feature data calculation module 202 is used to process the unknown metal mineral image by using MATLAB software to obtain the unknown metal mineral image preliminary feature data.

环境差异性特征确定模块203,用于确定环境差异性特征;所述环境差异性特征为第一特征数据与第二特征数据的差值;所述第一特征数据为在拍摄未知金属矿物图像的光照强度下,第一金属矿物图像的特征数据,所述第二特征为在训练BP神经网络模型时所采用的光照强度下,第二金属矿物图像的特征数据;所述第一金属矿物图像与所述第二金属矿物图像的光照强度不同,金属矿物种类相同。The environmental difference feature determination module 203 is used to determine the environmental difference feature; the environmental difference feature is the difference between the first feature data and the second feature data; the first feature data is the image of the unknown metal mineral when the image is taken. Under the light intensity, the characteristic data of the first metal mineral image, and the second feature is the characteristic data of the second metal mineral image under the light intensity used when training the BP neural network model; the first metal mineral image and The light intensity of the second metal mineral image is different, and the metal mineral type is the same.

未知金属矿物图像最终特征数据计算模块204,用于根据所述未知金属矿物图像初步特征数据和所述环境差异性特征,计算未知金属矿物图像最终特征数据。The final feature data calculation module 204 of the unknown metal mineral image is configured to calculate the final feature data of the unknown metal mineral image according to the preliminary feature data of the unknown metal mineral image and the environmental difference feature.

未知金属矿物种类确定模块205,用于将所述未知金属矿物图像最终特征数据输入到训练好的BP神经网络模型中,确定未知金属矿物的种类;其中,所述训练好的BP神经网络模型的输入为未知金属矿物图像最终特征数据,所述训练好的BP神经网络模型的输出为金属矿物的种类。The unknown metal mineral type determination module 205 is used to input the final feature data of the unknown metal mineral image into the trained BP neural network model to determine the type of the unknown metal mineral; wherein, the trained BP neural network model The input is the final feature data of the unknown metal mineral image, and the output of the trained BP neural network model is the type of metal mineral.

所述未知金属矿物图像初步特征数据计算模块202,具体包括:The unknown metal mineral image preliminary feature data calculation module 202 specifically includes:

读入单元,用于采用imread函数将所述未知金属矿物图像读入MATLAB软件中;所述未知金属矿物图像在MATLAB软件中的存储形式为三维数组形式;所述三维数组形式包含未知金属矿物图像的RGB色彩信息。The read-in unit is used to read the unknown metal mineral image into the MATLAB software by using the imread function; the storage form of the unknown metal mineral image in the MATLAB software is in the form of a three-dimensional array; the three-dimensional array form contains the unknown metal mineral image RGB color information.

处理单元,用于对所述未知金属矿物图像依次进行均值滤波和归一化处理。The processing unit is configured to sequentially perform mean filtering and normalization processing on the unknown metal mineral image.

未知金属矿物图像初步特征数据确定单元,用于对归一化处理后的未知金属矿物图像进行特征提取,得到未知金属矿物图像初步特征数据。The unit for determining the preliminary feature data of the unknown metal mineral image is used for extracting the features of the normalized unknown metal mineral image to obtain the preliminary feature data of the unknown metal mineral image.

其中,所述未知金属矿物图像初步特征数据确定单元,具体包括:Wherein, the unit for determining the preliminary characteristic data of the unknown metal mineral image specifically includes:

维度分离子单元,用于对归一化处理后的未知金属矿物图像进行维度分离,得到三个一维数组;三个所述一维数组分别为,第一一维数组,第二一维数组以及第三一维数组。The dimension separation subunit is used to separate the dimension of the normalized image of unknown metal minerals to obtain three one-dimensional arrays; the three one-dimensional arrays are, respectively, the first one-dimensional array, the second one-dimensional array and a third one-dimensional array.

平均值计算子单元,用于使用mean函数,计算每个所述一维数组的平均值。The mean value calculation subunit is used to calculate the mean value of each of the one-dimensional arrays using the mean function.

未知金属矿物图像初步特征数据确定子单元,用于根据所有的所述一维数组的平均值,确定未知金属矿物图像初步特征数据;所述未知金属矿物图像初步特征数据包括四个元素,第一元素为第一一维数组的平均值,第二元素为第二一维数组的平均值,第三元素为第三一维数组的平均值,第四个元素为未知金属矿物的种类。The subunit for determining the preliminary feature data of the unknown metal mineral image is used to determine the preliminary feature data of the unknown metal mineral image according to the average value of all the one-dimensional arrays; the preliminary feature data of the unknown metal mineral image includes four elements, the first The element is the average value of the first one-dimensional array, the second element is the average value of the second one-dimensional array, the third element is the average value of the third one-dimensional array, and the fourth element is the type of unknown metal minerals.

所述未知金属矿物图像最终特征数据计算模块204,具体包括:The final feature data calculation module 204 of the unknown metal mineral image specifically includes:

未知金属矿物图像最终特征数据计算单元,用于将所述环境差异性特征叠加到所述未知金属矿物图像初步特征数据中,得到未知金属矿物图像最终特征数据。The final feature data calculation unit of the unknown metal mineral image is configured to superimpose the environmental difference feature into the preliminary feature data of the unknown metal mineral image to obtain the final feature data of the unknown metal mineral image.

优选的,所述识别系统还包括BP神经网络模型训练模块;其中,所述BP神经网络模型训练模块,具体包括:Preferably, the identification system further includes a BP neural network model training module; wherein, the BP neural network model training module specifically includes:

历史金属矿物图像获取单元,用于获取同一光照强度下不同种类的历史金属矿物图像。The historical metal mineral image acquisition unit is used to obtain different types of historical metal mineral images under the same light intensity.

历史金属矿物图像处理单元,用于利用MATLAB软件对所有的所述历史金属矿物图像进行处理。The historical metal mineral image processing unit is used to process all the historical metal mineral images by using MATLAB software.

训练集和测试集确定单元,用于对处理后的历史金属矿物图像进行分组,得到训练集和测试集。The training set and the test set determine the unit for grouping the processed historical metal mineral images to obtain the training set and the test set.

初步BP神经网络模型确定单元,用于利用所述训练集中的数据对BP神经网络模型进行训练,并当满足设定的训练停止条件后,停止训练所述BP神经网络模型,得到初步BP神经网络模型。The preliminary BP neural network model determination unit is used to train the BP neural network model by using the data in the training set, and when the set training stop condition is satisfied, stop training the BP neural network model, and obtain a preliminary BP neural network Model.

训练好的BP神经网络模型确定单元,用于采用所述测试集中的数据对所述初步BP神经网络模型进行测试,并当满足设定的测试条件后,停止测试所述初步BP神经网络模型,保存满足测试条件的初步BP神经网络模型;其中,所述满足测试条件的初步BP神经网络模型为训练好的BP神经网络模型。The trained BP neural network model determination unit is used to test the preliminary BP neural network model using the data in the test set, and when the set test conditions are met, stop testing the preliminary BP neural network model, Preliminary BP neural network models satisfying the test conditions are saved; wherein, the preliminary BP neural network models satisfying the test conditions are trained BP neural network models.

实施例三Embodiment 3

识别原理介绍Introduction to Recognition Principles

RGB色彩模式是工业界的一种颜色标准,是通过对红(R)、绿(G)、蓝(B)三个颜色通道的变化以及它们相互之间的叠加来得到各式各样的颜色的,RGB代表红、绿、蓝三个通道的颜色,这个标准几乎包括了人类视力所能感知的所有颜色,是目前运用最广的颜色系统之一。The RGB color mode is a color standard in the industry. It obtains various colors by changing the three color channels of red (R), green (G), and blue (B) and superimposing them on each other. Yes, RGB represents the color of the three channels of red, green and blue. This standard includes almost all the colors that human vision can perceive, and it is one of the most widely used color systems.

通常情况下,RGB各有256级亮度,用数字表示为从0、1、2...直到255,其中0表示最暗,255表示最亮,数值大小随着亮度变化而变化,而且这种变化是线性的。256级的RGB色彩总共能组合出约1678万种色彩,即256×256×256=16777216。由于不存在颜色亮度完全相同的金属矿物,在拍摄时能记录所有的图像信息的情况下,可以存在约1678万种金属矿物的颜色亮度信息,这就奠定了RGB色彩分量作为识别特征的基础。在计算机MATALB软件中RGB色彩分量采用三维矩阵的形式存储,每一个维度存储一个色彩分量。Under normal circumstances, RGB has 256 levels of brightness, which are represented by numbers from 0, 1, 2... until 255, where 0 means the darkest, 255 means the brightest, and the value varies with the brightness, and this The change is linear. 256 levels of RGB colors can combine a total of about 16.78 million colors, that is, 256×256×256=16777216. Since there are no metal minerals with the same color and brightness, if all image information can be recorded when shooting, there can be about 16.78 million metal minerals with color brightness information, which lays the RGB color components as the basis for identifying features. In the computer MATLAB software, the RGB color components are stored in the form of a three-dimensional matrix, and each dimension stores a color component.

例如,读入一张方铅矿的图片(如图3所示),研究其亮度(亮度由RGB色彩分量体现)分布(如图4所示)。发现方铅矿表面亮度较为均匀。事实上,方铅矿等金属矿物的反射率(与亮度正相关)为一确定值,这就意味着,金属矿物的亮度分布都比较均匀,对其亮度求均值后,亮度的波动不大,在一个很很小的范围内。For example, read in a picture of galena (as shown in Figure 3) and study its brightness (brightness is represented by the RGB color components) distribution (as shown in Figure 4). It is found that the surface brightness of galena is relatively uniform. In fact, the reflectivity of metallic minerals such as galena (which is positively correlated with brightness) is a certain value, which means that the brightness distribution of metallic minerals is relatively uniform. in a very small range.

神经网络原理介绍Introduction to Neural Network Principles

BP(Back Propagation)网络是1986年由Rumelhart和McCelland为首的科学家小组提出,是一种按误差逆传播算法训练的多层前馈网络,是目前应用最广泛的神经网络模型之一。BP网络能学习和存贮大量的输入-输出模式映射关系,而无需事前揭示描述这种映射关系的数学方程。它的学习规则是使用最速下降法,通过反向传播来不断调整网络的权重和阈值,使网络的误差平方和最小。BP神经网络模型拓扑结构包括输入层(input)、隐藏层(hide layer)和输出层(output layer)。每层由单元(也叫神经结点)组成,输入层有训练集的特征,经过连接点的权重传入下一层,一层的输出是下一层的输入,而且隐藏层的个数是任意的,每一层都要进行加权求和,然后根据非线性转化方程输出。通过BP(Backpropagation)算法,即对比神经网络输出层预测值与真实值的误差,反方向(从输出层=>隐藏层=>输入层)最小化误差,来更新每个连接的权重。目前已经广泛运用于分类识别、逼近、回归、压缩等领域。The BP (Back Propagation) network was proposed in 1986 by a group of scientists headed by Rumelhart and McCelland. It is a multi-layer feedforward network trained by the error back-propagation algorithm. It is one of the most widely used neural network models. BP network can learn and store a large number of input-output pattern mapping relationships without revealing the mathematical equations describing this mapping relationship in advance. Its learning rule is to use the steepest descent method to continuously adjust the weights and thresholds of the network through backpropagation to minimize the sum of squared errors of the network. The topology of BP neural network model includes input layer (input), hidden layer (hide layer) and output layer (output layer). Each layer is composed of units (also called neural nodes). The input layer has the characteristics of the training set, and is passed to the next layer through the weights of the connection points. The output of one layer is the input of the next layer, and the number of hidden layers is Arbitrarily, each layer is weighted and summed, and then output according to the nonlinear transformation equation. Through the BP (Backpropagation) algorithm, that is, comparing the error between the predicted value of the neural network output layer and the actual value, and minimizing the error in the opposite direction (from the output layer => hidden layer => input layer), the weight of each connection is updated. At present, it has been widely used in classification and recognition, approximation, regression, compression and other fields.

基于以上原理,本实施例提供的基于BP神经网络对显微镜下金属矿物的识别方法主要包括以下步骤。Based on the above principles, the method for identifying metal minerals under a microscope based on a BP neural network provided in this embodiment mainly includes the following steps.

步骤一:图像采集。Step 1: Image acquisition.

具体包括:使用OLYMPUS-BX51M反射偏光显微镜,设置曝光时间750μS,感光度(ISO)200,分辨率1600×1200。利用反射偏光显微镜自带的数码相机分别采集方铅矿、闪锌矿、硼镁铁矿等矿物。每种矿物约20张照片,如图3、图5和6所示。Specifically, it includes: using an OLYMPUS-BX51M reflective polarizing microscope, setting the exposure time to 750 μS, the sensitivity (ISO) of 200, and the resolution of 1600×1200. Minerals such as galena, sphalerite and boron mafic were collected by the digital camera of the reflection polarizing microscope. About 20 photos of each mineral are shown in Figures 3, 5 and 6.

步骤二:图像处理及特征提取。Step 2: Image processing and feature extraction.

将图像放入MATLAB软件指定的根路径下,使用其自带的函数导入图像。此时图像在MATLAB软件中存储形式为一个三维数字组。此三维数字组即为图像的RGB色彩信息。Put the image into the root path specified by the MATLAB software, and use its own function to import the image. At this time, the image is stored in the MATLAB software as a three-dimensional digital group. This three-dimensional digital group is the RGB color information of the image.

图像处理具体包括:Image processing specifically includes:

1.数字化;使用imread函数将图像读入MATLAB软件中,此时的图像变成一个三维矩阵,矩阵中每一个元素的大小在0-256之间。1. Digitization; use the imread function to read the image into the MATLAB software, the image at this time becomes a three-dimensional matrix, and the size of each element in the matrix is between 0-256.

2.均值滤波;使用MATLAB软件中的fspecial(‘average’)函数对图像滤波。均值滤波也叫线性滤波,主要采用邻域平均法,均值滤波的核心思想是将整个图像看成是由很多灰度恒定的小块组成,相邻像素间相关性很强,但噪声具有统计独立性。故可用邻域的均值替代原图像中的各个像素值。此处理主要是为了消除噪声。2. Mean filtering; use the fspecial('average') function in MATLAB software to filter the image. Mean filtering is also called linear filtering. It mainly adopts the neighborhood averaging method. The core idea of mean filtering is to treat the entire image as composed of many small blocks with constant grayscale. The correlation between adjacent pixels is strong, but the noise is statistically independent. sex. Therefore, the average value of the neighborhood can be used to replace each pixel value in the original image. This processing is mainly to remove noise.

3.归一化;使用MATLAB软件中的premnmx(P,T)函数进行归一化,其中P,T分别为原始输入和输出数据。归一化是把数变为(0,1)之间的小数。一是为了消除量纲,二是为了数据处理方便。3. Normalization; use the premnmx(P, T) function in MATLAB software for normalization, where P, T are the original input and output data, respectively. Normalization is to turn a number into a decimal between (0, 1). One is to eliminate dimensions, and the other is to facilitate data processing.

特征提取具体包括:Feature extraction specifically includes:

1.维度分离;因为读入的图像是一个三维数组,现需要将三维数组分为三个一维数组。1. Dimension separation; because the read image is a three-dimensional array, it is now necessary to divide the three-dimensional array into three one-dimensional arrays.

2.求均值:对三维数组的每一个维度求均值;直接使用mean函数对每维数组求均值。三个维度就有三个均值,一张图片得到三个均值,将这三个均值存储在一个大小为4的数组,前三个存储均值,第四个存储矿物种类。例如:方铅矿:array{250,253,253,方铅矿}。每种矿物有20张图片,总共得到20个数组。2. Average value: find the average value of each dimension of the three-dimensional array; directly use the mean function to find the average value of each dimension array. There are three means in three dimensions, and one picture gets three means, and these three means are stored in an array of size 4, the first three store the mean, and the fourth stores the mineral species. For example: galena: array{250, 253, 253, galena}. There are 20 images for each mineral, resulting in a total of 20 arrays.

步骤三:BP神经网络模型的训练。Step 3: Training of BP neural network model.

首先,将图像特征数据分为训练集与测试集;每种矿物有20个数组,其中15组作为训练集,5组作为测试集。将所有矿物的训练集合为一个训练集,测试集合为一个测试集。First, the image feature data is divided into training set and test set; each mineral has 20 arrays, of which 15 groups are used as training sets and 5 groups are used as test sets. The training set of all minerals is a training set, and the test set is a test set.

其次,神经网络训练;如图7所示,神经网络训练的实质是让某个矿物的输出值与该矿物标记的误差足够小,用Wij表示权重,θ表示偏向,而实现这个过程的主线就是让训练过程中的权重和偏向得到更新,即得到一个最合适的权重和偏向,这是因为神经网络里隐藏层和输出层的值主要取决于权重和偏向。具体包括:Secondly, neural network training; as shown in Figure 7, the essence of neural network training is to make the error between the output value of a certain mineral and the mineral label small enough, use W ij to represent the weight, and θ to represent the bias, and the main line of this process is realized. It is to update the weights and biases in the training process, that is, to get the most suitable weights and biases, because the values of the hidden layer and output layer in the neural network mainly depend on the weights and biases. Specifically include:

1.输入层->隐藏层->输出层。1. Input layer -> hidden layer -> output layer.

输入层的三个节点,x1,x2,x3,是人为输入的特征值,体现在MATLAB软件函数上就是net=newff(P,....),P就是输入的特征值x1,x2,x3的矩阵。然后由输入层向后传播,具体来说就是向隐藏层传播或者前进,此时需要计算隐藏层两个节点的值,将每个输入层的值乘以对应节点的权重再求和后,再加上偏向得到一个值,然后将其带入转换函数sigmoid(f(x)=1/1+e-x)中。比如,4号节点的值为f(x)=1/1+e-x,其中,x=x1×w14+x2×w24+x3×w341,同理可得5号节点的值,这里把每个节点的值用Oi表示。The three nodes of the input layer, x1, x2, x3, are the eigenvalues of human input, which are reflected in the MATLAB software function as net=newff(P,....), and P is the input eigenvalues x1, x2, x3 's matrix. Then it propagates backward from the input layer, specifically to the hidden layer or forward. At this time, it is necessary to calculate the value of the two nodes of the hidden layer, multiply the value of each input layer by the weight of the corresponding node, and then sum it up. Add the bias to get a value, which is then fed into the transfer function sigmoid(f(x)=1/1+ex). For example, the value of node 4 is f(x)=1/1+ex, where x=x1×w 14 +x2×w 24 +x3×w 341 , the value of node 5 can be obtained in the same way , where the value of each node is represented by O i .

得出隐藏层的值后,神经网络继续向后传播。因为已经知道了4、5号节点的值,用同样的方法就可以得出6号节点的值即输出层的值。接下来就需要计算输出层的误差了。After getting the value of the hidden layer, the neural network continues to propagate backwards. Since the values of nodes 4 and 5 are already known, the value of node 6, that is, the value of the output layer, can be obtained in the same way. The next step is to calculate the error of the output layer.

2.输出层的误差。2. The error of the output layer.

因为训练的目的就是为了让某种矿物的输出值与这个矿物标记的误差最小。事实上知道输出层真正的标记,这个已经包含在训练集了。比如输入方铅矿的特征值{190,195,205},而方铅矿对应的标记为1,那就要计算输出层的值和对应标记的误差,对应的计算公式为Errj=Oj(1-Oj)(Tj-Oj)。Because the purpose of training is to minimize the error between the output value of a certain mineral and the label of this mineral. In fact know the real label of the output layer, which is already included in the training set. For example, the eigenvalues {190, 195, 205} of galena are input, and the corresponding mark of galena is 1, then the error between the value of the output layer and the corresponding mark needs to be calculated, and the corresponding calculation formula is Err j =O j (1- Oj )( Tj-Oj ) .

其中,Tj就是对应的标记,Oi就是要计算误差节点的数值,就可以算出输出层的预测值与真实值之间的误差,如果这个误差足够小,那么就停止训练,保存现有的神经网络的权重和偏向。否则就继续训练更新权重和偏向。更新的策略就是反向传播,即输出层到隐藏层但输入层。Among them, T j is the corresponding mark, O i is the value of the error node to be calculated, and the error between the predicted value and the actual value of the output layer can be calculated. If the error is small enough, then stop training and save the existing Neural network weights and biases. Otherwise, continue training to update weights and biases. The updated strategy is backpropagation, that is, the output layer goes to the hidden layer but the input layer.

3.输出层->隐藏层->输入层。3. Output layer -> hidden layer -> input layer.

4.隐藏层误差。4. Hidden layer error.

隐藏层和输出层一样,需要计算隐藏层每个节点的误差,公式为The hidden layer is the same as the output layer, and the error of each node in the hidden layer needs to be calculated. The formula is

Figure BSA0000204791140000141
Figure BSA0000204791140000141

其中,Errk为所计算节点的后一层节点的误差。wjk为本节点与后一层节点的权重。例如,计算5号节点的误差,Err5=O5(1-O5)Err6*w56。若有多个输出层节点,由公式可得每个输出层节点的误差乘以与前一层节点对应的权重再相加后再乘以oj(1-Oj)。同理,可得4号节点的误差。Among them, Err k is the error of the node in the next layer of the calculated node. w jk is the weight of this node and the next layer of nodes. For example, to calculate the error of node 5, Err 5 =O 5 (1-O 5 )Err 6 *w 56 . If there are multiple output layer nodes, the error of each output layer node can be multiplied by the weight corresponding to the previous layer node by the formula, and then multiplied by o j (1-O j ). Similarly, the error of node 4 can be obtained.

求得4、5、6节点的误差后,接下来就需要更新权重和偏向了。After the errors of nodes 4, 5, and 6 are obtained, the weights and biases need to be updated next.

5.权重更新。5. Weight update.

权重更新公式为:The weight update formula is:

Δwij=(l)ErrjOjΔw ij =(l) Err j O j ;

wij=wij+Δwijw ij =w ij +Δw ij ;

Δwij为权重的变化量,等于该节点的误差乘以该节点的值再乘以学习率l(一般默认值,不用自己设置),然后加上原来的权重就是新的权重。通过上述公式就可以计算出所有节点的权重。Δw ij is the variation of the weight, which is equal to the error of the node multiplied by the value of the node and then multiplied by the learning rate l (generally the default value, do not need to be set by yourself), and then add the original weight to be the new weight. Through the above formula, the weights of all nodes can be calculated.

6.偏向更新。6. Biased to update.

权重更新公式为:The weight update formula is:

Δθj=(l)Errj Δθ j =(l) Err j

θj=θj+Δθj θ j = θ j +Δθ j

权重更新公式与权重更新公式类似,不过Δθ的值变成了学习率乘以误差,没有了节点的值。通过上述公式更新所有的偏向。The weight update formula is similar to the weight update formula, but the value of Δθ becomes the learning rate multiplied by the error, without the value of the node. All biases are updated by the above formula.

上述过程为一个完整的训练流程,权重和偏向更新完毕后再换一组特征值输入神经网络继续重复以上过程。The above process is a complete training process. After the weights and biases are updated, a set of eigenvalues are input to the neural network to continue to repeat the above process.

训练过程停止的条件:权重低于某个设定的阈值;预测的错误率低于某个阈值;达到预设的循环次数。The conditions for stopping the training process: the weights are lower than a certain threshold; the predicted error rate is lower than a certain threshold; the preset number of cycles is reached.

停止后,此时应该得到了最优的权重和偏向,保存此时的网络数据就可以用来预测分类矿物了。After stopping, the optimal weights and biases should be obtained at this time, and the network data saved at this time can be used to predict and classify minerals.

核心代码为把训练集输入到神经网络中。然后进行训练。这个过程主要是利用神经网络的特性,找到一个最佳的输入(数组的前三项)输出(数组的第四项)映射。主要步骤如下:The core code is to input the training set into the neural network. Then train. This process mainly uses the characteristics of the neural network to find an optimal input (the first three items of the array) output (the fourth item of the array) mapping. The main steps are as follows:

1.使用net=newff(P,[...],{...})创建神经网络,P为输入数据,省略号为其他参数。1. Use net=newff(P, [...], {...}) to create a neural network, where P is the input data, and ellipses are other parameters.

2.net.trainParam.epochs=5000;设置训练次数。2.net.trainParam.epochs=5000; set the number of training times.

3.net.trainParam.goal=0.0001;设置收敛误差。3.net.trainParam.goal=0.0001; set the convergence error.

4.[net,tr]=train(net);训练网络。4. [net, tr]=train(net); train the network.

最后,利用测试集数据进行测试准确率Finally, use the test set data to test the accuracy

训练完毕后,将测试集作为参数输入到上述训练后的神经网络中,研究其输出结果的正确率。例如,输入方铅矿的测试数据,观察期输出是否为方铅矿。如果准确率低,则重复训练与测试。After training, the test set is input as a parameter to the above trained neural network to study the correctness of its output results. For example, input the test data of galena, whether the output of the observation period is galena. If the accuracy is low, repeat training and testing.

步骤四:将实时采集的图像输入到训练好的BP神经网络模型中,实现金属矿物的识别。Step 4: Input the images collected in real time into the trained BP neural network model to realize the identification of metal minerals.

目前所提取的三维统计特征是图像的亮度色彩特征,这与显微镜拍照时的光照强度有关(与仪器也有关),光照强度不同,图像统计特征就会变化。采用如下方法:即在一开始训练网络时取一个标准图像(记为A1)并提取标准图像的特征F={x1,x2,x3,x4}。鉴定未知矿物图像(拍摄时改变光强)时,再用改变光照强度(或仪器)的光照采集一张标准矿物A1的的图像并提取标准矿物A1的特征F′={Z1,Z2,Z3,Z4},然后将F′与F相减得到一个差Y={y1,y2,y3,y4}(改正数),然后把这个改正数加到需要鉴定的未知矿物的特征上,这样就避免了光照不同时或者仪器不同时造成的识别错误问题。The currently extracted three-dimensional statistical features are the brightness and color features of the image, which are related to the light intensity (also related to the instrument) when the microscope is photographed. The following method is adopted: that is, at the beginning of training the network, a standard image (marked as A1) is taken and the feature F={x1, x2, x3, x4} of the standard image is extracted. When identifying the unknown mineral image (change the light intensity when shooting), then use the light that changes the light intensity (or instrument) to collect an image of the standard mineral A1 and extract the features of the standard mineral A1 F′={Z1, Z2, Z3, Z4}, then subtract F' and F to get a difference Y={y1, y2, y3, y4} (correction number), and then add this correction number to the characteristics of the unknown mineral to be identified, thus avoiding The problem of identification errors caused by different lighting or different instruments.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.

本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。In this paper, specific examples are used to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present invention; meanwhile, for those skilled in the art, according to the present invention There will be changes in the specific implementation and application scope. In conclusion, the contents of this specification should not be construed as limiting the present invention.

Claims (6)

1. A method for identifying microscopic metal minerals based on a BP neural network is characterized by comprising the following steps:
acquiring an unknown metal mineral image shot by a reflection polarization microscope;
processing the unknown metal mineral image by using MATLAB software to obtain primary characteristic data of the unknown metal mineral image;
determining the difference characteristics of the environment; the environmental difference characteristic is a difference value between the first characteristic data and the second characteristic data; the first characteristic data is characteristic data of a first metal mineral image under the illumination intensity of an unknown metal mineral image, and the second characteristic data is characteristic data of a second metal mineral image under the illumination intensity adopted in the process of training a BP neural network model; the illumination intensity of the first metal mineral image is different from that of the second metal mineral image, and the types of metal minerals are the same;
calculating final characteristic data of the unknown metal mineral image according to the primary characteristic data of the unknown metal mineral image and the environment difference characteristics;
inputting the final characteristic data of the unknown metal mineral image into a trained BP neural network model to determine the type of the unknown metal mineral; the input of the trained BP neural network model is final characteristic data of an unknown metal mineral image, and the output of the trained BP neural network model is the type of a metal mineral;
calculating final feature data of the unknown metal mineral image according to the preliminary feature data of the unknown metal mineral image and the environment difference features, wherein the calculating comprises the following steps:
superposing the environmental difference characteristics to the primary characteristic data of the unknown metal mineral image to obtain final characteristic data of the unknown metal mineral image;
the step of training the BP neural network model comprises the following steps:
acquiring historical metal mineral images of different types under the same illumination intensity;
processing all the historical metal mineral images by using MATLAB software;
grouping the processed historical metal mineral images to obtain a training set and a test set;
training a BP neural network model by using the data in the training set, and stopping training the BP neural network model when a set training stopping condition is met to obtain a preliminary BP neural network model;
testing the preliminary BP neural network model by adopting the data in the test set, stopping testing the preliminary BP neural network model when set test conditions are met, and storing the preliminary BP neural network model meeting the test conditions; and the preliminary BP neural network model meeting the test conditions is a trained BP neural network model.
2. The method for identifying the metal mineral under the microscope based on the BP neural network according to claim 1, wherein the processing the unknown metal mineral image by using MATLAB software to obtain the preliminary feature data of the unknown metal mineral image specifically comprises:
reading the unknown metal mineral image into MATLAB software by adopting an imread function; the storage form of the unknown metal mineral image in MATLAB software is a three-dimensional array form; the three-dimensional array form comprises RGB color information of unknown metal mineral images;
sequentially carrying out mean value filtering and normalization processing on the unknown metal mineral image;
and performing feature extraction on the normalized unknown metal mineral image to obtain primary feature data of the unknown metal mineral image.
3. The method for identifying the metal mineral under the microscope based on the BP neural network according to claim 2, wherein the step of performing feature extraction on the normalized unknown metal mineral image to obtain the preliminary feature data of the unknown metal mineral image specifically comprises the steps of:
carrying out dimension separation on the normalized unknown metal mineral image to obtain three one-dimensional arrays; the three one-dimensional arrays are respectively a first one-dimensional array, a second one-dimensional array and a third one-dimensional array;
calculating the average value of each one-dimensional array by using a mean function;
determining the primary characteristic data of the unknown metal mineral image according to the average value of all the one-dimensional arrays; the preliminary feature data of the unknown metal mineral image comprises four elements, wherein the first element is an average value of a first one-dimensional array, the second element is an average value of a second one-dimensional array, the third element is an average value of a third one-dimensional array, and the fourth element is the type of the unknown metal mineral.
4. A recognition system for microscopic metal minerals based on a BP neural network is characterized by comprising:
the unknown metal mineral image acquisition module is used for acquiring an unknown metal mineral image shot by a reflection polarization microscope;
the unknown metal mineral image preliminary characteristic data calculation module is used for processing the unknown metal mineral image by using MATLAB software to obtain unknown metal mineral image preliminary characteristic data;
the environment difference characteristic determining module is used for determining environment difference characteristics; the environment difference characteristic is a difference value of the first characteristic data and the second characteristic data; the first characteristic data is characteristic data of a first metal mineral image under the illumination intensity of an unknown metal mineral image, and the second characteristic data is characteristic data of a second metal mineral image under the illumination intensity adopted in the process of training a BP neural network model; the illumination intensity of the first metal mineral image is different from that of the second metal mineral image, and the types of metal minerals are the same;
the unknown metal mineral image final characteristic data calculation module is used for calculating the unknown metal mineral image final characteristic data according to the unknown metal mineral image preliminary characteristic data and the environment difference characteristics;
the unknown metal mineral type determining module is used for inputting the final characteristic data of the unknown metal mineral image into a trained BP neural network model to determine the type of the unknown metal mineral; the input of the trained BP neural network model is final characteristic data of an unknown metal mineral image, and the output of the trained BP neural network model is the type of a metal mineral;
the unknown metal mineral image final feature data calculation module specifically comprises:
the unknown metal mineral image final characteristic data calculation unit is used for superposing the environmental difference characteristics to the unknown metal mineral image preliminary characteristic data to obtain the unknown metal mineral image final characteristic data;
the recognition system also comprises a BP neural network model training module; the BP neural network model training module specifically comprises:
the historical metal mineral image acquisition unit is used for acquiring different types of historical metal mineral images under the same illumination intensity;
the historical metal mineral image processing unit is used for processing all the historical metal mineral images by using MATLAB software;
the training set and test set determining unit is used for grouping the processed historical metal mineral images to obtain a training set and a test set;
a preliminary BP neural network model determining unit, configured to train the BP neural network model by using the data in the training set, and stop training the BP neural network model when a set training stop condition is met, so as to obtain a preliminary BP neural network model;
the trained BP neural network model determining unit is used for testing the preliminary BP neural network model by adopting the data concentrated by the test, stopping testing the preliminary BP neural network model when set test conditions are met, and storing the preliminary BP neural network model meeting the test conditions; and the preliminary BP neural network model meeting the test conditions is a trained BP neural network model.
5. The system for identifying the metal mineral under the microscope based on the BP neural network as claimed in claim 4, wherein the unknown metal mineral image preliminary feature data calculation module specifically comprises:
the reading unit is used for reading the unknown metal mineral image into MATLAB software by adopting an imread function; the storage form of the unknown metal mineral image in MATLAB software is a three-dimensional array form; the three-dimensional array form comprises RGB color information of unknown metal mineral images;
the processing unit is used for sequentially carrying out mean value filtering and normalization processing on the unknown metal mineral image;
and the unknown metal mineral image preliminary characteristic data determining unit is used for extracting the characteristics of the normalized unknown metal mineral image to obtain the unknown metal mineral image preliminary characteristic data.
6. The system for identifying the metal mineral under the microscope based on the BP neural network as claimed in claim 5, wherein the unknown metal mineral image preliminary characteristic data determination unit specifically comprises:
the dimension separation subunit is used for performing dimension separation on the normalized unknown metal mineral image to obtain three one-dimensional arrays; the three one-dimensional arrays are respectively a first one-dimensional array, a second one-dimensional array and a third one-dimensional array;
the mean value operator unit is used for calculating the mean value of each one-dimensional array by using a mean function;
the unknown metal mineral image preliminary characteristic data determining subunit is used for determining the unknown metal mineral image preliminary characteristic data according to the average value of all the one-dimensional arrays; the preliminary characteristic data of the unknown metal mineral image comprises four elements, wherein the first element is the average value of a first one-dimensional array, the second element is the average value of a second one-dimensional array, the third element is the average value of a third one-dimensional array, and the fourth element is the type of the unknown metal mineral.
CN202010216536.2A 2020-03-15 2020-03-15 BP neural network-based method and system for identifying metal minerals under microscope Active CN111460947B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010216536.2A CN111460947B (en) 2020-03-15 2020-03-15 BP neural network-based method and system for identifying metal minerals under microscope
AU2020103251A AU2020103251A4 (en) 2020-03-15 2020-11-05 Method and system for identifying metallic minerals under microscope based on bp nueral network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010216536.2A CN111460947B (en) 2020-03-15 2020-03-15 BP neural network-based method and system for identifying metal minerals under microscope

Publications (2)

Publication Number Publication Date
CN111460947A CN111460947A (en) 2020-07-28
CN111460947B true CN111460947B (en) 2022-05-31

Family

ID=71685691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010216536.2A Active CN111460947B (en) 2020-03-15 2020-03-15 BP neural network-based method and system for identifying metal minerals under microscope

Country Status (2)

Country Link
CN (1) CN111460947B (en)
AU (1) AU2020103251A4 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111950427B (en) * 2020-08-06 2022-02-15 中国地质科学院矿产资源研究所 Garnet subclass identification method based on thermal infrared spectrum characteristics and BP neural network model
CN113128404A (en) * 2021-04-20 2021-07-16 中国地质科学院 Intelligent mineral identification method and system
CN113935966B (en) * 2021-10-13 2023-05-26 东风本田发动机有限公司 Slag point detection method, device and equipment for metal material and storage medium
CN114239304B (en) * 2021-12-22 2024-10-29 云南省地质矿产勘查开发局中心实验室(国土资源部昆明矿产资源监督检测中心) Metal mineral polished section image mineral granularity measurement method based on improved K-means algorithm
CN115205854B (en) * 2022-05-25 2025-06-03 西南石油大学 A shale MAPS mineral identification method based on QEMSCAN
CN116306300A (en) * 2023-03-24 2023-06-23 东北大学 Intelligent slag-based filler strength prediction system and method based on image

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349929A (en) * 2001-04-02 2002-05-22 吉林大学 Mesoporous molecular sieve material with strong acidity and high hydrothermal stability and its prepn
CN108573205A (en) * 2017-09-26 2018-09-25 中科智文(北京)科技有限公司 A kind of Khotan jade seed material micro-image intelligent identifying system
CN110073301A (en) * 2017-08-02 2019-07-30 强力物联网投资组合2016有限公司 The detection method and system under data collection environment in industrial Internet of Things with large data sets
CN110516954A (en) * 2019-08-23 2019-11-29 昆明理工大学 A Method of Optimizing Mineral Processing Production Index Based on GA-BP Neural Network Algorithm

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3002587B1 (en) * 2011-12-30 2017-06-28 Abbott Point Of Care, Inc. Method and apparatus for automated platelet identification within a whole blood sample from microscopy images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349929A (en) * 2001-04-02 2002-05-22 吉林大学 Mesoporous molecular sieve material with strong acidity and high hydrothermal stability and its prepn
CN110073301A (en) * 2017-08-02 2019-07-30 强力物联网投资组合2016有限公司 The detection method and system under data collection environment in industrial Internet of Things with large data sets
CN108573205A (en) * 2017-09-26 2018-09-25 中科智文(北京)科技有限公司 A kind of Khotan jade seed material micro-image intelligent identifying system
CN110516954A (en) * 2019-08-23 2019-11-29 昆明理工大学 A Method of Optimizing Mineral Processing Production Index Based on GA-BP Neural Network Algorithm

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
《A Panoramic Geology Field Trip System Using Image-Based Rendering》;Chunyan Deng等;《2016 IEEE 40th Annual Computer Software and Applications Conference (COMPSAC)》;20160825;第264-268页 *
《Dermoscopic Image Segmentation via Multistage Fully Convolutional Networks》;Lei Bi等;《IEEE Transactions on Biomedical Engineering》;20170930;第64卷(第9期);第2065-2074页 *
《Design and implementation of data management subsystem in Environmental Sensor Networks》;Jinxin He等;《2012 International Symposium on Geomatics for Integrated Water Resource Management》;20121112;第1-4页 *
《一种基于朴素贝叶斯分类模型的高光谱矿物精确识别方法》;贺金鑫等;《光谱学与光谱分析》;20140228;第34卷(第2期);第505-509页 *
《基于Google Earth的ETM~+遥感图像自动分类方法》;李文庆等;《江西农业学报》;20121231;第24卷(第12期);第158-163页 *
《基于色度学特征的病理性核分裂像识别》;张亮等;《航天医学与医学工程》;20150831;第28卷(第4期);第270-274页 *

Also Published As

Publication number Publication date
CN111460947A (en) 2020-07-28
AU2020103251A4 (en) 2021-01-14

Similar Documents

Publication Publication Date Title
CN111460947B (en) BP neural network-based method and system for identifying metal minerals under microscope
CN109584248B (en) Infrared target instance segmentation method based on feature fusion and dense connection network
CN111310862B (en) Image enhancement-based deep neural network license plate positioning method in complex environment
CN111460931B (en) Face spoofing detection method and system based on color channel difference image characteristics
CN101730835B (en) Method for creating paint color database, retrieval method using database, system, program and recording medium thereof
Laakom et al. Bag of color features for color constancy
CN112215201B (en) Method and device for evaluating face recognition model and classification model aiming at image
CN111160249A (en) Multi-class target detection method in optical remote sensing images based on cross-scale feature fusion
US10445602B2 (en) Apparatus and method for recognizing traffic signs
CN109325395A (en) The recognition methods of image, convolutional neural networks model training method and device
CN113628261A (en) Infrared and visible light image registration method in power inspection scene
CN106846011A (en) Business license recognition methods and device
CN111126134A (en) Radar radiation source deep learning identification method based on non-fingerprint signal eliminator
Jenifa et al. Classification of cotton leaf disease using multi-support vector machine
CN114021704B (en) AI neural network model training method and related device
CN117636057B (en) Train bearing damage classification and recognition method based on multi-branch cross-space attention model
CN110619373A (en) Infrared multispectral weak target detection method based on BP neural network
CN118196496A (en) SAR vessel detection method based on multi-scale feature enhancement network
CN110569716A (en) A kind of shelf image remake detection method
CN110309715A (en) Indoor positioning method, device and system for lamp recognition based on deep learning
CN116228708A (en) A method and system for detecting industrial defects based on visual cognitive computing
CN112183550A (en) Ship classification and identification method based on deep learning
JP2022150562A (en) Image processing device, image processing method and program
CN114148103B (en) Solder paste printing mark recognition method and system based on neural network learning
CN116309477A (en) Neural network-based urban wall multispectral imaging disease nondestructive detection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant