readmpo

版本 1.0 (1.6 KB) 作者: Zohar Bar-Yehuda
Reads multiple JPEG images stored in an MPO file
225.0 次下载
更新时间 2014/12/16

查看许可证

imgs = READMPO(filename)
Reads the multiple JPEG images stored in the file
It is based on the assumption that the first 4 bytes of the JPEG header are same for all JPEG objects enclosed in the MPO file, and are not repeated elswhere. Hopefully this should work in most cases. If you encounter problems with a specific file, feel free to contact me.

The function uses temporary files and feeds them to MATLAB's IMREAD function, therefore it does not require any external dependencies.

Input:
filename - full path of the filename to read.

Output
imgs - cell array with image matrices.

引用格式

Zohar Bar-Yehuda (2024). readmpo (https://www.mathworks.com/matlabcentral/fileexchange/48763-readmpo), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Import, Export, and Conversion 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0