You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Zohar Bar-Yehuda (2026). readmpo (https://in.mathworks.com/matlabcentral/fileexchange/48763-readmpo), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0 (1.64 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0 |
|
