matlab quantization 1 ~ 8 層
来源:互联网 发布:鼠标垫品牌 知乎 编辑:程序博客网 时间:2024/06/05 14:49
G =imread('newborn.tif');[h, w] = size(G); % 讀入G的高和寬qntzPlane = uint8(zeros(h, w, 8)); % 建立8層空plane,分別儲存1~8個分層figure;subplot(3, 3, 1); % 畫在九宮格的第1個位置 imshow(G); % 畫出grayscale圖案Gtitle('origin');for n = 1:8 qntzPlane(:,:,n) = grayslice(G,2^n) ; % 量化為 2^n 灰階,n = 1 ~ 8 subplot(3,3,n+1); % 畫在九宮格的第n+1個位置 subimage(qntzPlane(:,:,n),gray(2^n)); % 繪出量化圖形, 使用2︿n階的grayscale colormap axis off; % 關閉座標軸 title( ['qntz plane : ',num2str(2^n) ] ); % 標題顯示為第幾個qntzPlaneend
影響區域:臉部和頭部
參考網址:http://www.mathworks.com/help/images/displaying-images-using-the-imshow-function.html
imshow() 共用colormap
subimage() 獨立colormap
- matlab quantization 1 ~ 8 層
- Quantization
- Quantization
- H264 Integer transform and quantization : 8 × 8 blocks
- Vector quantization
- Trellis quantization
- Vector Quantization
- Vector Quantization
- model quantization
- Iterative Quantization
- 神经网络压缩(8)Incremental Network Quantization: Towards Lossless CNNs with Low-precision Weights
- Clustering (番外篇): Vector Quantization
- VQ(Vector quantization)
- 聚类 Vector Quantization
- sgu-205 Quantization Problem
- sgu205:Quantization Problem(dp)
- H.264 Quantization
- VQ(vector quantization) record
- SQL Server 2008如何更改账户默认数据库
- java(TM) Platform SE binary已停止工作
- 目标检测的图像特征提取之(二)LBP特征
- BTrace使用总结
- 飞鸽沟通软件2013最新版下载
- matlab quantization 1 ~ 8 層
- struct用法
- 混合模式程序集是针对“v2.0.50727”版的运行时生成的,在没有配置其他信息的情况下,无法在 4.0 运行时中加载该...
- Qt phonon多媒体框架
- 去除中文乱码
- 目标检测的图像特征提取之(三)Haar特征
- hdoj 1166 线段树
- JVM(Java虚拟机)优化大全和案例实战
- 二分图最大匹配--poj2536