Skip to content

Commit ac141a3

Browse files
authored
Update README.md
1 parent bcc4e63 commit ac141a3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Python实现提取图像的纹理、图像特征,包含快速灰度共现矩阵(GLCM)、LBP特征、颜色矩、颜色直方图。
33

44
# 原始图片
5-
![Tensorflow](https://github.com/1044197988/Awesome-Tensorflow2/blob/master/Logo/Logo.jpg)
5+
![图片](https://github.com/1044197988/Python-Image-feature-extraction/tree/master/Image/origin.png)
66

77
## 纹理特征
88
### GLCM
@@ -15,19 +15,20 @@ if __name__ == '__main__':
1515
img = data.camera()
1616
glcm_mean = fast_glcm.fast_glcm_mean(img)
1717
```
18-
![Tensorflow](https://github.com/1044197988/Awesome-Tensorflow2/blob/master/Logo/Logo.jpg)
18+
![GLCM](https://github.com/1044197988/Python-Image-feature-extraction/blob/master/Image/GLCM.png)
1919

2020
### LBP
2121
获取图像的LBP特征:对图像的原始LBP模式、等价LBP模式、旋转不变LBP模式,以及等价旋转不变LBP模式的LBP特征进行提取以及显示。<br>
2222
get_LBP_from_Image.py 主要文件 获取图像的LBP特征。<br>
2323
get_resolve_map.py和get_uniform_map.py主要是做降维后新的像素值的映射。已经将求出的结果写入了get_LBP_from_Image.py中,这两个主要是帮助理解算法降维后新的像素值怎么得到的。
24-
![Tensorflow](https://github.com/1044197988/Awesome-Tensorflow2/blob/master/Logo/Logo.jpg)
24+
![LBP](https://github.com/1044197988/Python-Image-feature-extraction/tree/master/Image/LBP.png)
2525
## 颜色特征
2626
### 颜色矩
2727
颜色是彩色图像最重要的内容之一,被广泛用于图像检索中。但从图像中提取颜色特征时,很多算法都先要对图像进行量化处理。量化处理容易导致误检,并且产生的图像特征维数较高,不利于检索。AMA Stricker和M Orengo提出了颜色矩的方法,颜色矩是一种简单有效的颜色特征表示方法,有一阶矩(均值,mean)、二阶矩(方差, variance)和三阶矩(斜度,skewness)等,由于颜色信息主要分布于低阶矩中,所以用一阶矩,二阶矩和三阶矩足以表达图像的颜色分布,颜色矩已证明可有效地表示图像中的颜色分布,该方法的优点在于:不需要颜色空间量化,特征向量维数低;但实验发现该方法的检索效率比较低,因而在实际应用中往往用来过滤图像以缩小检索范围。<br>
2828
### 颜色直方图
29-
![Tensorflow](https://github.com/1044197988/Awesome-Tensorflow2/blob/master/Logo/Logo.jpg)
30-
29+
![RGB-histogram](https://github.com/1044197988/Python-Image-feature-extraction/tree/master/Image/RGB-histogram.png)
30+
![gray-histogram](https://github.com/1044197988/Python-Image-feature-extraction/tree/master/Image/gray-histogram.png)
31+
![histogram](https://github.com/1044197988/Python-Image-feature-extraction/tree/master/Image/histogram.png)
3132
# 参考
3233
* [michael92ht/LBP](https://github.com/michael92ht/LBP)
3334
* [tzm030329/GLCM](https://github.com/tzm030329/GLCM)

0 commit comments

Comments
 (0)