MATLAB Answers

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

31 views (last 30 days)
Nico336
Nico336 on 7 Jun 2019
Edited: Stephen Cobeldick on 7 Jun 2019
Is there a function like this in matlab? Don't need to load the image matrix?
[width, height] = imsize(image_name)

  0 Comments

Sign in to comment.

Answers (1)

Stephen Cobeldick
Stephen Cobeldick on 7 Jun 2019
Edited: Stephen Cobeldick on 7 Jun 2019
Use imfinfo:
info = imfinfo(...);
info.Height
info.Width

  0 Comments

Sign in to comment.

Sign in to answer this question.