CN103345636A - Method for identifying foam working condition on copper flotation site based on wavelet multi-scale binaryzation - Google Patents

Method for identifying foam working condition on copper flotation site based on wavelet multi-scale binaryzation Download PDF

Info

Publication number
CN103345636A
CN103345636A CN2013102527518A CN201310252751A CN103345636A CN 103345636 A CN103345636 A CN 103345636A CN 2013102527518 A CN2013102527518 A CN 2013102527518A CN 201310252751 A CN201310252751 A CN 201310252751A CN 103345636 A CN103345636 A CN 103345636A
Authority
CN
China
Prior art keywords
foam
image
wavelet
sigma
equivalent
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
Application number
CN2013102527518A
Other languages
Chinese (zh)
Other versions
CN103345636B (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.)
Central South University
Original Assignee
Central South 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 Central South University filed Critical Central South University
Priority to CN201310252751.8A priority Critical patent/CN103345636B/en
Publication of CN103345636A publication Critical patent/CN103345636A/en
Application granted granted Critical
Publication of CN103345636B publication Critical patent/CN103345636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

本发明公开了一种基于小波多尺度二值化的铜浮选现场泡沫工况识别方法,首先对泡沫灰度图像进行小波变换;然后分别对不同尺度的小波逼近子图进行二值化;最后,根据二维小波变换的空间-频率关系,对各二值图像的白色区域面积进行统计计算,得到一种新的与泡沫表观形态直接相关的多尺度统计特征——等效尺寸特征。根据所获得的等效尺寸特征,可进一步得到泡沫图像等效尺寸分布图,由分布图便能直接将不同工况的泡沫图像区分开来。本发明简单有效,对指导铜浮选现场泡沫工况识别有重要意义。

Figure 201310252751

The invention discloses a copper flotation on-site foam working condition recognition method based on wavelet multi-scale binarization. First, wavelet transform is performed on the foam grayscale image; then, wavelet approximation subgraphs of different scales are binarized; finally According to the space-frequency relationship of the two-dimensional wavelet transform, the white area area of each binary image is statistically calculated, and a new multi-scale statistical feature directly related to the foam appearance is obtained—the equivalent size feature. According to the obtained equivalent size characteristics, the equivalent size distribution map of the foam image can be further obtained, and the foam images of different working conditions can be directly distinguished from the distribution map. The invention is simple and effective, and has great significance for instructing the identification of foam working conditions on the spot of copper flotation.

Figure 201310252751

Description

基于小波多尺度二值化的铜浮选现场泡沫工况识别方法Recognition method of copper flotation field foam condition based on wavelet multi-scale binarization

技术领域technical field

本发明涉及一种基于小波多尺度二值化的铜浮选现场泡沫工况识别方法,属于图像处理技术和模式识别等领域。The invention relates to a wavelet multi-scale binarization-based recognition method for copper flotation foam working conditions, which belongs to the fields of image processing technology, pattern recognition and the like.

背景技术Background technique

浮选工况即浮选生产过程中的工作状况,及时准确地识别工况对指导浮选生产至关重要。传统的依靠作业工人肉眼观察泡沫表观变化的方式,已无法满足当今浮选生产快速准确识别工况的需要。随着机器视觉及图像处理等技术的飞速发展,结合浮选现场泡沫特征进行智能识别工况的工作取得了很大进展。通过快速准确的识别浮选现场的工况类别,浮选生产控制系统可及时调整生产参数,使浮选生产过程始终保持在最优状态。The flotation working condition is the working condition in the flotation production process, timely and accurate identification of the working condition is very important to guide the flotation production. The traditional way of relying on workers to observe the apparent changes of foam with naked eyes can no longer meet the needs of rapid and accurate identification of working conditions in today's flotation production. With the rapid development of technologies such as machine vision and image processing, great progress has been made in the intelligent identification of working conditions based on the foam characteristics of flotation sites. By quickly and accurately identifying the working conditions of the flotation site, the flotation production control system can adjust production parameters in time to keep the flotation production process in an optimal state.

研究表明,由肉眼直接观测到的泡沫大小、颜色等泡沫表面视觉特征(以下简称泡沫表观特征)是浮选工况的综合反映。如何准确提取浮选过程中与关键生产指标密切相关的泡沫表观特征,是实现浮选工况识别的关键。应用于铜浮选工况识别的传统特征主要通过分割方法获得,包括泡沫颜色、尺寸、承载率、速度及稳定度等,但这些直接通过分割原始图像获得的特征不具备多尺度特性。二值图像是表征一幅图像的最简单形式。将泡沫灰度图像二值化,可以得到泡沫个数、面积等形态统计特征。与图像分割方法一样,利用二值化方法所获得的泡沫特征也不具备多尺度特性。小波分析具有多尺度特性,能模拟人的视觉系统对信号进行多通道时频域分析,从而能够得到信息更加丰富的统计特征。利用小波分析提取的传统统计特征虽然具有多尺度特性,但很难描绘符合作业工人视觉习惯的泡沫表观形态,因而直接影响工况的准确判断。Studies have shown that the visual characteristics of the foam surface such as the size and color of the foam directly observed by the naked eye (hereinafter referred to as the apparent characteristics of the foam) are a comprehensive reflection of the flotation conditions. How to accurately extract the foam appearance characteristics closely related to key production indicators in the flotation process is the key to realize the identification of flotation conditions. The traditional features applied to the recognition of copper flotation conditions are mainly obtained by segmentation methods, including foam color, size, loading rate, velocity and stability, etc., but these features obtained directly by segmenting the original image do not have multi-scale characteristics. A binary image is the simplest form of representing an image. By binarizing the foam grayscale image, the morphological statistical features such as the number and area of the foam can be obtained. Like the image segmentation method, the foam features obtained by the binarization method do not have multi-scale characteristics. Wavelet analysis has multi-scale characteristics, and can simulate the human visual system to analyze signals in multi-channel time-frequency domain, so as to obtain statistical features with more information. Although the traditional statistical features extracted by wavelet analysis have multi-scale characteristics, it is difficult to describe the appearance of foam that conforms to the visual habits of workers, thus directly affecting the accurate judgment of working conditions.

因此,有必要设计一种基于小波多尺度二值化的铜浮选现场泡沫工况识别方法。Therefore, it is necessary to design a method for identifying foam conditions in copper flotation based on wavelet multi-scale binarization.

发明内容Contents of the invention

本发明所要解决的技术问题是提供一种基于小波多尺度二值化的铜浮选现场泡沫工况识别方法,该基于小波多尺度二值化的铜浮选现场泡沫工况识别方法易于实施,实施成本低,识别效果好。The technical problem to be solved by the present invention is to provide a copper flotation on-site foam working condition identification method based on wavelet multi-scale binarization, which is easy to implement, The implementation cost is low and the recognition effect is good.

发明的技术解决方案如下:The technical solution of the invention is as follows:

一种泡沫图像等效尺寸特征的提取方法,其特征在于,包括以下步骤:A method for extracting foam image equivalent size features, comprising the following steps:

步骤一:根据铜浮选现场所获得的泡沫视频获取三维泡沫图像,将三维泡沫图像进行灰度化,然后对所得的二维灰度图像进行小波分解,从而得到不同尺度上的小波子图,忽略各阶细节子图的特征,仅对各阶逼近子图进行单支重构,得到重构逼近子图;Step 1: Obtain a 3D foam image from the foam video obtained at the copper flotation site, convert the 3D foam image to grayscale, and then perform wavelet decomposition on the obtained 2D grayscale image to obtain wavelet subgraphs on different scales, Ignore the characteristics of each order detail subgraph, and only perform single-branch reconstruction on each order approximation subgraph to obtain the reconstructed approximation subgraph;

步骤二:根据测不准原理和离散小波频域关系,推算出不同阶次子图的泡沫直径变化范围;Step 2: According to the uncertainty principle and the discrete wavelet frequency domain relationship, calculate the range of foam diameter variation of subgraphs of different orders;

步骤三:利用最大类间方差法将各重构逼近子图二值化,得到二值图像,统计出各二值图像的泡沫总体面积,进而求得泡沫等效尺寸特征;最后结合步骤二推算出的泡沫直径变化范围,计算出等效泡沫个数,进而得到泡沫等效尺寸分布图;【一幅泡沫图像经小波变换后能得到多个逼近子图,后面再对这些逼近子图(多个图像)进行进一步处理,便得到对应的等效尺寸分布图。】Step 3: Use the maximum inter-class variance method to binarize each reconstructed approximation sub-image to obtain a binary image, count the total area of the foam in each binary image, and then obtain the equivalent size characteristics of the foam; finally combine with step 2 to calculate Calculate the number of equivalent foams based on the obtained foam diameter variation range, and then obtain the foam equivalent size distribution map; [A foam image can be transformed into multiple approximation subgraphs after wavelet transformation, and then these approximation subgraphs (multiple images) for further processing to obtain the corresponding equivalent size distribution map. 】

步骤四:将泡沫等效尺寸分布图与基准分布图比较,确定当前泡沫图像对应的铜浮选现场工况。Step 4: Compare the foam equivalent size distribution map with the benchmark distribution map to determine the copper flotation field conditions corresponding to the current foam image.

所述步骤一包括以下子步骤:Described step one comprises following sub-steps:

步骤1:原始泡沫图像灰度化;Step 1: Grayscale the original foam image;

原始三维RGB泡沫图像K(X×Y×3)灰度化后变为二维灰度图像I(X×Y)The original three-dimensional RGB foam image K (X×Y×3) becomes a two-dimensional grayscale image I (X×Y) after being grayscaled;

步骤2:选择sym4小波对二维灰度图像进行五阶分解,在每个分解阶次,二维小波变换将产生一个逼近子图和水平、垂直、对角线三个不同方向的细节子图;Step 2: Select the sym4 wavelet to decompose the 2D grayscale image to the fifth order. At each decomposition order, the 2D wavelet transform will generate an approximation subimage and detail subimages in three different directions: horizontal, vertical, and diagonal ;

在每个分解阶次的小波变换公式为:The wavelet transform formula at each decomposition order is:

Figure BDA00003394837600021
Figure BDA00003394837600021

在每个分解阶次中的逼近系数矩阵

Figure BDA00003394837600022
和3个细节系数矩阵可由二维小波分解的Mallat算法获得:matrix of approximation coefficients in each decomposition order
Figure BDA00003394837600022
and 3 detail coefficient matrices It can be obtained by the Mallat algorithm of two-dimensional wavelet decomposition:

c k , m j = Σ l , n h ‾ 2 k - l h ‾ 2 m - n c l , n j + 1 d k , m j , 1 = Σ l , n h ‾ 2 k - l g ‾ 2 m - n c l , n j + 1 d k , m j , 2 = Σ l , n g ‾ 2 k - l h ‾ 2 m - n c l , n j + 1 d k , m j , 3 = Σ l , n g ‾ 2 k - l g ‾ 2 m - n c l , n j + 1 公式2 c k , m j = Σ l , no h ‾ 2 k - l h ‾ 2 m - no c l , no j + 1 d k , m j , 1 = Σ l , no h ‾ 2 k - l g ‾ 2 m - no c l , no j + 1 d k , m j , 2 = Σ l , no g ‾ 2 k - l h ‾ 2 m - no c l , no j + 1 d k , m j , 3 = Σ l , no g ‾ 2 k - l g ‾ 2 m - no c l , no j + 1 Formula 2

式中尺度函数为:3个小波函数分别为:ψ1(x,y)=φ(x)ψ(y),ψ2(x,y)=ψ(x)φ(y),ψ3(x,y)=ψ(x)ψ(y),其中

Figure BDA00003394837600034
分别表示一维正交多分辨分析的两尺度方程和小波方程;j为分解层数,本例中进行五阶小波分解,则取j=5,4,3,2,1;k,m∈Z分别代表系数矩阵的行和列,l,n∈Z分别代表系数矩阵
Figure BDA00003394837600036
的行和列;【在进行第一阶小波变换时,l=600,n=800,k=300,m=400】系数序列h={hi}是一个低通滤波器,有h={-0.076,-0.030,0.498,0.804,0.298,-0.100,-0.013,0.032},
Figure BDA00003394837600037
为h的时序反转
Figure BDA00003394837600038
系数序列g={gi}是一个高通滤波器且gi=(-1)ih1-i为g的时序反转 The scaling function in the formula is: The three wavelet functions are: ψ 1 (x, y) = φ(x)ψ(y), ψ 2 (x, y) = ψ(x)φ(y), ψ 3 (x, y) = ψ (x)ψ(y), where and
Figure BDA00003394837600034
Represent the two-scale equation and wavelet equation of one-dimensional orthogonal multiresolution analysis; j is the number of decomposition layers. In this example, for fifth-order wavelet decomposition, j=5, 4, 3, 2, 1; k, m∈ Z represents the coefficient matrix respectively The rows and columns of , l, n∈Z respectively represent the coefficient matrix
Figure BDA00003394837600036
row and column; [when performing the first-order wavelet transform, l=600, n=800, k=300, m=400] the coefficient sequence h={h i } is a low-pass filter, and h={ -0.076, -0.030, 0.498, 0.804, 0.298, -0.100, -0.013, 0.032},
Figure BDA00003394837600037
Timing reversal for h
Figure BDA00003394837600038
The coefficient sequence g={g i } is a high-pass filter and g i =(-1) i h 1-i , timing reversal for g

首先应用公式1进行第一阶的二维小波变换,得到1个逼近子图和3个细节子图,其系数由公式2计算;然后,利用公式1对一阶逼近子图(低频部分)

Figure BDA000033948376000311
继续进行第二阶的二维小波变换,再次得到1个逼近子图和3个细节子图;依此类推,即可得到的五个分解阶次的小波变换;相应地,便得到灰度图像I(X×Y)的多尺度表示;Firstly, formula 1 is used to perform the first-order two-dimensional wavelet transform, and one approximation subgraph and three detail subgraphs are obtained, and the coefficients are calculated by formula 2; then, the first-order approximation subgraph (low frequency part) is obtained by using formula 1
Figure BDA000033948376000311
Continue to carry out the second-order two-dimensional wavelet transform to obtain 1 approximation subgraph and 3 detail subgraphs again; and so on, you can get The wavelet transform of the five decomposition orders of ; correspondingly, the multi-scale representation of the grayscale image I (X×Y) is obtained;

步骤3:忽略各阶细节子图的特征,仅对各阶逼近子图进行单支重构,得到重构逼近子图:Step 3: Ignore the characteristics of each order detail subgraph, and only perform single-branch reconstruction on each order approximation subgraph to obtain the reconstructed approximation subgraph:

将五个逼近重构子图分别记作Sv,v=1,2,…,5,它们代表了不同尺度下泡沫子图的轮廓部分,其系数矩阵通过以下重构公式求得:The five approximation reconstruction subgraphs are denoted as S v , v=1, 2, ..., 5, which represent the contours of the foam subgraphs at different scales, and their coefficient matrix is obtained by the following reconstruction formula:

c k , m j + 1 = Σ l , n h k - 2 l h m - 2 n c l , n j + Σ l , n h k - 2 l g m - 2 n d l , n j , 1 + Σ l , n g k - 2 l h m - 2 n d l , n j , 2 + Σ l , n g k - 2 l g m - 2 n d l , n j , 3 公式3。 c k , m j + 1 = Σ l , no h k - 2 l h m - 2 no c l , no j + Σ l , no h k - 2 l g m - 2 no d l , no j , 1 + Σ l , no g k - 2 l h m - 2 no d l , no j , 2 + Σ l , no g k - 2 l g m - 2 no d l , no j , 3 Formula 3.

所述的步骤二中,In the second step,

离散小波不同尺度信号之间的频域关系为:逼近信号fj(t)的频率宽度仅是fj+1(t)频率宽度的一半;fj+1(t)频率宽度的另一半由细节信号dj(t)表现;The frequency domain relationship between discrete wavelet signals of different scales is: the frequency width of the approximation signal f j (t) is only half of the frequency width of f j+1 (t); the other half of the frequency width of f j+1 (t) is given by Detail signal d j (t) performance;

表1Table 1

逼近子图approximation subgraph 频率范围Frequency Range 空间范围Spatial range A1A1 0~0.5π0~0.5π 0~10~1 A2A2 0~0.25π0~0.25π 0~20~2 A3A3 0~0.125π0~0.125π 0~40~4 A4A4 0~0.0625π0~0.0625π 0~80~8 A5A5 0~0.03125π0~0.03125π 0~160~16

【由测不准原理可知,小波多尺度分析的空间频率窗口面积具有不变性。因此,各重构子图的频率宽度分别对应不同空间宽度。】根据离散小波不同尺度信号之间的频域关系和测不准原理得到五个逼近子图的空间频率关系如表1所示。【表中的空间范围就是图6中的等效直径范围】【According to the uncertainty principle, the spatial frequency window area of wavelet multi-scale analysis is invariant. Therefore, the frequency widths of each reconstructed submap correspond to different spatial widths. 】According to the frequency domain relationship between discrete wavelet signals of different scales and the uncertainty principle, the spatial frequency relationship of the five approximation subgraphs is shown in Table 1. [The spatial range in the table is the equivalent diameter range in Figure 6]

所述的步骤三包括以下子步骤:Described step three comprises the following substeps:

步骤1:根据最大类间方差法计算出各重构子图的最佳阈值,对各重构子图进行二值化,并统计出各二值图像的泡沫总体面积:Step 1: Calculate the optimal threshold value of each reconstructed submap according to the maximum between-class variance method, perform binarization on each reconstructed submap, and count the total area of foam in each binary image:

设Sv有L个灰度级,灰度值是i的像素数为ni,则总的像素数是

Figure BDA00003394837600041
各灰度值出现的概率为
Figure BDA00003394837600042
设以灰度Lth为门限将图像分割成2个区域,灰度级为1~Lth的像素区域A,灰度级为Lth+1~L-1的像素区域B:A、B出现的概率分别为:Suppose S v has L gray levels, and the number of pixels whose gray value is i is n i , then the total number of pixels is
Figure BDA00003394837600041
The probability of occurrence of each gray value is
Figure BDA00003394837600042
Let the gray level L th be used as the threshold to divide the image into two areas, the pixel area A with a gray level of 1 to L th , and the pixel area B with a gray level of L th +1 to L-1: A and B appear The probabilities are:

pp AA == ΣΣ ii == 00 LL ththe th pp ii ,, pp BB == ΣΣ ii == LL ththe th ++ 11 LL -- 11 pp ii == 11 -- pp AA ;;

A和B两类的灰度均值分别为:The gray mean values of A and B are:

ωω AA == ΣΣ ii == 00 LL ththe th ipip ii pp AA ,, ωω BB == ΣΣ ii == LL ththe th ++ 11 LL -- 11 ipip ii pp BB ;;

从而可以得到图像总的灰度均值:In this way, the total gray value of the image can be obtained:

ωω 00 == pp AA ωω AA ++ pp BB ωω BB == ΣΣ ii == LL ththe th == 11 LL -- 11 ipip ii ;;

由此可以得到A、B两区域的类间方差:From this, the between-class variance of A and B regions can be obtained:

σ2=pAA0)2+pBB0)2σ 2 =p AA0 ) 2 +p BB0 ) 2 ;

为得到最优分割阈值,以两类的类间方差作为判别准则,使σ2值最大的

Figure BDA00003394837600051
即为所求的最佳阈值:In order to obtain the optimal segmentation threshold, the variance between the two classes is used as the discriminant criterion, and the one with the largest σ2 value
Figure BDA00003394837600051
That is the optimal threshold value sought:

LL ththe th ,, vv ** == ArgArg MaxMax 00 ≤≤ LL ththe th ≤≤ LL -- 11 [[ pp AA (( ωω AA -- ωω 00 )) 22 ++ pp BB (( ωω BB -- ωω 00 )) 22 ]] ,, VV == 1,2,3,4,51,2,3,4,5 ,,

计算出各逼近重构子图的最佳阈值

Figure BDA00003394837600053
再根据
Figure BDA00003394837600054
分别对Sv进行二值化,得到五个二值图像,统计各二值图像的白色区域面积,即得到泡沫总体面积,记为Av;Calculate the optimal threshold for each approximation reconstruction subgraph
Figure BDA00003394837600053
Then according to
Figure BDA00003394837600054
Carry out binarization to Sv respectively, obtain five binary images, count the white area area of each binary image, promptly obtain the total foam area, denote as Av ;

步骤2:相邻二值图像泡沫总体面积相减,得到泡沫等效尺寸特征;Step 2: Subtract the total area of the foam in adjacent binary images to obtain the equivalent size feature of the foam;

将相邻二值图像的泡沫总体面积相减,得到泡沫子图等效面积,记为EqSubtract the total foam area of adjacent binary images to obtain the equivalent area of the foam sub-image, which is denoted as E q ;

有,Eq=Aq+1-Aq,q=1,2,3,4;Yes, E q = A q+1 -A q , q = 1, 2, 3, 4;

Eq即为通过多尺度二值化所求得的泡沫等效尺寸特征,下标q为等效尺寸特征的个数,q+1为分解阶次;由于分解阶次为5,则4个等效尺寸特征分别对应4个连续的泡沫直径变化范围:1~2,2~4,4~8,8~16;【这个范围是分析小波子图之间的空间-频率关系直接得到的,而不是由面积得到。这里的直径是等效直径,因此未给单位。】E q is the foam equivalent size feature obtained by multi-scale binarization, the subscript q is the number of equivalent size features, and q+1 is the decomposition order; since the decomposition order is 5, then 4 The equivalent size features correspond to four continuous foam diameter ranges: 1~2, 2~4, 4~8, 8~16; [this range is directly obtained by analyzing the space-frequency relationship between wavelet subgraphs, rather than by area. The diameters here are equivalent diameters, so units are not given. 】

步骤3:根据推算出的泡沫直径变化范围,计算出等效泡沫个数,进而得到泡沫等效尺寸分布图;Step 3: Calculate the number of equivalent foams according to the calculated foam diameter variation range, and then obtain the foam equivalent size distribution diagram;

以Dq为泡沫直径变化范围的平均值,4个泡沫直径变化范围对应的Dq分别为1.5,3,6,12,根据下式求出各阶次的等效泡沫个数:Taking D q as the average value of the range of foam diameter variation, the corresponding D q of the four foam diameter ranges are 1.5, 3, 6, and 12 respectively, and the number of equivalent foams of each order is calculated according to the following formula:

Figure BDA00003394837600055
【这个个数就是图6中的频数】
Figure BDA00003394837600055
[This number is the frequency in Figure 6]

最终得到当前工况泡沫图像的等效尺寸分布图。Finally, the equivalent size distribution diagram of the foam image under the current working condition is obtained.

所述的步骤四中,基准分布图的获取方法为:先由多幅已知工况的图像经步骤一至三获得多个泡沫等效尺寸分布图,对所得的多个泡沫等效尺寸分布图进行统计,从而得到基准分布图;所述的统计指统计出在不同工况下的各泡沫图像等效直径的泡沫频数,基准分布图为离线得到的。In the step 4, the method for obtaining the reference distribution map is: first obtain a plurality of foam equivalent size distribution maps from a plurality of images of known working conditions through steps 1 to 3, and obtain a plurality of foam equivalent size distribution maps Perform statistics to obtain a reference distribution map; the statistics refer to counting the foam frequency of the equivalent diameter of each foam image under different working conditions, and the reference distribution map is obtained off-line.

有益效果:Beneficial effect:

本发明的基于小波多尺度二值化的铜浮选现场泡沫工况识别方法,将小波多尺度分析与图像二值化相结合,利用小波多尺度二值化来提取一种新的与泡沫表观形态直接相关的多尺度统计特征——等效尺寸特征。根据该特征来识别铜浮选生产工况,对于稳定铜浮选工况,实现铜浮选过程的优化控制有重要的意义。The copper flotation on-site foam working condition recognition method based on wavelet multi-scale binarization of the present invention combines wavelet multi-scale analysis with image binarization, and utilizes wavelet multi-scale binarization to extract a new The multi-scale statistical feature directly related to the appearance and shape - the equivalent size feature. Identifying the production conditions of copper flotation based on this feature is of great significance for stabilizing the working conditions of copper flotation and realizing the optimal control of the copper flotation process.

本发明所提取的特征是原始图像在不同尺度上的表达,具有多尺度特性;同时该特征与泡沫表观形态直接相关,不同的泡沫图像对应不同的等效尺寸分布。通过比较等效尺寸分布图可以直接将不同工况的泡沫图像区分开来,因此简单有效,对指导铜浮选工况识别有重要意义。The feature extracted by the present invention is the expression of the original image on different scales, and has multi-scale characteristics; at the same time, the feature is directly related to the apparent shape of the foam, and different foam images correspond to different equivalent size distributions. By comparing the equivalent size distribution diagrams, the foam images of different working conditions can be directly distinguished, so it is simple and effective, and it is of great significance to guide the identification of copper flotation working conditions.

附图说明Description of drawings

图1三种不同工况的泡沫图像;Figure 1 Foam images of three different working conditions;

图2泡沫图像五阶小波分解的树状图;Figure 2 The dendrogram of the fifth-order wavelet decomposition of the foam image;

图3泡沫图像重构逼近子图;Fig. 3 Foam image reconstruction approximation subgraph;

图4离散小波不同尺度信号之间的频域关系;Figure 4 The frequency domain relationship between discrete wavelet signals of different scales;

图5五个逼近子图的空间频率关系;The spatial frequency relationship of the five approximation subgraphs in Fig. 5;

图6三种不同工况泡沫图像的等效尺寸分布。Figure 6. Equivalent size distribution of foam images under three different working conditions.

具体实施方式Detailed ways

以下将结合附图和具体实施例对本发明做进一步详细说明:The present invention will be described in further detail below in conjunction with accompanying drawing and specific embodiment:

实施例1:Example 1:

下面结合附图对本发明的具体实施方式进行描述,某铜浮选现场有三种不同工况的泡沫,分别为正常泡沫、水化泡沫和粘性泡沫,这三种不同工况的泡沫图像如图1所示。Below in conjunction with accompanying drawing the specific embodiment of the present invention is described, and certain copper flotation site has the foam of three kinds of different working conditions, is respectively normal foam, hydration foam and viscous foam, and the foam image of these three kinds of different working conditions is shown in Figure 1 shown.

第一步,根据铜浮选现场所获得的泡沫视频,获取泡沫图像,并将三维图像进行灰度化。然后对二维灰度图像进行小波分解,得到不同尺度上的小波子图。忽略各阶细节子图的特征,仅对各阶逼近子图进行单支重构,得到重构逼近子图。In the first step, according to the foam video obtained at the copper flotation site, the foam image is obtained, and the three-dimensional image is grayscaled. Then wavelet decomposition is performed on the two-dimensional grayscale image to obtain wavelet subgraphs on different scales. Ignore the characteristics of each order detail subgraph, and only perform single-branch reconstruction on each order approximation subgraph to obtain the reconstructed approximation subgraph.

步骤1:原始泡沫图像灰度化;Step 1: Grayscale the original foam image;

原始三维RGB泡沫图像K(X×Y×3)灰度化后变为二维灰度图像I(X×Y)The original three-dimensional RGB foam image K (X×Y×3) becomes a two-dimensional grayscale image I (X×Y) after being grayscaled;

步骤2:选择sym4小波对灰度图像进行五阶分解,在每个分解阶次,二维小波变换将产生一个逼近子图和水平、垂直、对角线三个不同方向的细节子图,图2为泡沫图像五阶小波分解树状图;Step 2: Select the sym4 wavelet to decompose the grayscale image to the fifth order. In each decomposition order, the two-dimensional wavelet transform will generate an approximation subgraph and three detail subgraphs in different directions: horizontal, vertical and diagonal. Fig. 2 is the fifth-order wavelet decomposition dendrogram of the foam image;

在每个分解阶次的小波变换公式为:The wavelet transform formula at each decomposition order is:

Figure BDA00003394837600071
Figure BDA00003394837600071

在每个分解阶次中的逼近系数矩阵

Figure BDA00003394837600072
和3个细节系数矩阵
Figure BDA00003394837600073
可由二维小波分解的Mallat算法获得:matrix of approximation coefficients in each decomposition order
Figure BDA00003394837600072
and 3 detail coefficient matrices
Figure BDA00003394837600073
It can be obtained by the Mallat algorithm of two-dimensional wavelet decomposition:

cc kk ,, mm jj == ΣΣ ll ,, nno hh ‾‾ 22 kk -- ll hh ‾‾ 22 mm -- nno cc ll ,, nno jj ++ 11 dd kk ,, mm jj ,, 11 == ΣΣ ll ,, nno hh ‾‾ 22 kk -- ll gg ‾‾ 22 mm -- nno cc ll ,, nno jj ++ 11 dd kk ,, mm jj ,, 22 == ΣΣ ll ,, nno gg ‾‾ 22 kk -- ll hh ‾‾ 22 mm -- nno cc ll ,, nno jj ++ 11 dd kk ,, mm jj ,, 33 == ΣΣ ll ,, nno gg ‾‾ 22 kk -- ll gg ‾‾ 22 mm -- nno cc ll ,, nno jj ++ 11 -- -- -- (( 22 ))

式中尺度函数为:

Figure BDA00003394837600075
3个小波函数分别为:ψ1(x,y)=φ(x)ψ(y),ψ2(x,y)=ψ(x)φ(y),ψ3(x,y)=ψ(x)ψ(y),其中
Figure BDA00003394837600077
分别表示一维正交多分辨分析的两尺度方程和小波方程;j为分解层数,本例中进行五阶小波分解,则取j=5,4,3,2,1;k,m∈Z分别代表系数矩阵
Figure BDA00003394837600078
的行和列,l,n∈Z分别代表系数矩阵
Figure BDA00003394837600079
的行和列;【在进行第一阶小波变换时,l=600,n=800,k=300,m=400】系数序列h={hi}是一个低通滤波器,有h={-0.076,-0.030,0.498,0.804,0.298,-0.100,-0.013,0.032},为h的时序反转
Figure BDA000033948376000711
系数序列g={gi}是一个高通滤波器且gi=(-1)ih1-i
Figure BDA000033948376000712
为g的时序反转
Figure BDA000033948376000713
The scaling function in the formula is:
Figure BDA00003394837600075
The three wavelet functions are: ψ 1 (x, y) = φ(x)ψ(y), ψ 2 (x, y) = ψ(x)φ(y), ψ 3 (x, y) = ψ (x)ψ(y), where and
Figure BDA00003394837600077
Represent the two-scale equation and wavelet equation of one-dimensional orthogonal multiresolution analysis; j is the number of decomposition layers. In this example, for fifth-order wavelet decomposition, j=5, 4, 3, 2, 1; k, m∈ Z represents the coefficient matrix respectively
Figure BDA00003394837600078
The rows and columns of , l, n∈Z respectively represent the coefficient matrix
Figure BDA00003394837600079
row and column; [when performing the first-order wavelet transform, l=600, n=800, k=300, m=400] the coefficient sequence h={h i } is a low-pass filter, and h={ -0.076, -0.030, 0.498, 0.804, 0.298, -0.100, -0.013, 0.032}, Timing reversal for h
Figure BDA000033948376000711
The coefficient sequence g={g i } is a high-pass filter and g i =(-1) i h 1-i ,
Figure BDA000033948376000712
timing reversal for g
Figure BDA000033948376000713

首先应用公式(1)进行第一层的二维小波变换,(取j=5,k=300,m=400,l=600,n=800,)得到1个逼近子图

Figure BDA000033948376000714
和3个细节子图(
Figure BDA000033948376000715
Figure BDA000033948376000716
),其系数由公式(2)计算,此时
Figure BDA000033948376000718
即为步骤1所获得的二维灰度图像矩阵I(X×Y)(
Figure BDA000033948376000719
的计算步骤为:对任一固定的列数n=800,先用
Figure BDA000033948376000720
Figure BDA000033948376000721
的每个列向量作卷积,进行向下二抽样得到
Figure BDA000033948376000722
然后再用
Figure BDA000033948376000723
Figure BDA000033948376000724
的每个行向量作卷积,进行向下二抽样得到
Figure BDA000033948376000725
);然后,再利用公式(1)对一阶逼近子图(低频部分)
Figure BDA00003394837600081
继续进行第二层的二维小波变换(此时j=4,k=150,m=200,l=300,n=400),再次得到1个逼近子图 ( c k , m j = c 150,200 4 ) 和3个细节子图( d k , m j , 1 = d 150,200 4,1 , d k , m j , 2 = d 150,200 4,2 , );依此类推,即得到
Figure BDA00003394837600086
的五个分解阶次的小波变换,相应地,便得到灰度图像I(X×Y)的多尺度表示;First apply the formula (1) to carry out the two-dimensional wavelet transform of the first layer, (take j=5, k=300, m=400, l=600, n=800,) to get an approximation subgraph
Figure BDA000033948376000714
and 3 detail subgraphs (
Figure BDA000033948376000715
Figure BDA000033948376000716
), its coefficient is calculated by formula (2), at this time
Figure BDA000033948376000718
That is, the two-dimensional grayscale image matrix I (X×Y) obtained in step 1 (
Figure BDA000033948376000719
The calculation steps of are: for any fixed number of columns n=800, first use
Figure BDA000033948376000720
and
Figure BDA000033948376000721
Each column vector of is convolved, and the second sampling is performed to obtain
Figure BDA000033948376000722
and then use
Figure BDA000033948376000723
and
Figure BDA000033948376000724
Each row vector of is convolved, and the second sampling is performed to obtain
Figure BDA000033948376000725
); Then, use the formula (1) to approximate the first-order subgraph (low frequency part)
Figure BDA00003394837600081
Continue to carry out the two-dimensional wavelet transform of the second layer (at this time j=4, k=150, m=200, l=300, n=400), and obtain 1 approximation subgraph again ( c k , m j = c 150,200 4 ) and 3 detail subgraphs ( d k , m j , 1 = d 150,200 4,1 , d k , m j , 2 = d 150,200 4,2 , ); and so on, we get
Figure BDA00003394837600086
The wavelet transform of the five decomposition orders of , correspondingly, the multi-scale representation of the gray image I (X×Y) is obtained;

步骤3:忽略各阶细节子图的特征,仅对各阶逼近子图进行单支重构,得到重构逼近子图,如图3所示;Step 3: Ignore the characteristics of the detailed subgraphs of each order, and only perform single-branch reconstruction on the approximation subgraphs of each order to obtain the reconstructed approximation subgraph, as shown in Figure 3;

随着分解阶次的增加,小波子图逐渐变小。为获得与原始图像大小一致的子图,并保持各子图的频率分量,需进行单支重构。进行单支重构时,仅利用单个子图的小波系数进行信号重构,其它子图的小波系数置为零。由于逼近子图反映泡沫图像的轮廓,而细节子图反映泡沫图像的细节变化,因此,在获得泡沫尺寸特征时,可以忽略各阶细节子图,仅对逼近子图进行重构。将五个逼近重构子图分别记作Sv(v=1,2,…,5),它们代表了不同尺度下泡沫子图的轮廓部分,其系数矩阵可通过重构公式求得:As the decomposition order increases, the wavelet subgraph becomes smaller gradually. In order to obtain subimages with the same size as the original image and maintain the frequency components of each subimage, single-branch reconstruction is required. When performing single-branch reconstruction, only the wavelet coefficients of a single subgraph are used for signal reconstruction, and the wavelet coefficients of other subgraphs are set to zero. Since the approximation subgraph reflects the contour of the foam image, and the detail subgraph reflects the detail changes of the foam image, when obtaining the foam size feature, the detail subgraph of each order can be ignored, and only the approximation subgraph can be reconstructed. The five approximation reconstruction subgraphs are respectively denoted as Sv ( v=1, 2, ..., 5), which represent the contours of the foam subgraphs at different scales, and their coefficient matrix can be obtained by the reconstruction formula:

cc kk ,, mm jj ++ 11 == ΣΣ ll ,, nno hh kk -- 22 ll hh mm -- 22 nno cc ll ,, nno jj ++ ΣΣ ll ,, nno hh kk -- 22 ll gg mm -- 22 nno dd ll ,, nno jj ,, 11 ++ ΣΣ ll ,, nno gg kk -- 22 ll hh mm -- 22 nno dd ll ,, nno jj ,, 22 ++ ΣΣ ll ,, nno gg kk -- 22 ll gg mm -- 22 nno dd ll ,, nno jj ,, 33 -- -- -- (( 33 ))

第二步,根据测不准原理和离散小波频域关系,推算出不同阶次子图的泡沫直径变化范围。In the second step, according to the uncertainty principle and the discrete wavelet frequency domain relationship, the range of foam diameter variation in subgraphs of different orders is deduced.

离散小波不同尺度信号之间的频域关系如图4所示。其中,fj、fj-1、fj-2代表不同尺度的逼近信号,dj-1、dj-2代表不同尺度的细节信号。The frequency domain relationship between discrete wavelet signals of different scales is shown in Figure 4. Among them, f j , f j-1 , f j-2 represent approximation signals at different scales, and d j-1 , d j-2 represent detail signals at different scales.

由测不准原理可知,小波多尺度分析的空间频率窗口面积具有不变性。因此,各重构子图的频率宽度分别对应不同空间宽度。根据图4和测不准原理可得五个逼近子图的空间频率关系,如图5所示。According to the uncertainty principle, the spatial frequency window area of wavelet multi-scale analysis is invariant. Therefore, the frequency widths of each reconstructed submap correspond to different spatial widths. According to Figure 4 and the uncertainty principle, the spatial frequency relationship of the five approximate subgraphs can be obtained, as shown in Figure 5.

第三步,利用最大类间方差法将各重构子图二值化,统计出各二值图像的泡沫总体面积。再通过计算求得泡沫等效尺寸特征。最后结合第二步推算出的泡沫直径变化范围,计算出等效泡沫个数,进而得到泡沫等效尺寸分布图。In the third step, each reconstructed subimage is binarized by using the method of maximum variance between classes, and the total foam area of each binary image is calculated. Then calculate the foam equivalent size characteristics. Finally, combined with the variation range of the foam diameter calculated in the second step, the number of equivalent foams is calculated, and then the foam equivalent size distribution diagram is obtained.

步骤1:根据最大类间方差法计算出各重构子图的最佳阈值,对其进行二值化,并统计出各二值图像的泡沫总体面积;Step 1: Calculate the optimal threshold value of each reconstructed subimage according to the maximum between-class variance method, perform binarization on it, and count the total area of the foam in each binary image;

设Sv有L个灰度级,灰度值是i的像素数为ni,则总的像素数是

Figure BDA00003394837600091
各灰度值出现的概率为
Figure BDA00003394837600092
显然pi≥0,
Figure BDA00003394837600093
设以灰度t为门限将图像分割成2个区域,灰度级为1~Lth的像素区域A,灰度级为Lth+1~L-1的像素区域B。A、B出现的概率分别为:Suppose S v has L gray levels, and the number of pixels whose gray value is i is n i , then the total number of pixels is
Figure BDA00003394837600091
The probability of occurrence of each gray value is
Figure BDA00003394837600092
Obviously p i ≥ 0,
Figure BDA00003394837600093
Assume that the image is divided into two areas with the gray level t as the threshold, the pixel area A with the gray level of 1~ Lth , and the pixel area B with the gray level of Lth +1~L-1. The probabilities of A and B appearing are:

pp AA == ΣΣ ii == 00 LL ththe th pp ii ,, pp BB == ΣΣ ii == LL ththe th ++ 11 LL -- 11 pp ii == 11 -- pp AA -- -- -- (( 44 ))

A和B两类的灰度均值分别为:The gray mean values of the two classes A and B are:

ωω AA == ΣΣ ii == 00 LL ththe th ipip ii pp AA ,, ωω BB == ΣΣ ii == LL ththe th ++ 11 LL -- 11 ipip ii pp BB -- -- -- (( 55 ))

从而可以得到图像总的灰度均值:In this way, the total gray value of the image can be obtained:

ωω 00 == pp AA ωω AA ++ pp BB ωω BB == ΣΣ ii == LL ththe th == 11 LL -- 11 ipip ii -- -- -- (( 66 ))

由此可以得到A、B两区域的类间方差:From this, the between-class variance of A and B regions can be obtained:

σ2=pAA0)2+pBB0)2  (7)σ 2 =p AA0 ) 2 +p BB0 ) 2 (7)

为得到最优分割阈值,以两类的类间方差作为判别准则,使σ2值最大的

Figure BDA00003394837600099
即为所求的最佳阈值:In order to obtain the optimal segmentation threshold, the variance between the two classes is used as the discriminant criterion, and the one with the largest σ2 value
Figure BDA00003394837600099
That is the optimal threshold value sought:

LL ththe th ,, vv ** == ArgArg MaxMax 00 ≤≤ LL ththe th ≤≤ LL -- 11 [[ pp AA (( ωω AA -- ωω 00 )) 22 ++ pp BB (( ωω BB -- ωω 00 )) 22 ]] ,, VV == 1,2,3,4,51,2,3,4,5 -- -- -- (( 88 ))

计算出各逼近重构子图的最佳阈值

Figure BDA000033948376000911
再根据
Figure BDA000033948376000912
分别对Sv进行二值化,得到五个二值图像。统计各二值图像的白色区域面积,从而得到泡沫总体面积,记为Av。Calculate the optimal threshold for each approximation reconstruction subgraph
Figure BDA000033948376000911
Then according to
Figure BDA000033948376000912
Binarize S v separately to obtain five binary images. The area of the white area of each binary image is counted to obtain the total area of the foam, which is denoted as A v .

步骤2:相邻二值图像泡沫总体面积相减,得到泡沫等效尺寸特征;Step 2: Subtract the total area of the foam in adjacent binary images to obtain the equivalent size feature of the foam;

将相邻二值图像的泡沫总体面积相减,得到泡沫子图等效面积,记为Eq。Eq即为通过多尺度二值化所求得的泡沫等效尺寸特征,q为等效尺寸特征的个数,q+1为分解阶次。由于分解阶次为5,则4个等效尺寸特征分别对应4个连续的泡沫直径变化范围:1~2,2~4,4~8,8~16。Subtract the total foam area of adjacent binary images to obtain the equivalent area of the foam sub-image, which is denoted as E q . E q is the foam equivalent size feature obtained by multi-scale binarization, q is the number of equivalent size features, and q+1 is the decomposition order. Since the decomposition order is 5, the 4 equivalent size features correspond to 4 continuous foam diameter ranges: 1~2, 2~4, 4~8, 8~16.

Eq=Aq+1-Aq,q=1,2,3,4  (9)E q =A q+1 -A q , q=1, 2, 3, 4 (9)

步骤3:根据推算出的泡沫直径变化范围,计算出等效泡沫个数,进而得到泡沫等效尺寸分布图;Step 3: Calculate the number of equivalent foams according to the calculated foam diameter variation range, and then obtain the foam equivalent size distribution diagram;

由于泡沫形状近似为圆,其面积可由π(Dq/2)2计算得出,取Dq为泡沫直径变化范围的平均值,分别为1.5,3,6,12,根据下式即可求出各阶次的等效泡沫个数。Since the shape of the foam is approximately a circle, its area can be calculated by π(D q /2) 2 , and D q is taken as the average value of the range of foam diameters, which are 1.5, 3, 6, and 12 respectively, and can be obtained according to the following formula Calculate the number of equivalent foams of each order.

NN qq == EE. qq ππ (( DD. qq // 22 )) 22 -- -- -- (( 1010 ))

最终得到当前工况泡沫图像的等效尺寸分布图。Finally, the equivalent size distribution diagram of the foam image under the current working condition is obtained.

第四步,将实时获得的泡沫等效尺寸分布图与基准分布图进行比较,确定当前泡沫图像对应的铜浮选现场泡沫工况。The fourth step is to compare the foam equivalent size distribution map obtained in real time with the reference distribution map to determine the foam working condition of the copper flotation site corresponding to the current foam image.

基准分布图的获取方法为:首先将采集的铜浮选现场历史泡沫视频进行人工分类,从而获得三种不同工况的多幅泡沫图像,然后经步骤一至三分别对这三种泡沫图像进行处理,获得多个泡沫等效尺寸分布图,最后对所得的多个泡沫等效尺寸分布图进行统计,得到基准分布图,如图6所示。The method of obtaining the benchmark distribution map is as follows: firstly, manually classify the collected historical froth videos of the copper flotation site, so as to obtain multiple froth images of three different working conditions, and then process the three froth images respectively through steps 1 to 3 , to obtain multiple foam equivalent size distribution diagrams, and finally perform statistics on the obtained multiple foam equivalent size distribution diagrams to obtain a benchmark distribution diagram, as shown in FIG. 6 .

由图6可知,正常泡沫大小尺寸分布比较均匀,主要集中在2~10;水化泡沫小泡沫居多,尺寸分布主要集中在1~4;粘性泡沫的尺寸分布与正常泡沫的相近,但其小泡沫比正常泡沫的多,大泡沫比正常泡沫的少。将实时获得的泡沫等效尺寸分布图与基准分布图进行比较,观察(如采用人工观察)此时的泡沫等效尺寸分布情况,从而便能对当前铜浮选现场泡沫工况进行识别。It can be seen from Figure 6 that the normal foam size distribution is relatively uniform, mainly concentrated in 2-10; the hydration foam is mostly small foam, and the size distribution is mainly concentrated in 1-4; the size distribution of viscous foam is similar to that of normal foam, but its small There is more foam than normal, and the large foam is less than normal. Compare the foam equivalent size distribution map obtained in real time with the reference distribution map, and observe (for example, use manual observation) the foam equivalent size distribution at this time, so that the current foam working conditions of the copper flotation site can be identified.

结果表明,本发明所提特征既包含了多尺度信息,又与泡沫表观形态直接相关,不同的泡沫图像对应不同的等效尺寸分布,通过比较分布图可以直接将不同工况的泡沫图像区分开来。该方法简单有效,对指导铜浮选现场泡沫工况识别有重要意义。The results show that the features proposed in the present invention not only contain multi-scale information, but also are directly related to the foam appearance. Different foam images correspond to different equivalent size distributions. By comparing the distribution maps, the foam images of different working conditions can be directly distinguished. open. This method is simple and effective, and it is of great significance to guide the identification of foam conditions in copper flotation.

Claims (5)

1. a froth images equivalent dimension Feature Extraction method is characterized in that, may further comprise the steps:
Step 1: the foam video that obtains according to copper flotation scene obtains the three-dimensional foam image, the three-dimensional foam image is carried out gray processing, two dimensional gray image to gained carries out wavelet decomposition then, thereby obtain the small echo subgraph on the different scale, the feature of ignoring each rank details subgraph, only each rank ll channel is carried out single reconstruct, obtain the reconstruct ll channel;
Step 2: according to uncertainty principle and discrete wavelet frequency domain relation, extrapolate the foam diameter variation range of different order subgraphs;
Step 3: utilize maximum variance between clusters with each reconstruct ll channel binaryzation, obtain bianry image, count the foam total area of each bianry image, and then try to achieve foam equivalent dimension feature; The foam diameter variation range that last integrating step two is extrapolated calculates equivalent foam number, and then obtains foam equivalent dimension distribution plan;
Step 4: foam equivalent dimension distribution plan and benchmark distribution plan are compared, determine the copper flotation field working conditions of current froth images correspondence.
2. froth images equivalent dimension Feature Extraction method according to claim 1 is characterized in that the described step
Rapid one comprises following substep:
Step 1: original froth images gray processing;
Original three-dimensional RGB froth images K (X * Y * 3)Become the two dimensional gray image I behind the gray processing (X * Y)
Step 2: select the sym4 small echo that the two dimensional gray image is carried out five rank and decompose, decompose order at each, two-dimensional wavelet transformation will produce the details subgraph of a ll channel and level, vertical, three different directions of diagonal line;
At each wavelet transformation formula that decomposes order be:
Figure FDA00003394837500011
Formula 1
Decompose the matrix of coefficients that approaches in order at each
Figure FDA00003394837500012
With 3 detail coefficients matrixes
Figure FDA00003394837500013
Can be obtained by the Mallat algorithm that 2-d wavelet decomposes:
c k , m j = Σ l , n h ‾ 2 k - l h ‾ 2 m - n c l , n j + 1 d k , m j , 1 = Σ l , n h ‾ 2 k - l g ‾ 2 m - n c l , n j + 1 d k , m j , 2 = Σ l , n g ‾ 2 k - l h ‾ 2 m - n c l , n j + 1 d k , m j , 3 = Σ l , n g ‾ 2 k - l g ‾ 2 m - n c l , n j + 1 Formula 2
Formula mesoscale function is: 3 wavelet functions are respectively: ψ 1(x, y)=φ (x) ψ (y), ψ 2(x, y)=ψ (x) φ (y), ψ 3(x, y)=ψ (x) ψ (y), wherein
Figure FDA00003394837500022
With
Figure FDA00003394837500023
Two yardstick equations and the little wave equation of representing an orthogonal dimension multiresolution analysis respectively; J carries out five rank wavelet decomposition for decomposing the number of plies in this example, then get j=5,4,3,2,1; K, m ∈ Z is the system of representatives matrix number respectively
Figure FDA00003394837500024
Row and column, l, n ∈ Z be the system of representatives matrix number respectively
Figure FDA00003394837500025
Row and column; Coefficient sequence h=(h iBe a low-pass filter, and h={-0.076 is arranged ,-0.030,0.498,0.804,0.298 ,-0.100 ,-0.013,0.032},
Figure FDA00003394837500026
Sequential counter-rotating for h
Figure FDA00003394837500027
Coefficient sequence g={g iBe a Hi-pass filter and g i=(1) ih 1-i,
Figure FDA00003394837500028
Sequential counter-rotating for g
Figure FDA00003394837500029
At first application of formula 1 is carried out the two-dimensional wavelet transformation on first rank, obtains 1 ll channel and 3 details subgraphs, and its coefficient is calculated by formula 2; Then, utilize 1 pair of single order ll channel of formula (low frequency part)
Figure FDA000033948375000210
Proceed the two-dimensional wavelet transformation on second rank, obtain 1 ll channel and 3 details subgraphs again; The rest may be inferred, can obtain Five wavelet transformations that decompose orders; Correspondingly, just obtain gray level image I (X * Y)Multiple dimensioned expression;
Step 3: ignore the feature of each rank details subgraph, only each rank ll channel is carried out single reconstruct, obtain the reconstruct ll channel:
Approaching the reconstruct subgraph with five remembers respectively and makes S v, v=1,2 ..., 5, they have represented the outline portion of foam subgraph under the different scale, and its matrix of coefficients is tried to achieve by following reconstruction formula:
c k , m j + 1 = Σ l , n h k - 2 l h m - 2 n c l , n j + Σ l , n h k - 2 l g m - 2 n d l , n j , 1 + Σ l , n g k - 2 l h m - 2 n d l , n j , 2 + Σ l , n g k - 2 l g m - 2 n d l , n j , 3 Formula 3.
3. froth images equivalent dimension Feature Extraction method according to claim 1 is characterized in that, in the described step 2,
Frequency domain between the discrete wavelet different scale signal closes: approximation signal f j(t) band width only is f J+1(t) half of band width; f J+1(t) second half of band width is by detail signal d j(t) performance;
Table 1
Ll channel Frequency range Spatial dimension A1 0~0.5π 0~1 A2 0~0.25π 0~2
A3 0~0.125π 0~4 A4 0~0.0625π 0~8 A5 0~0.03125π 0~16
The spatial frequency that obtains five ll channels according to the frequency domain between discrete wavelet different scale signal relation and uncertainty principle concerns as shown in table 1.
4. froth images equivalent dimension Feature Extraction method according to claim 1 is characterized in that described step 3 comprises following substep:
Step 1: calculate the optimal threshold of each reconstruct subgraph according to maximum variance between clusters, each reconstruct subgraph is carried out binaryzation, and count the foam total area of each bianry image:
If S vL gray level arranged, and gray-scale value is that the pixel count of i is n i, then total pixel count is
Figure FDA00003394837500031
The probability that each gray-scale value occurs is
Figure FDA00003394837500032
If with gray scale L ThFor thresholding is divided into 2 zones with image, gray level is 1~L ThPixel region A, gray level is L ThThe probability that pixel region B:A, the B of+1~L-1 occurs is respectively:
p A = Σ i = 0 L th p i , p B = Σ i = L th + 1 L - 1 p i = 1 - p A ;
The gray average of A and B two classes is respectively:
ω A = Σ i = 0 L th ip i p A , ω B = Σ i = L th + 1 L - 1 ip i p B ;
Thereby can obtain the total gray average of image:
ω 0 = p A ω A + p B ω B = Σ i = L th = 1 L - 1 ip i ;
Can obtain the inter-class variance in A, B two zones thus:
σ 2=p AA0) 2+p BB0) 2
For obtaining the optimum segmentation threshold value, as criterion, make σ with the inter-class variance of two classes 2The value maximum
Figure FDA00003394837500038
Be the optimal threshold of asking:
L th , v * = Arg Max 0 ≤ L th ≤ L - 1 [ p A ( ω A - ω 0 ) 2 + p B ( ω B - ω 0 ) 2 ] , V = 1,2,3,4,5 ,
Calculate the optimal threshold that respectively approaches the reconstruct subgraph Basis again Respectively to S vCarry out binaryzation, obtain five bianry images, add up the white portion area of each bianry image, namely obtain the foam total area, be designated as A v
Step 2: adjacent binary image foam total area is subtracted each other, and obtains foam equivalent dimension feature;
The foam total area of adjacent binary image is subtracted each other, obtain foam subgraph equivalent area, be designated as E qHave,
E q=A q+1-A q,q=1,2,3,4;
E qBe the foam equivalent dimension feature of trying to achieve by multiple dimensioned binaryzation, subscript q is the number of equivalent dimension feature, and q+1 is for decomposing order; Because decomposing order is 5, then 4 equivalent dimension features are distinguished corresponding 4 continuous foam diameter variation ranges: 1~2,2~4,4~8,8~16; [this scope is that the space-frequency relation between the analysis wavelet subgraph directly obtains, rather than is obtained by area.The diameter here is equivalent diameter, does not therefore give unit.】
Step 3: according to the foam diameter variation range of extrapolating, calculate equivalent foam number, and then obtain foam equivalent dimension distribution plan;
With D qBe the mean value of foam diameter variation range, the D of 4 foam diameter variation range correspondences qBe respectively 1.5,3,6,12, obtain the equivalent foam number of each order according to following formula:
Figure FDA00003394837500041
Finally obtain the equivalent dimension distribution plan of current working froth images.
5. froth images equivalent dimension Feature Extraction method according to claim 1, it is characterized in that, in the described step 4, the acquisition methods of benchmark distribution plan is: the image by several known operating modes obtains a plurality of foam equivalent dimension distribution plans through step 1 to three earlier, a plurality of foam equivalent dimension distribution plans to gained are added up, thereby obtain the benchmark distribution plan; Described statistics refers to count the foam frequency of each the froth images equivalent diameter under different operating modes, and the benchmark distribution plan is that off-line obtains.
CN201310252751.8A 2013-06-24 2013-06-24 Based on the copper flotation site bubble condition recognition methods of multi-scale wavelet binaryzation Active CN103345636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310252751.8A CN103345636B (en) 2013-06-24 2013-06-24 Based on the copper flotation site bubble condition recognition methods of multi-scale wavelet binaryzation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310252751.8A CN103345636B (en) 2013-06-24 2013-06-24 Based on the copper flotation site bubble condition recognition methods of multi-scale wavelet binaryzation

Publications (2)

Publication Number Publication Date
CN103345636A true CN103345636A (en) 2013-10-09
CN103345636B CN103345636B (en) 2016-04-13

Family

ID=49280431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310252751.8A Active CN103345636B (en) 2013-06-24 2013-06-24 Based on the copper flotation site bubble condition recognition methods of multi-scale wavelet binaryzation

Country Status (1)

Country Link
CN (1) CN103345636B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559496A (en) * 2013-11-15 2014-02-05 中南大学 Extraction method for multi-scale multi-direction textural features of froth images
CN103632156A (en) * 2013-12-23 2014-03-12 中南大学 Multi-scale neighboring dependence matrix-based method for extracting froth image texture characteristics
CN103971379A (en) * 2014-05-30 2014-08-06 中南大学 Single-vidicon equivalent binocular stereoscopic vision model based foam stereoscopic feature extraction method
CN109371633A (en) * 2018-11-29 2019-02-22 余姚市朗硕电器科技有限公司 Foam spreads condition detecting system
CN112054806A (en) * 2020-09-15 2020-12-08 西南交通大学 A Data Compression Method for Subway Plug-in Doors Based on Two-dimensional Adaptive Threshold Wavelet

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334844A (en) * 2008-07-18 2008-12-31 中南大学 Key Feature Extraction Method for Flotation Froth Image Analysis
US20100080439A1 (en) * 2008-04-04 2010-04-01 Lina Jamil Karam Automatic Cell Migration and Proliferation Analysis
CN102855492A (en) * 2012-07-27 2013-01-02 中南大学 Classification method based on mineral flotation foam image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100080439A1 (en) * 2008-04-04 2010-04-01 Lina Jamil Karam Automatic Cell Migration and Proliferation Analysis
CN101334844A (en) * 2008-07-18 2008-12-31 中南大学 Key Feature Extraction Method for Flotation Froth Image Analysis
CN102855492A (en) * 2012-07-27 2013-01-02 中南大学 Classification method based on mineral flotation foam image

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LIU,J.J. ET AL.: "Flotation froth monitoring using multiresolutional multivariate image analysis", 《MINERALS ENGINEERING》 *
郭建平: "基于向量形态学重构的铜浮选泡沫图像分割方法研究及应用", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559496A (en) * 2013-11-15 2014-02-05 中南大学 Extraction method for multi-scale multi-direction textural features of froth images
CN103559496B (en) * 2013-11-15 2016-08-17 中南大学 The extracting method of the multiple dimensioned multi-direction textural characteristics of froth images
CN103632156A (en) * 2013-12-23 2014-03-12 中南大学 Multi-scale neighboring dependence matrix-based method for extracting froth image texture characteristics
CN103632156B (en) * 2013-12-23 2016-06-22 中南大学 Froth images texture characteristic extracting method based on multiple dimensioned neighborhood correlation matrix
CN103971379A (en) * 2014-05-30 2014-08-06 中南大学 Single-vidicon equivalent binocular stereoscopic vision model based foam stereoscopic feature extraction method
CN103971379B (en) * 2014-05-30 2017-07-28 中南大学 Foam stereoscopic features extracting method based on the equivalent binocular stereo vision model of single camera
CN109371633A (en) * 2018-11-29 2019-02-22 余姚市朗硕电器科技有限公司 Foam spreads condition detecting system
CN112054806A (en) * 2020-09-15 2020-12-08 西南交通大学 A Data Compression Method for Subway Plug-in Doors Based on Two-dimensional Adaptive Threshold Wavelet
CN112054806B (en) * 2020-09-15 2023-07-25 西南交通大学 Subway sliding plug door data compression method based on two-dimensional self-adaptive threshold wavelet

Also Published As

Publication number Publication date
CN103345636B (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN107229917B (en) A common salient target detection method for multiple remote sensing images based on iterative clustering
CN104063686B (en) Crop leaf diseases image interactive diagnostic system and method
CN110648342B (en) A foam infrared image segmentation method based on NSST saliency detection and graph cut
CN108053417A (en) A kind of lung segmenting device of the 3DU-Net networks based on mixing coarse segmentation feature
CN103345636B (en) Based on the copper flotation site bubble condition recognition methods of multi-scale wavelet binaryzation
CN104933709A (en) Automatic random-walk CT lung parenchyma image segmentation method based on prior information
CN103208097B (en) Filtering method is worked in coordination with in the principal component analysis of the multi-direction morphosis grouping of image
CN103517065B (en) Method for objectively evaluating quality of degraded reference three-dimensional picture
CN101527043B (en) Video picture segmentation method based on moving target outline information
CN105335975B (en) Polarization SAR image segmentation method based on low-rank decomposition and statistics with histogram
CN101587189B (en) Texture elementary feature extraction method for synthetizing aperture radar images
CN106203444A (en) Classification of Polarimetric SAR Image method based on band ripple Yu convolutional neural networks
CN104636721A (en) Palm print identification method based on contour and edge texture feature fusion
CN104299232A (en) SAR image segmentation method based on self-adaptive window directionlet domain and improved FCM
Valliammal et al. Leaf image segmentation based on the combination of wavelet transform and k means clustering
CN109429051A (en) Based on multiple view feature learning without reference stereoscopic video quality method for objectively evaluating
CN103632156B (en) Froth images texture characteristic extracting method based on multiple dimensioned neighborhood correlation matrix
CN107330873B (en) Stereo image quality objective evaluation method based on multi-scale binocular fusion and local feature extraction
CN101419669A (en) Three-dimensional human ear extracting method based on profile wave convert
CN104144339B (en) A kind of matter based on Human Perception is fallen with reference to objective evaluation method for quality of stereo images
Gambino et al. Automatic skull stripping in MRI based on morphological filters and fuzzy c-means segmentation
CN103871060B (en) Image partition method based on steady direction wave zone probability graph model
CN103914840B (en) A kind of human body contour outline extraction method for non-simple background
CN103108209B (en) Stereo image objective quality evaluation method based on integration of visual threshold value and passage
CN104331864B (en) Based on the processing of the breast image of non-down sampling contourlet and the significant model of vision

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant