What the imfinfo function of matlab return size of compressed or uncompressed image?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
anu
am 25 Aug. 2016
Kommentiert: anu
am 26 Aug. 2016
I imfinfo function of the matlab return the size of image in bytes. I want to know whether it returns size of the compressed or uncompressed jpeg image?
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 25 Aug. 2016
The FileSize field it returns is the size of the file on disk. If you want to know the size of the uncompressed JPEG image you can multiply Width times Height times BitDepth and divide by 8
3 Kommentare
Image Analyst
am 25 Aug. 2016
Yes. When it's on disk, it's compressed. It only gets decompressed after you call imread() which reads it from disk, uncompresses it, and places it into the variable you specified.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Read, Write, and Modify Image finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!