Reads multiple JPEG images stored in an MPO file
Aktualisiert 16. Dez 2014

Lizenz anzeigen

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.

filename - full path of the filename to read.

imgs - cell array with image matrices.

Zitieren als

Zohar Bar-Yehuda (2024). readmpo (, MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2012a
Kompatibel mit allen Versionen
Windows macOS Linux
Mehr zu Import, Export, and Conversion finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise