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

9 visualizaciones (últimos 30 días)
Nico336
Nico336 el 7 de Jun. de 2019
Editada: Stephen23 el 7 de Jun. de 2019
Is there a function like this in matlab? Don't need to load the image matrix?
[width, height] = imsize(image_name)

Respuesta aceptada

Stephen23
Stephen23 el 7 de Jun. de 2019
Editada: Stephen23 el 7 de Jun. de 2019
Use imfinfo:
info = imfinfo(...);
info.Height
info.Width

Más respuestas (0)

Categorías

Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by