This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
machinelearning_notebook
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Update knn, kmeans descriptions
savefigrue
bushuhui
4 years ago
parent
7140c4f503
commit
70e2a0cbc5
3 changed files
with
123 additions
and
82 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+50
-19
2_knn/knn_classification.ipynb
+72
-62
3_kmeans/1-k-means.ipynb
+1
-1
3_kmeans/2-kmeans-color-vq.ipynb
+ 50
- 19
2_knn/knn_classification.ipynb
File diff suppressed because it is too large
View File
+ 72
- 62
3_kmeans/1-k-means.ipynb
File diff suppressed because it is too large
View File
+ 1
- 1
3_kmeans/2-kmeans-color-vq.ipynb
View File
@@ -6,7 +6,7 @@
"source": [
"# 用K-means进行颜色量化\n",
"\n",
"对给定的图像进行**像素矢量量化(VQ)**,将显示图像所需的颜色从
96,615
种减少到64种,同时保持整体外观质量。\n",
"对给定的图像进行**像素矢量量化(VQ)**,将显示图像所需的颜色从
16777216($2^{24}$)
种减少到64种,同时保持整体外观质量。\n",
"\n",
"\n",
"在本例中,像素在3D空间中表示,使用K-means找到64个颜色簇。在图像处理文献中,由K-means(聚类中心)得到的码本称为调色板。使用单个字节,最多可以寻址256种颜色,而RGB编码需要每个像素3个字节。例如,GIF文件格式就使用了这样一个调色板。\n",
Write
Preview
Loading…
Cancel
Save