Tiff 快速 拆分 与 合并 Quick Split Merge
LibTiff没有提供自带的IFD维度上快速合并/拆分的算法。对于压缩了的Tiff文件,只能先解码写入内存,再重新编码写入合并的新文件。但实际上,Tiff文件中各个IFD彼此是独立压缩的,在IFD维度上进行合并,并不需要读出图像的实际值,这就有了性能优化的空间。本工具利用这一点,绕过LibTiff层直接进行底层读写,避免解压/压缩步骤,实现快速合并/拆分。
公开以下函数:
TiffCountIfds,清点Tiff中IFD的个数
TiffSplit,并行拆分单个Tiff为多个文件
TiffMerge,顺序合并多个Tiff为单个文件,也可以追加到已有Tiff
Cite As
埃博拉酱 (2022). Tiff 快速 拆分 与 合并 Quick Split Merge (https://github.com/Silver-Fang/TiffQuickSplitMergeMatlab/releases/tag/2.1.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.