CN110738674A - A texture feature measurement method based on particle density - Google Patents
A texture feature measurement method based on particle density Download PDFInfo
- Publication number
- CN110738674A CN110738674A CN201911005627.5A CN201911005627A CN110738674A CN 110738674 A CN110738674 A CN 110738674A CN 201911005627 A CN201911005627 A CN 201911005627A CN 110738674 A CN110738674 A CN 110738674A
- Authority
- CN
- China
- Prior art keywords
- bubble
- particle
- gray
- point
- 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.)
- Granted
Links
- 239000002245 particle Substances 0.000 title claims abstract description 115
- 238000000691 measurement method Methods 0.000 title claims abstract description 12
- 238000005188 flotation Methods 0.000 claims abstract description 40
- 238000000034 method Methods 0.000 claims abstract description 22
- 238000000605 extraction Methods 0.000 claims abstract description 11
- 239000011159 matrix material Substances 0.000 claims description 29
- 229910052500 inorganic mineral Inorganic materials 0.000 claims description 15
- 239000011707 mineral Substances 0.000 claims description 15
- 238000004519 manufacturing process Methods 0.000 claims description 11
- HCHKCACWOHOZIP-UHFFFAOYSA-N Zinc Chemical compound [Zn] HCHKCACWOHOZIP-UHFFFAOYSA-N 0.000 claims description 10
- 239000012141 concentrate Substances 0.000 claims description 10
- 239000011701 zinc Substances 0.000 claims description 10
- 229910052725 zinc Inorganic materials 0.000 claims description 10
- 239000003795 chemical substances by application Substances 0.000 claims description 7
- 239000008396 flotation agent Substances 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 3
- 238000007781 pre-processing Methods 0.000 claims description 3
- 230000007704 transition Effects 0.000 claims description 3
- 239000002699 waste material Substances 0.000 claims description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 3
- 230000009191 jumping Effects 0.000 claims 7
- 239000003814 drug Substances 0.000 claims 2
- 238000012216 screening Methods 0.000 claims 2
- 239000002002 slurry Substances 0.000 claims 2
- 238000003491 array Methods 0.000 claims 1
- 238000005259 measurement Methods 0.000 claims 1
- 230000011218 segmentation Effects 0.000 claims 1
- 239000000284 extract Substances 0.000 abstract description 2
- 230000007547 defect Effects 0.000 abstract 1
- 238000009291 froth flotation Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 230000033558 biomineral tissue development Effects 0.000 description 1
- 230000019771 cognition Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 239000002994 raw material Substances 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000003746 surface roughness Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/40—Analysis of texture
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/25—Determination of region of interest [ROI] or a volume of interest [VOI]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computing Systems (AREA)
- Multimedia (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Analysing Materials By The Use Of Radiation (AREA)
Abstract
一种基于颗粒密集度的纹理特征度量方法,在泡泡浮选领域,本发明提出一种基于颗粒密集度的纹理特征度量方法,此方法基于现场设置的数字图像采集系统提取泡泡图像,提出了颗粒区域的概念,并对泡泡表面的颗粒区域进行准确提取,将所提取的颗粒区域按中心点位置进行分级,继而对颗粒区域之间的密集程度进行度量,定义了纹理特征颗粒密集度,用以反映整幅图像的纹理特征。有效弥补了传统的纹理特征提取方法没有考虑泡泡表面颗粒的缺陷,从而可以更准确的判断工况并有效指导加药。
A texture feature measurement method based on particle density, in the field of bubble flotation, the present invention proposes a texture feature measurement method based on particle density, the method extracts bubble images based on a digital image acquisition system set on site, and proposes The concept of particle area is introduced, and the particle area on the surface of the bubble is accurately extracted, and the extracted particle area is classified according to the position of the center point, and then the density between the particle areas is measured, and the particle density of texture features is defined. , to reflect the texture features of the whole image. It effectively makes up for the defect that the traditional texture feature extraction method does not consider the particles on the surface of the bubble, so that it can more accurately judge the working conditions and effectively guide the dosing.
Description
技术领域technical field
本发明属于泡沫浮选技术领域,具体涉及一种锌浮选过程中的纹理特征度量方法。The invention belongs to the technical field of froth flotation, and in particular relates to a texture feature measurement method in the process of zinc flotation.
背景技术Background technique
泡沫浮选是国内外广泛应用的一种选矿方法,该方法能依据矿物表面亲水性与疏水性的差异,有效地将目标矿物分离出来。泡沫浮选过程将目标矿物与其共生的脉石研磨成合适大小的颗粒然后送入浮选槽中,通过添加药剂调整不同矿物颗粒表面性质同时在浮选过程中不断地搅拌和鼓风,使矿浆中形成大量具有不同尺寸、形态、纹理等特征信息的气泡,使有用矿物颗粒粘附在气泡表面,气泡携带矿物颗粒上升至浮选槽表面形成泡泡层,脉石矿物留在矿浆中,从而实现矿物分选。由于浮选工艺流程长、内部机理不明确、影响因素多、涉及变量多且非线性严重、工艺指标不能在线检测等原因,一直以来,浮选过程主要依靠人工肉眼观察浮选槽表面泡泡状态来完成现场操作,这种生产方式主观性强,难以实现浮选泡泡状态的客观评价与认知,造成浮选生产指标波动频繁、矿物原料流失严重、药剂消耗量大、资源回收率低等情况发生,特别在高品位矿物资源日益匮乏的今天,浮选矿源成分复杂、矿物品味低,浮选生产人工操作更加难以有效进行。将机器视觉应用到浮选过程中,利用数字图像处理技术对浮选泡泡图像进行分析,能实现对泡泡状态的客观描述,再进一步寻找与分析泡泡特征参数与工艺指标的关系,从而推进了浮选过程的生产自动化。浮选泡泡随着浮选状态的不同而呈现出特殊的纹理状态,泡泡图像的纹理是泡泡表面粗糙度、对比度和黏性的综合体现,它与加药量、通气量等浮选生产操作变量及精矿品位、尾矿含量等浮选生产指标密切相关,当前的泡泡纹理信息提取方法主要是提取局部特征,存在提取的精度不够且纹理提取过程中没有考虑到泡泡表面颗粒等问题,难以准确反映工况,而实际上,泡泡表面常常附着一些矿石或者杂志小颗粒,造成泡泡表面粗糙不平,而这些小颗粒的出现的数量与分布密集度与锌精矿品位有密切关系,针对之前的研究没有考虑到泡泡表面颗粒的问题,提出一种新的基于颗粒密集度的纹理特征度量方法,此方法基于现场设置的数字图像采集系统提取泡泡图像,继而对泡泡表面的颗粒区域进行准确提取,并对颗粒区域之间的密集度进行量化度量,定义了新的纹理特征颗粒密集度,用以反映整幅图像的纹理特征,有效避免了传统的纹理特征提取方法的局限性,从而更准确的判断工况并有效指导加药。Froth flotation is a beneficiation method widely used at home and abroad. This method can effectively separate the target minerals according to the difference between the hydrophilicity and hydrophobicity of the mineral surface. In the process of froth flotation, the target minerals and their symbiotic gangue are ground into particles of suitable size and then sent to the flotation tank. The surface properties of different mineral particles are adjusted by adding chemicals. A large number of bubbles with different size, shape, texture and other characteristic information are formed in the flotation, so that the useful mineral particles adhere to the surface of the bubbles, and the bubbles carry the mineral particles to the surface of the flotation cell to form a bubble layer, and the gangue minerals remain in the pulp, thereby To achieve mineral sorting. Due to the long process flow of flotation, the unclear internal mechanism, many influencing factors, many variables involved and serious nonlinearity, and the process index cannot be detected online, the flotation process has always relied on the artificial naked eye to observe the bubble state on the surface of the flotation cell. To complete the field operation, this production method is highly subjective, and it is difficult to achieve objective evaluation and cognition of the flotation bubble state, resulting in frequent fluctuations in flotation production indicators, serious loss of mineral raw materials, large consumption of chemicals, and low resource recovery rate. The situation occurs, especially in today's increasingly scarce high-grade mineral resources, the flotation ore source is complex in composition and the mineral grade is low, and the manual operation of flotation production is more difficult to effectively carry out. Applying machine vision to the flotation process, using digital image processing technology to analyze the flotation bubble image, can achieve an objective description of the bubble state, and then further search and analyze the relationship between bubble characteristic parameters and process indicators, so as to The production automation of the flotation process was advanced. Flotation bubbles show a special texture state with different flotation states. The texture of the bubble image is a comprehensive reflection of the surface roughness, contrast and viscosity of the bubbles. Production operation variables are closely related to flotation production indicators such as concentrate grade and tailings content. The current extraction method of bubble texture information mainly extracts local features, but the extraction accuracy is not enough and the bubble surface particles are not considered in the texture extraction process. It is difficult to accurately reflect the working conditions. In fact, some small ore or magazine particles are often attached to the surface of the bubble, causing the surface of the bubble to be rough. The number and distribution density of these small particles are related to the grade of zinc concentrate. Aiming at the problem that the particles on the surface of bubbles have not been considered in previous studies, a new texture feature measurement method based on particle density is proposed. The particle area on the surface of the bubble is accurately extracted, and the density between the particle areas is quantitatively measured, and a new texture feature particle density is defined to reflect the texture feature of the entire image, effectively avoiding the traditional texture feature extraction. Limitations of the method, so as to more accurately judge the working conditions and effectively guide the dosing.
发明内容SUMMARY OF THE INVENTION
本发明的目的是提供一种基于颗粒密集度的纹理特征度量方法,在浮选生产中,浮选泡泡表面纹理是反映矿石品位的重要视觉信息,与浮选工况密切相关,直接反映泡泡层的矿化程度。针对目前存在的浮选泡泡图像的纹理特征提取没有考虑泡泡表面颗粒的问题,定义了纹理特征度量方法颗粒密集度。该方法首先对泡泡图像进行分割,提取出感兴趣泡泡,然后对泡泡表面颗粒区域进行提取,并对颗粒密集度如何反映工况进行了分析说明,表明它能更准确地对矿物品位进行调控并指导浮选生产。The purpose of the present invention is to provide a texture feature measurement method based on particle density. In flotation production, the surface texture of flotation bubbles is an important visual information reflecting ore grade, which is closely related to flotation conditions and directly reflects bubbles. The degree of mineralization of the bubble layer. Aiming at the problem that the existing texture feature extraction of flotation bubble images does not consider the particles on the surface of the bubble, a texture feature measurement method particle density is defined. The method firstly segmented the bubble image, extracted the bubbles of interest, then extracted the particle area on the surface of the bubble, and analyzed how the particle density reflects the working conditions, indicating that it can more accurately classify minerals. To regulate and guide flotation production.
采用的技术方案步骤如下:The technical solution steps adopted are as follows:
步骤一:利用浮选现场图像采集系统收集锌浮选的泡泡视频并将泡泡视频转换为连续图像,对采集到的锌浮选图像数据进行数据预处理,如下:Step 1: Use the flotation on-site image acquisition system to collect the bubble video of zinc flotation and convert the bubble video into continuous images, and perform data preprocessing on the collected zinc flotation image data, as follows:
1)剔除超出正常变化阈值的错误数据;1) Eliminate erroneous data that exceeds the normal change threshold;
2)剔除不完整的数据;2) Eliminate incomplete data;
步骤二:将泡泡图像由RGB彩色图像转化为灰度图像,得到图像的灰度矩阵A:Step 2: Convert the bubble image from an RGB color image to a grayscale image, and obtain the grayscale matrix A of the image:
egf表示的是灰度图像中的每一个像素点对应的灰度值,其中,g∈N,f∈N,N∈(400,800)。e gf represents the gray value corresponding to each pixel in the gray image, where g∈N, f∈N, N∈(400,800).
步骤三:泡泡图像中,泡泡常规的形态是表面光滑,高亮点位于单个泡泡凸起曲面的顶端,高亮点区域呈现最小灰度值,而以高亮点为中心,灰度值向下逐渐递增,在到达泡泡边界时达到最大值;而实际上,泡泡常常附着一些矿石或者杂志小颗粒,造成泡泡表面粗糙不平,而这些小颗粒的出现的数量与分布密集度与加药量和锌精矿品位有关系;Step 3: In the bubble image, the regular shape of the bubble is smooth surface, the highlight point is located at the top of the convex surface of a single bubble, the highlight point area has the minimum gray value, and the highlight point is the center, and the gray value is downward. It gradually increases and reaches the maximum value when it reaches the boundary of the bubble; in fact, the bubble is often attached to some small ore or magazine particles, causing the surface of the bubble to be rough, and the number and distribution density of these small particles are closely related to the dosing. The amount is related to the grade of zinc concentrate;
首先,对泡泡进行分割,采用分水岭的方法将泡泡分割得到h个单个的泡泡,并储存各个泡泡的灰度矩阵,得到单个泡泡的灰度矩阵集合B={b1,b2,b3,...,bλ,...,bh},bλ是第λ个泡泡灰度数值矩阵,h是分割后泡泡总的个数,在分割后的单个泡泡图像集合当中,筛选出泡泡尺寸大于1200像素值的泡泡,即为感兴趣区域,对于筛选后的泡泡,用单个泡泡的灰度均值代替此泡泡高亮点部分的灰度值,得到待检测泡泡灰度矩阵集合C={c1,c2,c3,...,cε,...,cK},K是符合泡泡尺寸要求的泡泡个数。First, segment the bubbles, use the watershed method to segment the bubbles to obtain h individual bubbles, and store the grayscale matrix of each bubble to obtain the grayscale matrix set of a single bubble B={b 1 ,b 2 ,b 3 ,...,b λ ,...,b h }, b λ is the λ-th bubble grayscale numerical matrix, h is the total number of In the bubble image collection, the bubbles with a bubble size greater than 1200 pixels are screened out, which is the region of interest. For the filtered bubbles, the grayscale value of a single bubble is used to replace the grayscale value of the highlighted part of the bubble. , obtain the gray-scale matrix set C={c 1 ,c 2 ,c 3 ,...,c ε ,...,c K } of the bubbles to be detected, where K is the number of bubbles that meet the bubble size requirements.
步骤四:颗粒区域的检测:Step 4: Detection of particle area:
1.非颗粒区域,泡泡表面是光滑的,灰度值的变化范围在渐变范围内;1. In the non-particle area, the surface of the bubble is smooth, and the variation range of the gray value is within the gradient range;
2.颗粒区域中灰度值的变化超出了渐变范围;2. The change of gray value in the particle area is beyond the gradient range;
采用以下步骤提取颗粒区域:Use the following steps to extract particle regions:
S1:对于分割筛选后的泡泡定义颗粒区域的搜索方式:对于泡泡cε,取0°、45°、90°、135°、180°、225°、270°、315°八个方向,在泡泡内任意一个方向上所有像素点的灰度值组成一个数组,单个泡泡的的最大宽度是个有限值,记泡泡最左侧像素点在灰度矩阵中的列数为Hm,记泡泡最右侧像素点在灰度矩阵中的列数为从Hn,搜索时候从泡泡灰度矩阵中的Hm列开始自左向右同时从泡泡上半部分边界开始自上向下开始搜索,初试搜索方向为270°;S1: The search method for defining the particle area of the divided and filtered bubbles: for the bubble c ε , take eight directions of 0°, 45°, 90°, 135°, 180°, 225°, 270°, 315°, The grayscale values of all pixels in any direction in the bubble form an array, the maximum width of a single bubble is a finite value, and the number of columns of the leftmost pixel of the bubble in the grayscale matrix is H m , Note that the number of columns of the rightmost pixel point of the bubble in the gray matrix is from H n , when searching, starting from the column H m in the gray matrix of the bubble, from left to right, and starting from the upper part of the boundary of the bubble and starting from the top Start the search downward, and the initial search direction is 270°;
S2:标记跳变点:S2: Mark the trip point:
(1)设置灰度渐变的阈值为[0,8],首先以泡泡上半部分边界最左侧的像素点为起点,从270°方向开始搜索,取步长为1,在270°方向上,下一个灰度值与当前灰度值的差值的模定义为灰度渐变值,将灰度渐变值与阈值进行比较,灰度渐变值超过阈值则将当前灰度值位置标记为跳变点d1,位置用笛卡尔坐标表示为:(x1,y1),第一个跳变点所在列H0记为颗粒区域的左边界,其中Hm<...<H0<H1<H2<...<Hk<Hk+1<Hk+2<...<Hn,H1为H0后第一列,依此类推,按此搜索方式依次从H0列往右搜索,直到第Hk+2列时候没有搜索到跳变点,则Hk+1列为此颗粒区域的右边界;(1) Set the threshold value of grayscale gradient to [0,8], first start the search from the leftmost pixel point of the upper half boundary of the bubble, start the search from the direction of 270°, take the step size as 1, and start the search in the direction of 270° The modulo of the difference between the upper and next gray values and the current gray value is defined as the gray gradient value, and the gray gradient value is compared with the threshold value. If the gray gradient value exceeds the threshold value, the current gray value position is marked as jump. Change point d 1 , the position is expressed in Cartesian coordinates as: (x 1 , y 1 ), the column H 0 where the first jump point is located is recorded as the left boundary of the particle area, where H m <...<H 0 < H 1 <H 2 <...<H k <H k+1 <H k+2 <...<H n , H 1 is the first column after H 0 , and so on. Column H 0 is searched to the right, and no jump point is found until column H k+2 , then column H k+1 is the right boundary of this particle area;
(2)从H1列到Hk列之间,每一列自上向下按270°方向搜索,获得两个跳变点,在搜索第H1列时,记90度和270度射线方向的跳变点为d2和d3,取两个跳变点位置的中点作为位置中心发散点e1;以位置发散中心点e1为起点,按0°和180°射线方向往两边开始搜索,标记最近的跳变点的位置,d4,d5;以位置发散中心点为起点,按45°和225°射线方向往两边开始搜索,标记最近的跳变点的位置d6,d7;以位置发散中心点为起点,按135°和315°射线方向往两边开始搜索,标记最近的跳变点的位置d8,d9;(2) From column H 1 to column H k , each column is searched in the direction of 270° from top to bottom, and two jump points are obtained. When searching column H 1 , record the ray directions of 90 degrees and 270 degrees. The jump points are d 2 and d 3 , and the midpoint of the positions of the two jump points is taken as the position center divergence point e 1 ; the position divergence center point e 1 is taken as the starting point, and the search starts on both sides according to the 0° and 180° ray directions , mark the position of the nearest jump point, d 4 , d 5 ; take the position divergence center point as the starting point, start searching on both sides according to the 45° and 225° ray directions, and mark the position d 6 , d 7 of the nearest jump point ; Take the position divergence center point as the starting point, start searching on both sides according to the 135° and 315° ray directions, and mark the positions d 8 and d 9 of the nearest jump point;
S3:颗粒区域的提取:S3: Extraction of particle area:
对于泡泡cε,由H1列的位置发散中心点e1得到8个跳变点,H2,H3,...,Hk列的位置发散中心点e2,e3,...,ek分别得到8个跳变点,则该颗粒区域共得到8k个跳变点,若8k<24则此区域为噪点,不予考虑,当8k≥24时将这8k个跳变点依次相连即得到颗粒区域,记作Dr(r∈a)。For bubble c ε , 8 jump points are obtained from the position divergence center point e 1 of H 1 column, H 2 , H 3 ,...,H k column position divergence center point e 2 ,e 3 ,... ., e k get 8 jump points respectively, then the particle area gets 8k jump points in total, if 8k < 24, this area is noise, and it will not be considered, when 8k ≥ 24, these 8k jump points will be The particle regions are obtained by connecting them in sequence, denoted as D r (r∈a).
步骤五:颗粒区域中心点位置的确定:Step 5: Determine the position of the center point of the particle area:
对于颗粒区域Dr,记该颗粒区域的跳变点个数为tr,即该区域边界有tr个顶点,坐标为(xi,yi),i=1,2,...,tr,顶点与顶点(x1,y1)相同,则该颗粒区域的面积如下式所示:For the particle region D r , denote the number of transition points in the particle region as tr , that is, the region boundary has tr vertices, and the coordinates are (x i , y i ), i=1, 2,..., tr , vertex The same as the vertex (x 1 , y 1 ), the area of the particle region is given by the following formula:
颗粒区域的中心点坐标如下式所示:The coordinates of the center point of the particle area As shown in the following formula:
重复步骤四搜索出待检测泡泡集合中单个泡泡灰度数值矩阵中的所有颗粒区域,对于泡泡cε,统计颗粒区域的数量Lε,然后确定出各个颗粒区域的中心点坐标以不同颗粒区域中心点之间的直线距离定义一级、二级邻域区域以及其他邻域区域,对颗粒区域Pu,u∈a,定义如下:Repeat step 4 to search out all particle regions in the gray value matrix of a single bubble in the bubble set to be detected. For bubble c ε , count the number of particle regions L ε , and then determine the coordinates of the center point of each particle region The primary and secondary neighborhood regions and other neighborhood regions are defined by the straight-line distance between the center points of different particle regions. For the particle region P u , u ∈ a, the definitions are as follows:
其中v∈a且v≠u;where v∈a and v≠u;
记颗粒区域Pu的一级邻域区域个数为qu,二级邻域区域个数为su,其他邻域区域个数为wu,则有qu+su+wu=Lε-1;一级邻域区域个数、二级邻域区域个数以及其他邻域区域个数所占权重分别设定为0.6、0.3、0.1,则对于泡泡cε,定义纹理特征量颗粒密集度Zε,表达式如下:Denote the number of primary neighborhood regions of the particle region P u as qu , the number of secondary neighborhood regions as s u , and the number of other neighborhood regions as wu , then there is qu u +s u +w u =L ε -1; the weights occupied by the number of first-level neighborhood regions, the number of second-level neighborhood regions, and the number of other neighborhood regions are set to 0.6, 0.3, and 0.1, respectively, then for the bubble c ε , the texture feature quantity is defined The particle density Z ε is expressed as follows:
定义整幅图像的颗粒密集度G,如下式所示:Define the grain density G of the entire image, as shown in the following formula:
步骤六:通过颗粒密集度判定工况:Step 6: Determine the working condition by particle density:
当处于状态①时,泡泡表面纹理较细,药剂过量,泡泡中承载的矿物粒子超过了泡泡的承载量而使泡泡大量破碎,这种情况不仅药剂浪费比较严重而且精矿品位低;When in the state ①, the surface texture of the bubble is fine, the agent is excessive, and the mineral particles carried in the bubble exceed the bearing capacity of the bubble, causing the bubble to break a lot. In this case, the waste of the agent is not only serious, but also the grade of the concentrate is low. ;
当处于状态②时,浮选药剂适量,浮选性能好,浮选生产效率最高;When in state ②, the flotation agent is appropriate, the flotation performance is good, and the flotation production efficiency is the highest;
当处于状态③时,矿浆粘性低,药剂添加量欠缺,泡泡含矿量较少,含水量高,精矿品位低。When it is in state ③, the viscosity of the pulp is low, the dosage of the agent is insufficient, the ore content of the bubbles is less, the water content is high, and the grade of the concentrate is low.
步骤二中将泡泡图像由RGB彩色图像转化为灰度图像,得到图像的灰度矩阵A,其中N∈(400,800)。In step 2, the bubble image is converted from an RGB color image to a grayscale image, and the grayscale matrix A of the image is obtained, where N∈(400,800).
本发明定义了新的纹理特征颗粒密集度,用以反映整幅图像的纹理特征,有效避免了传统的纹理特征提取方法的局限性,并有效克服了浮选现场光照不均匀现象对纹理特征提取造成的影响,从而更准确的判断工况并有效指导加药。The invention defines a new texture feature particle density to reflect the texture feature of the entire image, effectively avoids the limitations of the traditional texture feature extraction method, and effectively overcomes the uneven illumination of the flotation scene to extract texture features. Therefore, it can more accurately judge the working conditions and effectively guide the dosing.
附图说明Description of drawings
图1是基于颗粒密集度的纹理特征度量方法的流程图。Fig. 1 is a flow chart of a texture feature measurement method based on particle density.
图2是步骤四中S3所提取的颗粒区域示意图。FIG. 2 is a schematic diagram of the particle area extracted by S3 in step four.
具体实施方式Detailed ways
图1是本发明流程图。Figure 1 is a flow chart of the present invention.
步骤一:利用浮选现场图像采集系统收集锌浮选的泡泡视频并将泡泡视频转换为连续图像,对采集到的锌浮选图像数据进行数据预处理,如下:Step 1: Use the flotation on-site image acquisition system to collect the bubble video of zinc flotation and convert the bubble video into continuous images, and perform data preprocessing on the collected zinc flotation image data, as follows:
1)剔除超出正常变化阈值的错误数据;1) Eliminate erroneous data that exceeds the normal change threshold;
2)剔除不完整的数据;2) Eliminate incomplete data;
步骤二:将泡泡图像由RGB彩色图像转化为灰度图像,得到图像的灰度矩阵A:Step 2: Convert the bubble image from an RGB color image to a grayscale image, and obtain the grayscale matrix A of the image:
egf表示的是灰度图像中的每一个像素点对应的灰度值,其中,g∈N,f∈N,N∈(400,800)。e gf represents the gray value corresponding to each pixel in the gray image, where g∈N, f∈N, N∈(400,800).
步骤三:泡泡图像中,泡泡常规的形态是表面光滑,高亮点位于单个泡泡凸起曲面的顶端,高亮点区域呈现最小灰度值,而以高亮点为中心,灰度值向下逐渐递增,在到达泡泡边界时达到最大值;而实际上,泡泡常常附着一些矿石或者杂志小颗粒,造成泡泡表面粗糙不平,而这些小颗粒的出现的数量与分布密集度与加药量和锌精矿品位有关系;Step 3: In the bubble image, the regular shape of the bubble is smooth surface, the highlight point is located at the top of the convex surface of a single bubble, the highlight point area has the minimum gray value, and the highlight point is the center, and the gray value is downward. It gradually increases and reaches the maximum value when it reaches the boundary of the bubble; in fact, the bubble is often attached to some small ore or magazine particles, causing the surface of the bubble to be rough, and the number and distribution density of these small particles are closely related to the dosing. The amount is related to the grade of zinc concentrate;
首先,对泡泡进行分割,采用分水岭的方法将泡泡分割得到h个单个的泡泡,并储存各个泡泡的灰度矩阵,得到单个泡泡的灰度矩阵集合B={b1,b2,b3,...,bλ,...,bh},bλ是第λ个泡泡灰度数值矩阵,h是分割后泡泡总的个数,在分割后的单个泡泡图像集合当中,筛选出泡泡尺寸大于1200像素值的泡泡,即为感兴趣区域,对于筛选后的泡泡,用单个泡泡的灰度均值代替此泡泡高亮点部分的灰度值,得到待检测泡泡灰度矩阵集合C={c1,c2,c3,...,cε,...,cK},K是符合泡泡尺寸要求的泡泡个数。First, segment the bubbles, use the watershed method to segment the bubbles to obtain h individual bubbles, and store the grayscale matrix of each bubble to obtain the grayscale matrix set of a single bubble B={b 1 ,b 2 ,b 3 ,...,b λ ,...,b h }, b λ is the λ-th bubble grayscale numerical matrix, h is the total number of In the bubble image collection, the bubbles with a bubble size greater than 1200 pixels are screened out, which is the region of interest. For the filtered bubbles, the grayscale value of a single bubble is used to replace the grayscale value of the highlighted part of the bubble. , obtain the gray-scale matrix set C={c 1 ,c 2 ,c 3 ,...,c ε ,...,c K } of the bubbles to be detected, where K is the number of bubbles that meet the bubble size requirements.
步骤四:颗粒区域的检测:Step 4: Detection of particle area:
1.非颗粒区域,泡泡表面是光滑的,灰度值的变化范围在渐变范围内;1. In the non-particle area, the surface of the bubble is smooth, and the variation range of the gray value is within the gradient range;
2.颗粒区域中灰度值的变化超出了渐变范围;2. The change of gray value in the particle area is beyond the gradient range;
采用以下步骤提取颗粒区域:Use the following steps to extract particle regions:
S1:对于分割筛选后的泡泡定义颗粒区域的搜索方式:对于泡泡cε,取0°、45°、90°、135°、180°、225°、270°、315°八个方向,在泡泡内任意一个方向上所有像素点的灰度值组成一个数组,单个泡泡的的最大宽度是个有限值,记泡泡最左侧像素点在灰度矩阵中的列数为Hm,记泡泡最右侧像素点在灰度矩阵中的列数为从Hn,搜索时候从泡泡灰度矩阵中的Hm列开始自左向右同时从泡泡上半部分边界开始自上向下开始搜索,初试搜索方向为270°。S1: The search method for defining the particle area of the divided and filtered bubbles: for the bubble c ε , take eight directions of 0°, 45°, 90°, 135°, 180°, 225°, 270°, 315°, The grayscale values of all pixels in any direction in the bubble form an array, the maximum width of a single bubble is a finite value, and the number of columns of the leftmost pixel of the bubble in the grayscale matrix is H m , Note that the number of columns of the rightmost pixel point of the bubble in the gray matrix is from H n , when searching, starting from the column H m in the gray matrix of the bubble, from left to right, and starting from the upper part of the boundary of the bubble and starting from the top Start the search downward, and the initial search direction is 270°.
S2:标记跳变点:S2: Mark the trip point:
(1)设置灰度渐变的阈值为[0,8],首先以泡泡上半部分边界最左侧的像素点为起点,从270°方向开始搜索,取步长为1,在270°方向上,下一个灰度值与当前灰度值的差值的模定义为灰度渐变值,将灰度渐变值与阈值进行比较,灰度渐变值超过阈值则将当前灰度值位置标记为跳变点d1,位置用笛卡尔坐标表示为:(x1,y1),第一个跳变点所在列H0记为颗粒区域的左边界,其中Hm<...<H0<H1<H2<...<Hk<Hk+1<Hk+2<...<Hn,H1为H0后第一列,依此类推,按此搜索方式依次从H0列往右搜索,直到第Hk+2列时候没有搜索到跳变点,则Hk+1列为此颗粒区域的右边界;(1) Set the threshold value of the grayscale gradient to [0,8]. First, start the search from the leftmost pixel point of the upper half boundary of the bubble as the starting point, start the search from the direction of 270°, take the step size as 1, and start the search in the direction of 270°. The modulo of the difference between the upper, next gray value and the current gray value is defined as the gray gradient value, and the gray gradient value is compared with the threshold value. If the gray gradient value exceeds the threshold value, the current gray value position is marked as jump. Change point d 1 , the position is expressed in Cartesian coordinates as: (x 1 , y 1 ), the column H 0 where the first jump point is located is recorded as the left boundary of the particle region, where H m <...<H 0 < H 1 <H 2 <...<H k <H k+1 <H k+2 <...<H n , H 1 is the first column after H 0 , and so on. Column H 0 is searched to the right, and no jump point is found until column H k+2 , then column H k+1 is the right boundary of this particle area;
(2)从H1列到Hk列之间,每一列自上向下按270°方向搜索,获得两个跳变点,在搜索第H1列时,记90度和270度射线方向的跳变点为d2和d3,取两个跳变点位置的中点作为位置中心发散点e1;以位置发散中心点e1为起点,按0°和180°射线方向往两边开始搜索,标记最近的跳变点的位置,d4,d5;以位置发散中心点为起点,按45°和225°射线方向往两边开始搜索,标记最近的跳变点的位置d6,d7;以位置发散中心点为起点,按135°和315°射线方向往两边开始搜索,标记最近的跳变点的位置d8,d9;(2) From column H 1 to column H k , each column is searched in the direction of 270° from top to bottom, and two jump points are obtained. When searching column H 1 , record the ray directions of 90 degrees and 270 degrees. The jump points are d 2 and d 3 , and the midpoint of the positions of the two jump points is taken as the position center divergence point e 1 ; the position divergence center point e 1 is taken as the starting point, and the search starts on both sides according to the 0° and 180° ray directions , mark the position of the nearest jump point, d 4 , d 5 ; take the position divergence center point as the starting point, start searching on both sides according to the 45° and 225° ray directions, and mark the position d 6 , d 7 of the nearest jump point ; Take the position divergence center point as the starting point, start searching on both sides according to the 135° and 315° ray directions, and mark the positions d 8 and d 9 of the nearest jump point;
S3:颗粒区域的提取:S3: Extraction of particle area:
对于泡泡cε,由H1列的位置发散中心点e1得到8个跳变点,H2,H3,...,Hk列的位置发散中心点e2,e3,...,ek分别得到8个跳变点,则该颗粒区域共得到8k个跳变点,若8k<24则此区域为噪点,不予考虑,当8k≥24时将这8k个跳变点依次相连即得到颗粒区域,记作Dr(r∈a),图2是所提取的颗粒区域示意图。For bubble c ε , 8 jump points are obtained from the position divergence center point e 1 of H 1 column, H 2 , H 3 ,...,H k column position divergence center point e 2 ,e 3 ,... ., e k get 8 jump points respectively, then the particle area gets 8k jump points in total, if 8k < 24, this area is noise, and it will not be considered, when 8k ≥ 24, these 8k jump points will be The particle regions are obtained by connecting them in sequence, denoted as D r (r∈a). Figure 2 is a schematic diagram of the extracted particle regions.
步骤五:颗粒区域中心点位置的确定:Step 5: Determine the position of the center point of the particle area:
对于颗粒区域Dr,记该颗粒区域的跳变点个数为tr,即该区域边界有tr个顶点,坐标为(xi,yi),i=1,2,...,tr,顶点与顶点(x1,y1)相同,则该颗粒区域的面积如下式所示:For the particle region D r , denote the number of transition points in the particle region as tr , that is, the region boundary has tr vertices, and the coordinates are (x i , y i ), i=1, 2,..., tr , vertex The same as the vertex (x 1 , y 1 ), the area of the particle region is given by the following formula:
颗粒区域的中心点坐标如下式所示:The coordinates of the center point of the particle area As shown in the following formula:
重复步骤四搜索出待检测泡泡集合中单个泡泡灰度数值矩阵中的所有颗粒区域,对于泡泡cε,统计颗粒区域的数量Lε,然后确定出各个颗粒区域的中心点坐标以不同颗粒区域中心点之间的直线距离定义一级、二级邻域区域以及其他邻域区域,对颗粒区域Pu,u∈a,定义如下:Repeat step 4 to search out all particle regions in the gray value matrix of a single bubble in the bubble set to be detected. For bubble c ε , count the number of particle regions L ε , and then determine the coordinates of the center point of each particle region The primary and secondary neighborhood regions and other neighborhood regions are defined by the straight-line distance between the center points of different particle regions. For the particle region P u , u ∈ a, the definitions are as follows:
其中v∈a且v≠u;where v∈a and v≠u;
记颗粒区域Pu的一级邻域区域个数为qu,二级邻域区域个数为su,其他邻域区域个数为wu,则有qu+su+wu=Lε-1;一级邻域区域个数、二级邻域区域个数以及其他邻域区域个数所占权重分别设定为0.6、0.3、0.1,则对于泡泡cε,定义纹理特征量颗粒密集度Zε,表达式如下:Denote the number of primary neighborhood regions of the particle region P u as qu , the number of secondary neighborhood regions as s u , and the number of other neighborhood regions as wu , then there is qu u +s u +w u =L ε -1; the weights occupied by the number of first-level neighborhood regions, the number of second-level neighborhood regions, and the number of other neighborhood regions are set to 0.6, 0.3, and 0.1, respectively, then for the bubble c ε , the texture feature quantity is defined The particle density Z ε is expressed as follows:
定义整幅图像的颗粒密集度G,如下式所示:Define the grain density G of the entire image, as shown in the following formula:
步骤六:通过颗粒密集度判定工况:Step 6: Determine the working condition by particle density:
当处于状态①时,泡泡表面纹理较细,药剂过量,泡泡中承载的矿物粒子超过了泡泡的承载量而使泡泡大量破碎,这种情况不仅药剂浪费比较严重而且精矿品位低;When in the state ①, the surface texture of the bubble is fine, the agent is excessive, and the mineral particles carried in the bubble exceed the bearing capacity of the bubble, causing the bubble to break a lot. In this case, the waste of the agent is not only serious, but also the grade of the concentrate is low. ;
当处于状态②时,浮选药剂适量,浮选性能好,浮选生产效率最高;When in state ②, the flotation agent is appropriate, the flotation performance is good, and the flotation production efficiency is the highest;
当处于状态③时,矿浆粘性低,药剂添加量欠缺,泡泡含矿量较少,含水量高,精矿品位低。When it is in state ③, the viscosity of the pulp is low, the dosage of the agent is insufficient, the ore content of the bubbles is less, the water content is high, and the grade of the concentrate is low.
步骤二中将泡泡图像由RGB彩色图像转化为灰度图像,得到图像的灰度矩阵A,其中N∈(400,800)。In step 2, the bubble image is converted from an RGB color image to a grayscale image, and the grayscale matrix A of the image is obtained, where N∈(400,800).
本发明定义了新的纹理特征颗粒密集度,用以反映整幅图像的纹理特征,有效避免了传统的纹理特征提取方法的局限性,并有效克服了浮选现场光照不均匀现象对纹理特征提取造成的影响,从而更准确的判断工况并有效指导加药。The invention defines a new texture feature particle density to reflect the texture feature of the entire image, effectively avoids the limitations of the traditional texture feature extraction method, and effectively overcomes the uneven illumination of the flotation scene to extract texture features. Therefore, it can more accurately judge the working conditions and effectively guide the dosing.
Claims (6)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910661088 | 2019-07-22 | ||
CN2019106610884 | 2019-07-22 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110738674A true CN110738674A (en) | 2020-01-31 |
CN110738674B CN110738674B (en) | 2021-03-02 |
Family
ID=69270787
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911005627.5A Active CN110738674B (en) | 2019-07-22 | 2019-10-22 | Texture feature measurement method based on particle density |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110738674B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113112432A (en) * | 2021-05-13 | 2021-07-13 | 广州道一科学技术有限公司 | Method for automatically identifying image strips |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000068672A1 (en) * | 1999-05-05 | 2000-11-16 | Antti Niemi | Method and apparatus for monitoring and analyzing the surface of floated material |
US20080013821A1 (en) * | 2004-05-20 | 2008-01-17 | Macgregor John F | Method For Controlling The Appearance Of Products And Process Performance By Image Analysis |
CN101339659A (en) * | 2008-08-22 | 2009-01-07 | 北京矿冶研究总院 | A Rule-Based Region Growing Image Segmentation Method |
CN102855492A (en) * | 2012-07-27 | 2013-01-02 | 中南大学 | Classification method based on mineral flotation foam image |
CN103632156A (en) * | 2013-12-23 | 2014-03-12 | 中南大学 | Multi-scale neighboring dependence matrix-based method for extracting froth image texture characteristics |
CN105405149A (en) * | 2015-11-20 | 2016-03-16 | 中南大学 | Composite texture feature extraction method for flotation froth image |
CN106257498A (en) * | 2016-07-27 | 2016-12-28 | 中南大学 | Zinc flotation work condition state division methods based on isomery textural characteristics |
US20170011506A1 (en) * | 2015-07-06 | 2017-01-12 | International Business Machines Corporation | System And Method For Characterizing NANO/MICRO Bubbles For Particle Recovery |
CN107705283A (en) * | 2017-06-14 | 2018-02-16 | 华北理工大学 | Particle and bubble hit detection method based on Otsu image segmentation |
CN108647722A (en) * | 2018-05-11 | 2018-10-12 | 中南大学 | A kind of zinc ore grade flexible measurement method of Kernel-based methods size characteristic |
CN108986077A (en) * | 2018-06-19 | 2018-12-11 | 东北大学 | Flotation froth operating mode's switch method based on dual-tree complex wavelet domain symbiosis augmented matrix |
CN110288591A (en) * | 2019-07-02 | 2019-09-27 | 中南大学 | Discrimination Method of Zinc Flotation Conditions Based on Improved Adaptive Multi-Population Genetic Algorithm |
-
2019
- 2019-10-22 CN CN201911005627.5A patent/CN110738674B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000068672A1 (en) * | 1999-05-05 | 2000-11-16 | Antti Niemi | Method and apparatus for monitoring and analyzing the surface of floated material |
US20080013821A1 (en) * | 2004-05-20 | 2008-01-17 | Macgregor John F | Method For Controlling The Appearance Of Products And Process Performance By Image Analysis |
CN101339659A (en) * | 2008-08-22 | 2009-01-07 | 北京矿冶研究总院 | A Rule-Based Region Growing Image Segmentation Method |
CN102855492A (en) * | 2012-07-27 | 2013-01-02 | 中南大学 | Classification method based on mineral flotation foam image |
CN103632156A (en) * | 2013-12-23 | 2014-03-12 | 中南大学 | Multi-scale neighboring dependence matrix-based method for extracting froth image texture characteristics |
US9652841B2 (en) * | 2015-07-06 | 2017-05-16 | International Business Machines Corporation | System and method for characterizing NANO/MICRO bubbles for particle recovery |
US20170011506A1 (en) * | 2015-07-06 | 2017-01-12 | International Business Machines Corporation | System And Method For Characterizing NANO/MICRO Bubbles For Particle Recovery |
CN105405149A (en) * | 2015-11-20 | 2016-03-16 | 中南大学 | Composite texture feature extraction method for flotation froth image |
CN106257498A (en) * | 2016-07-27 | 2016-12-28 | 中南大学 | Zinc flotation work condition state division methods based on isomery textural characteristics |
CN107705283A (en) * | 2017-06-14 | 2018-02-16 | 华北理工大学 | Particle and bubble hit detection method based on Otsu image segmentation |
CN108647722A (en) * | 2018-05-11 | 2018-10-12 | 中南大学 | A kind of zinc ore grade flexible measurement method of Kernel-based methods size characteristic |
CN108986077A (en) * | 2018-06-19 | 2018-12-11 | 东北大学 | Flotation froth operating mode's switch method based on dual-tree complex wavelet domain symbiosis augmented matrix |
CN110288591A (en) * | 2019-07-02 | 2019-09-27 | 中南大学 | Discrimination Method of Zinc Flotation Conditions Based on Improved Adaptive Multi-Population Genetic Algorithm |
Non-Patent Citations (2)
Title |
---|
XIAOLI WANG 等: "Process working condition recognition based on the fusion of morphological and pixel set features of froth for froth flotation", 《MINERALS ENGINEERING》 * |
桂卫华 等: "一种新的浮选泡沫图像纹理特征提取方法", 《中国科技论文》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113112432A (en) * | 2021-05-13 | 2021-07-13 | 广州道一科学技术有限公司 | Method for automatically identifying image strips |
Also Published As
Publication number | Publication date |
---|---|
CN110738674B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA3006240C (en) | A stepwise refinement detection method for pavement cracks | |
CN110458119B (en) | A rapid identification method of concrete aggregate gradation by non-contact measurement | |
CN102902974B (en) | Image based method for identifying railway overhead-contact system bolt support identifying information | |
CN103969168B (en) | A kind of method for quantitatively determining of loose mineral cross-sectional hole rate | |
CN102750703A (en) | Remote sensing image airport automatic detecting method based on linear cutting | |
CN110118775A (en) | Plantmix's cement stabilized macadam aggregate forms rapid detection method | |
CN105354600B (en) | A kind of automatic classification method of sandstone microsection | |
CN112964712A (en) | Method for rapidly detecting state of asphalt pavement | |
CN103839057A (en) | Antimony floatation working condition recognition method and system | |
CN105260805B (en) | A kind of antimony ore grade flexible measurement method selectively merged based on isomery grader | |
CN110084129A (en) | A kind of river drifting substances real-time detection method based on machine vision | |
CN114694144A (en) | An intelligent identification and rating method for non-metallic inclusions in steel based on deep learning | |
CN110728253B (en) | A Texture Feature Measurement Method Based on Grain Roughness | |
CN110728676B (en) | A Texture Feature Measurement Method Based on Sliding Window Algorithm | |
CN116109616A (en) | Pavement crack detection and small-surface element fitting detection method based on YOLOv5 | |
CN110728677B (en) | A Texture Roughness Definition Method Based on Sliding Window Algorithm | |
CN105405149B (en) | A kind of compounded texture feature extracting method of floatation foam image | |
Liu et al. | Intelligent detection of hidden distresses in asphalt pavement based on GPR and deep learning algorithm | |
CN110738674A (en) | A texture feature measurement method based on particle density | |
Gui et al. | Object-based crack detection and attribute extraction from laser-scanning 3D profile data | |
CN112949463B (en) | Method and system for establishing and detecting aggregate grading rapid detection model | |
CN104655642B (en) | A kind of automatic measurement of steel cracking type defect, sign sorting technique and its system | |
CN115640546A (en) | Lithology identification method based on fusion of image and feature information | |
CN101980295A (en) | Detection method of the Yellow River's main slip line based on skewness analysis | |
CN110766673B (en) | Texture roughness defining method based on Euclidean distance judgment |
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 |