CN1588429A - Automatic identifying method for skin micro imiage symptom - Google Patents
Automatic identifying method for skin micro imiage symptom Download PDFInfo
- Publication number
- CN1588429A CN1588429A CN 200410053539 CN200410053539A CN1588429A CN 1588429 A CN1588429 A CN 1588429A CN 200410053539 CN200410053539 CN 200410053539 CN 200410053539 A CN200410053539 A CN 200410053539A CN 1588429 A CN1588429 A CN 1588429A
- Authority
- CN
- China
- Prior art keywords
- symptom
- average
- recorded
- edge
- value
- 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
Images
Landscapes
- Image Analysis (AREA)
- Investigating Or Analysing Biological Materials (AREA)
Abstract
本发明涉及一种皮肤显微图像症状的自动识别方法。它是向微机输入皮肤显微图像预处理后的症状分割图像,提取症状分割图像的特征参数转化成反映症状分类本质的特征向量,将该特征向量按基于支持向量机的识别算法进行识别运算而识别症状的属性,然后在微机显示器上以文字显示出该症状的属性。本发明为皮肤诊断系统奠定了基础,能够作为皮肤诊断系统的实现依据。
The invention relates to an automatic recognition method for skin microscopic image symptoms. It is to input the preprocessed symptom segmentation image of the skin microscopic image into the microcomputer, extract the characteristic parameters of the symptom segmentation image and convert it into a feature vector reflecting the essence of symptom classification, and then carry out the recognition operation on the feature vector according to the recognition algorithm based on the support vector machine. Identify the attribute of the symptom, and then display the attribute of the symptom in text on the microcomputer display. The invention lays the foundation for the skin diagnosis system and can be used as the realization basis of the skin diagnosis system.
Description
技术领域technical field
本发明涉及一种图像自动识别方法,特别是一种皮肤显微图像症状自动识别方法。The invention relates to an image automatic recognition method, in particular to a skin microscopic image symptom automatic recognition method.
背景技术Background technique
皮肤显微图像症状的自动识别方法包含两个方面:首先是从皮肤显微图像的症状分割图像提取特征参数,然后依据其特征参数进行分类识别,从而得出皮肤症状的属性。The automatic recognition method of skin microscopic image symptoms includes two aspects: firstly, feature parameters are extracted from the symptom segmentation image of skin microscopic images, and then classified and identified according to the characteristic parameters, so as to obtain the attributes of skin symptoms.
现有技术中,皮肤症状特征的提取有:模仿皮肤专家视觉诊断的方法,提取皮肤症状的大小(用直径或面积表示,亦可用针尖、针头、米粒、绿豆、豌豆、花生米、龙眼、荔枝、核桃、鸡蛋、拳头、手掌等实物比拟),形状(椭圆形、半球形、尖顶形、扁平形、多角形、弧形、环形、不规则形),颜色(红、黄、褐、黑、白、正常肤色等),色泽(如鲜红、淡红、暗红等),表面(光滑或粗糙,乳头状或菜花状,尖顶,中心有无脐窝),边缘(清楚或模糊,整齐或呈现浸润状,隆起或凹陷等),质地(坚实或柔软、囊性、波动感),排列(系多发性损害形成的不同图性,有线状、多环状、群集性、散在性,带状或伞状)。这种方法较为复杂,难以准确掌握分析。In the prior art, the extraction of skin symptoms features includes: imitating the method of skin expert visual diagnosis, extracting the size of skin symptoms (represented by diameter or area, also available needle point, needle head, rice grain, mung bean, pea, peanut, longan, litchi , walnuts, eggs, fists, palms, etc.), shape (oval, hemispherical, pointed, flat, polygonal, arc, ring, irregular), color (red, yellow, brown, black, white, normal skin color, etc.), color (such as bright red, light red, dark red, etc.), surface (smooth or rough, papillary or cauliflower-shaped, pointed, with or without umbilical fossa in the center), edge (clear or fuzzy, neat or present Infiltrating, raised or depressed, etc.), texture (solid or soft, cystic, fluctuating), arrangement (different patterns formed by multiple lesions, linear, multi-ring, clustered, scattered, banded or umbrella). This method is more complex and difficult to accurately grasp the analysis.
图像分类的方法有很多,例如统计模式分类法,结构法,分类树以及神经网络等,但对于高维和海量分类识别问题,以及在没有先验知识的情况下,采用这些方法都很难得到满意的结果。人工神经网络法在小规模分类中是比较有效的,但人工神经网络学习算法有其固有的缺点,如网络结构的确定尚无可靠的规则,容易达到局部最优点。因此,对于小样本、多类别的训练集,人工神经网络会产生较严重的过拟合(overfitting)问题,即拟合结果好而预报效果差的问题。There are many methods of image classification, such as statistical pattern classification, structural method, classification tree and neural network, etc., but for high-dimensional and massive classification recognition problems, and without prior knowledge, it is difficult to use these methods to obtain satisfaction. the result of. The artificial neural network method is more effective in small-scale classification, but the artificial neural network learning algorithm has its inherent shortcomings. For example, there is no reliable rule for determining the network structure, and it is easy to reach the local optimum. Therefore, for small-sample, multi-category training sets, the artificial neural network will have a serious overfitting problem, that is, the problem of good fitting results but poor forecasting results.
发明内容Contents of the invention
本发明的目的在于提供一种皮肤显微图像症状特征的自动识别方法,对提供的皮肤显微图像预处理后的症状分割图像,能自动识别症状的属性。The purpose of the present invention is to provide an automatic recognition method for symptom features of skin microscopic images, which can automatically recognize the attributes of symptoms for the provided symptom segmentation images after preprocessing of skin microscopic images.
为达到上述目的,本发明采用下述技术方案:To achieve the above object, the present invention adopts the following technical solutions:
一种皮肤显微图像症状自动识别方法,其特征在于向微机输入皮肤显微图像预处理后的症状分割图像,提取症状分割图像的特征参数转化成反映症状分类本质的特征向量,将该特征向量按基于支持向量机的识别算法进行识别运算而识别症状的属性,然后在微机显示器上以文字显示出该症状的属性。A method for automatic identification of skin microscopic image symptoms, characterized in that the symptom segmentation image after preprocessing of the skin microscopic image is input to a microcomputer, the feature parameters of the symptom segmentation image are extracted and converted into feature vectors reflecting the essence of symptom classification, and the feature vector The attribute of the symptom is recognized by the recognition operation based on the recognition algorithm of the support vector machine, and then the attribute of the symptom is displayed in text on the microcomputer display.
上述的提取症状分割图像特征参数转化成反映症状分类本质的特征向量的具体步骤为:The specific steps for converting the feature parameters of the extracted symptom segmentation image into feature vectors reflecting the essence of symptom classification are as follows:
a.提取症状的几何特征:a. Extract geometric features of symptoms:
(a)提取症状的面积:统计各类症状的分割图中像素值为1的数目,此数目就是症状的面积;(a) Extract the area of symptoms: count the number of pixels with a value of 1 in the segmentation map of various symptoms, and this number is the area of symptoms;
(b)提取症状的最大、最小直径:将症状的分割图以与水平方向成θ角的方向投影,得到一个投影方向向量;统计在此向量内元素为1的个数,记为N(θ);θ从0°到179°每次递增1°,得到180个N(θ);将这180个N(θ)中的最大值作为症状的最大直径,最小值作为症状的最小直径;(b) Extract the maximum and minimum diameters of the symptoms: Project the segmentation map of the symptoms in a direction that forms an angle θ with the horizontal direction to obtain a projection direction vector; count the number of elements in this vector that are 1, and record it as N(θ ); θ increases by 1° each time from 0° to 179°, and 180 N(θ) are obtained; the maximum value among these 180 N(θ) is used as the maximum diameter of the symptom, and the minimum value is used as the minimum diameter of the symptom;
b.提取症状的颜色特征:b. Extract color features of symptoms:
(a)症状内部的颜色特征提取:选择症状内部的平均颜色量与背景皮肤的平均颜色量的差值作为颜色的特征:(a) Color feature extraction inside the symptom: select the difference between the average color amount inside the symptom and the average color amount of the background skin as the feature of the color:
i.计算症状色调特征值,记为Hcha:Hcha=(averHzh-averHbei)*360;式中:症状内部的平均色调值,记为averHzh;背景皮肤的平均色调值,记为averHbei;i. Calculate the characteristic value of the symptom hue, which is recorded as Hcha: Hcha=(averHzh-averHbei)*360; in the formula: the average hue value inside the symptom, which is recorded as averHzh; the average hue value of the background skin, which is recorded as averHbei;
ii.计算症状饱和度(S)特征值,记为Scha:Scha=averSzh-averSbei;式中:症状内部的平均饱和度值,记为averSzh;背景皮肤的平均饱和度值,记为averSbei;ii. Calculate the symptom saturation (S) eigenvalue, denoted as Scha: Scha=averSzh-averSbei; In the formula: the average saturation value inside the symptom, denoted as averSzh; The average saturation value of the background skin, denoted as averSbei;
iii.计算症状强度(I)特征值,记为Icha:Icha=averIzh-averIbei;式中:症状内部的平均强度值,记为averIzh;背景皮肤的平均强度值,记为averIbei;iii. calculate symptom intensity (I) eigenvalue, denoted as Icha: Icha=averIzh-averIbei; In the formula: the average intensity value inside the symptom, denoted as averIzh; The average intensity value of background skin, denoted as averIbei;
iv.计算症状灰度(G)特征值,记为Gcha:Gcha=averGzh-averGbei;式中:症状内部的平均灰度值,记为averGzh;背景皮肤的平均灰度值,记为averGbei;iv. Calculate the symptom gray scale (G) eigenvalue, be recorded as Gcha: Gcha=averGzh-averGbei; In the formula: the average gray value of symptom inside, be recorded as averGzh; The average gray value of background skin, be recorded as averGbei;
(b)症状边缘的颜色特征提取:症状边缘的平均颜色量与背景皮肤的平均颜色量的差值作为颜色的特征外,还选择症状边缘的平均颜色量与症状内部的平均颜色量的差值作为颜色的特征:(b) Color Feature Extraction of Symptom Edge: In addition to the difference between the average color amount of the symptom edge and the average color amount of the background skin as the feature of the color, the difference between the average color amount of the symptom edge and the average color amount inside the symptom is also selected As a feature of color:
i.症状边缘的平均颜色量与背景皮肤的平均颜色量的差值i. The difference between the average color volume of the symptom edge and the average color volume of the background skin
●计算症状边缘与背景皮肤的色调差值,记为ebHcha:ebHcha=(averHedge-averHbei)*360;式中:症状边缘的平均色调,记为averHedge;背景皮肤的平均色调,记为averHbei;Calculate the hue difference between symptom edge and background skin, which is recorded as ebHcha: ebHcha=(averHedge-averHbei)*360; where: the average hue of symptom edge is recorded as averHedge; the average hue of background skin is recorded as averHbei;
●计算症状边缘与背景皮肤的饱和度差值,记为ebScha,ebScha=averSedge-averSbei;式中:症状边缘的平均饱和度,记为averSedge;背景皮肤的平均饱和度,记为averSbei;●Calculate the saturation difference between the symptom edge and the background skin, denoted as ebScha, ebScha=averSedge-averSbei; where: the average saturation of the symptom edge, denoted as averSedge; the average saturation of the background skin, denoted as averSbei;
●计算症状边缘与背景皮肤的强度差值,记为ebIcha,ebIcha=averIedge-averIbei;式中:症状边缘的平均强度,记为averIedge:背景皮肤的平均强度,记为averIbei;●Calculate the intensity difference between the symptom edge and the background skin, which is recorded as ebIcha, ebIcha=averIedge-averIbei; where: the average intensity of the symptom edge, which is recorded as averIedge: the average intensity of the background skin, which is recorded as averIbei;
●计算症状边缘与背景皮肤的灰度差值,记为ebGcha,ebGcha=averGedge-averGbei;式中:症状边缘的平均灰度,记为averGedge;背景皮肤的平均灰度,记为averGbei;●Calculate the gray level difference between the symptom edge and the background skin, which is recorded as ebGcha, ebGcha=averGedge-averGbei; where: the average gray value of the symptom edge is recorded as averGedge; the average gray value of the background skin is recorded as averGbei;
ii.症状边缘的平均颜色量与症状内部的平均颜色量的差值ii. The difference between the average amount of color at the edge of the symptom and the average amount of color inside the symptom
●计算症状边缘与症状内部的色调差值,记为ezHcha,ebHcha=(averHedge-averHbei)*360,式中:症状边缘的平均色调,记为averHedge;症状内部的平均色调,记为averHzh;● Calculate the hue difference between the edge of the symptom and the interior of the symptom, and record it as ezHcha, ebHcha=(averHedge-averHbei)*360, where: the average hue of the edge of the symptom is recorded as averHedge; the average hue of the interior of the symptom is recorded as averHzh;
●计算症状边缘与症状内部的饱和度差值,记为ezScha,ezScha=averSedge-averSzh,式中:症状边缘的平均饱和度,记为averSedge;症状内部的平均饱和度,记为averSzh;● Calculate the saturation difference between the edge of the symptom and the interior of the symptom, which is recorded as ezScha, ezScha=averSedge-averSzh, where: the average saturation of the edge of the symptom is recorded as averSedge; the average saturation of the interior of the symptom is recorded as averSzh;
●计算症状边缘与症状内部的强度差值,记为ezIcha,ezIcha=averIedge-averIzh,式中:症状边缘的平均强度,记为averIedge;症状内部的平均强度,记为averIzh;● Calculate the intensity difference between the edge of the symptom and the inside of the symptom, which is recorded as ezIcha, ezIcha=averIedge-averIzh, where: the average intensity of the edge of the symptom is recorded as averIedge; the average intensity of the inside of the symptom is recorded as averIzh;
●计算症状边缘与症状内部的灰度差值,记为ezGcha,ezGcha=averGedge-averGzh,式中:症状边缘的平均灰度,记为averGedge;症状内部的平均灰度,记为averGzh;●Calculate the gray level difference between the edge of the symptom and the interior of the symptom, which is recorded as ezGcha, ezGcha=averGedge-averGzh, where: the average gray level of the symptom edge is recorded as averGedge; the average gray level of the symptom interior is recorded as averGzh;
(c)症状的形状特征的提取和转化运算:提取f(x,y)值,f(x,y)为图像在像素(x,y)处的值,整幅图像的(p+q)阶矩mpq按下式计算:(c) Extraction and conversion operation of shape features of symptoms: extract f(x, y) value, f(x, y) is the value of the image at the pixel (x, y), and (p+q) of the entire image The order moment m pq is calculated according to the following formula:
图像的中心矩μpq按下式计算:The central moment μ pq of the image is calculated as follows:
其中
归一化中心矩ηpq按下式计算:The normalized central moment η pq is calculated according to the following formula:
式中γ=(p+q+2)/2,p+q=2,3,…In the formula, γ=(p+q+2)/2, p+q=2, 3,...
从二阶矩和三阶矩可以导出一组不变矩的计算式:A set of invariant moments can be derived from the second and third moments:
φ1=η20+η02 φ 1 =η 20 +η 02
φ3=(η30-3η12)2+(3η21-η03)2 φ 3 =(η 30 -3η 12 ) 2 +(3η 21 -η 03 ) 2
φ4=(η30+η12)2+(η21+η03)2 φ 4 =(η 30 +η 12 ) 2 +(η 21 +η 03 ) 2
φ5=(η30-3η12)(η30+η12)×[(η30+η12)2-3(η21+η03)2]+φ 5 =(η 30 -3η 12 )(η 30 +η 12 )×[(η 30 +η 12 ) 2 -3(η 21 +η 03 ) 2 ]+
(3η21-η03)(η21+η03)×[3(η30+η12)2-(η21+η03)2](3η 21 -η 03 )(η 21 +η 03 )×[3(η 30 +η 12 ) 2 -(η 21 +η 03 ) 2 ]
φ6=(η20-η02)[(η30+η12)2-(η21+η03)2]+φ 6 =(η 20 -η 02 )[(η 30 +η 12 ) 2 -(η 21 +η 03 ) 2 ]+
4η11(η30+η12)(η21+η03)4η 11 (η 30 +η 12 )(η 21 +η 03 )
φ7=(3η21-η03)(η30+η12)×[(η30+η12)2-3(η21+η03)2]+φ 7 =(3η 21 -η 03 )(η 30 +η 12 )×[(η 30 +η 12 ) 2 -3(η 21 +η 03 ) 2 ]+
(3η21-η03)(η21+η03)×[3(η03+η12)2-(η12+η03)2](3η 21 -η 03 )(η 21 +η 03 )×[3(η 03 +η 12 ) 2 -(η 12 +η 03 ) 2 ]
上述的识别运算的具体步骤为:The specific steps of the above recognition operation are as follows:
a.选择核函数:采用不同的内积核函数将导致不同的支持向量机算法,目前采用较多的3类核函数如下:a. Select the kernel function: Using different inner product kernel functions will lead to different support vector machine algorithms. At present, three types of kernel functions are used more as follows:
i.多项式核函数:k(x,y)=(x*y+1)d d=1,2…..i. Polynomial kernel function: k(x, y)=(x*y+1) d d=1, 2.....
ii.RBF(Radial Basis Function)核函数:
iii.Sigmoid核函数:K(x,y)=tanh[b(x*y)-c]iii.Sigmoid kernel function: K(x, y)=tanh[b(x*y)-c]
b.训练:对于真实样本与虚假样本,分别令其理想输出为1和-1,采用SVM训练算法,即上述分类函数公式训练至收敛,此时即得一基于SVM的分类器;b. Training: For real samples and false samples, the ideal outputs are respectively 1 and -1, and the SVM training algorithm is used, that is, the above classification function formula is trained to convergence, and a classifier based on SVM is obtained at this time;
c.识别:待识别的样本输入分类器中,输出为一实数值,通过设定的阈值,可判定该样本的类别;c. Identification: The sample to be identified is input into the classifier, and the output is a real value, and the category of the sample can be determined through the set threshold;
a)~d)步是对于两类分类问题,对于皮肤显微图像分类,我们分成四类,Steps a) to d) are for two-category classification problems. For skin microscopic image classification, we divide them into four categories,
因此,可以设计k(k-1)/2个分类器,每一个分类器都用两类数据来训练;Therefore, k(k-1)/2 classifiers can be designed, and each classifier is trained with two types of data;
d.对于黄褐斑和黑头样本重复b),得到分类器SVM1;d. Repeat b) for chloasma and blackhead samples to obtain classifier SVM1;
e.对于黄褐斑和粉刺样本重复b),得到分类器SVM2;e. Repeat b) for the chloasma and acne samples to obtain classifier SVM2;
f.对于黄褐斑和雀斑样本重复b),得到分类器SVM3;f. Repeat b) for chloasma and freckle samples to obtain classifier SVM3;
g.对于雀斑和黑头样本重复b),得到分类器SVM4;g. Repeat b) for freckles and blackhead samples to obtain classifier SVM4;
h.对于雀斑斑和粉刺样本重复b),得到分类器SVM5;h. Repeat b) for freckles and acne samples to obtain classifier SVM5;
i.对于黑头和粉刺样本重复b),得到分类器SVM6;i. Repeat b) for blackhead and acne samples to obtain classifier SVM6;
j.在分类的时候,采用一种打分策略:对于某个待分类的样本,分别用训练过程得到6个分类器进行测试,即第c)步骤,每个结果为1分,累计各类别的得分;j. When classifying, adopt a scoring strategy: For a certain sample to be classified, use the training process to obtain 6 classifiers for testing, that is, step c), each result is 1 point, and each category is accumulated Score;
k.选择得分最高者所对应的类别为测试数据的类别;k. Select the category corresponding to the highest scorer as the category of the test data;
l.识别率的计算;l. Calculation of recognition rate;
m.假定有n个初始样本,每次拿出其中一个样本做测试,其余n-1个做训练样本;m. Assuming that there are n initial samples, one sample is taken out for testing each time, and the remaining n-1 are used as training samples;
n.对这n-1个训练样本,重复d)~i)步;n. Repeat steps d) to i) for the n-1 training samples;
o.再用另外一个样本做测试,得到一个准确度,0或者100%;o. Test with another sample to get an accuracy, 0 or 100%;
p.这样的过程重复n次,结果每个样本都有一次作为测试样本,因此最后的准确度值取的是n次的平均值;p. This process is repeated n times, and as a result, each sample is used as a test sample once, so the final accuracy value is the average value of n times;
q.18)选择核函数的方法,就是通过m)~p)步,选择出识别率最高的核函数。q.18) The method of selecting the kernel function is to select the kernel function with the highest recognition rate through steps m) to p).
本发明与现有技术相比,具有如下显而易见的突出实质性特点和显著优点:本发明中,对皮肤显微图像的症状分割图像提取的症状面积、最大直径及最小直径表示的几何特征,以症状内部的平均颜色量与背景皮肤的平均颜色量的差值表示的颜色特征和运算取得的一组不变矩表示的形状特征,能较准确地反映症状分类本质;本发明中提取的一种基于支持向量机(SVM)的皮肤显微图像症状的识别方法,能较好地解决由于皮肤显微图像具有很强的非线性、维数较高、且属于小样本学习这些问题,图像识别系统计算简单、便捷,且泛化能力强,非常适合实时处理系统。本发明为皮肤诊断系统奠定了基础,能够作为皮肤诊断系统的实现依据。Compared with the prior art, the present invention has the following obvious outstanding substantive features and significant advantages: in the present invention, the geometric features represented by the symptom area, maximum diameter and minimum diameter extracted from the symptom segmentation image of the skin microscopic image are represented by The color feature represented by the difference between the average color amount of the symptom and the average color amount of the background skin and the shape feature represented by a group of invariant moments obtained by the operation can more accurately reflect the essence of symptom classification; one extracted in the present invention The recognition method of skin microscopic image symptoms based on support vector machine (SVM) can better solve the problems that the skin microscopic image has strong nonlinearity, high dimensionality, and belongs to small sample learning. The calculation is simple, convenient, and has strong generalization ability, which is very suitable for real-time processing systems. The invention lays the foundation for the skin diagnosis system and can be used as the realization basis of the skin diagnosis system.
附图说明Description of drawings
图1为本发明一个实施例用的系统框图。Fig. 1 is a system block diagram for one embodiment of the present invention.
图2是图1示例中黄褐斑的显微图像图,其中图(a)为症状分割图,图(b)为症状边缘图,图(c)为黄褐斑彩色图。Fig. 2 is a microscopic image diagram of chloasma in the example of Fig. 1, wherein diagram (a) is a symptom segmentation diagram, diagram (b) is a symptom edge diagram, and diagram (c) is a color diagram of chloasma.
图3为图1示例中的系统流程图Figure 3 is a flow chart of the system in the example in Figure 1
具体实施方式Detailed ways
本发明的一个实施例是针对皮肤显微图像中的黄褐斑、雀斑、黑头和粉刺四种典型皮肤症状,给出其症状自动识别方法。采用图1所示的系统,按图3所示的系统流程框图进行症状特征的提取和识别运算:An embodiment of the present invention is aimed at four typical skin symptoms of melasma, freckles, blackheads and acne in skin microscopic images, and provides a method for automatically identifying the symptoms. Using the system shown in Figure 1, according to the system flow diagram shown in Figure 3, the extraction and identification of symptom features are performed:
1.特征提取1. Feature extraction
以黄褐斑为例,图2示出黄褐斑的症状分割图、症状边缘图和症状彩色图。具体步骤:Taking melasma as an example, Fig. 2 shows the symptom segmentation map, symptom edge map and symptom color map of melasma. Specific steps:
1)计算症状的几何特征1) Calculate the geometric features of symptoms
1.1提取症状的面积1.1 Extract the area of symptoms
统计图2(a)中像素值为1的数目为10765,此数目就是症状的面积。The number of pixels with a value of 1 in the statistical graph 2(a) is 10765, and this number is the area of the symptom.
1.2提取症状的最大、最小直径1.2 Extract the maximum and minimum diameters of symptoms
1.2.1图2(a)以与水平方向成θ角的方向投影,得到一个投影方向向量;1.2.1 Figure 2(a) is projected in a direction forming an angle θ with the horizontal direction to obtain a projection direction vector;
1.2.2统计在此向量内元素为1的个数,记为N(θ);1.2.2 Count the number of 1 elements in this vector, denoted as N(θ);
1.2.3θ从0°到179°每次递增1°,得到180个N(θ),1.2.3θ increases by 1° each time from 0° to 179° to get 180 N(θ),
1.2.4将这180个N(θ)中的最大值作为症状的最大直径,最小值作为症状的最小直径。图2(a)的最大直径为151,最小直径为105。1.2.4 Take the maximum value among these 180 N(θ) as the maximum diameter of the symptom, and the minimum value as the minimum diameter of the symptom. Figure 2(a) has a maximum diameter of 151 and a minimum diameter of 105.
2)症状颜色特征2) Symptom color characteristics
2.1图2症状内部的颜色特征提取2.1 Color feature extraction inside the symptom in Figure 2
2.1.1计算症状色调特征值Hcha=(averHzh-averHbei)*360=-220.0712.1.1 Calculation of symptom hue characteristic value Hcha=(averHzh-averHbei)*360=-220.071
2.1.2计算症状饱和度(S)特征值Scha=averSzh-averSbei=0.2480572.1.2 Calculation of symptom saturation (S) eigenvalue Scha=averSzh-averSbei=0.248057
2.1.3计算症状强度(I)特征值Icha=averIzh-averIbei=-12.7408;2.1.3 Calculation of symptom intensity (I) eigenvalue Icha=averIzh-averIbei=-12.7408;
2.1.4计算症状灰度(G)特征值Gcha=averGzh-averGbei=-24.9796;2.1.4 Calculate symptom gray level (G) eigenvalue Gcha=averGzh-averGbei=-24.9796;
2.2图2症状边缘的颜色特征提取2.2 Color Feature Extraction of Symptom Edge in Figure 2
2.2.1症状边缘的平均颜色量与背景皮肤的平均颜色量的差值2.2.1 The difference between the average color volume of the symptom edge and the average color volume of the background skin
2.2.1.1计算症状边缘与背景皮肤的色调差值ebHcha=averHedge-averHbei=-224.2892.2.1.1 Calculate the hue difference between the symptom edge and the background skin ebHcha=averHedge-averHbei=-224.289
2.2.1.2计算症状边缘与背景皮肤的饱和度差值ebScha=averSedge-averSbei=0.1253472.2.1.2 Calculate the saturation difference between the symptom edge and the background skin ebScha=averSedge-averSbei=0.125347
2.2.1.3计算症状边缘与背景皮肤的强度差值ebIcha=averIedge-averIbei=-8.34652.2.1.3 Calculation of intensity difference between symptom edge and background skin ebIcha=averIedge-averIbei=-8.3465
2.2.1.4计算症状边缘与背景皮肤的灰度差值ebGcha=averGedge-averGbei=-16.0702.2.1.4 Calculation of gray difference between symptom edge and background skin ebGcha=averGedge-averGbei=-16.070
2.2.2症状边缘的平均颜色量与症状内部的平均颜色量的差值2.2.2 The difference between the average color volume at the edge of the symptom and the average color volume inside the symptom
2.2.1.1计算症状边缘与症状内部的色调差值ebHcha=averHedge-averHbei=-4.21762.2.1.1 Calculate the hue difference between the edge of the symptom and the interior of the symptom ebHcha=averHedge-averHbei=-4.2176
2.2.1.2计算症状边缘与症状内部的饱和度差值ezScha=averSedge-averSzh=0.1227092.2.1.2 Calculate the saturation difference between the edge of the symptom and the interior of the symptom ezScha=averSedge-averSzh=0.122709
2.2.1.3计算症状边缘与症状内部的强度差值ezIcha=averIedge-averIzh=4.394262.2.1.3 Calculation of intensity difference between symptom edge and symptom interior ezIcha=averIedge-averIzh=4.39426
2.2.1.4计算症状边缘与症状内部的灰度差值ezGcha=averGedge-averGzh=8.909162.2.1.4 Calculate the gray difference between the edge of the symptom and the interior of the symptom ezGcha=averGedge-averGzh=8.90916
3)图2症状的形状特征3) Shape characteristics of symptoms in Figure 2
计算7个不变矩:Compute the 7 invariant moments:
φ1=η20+η02=0.73399φ 1 =η 20 +η 02 =0.73399
φ3=(η30-3η12)2+(3η21-η03)2=3.2293φ 3 =(η 30 -3η 12 ) 2 +(3η 21 -η 03 ) 2 =3.2293
φ4=(η30+η12)2+(η21+η03)2=4.61191φ 4 =(η 30 +η 12 ) 2 +(η 21 +η 03 ) 2 =4.61191
φ5=(η30-3η12)(η30+η12)×[(η30+η12)2-3(η21+η03)2]+φ 5 =(η 30 -3η 12 )(η 30 +η 12 )×[(η 30 +η 12 ) 2 -3(η 21 +η 03 ) 2 ]+
(3η21-η03)(η21+η03)×[3(η30+η12)2-(η21+η03)2]=7.87397(3η 21 -η 03 )(η 21 +η 03 )×[3(η 30 +η 12 ) 2 -(η 21 +η 03 ) 2 ]=7.87397
φ6=(η20-η02)[(η30+η12)2-(η21+η03)2]+φ 6 =(η 20 -η 02 )[(η 30 +η 12 ) 2 -(η 21 +η 03 ) 2 ]+
4η11(η30+η12)(η21+η03)=6.108774η 11 (η 30 +η 12 )(η 21 +η 03 )=6.10877
φ7=(3η21-η03)(η30+η12)×[(η30+η12)2-3(η21+η03)2]+φ 7 =(3η 21 -η 03 )(η 30 +η 12 )×[(η 30 +η 12 ) 2 -3(η 21 +η 03 ) 2 ]+
(3η21-η03)(η21+η03)×[3(η03+η12)2-(η12+η03)2]=7.78115(3η 21 -η 03 )(η 21 +η 03 )×[3(η 03 +η 12 ) 2 -(η 12 +η 03 ) 2 ]=7.78115
这样,黄褐斑图像就转换为22维特征向量,如[10765 151 105 -220.0710.248057 -12.7408 -24.9796 -224.289 0.125347 -8.34654 -16.0704-4.21761 -0.122709 4.39426 8.90916 0.73399 2.6432 3.2293 4.611917.87397 6.10877 7.78115]这样,黄褐斑图像就转换为22维特征向量,如[10765 151 105 -220.0710.248057 -12.7408 -24.9796 -224.289 0.125347 -8.34654 -16.0704-4.21761 -0.122709 4.39426 8.90916 0.73399 2.6432 3.2293 4.611917.87397 6.10877 7.78115]
2基于支持向量机(SVM)的皮肤显微图像识别器2 Skin Microscopic Image Recognizer Based on Support Vector Machine (SVM)
我们收集了289个皮肤显微图像,在有关专业人员的指导下,对样本进行指导分类,随机划分为两组,分别用作训练和测试样本(159例/130例),每个样本计算了它的22个特征值。这样,训练样本就转换成159个22维向量。We collected 289 skin microscopic images, under the guidance of relevant professionals, guided the classification of samples, randomly divided them into two groups, used as training and test samples (159 cases/130 cases), each sample calculated Its 22 eigenvalues. In this way, the training samples are converted into 159 22-dimensional vectors.
构建6个分类器,每一个分类器都用两类数据来训练,训练时,尝试了三类核函数:(1)线性核函数(linear);(2)多项式核函数(polynomial);(3)经向基核函数(radial basis),选择出获得最好的LOOCV(留一法)准确度的核函数。经过实验,本专利采用第一类核函数作为支持向量机算法,即k(x,y)=(x*y+1)3,可使分类器识别率最高,结果如表1。Construct 6 classifiers, and each classifier is trained with two types of data. During training, three types of kernel functions are tried: (1) linear kernel function (linear); (2) polynomial kernel function (polynomial); (3 ) through the radial basis to select the kernel function that obtains the best LOOCV (leave one out) accuracy. After experiments, this patent uses the first type of kernel function as the support vector machine algorithm, that is, k(x, y)=(x*y+1) 3 , which can make the classifier have the highest recognition rate. The results are shown in Table 1.
表1 几种不同的核函数在不同参数下的识别率
表2给出了用训练数据(159例)来训练一个SVM,最后对测试样本(130例)进行预测分类的结果。Table 2 shows the results of using the training data (159 cases) to train an SVM, and finally predicting and classifying the test samples (130 cases).
表2 SVM分类器对测试样本识别率
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB200410053539XA CN1295643C (en) | 2004-08-06 | 2004-08-06 | Automatic identifying method for skin micro imiage symptom |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB200410053539XA CN1295643C (en) | 2004-08-06 | 2004-08-06 | Automatic identifying method for skin micro imiage symptom |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1588429A true CN1588429A (en) | 2005-03-02 |
| CN1295643C CN1295643C (en) | 2007-01-17 |
Family
ID=34602907
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB200410053539XA Expired - Fee Related CN1295643C (en) | 2004-08-06 | 2004-08-06 | Automatic identifying method for skin micro imiage symptom |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1295643C (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101288103B (en) * | 2005-08-18 | 2012-09-05 | 高通股份有限公司 | Methods and apparatus for image processing, for color classification, and for skin color detection |
| CN102799860A (en) * | 2012-06-28 | 2012-11-28 | 济南大学 | Method for holographic recognition of microscopic image |
| CN103310099A (en) * | 2013-05-30 | 2013-09-18 | 佛山电视台南海分台 | Method and system for realizing augmented reality by adopting image capture and recognition technology |
| CN104540444A (en) * | 2012-08-17 | 2015-04-22 | 索尼公司 | Image-processing device, image-processing method, program and image-processing system |
| CN105205490A (en) * | 2015-09-23 | 2015-12-30 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN106462549A (en) * | 2014-04-09 | 2017-02-22 | 尹度普有限公司 | Identify solid objects using machine learning from microscopic changes |
| CN112037162A (en) * | 2019-05-17 | 2020-12-04 | 华为技术有限公司 | Facial acne detection method and equipment |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1442823A (en) * | 2002-12-30 | 2003-09-17 | 潘国平 | Individual identity automatic identification system based on iris analysis |
| JP3964795B2 (en) * | 2003-01-07 | 2007-08-22 | 独立行政法人科学技術振興機構 | Osteoporosis diagnosis support device using panoramic X-ray image |
-
2004
- 2004-08-06 CN CNB200410053539XA patent/CN1295643C/en not_active Expired - Fee Related
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101288103B (en) * | 2005-08-18 | 2012-09-05 | 高通股份有限公司 | Methods and apparatus for image processing, for color classification, and for skin color detection |
| CN102799860A (en) * | 2012-06-28 | 2012-11-28 | 济南大学 | Method for holographic recognition of microscopic image |
| CN104540444A (en) * | 2012-08-17 | 2015-04-22 | 索尼公司 | Image-processing device, image-processing method, program and image-processing system |
| CN103310099A (en) * | 2013-05-30 | 2013-09-18 | 佛山电视台南海分台 | Method and system for realizing augmented reality by adopting image capture and recognition technology |
| CN106462549A (en) * | 2014-04-09 | 2017-02-22 | 尹度普有限公司 | Identify solid objects using machine learning from microscopic changes |
| CN106462549B (en) * | 2014-04-09 | 2020-02-21 | 尹度普有限公司 | Identifying Solid Objects Using Machine Learning from Microscopic Changes |
| CN105205490A (en) * | 2015-09-23 | 2015-12-30 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN105205490B (en) * | 2015-09-23 | 2019-09-24 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
| CN112037162A (en) * | 2019-05-17 | 2020-12-04 | 华为技术有限公司 | Facial acne detection method and equipment |
| CN112037162B (en) * | 2019-05-17 | 2022-08-02 | 荣耀终端有限公司 | Facial acne detection method and equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1295643C (en) | 2007-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20250278835A1 (en) | Method and System for Selecting Embryos | |
| US10074006B2 (en) | Methods and systems for disease classification | |
| CN1302437C (en) | Face recognition using kernel fisherfaces | |
| Szczypiński et al. | Identifying barley varieties by computer vision | |
| JP2022551683A (en) | Methods and systems for non-invasive genetic testing using artificial intelligence (AI) models | |
| CN1977286A (en) | Object recognition method and apparatus therefor | |
| CN1162798C (en) | Analysis method of tongue color, fur color and tongue thickness in traditional Chinese medicine based on multi-class support vector machine | |
| CN101551864B (en) | Image Classification Method Based on Directional Feature Correlation in Frequency Domain | |
| CN1794265A (en) | Method and device for distinguishing face expression based on video frequency | |
| CN101034481A (en) | Method for automatically generating portrait painting | |
| CN1710593A (en) | A Hand Feature Fusion Authentication Method Based on Feature Relationship Measurement | |
| CN1801181A (en) | Robot capable of automatically recognizing face and vehicle license plate | |
| Szczypiński et al. | QMaZda—Software tools for image analysis and pattern recognition | |
| CN103186790A (en) | Object detecting system and object detecting method | |
| CN101030297A (en) | Method for cutting complexity measure image grain | |
| CN101034440A (en) | Identification method for spherical fruit and vegetables | |
| CN1295643C (en) | Automatic identifying method for skin micro imiage symptom | |
| Lins et al. | ICDAR 2019 time-quality binarization competition | |
| CN1877637A (en) | Medical image template matching method based on microcomputer | |
| CN1737821A (en) | Image Segmentation and Fingerprint Line Distance Extraction Technology in Automatic Fingerprint Recognition Method | |
| CN1822024A (en) | Positioning method for human face characteristic point | |
| CN1931087A (en) | Automatic tongue picture grain analysis method | |
| CN1442823A (en) | Individual identity automatic identification system based on iris analysis | |
| CN1632823A (en) | Automatic fingerprint classification system and method | |
| CN1912889A (en) | Deformed fingerprint identification method based on local triangle structure characteristic collection |
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 | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070117 |