How to find image size without imread and size(*,1)

7 Ansichten (letzte 30 Tage)
Nico336
Nico336 am 7 Jun. 2019
Bearbeitet: Stephen23 am 7 Jun. 2019
Is there a function like this in matlab? Don't need to load the image matrix?
[width, height] = imsize(image_name)

Akzeptierte Antwort

Stephen23
Stephen23 am 7 Jun. 2019
Bearbeitet: Stephen23 am 7 Jun. 2019
Use imfinfo:
info = imfinfo(...);
info.Height
info.Width

Weitere Antworten (0)

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!

Translated by