【文件属性】:
文件名称:图像dct变换matlab代码-tucker_compression:使用Tucker/HOSVD张量分解的体积压缩
文件大小:244KB
文件格式:ZIP
更新时间:2021-05-20 10:33:15
系统开源
图像dct变换matlab代码
注意:这是用于测试目的的MATLAB原型实现。
请改签。
塔克体积压缩
这是本文描述的阈值压缩方法的MATLAB实现(经过修改和改进)。
有关Tucker变换和基于张量的体积压缩的更多详细信息,请查看my。
用法
核心功能是thresholding_compression(X,metric,target)
,其中:
X是一个体积
metric是“相对误差”,“
rmse”或“
psnr”
target指定所需的目标精度(根据metric
)
使用示例脚本run.m尝试代码:
下载(16MB,8位unsigned
int)并将其作为bonsai.raw解压缩到项目文件夹中。
将C
++文件thresholding/rle_huffman.cpp编译为可执行的thresholding/rle_huffman
,将thresholding/zigzag.cpp为thresholding/zigzag
。
在MATLAB解释器中,转到项目文件夹,然后调用run
。
例如,
thresholding_compression(X,'rmse',2)产生约2.1的RM
【文件预览】:
tucker_compression-master
----hooi()
--------unfold.m(255B)
--------ttm.m(1KB)
--------dct_matrix.m(433B)
--------hooi.m(2KB)
----images()
--------hot_corner.jpg(164KB)
--------original_vs_reconstructed.jpg(85KB)
----run.m(1KB)
----README.md(4KB)
----thresholding()
--------rle_huffman.cpp(4KB)
--------log_quantize.m(1KB)
--------thresholding_compression.m(4KB)
--------bounding_box.m(401B)
--------zigzag.cpp(2KB)
--------zigzag.m(2KB)
--------thresholding_compression_batch.m(3KB)
--------log_dequantize.m(581B)