MATLAB Answers

Nico336
0

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

Asked by Nico336
on 7 Jun 2019
Latest activity Edited by 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.

1 Answer

Answer by Stephen Cobeldick on 7 Jun 2019
Edited by Stephen Cobeldick on 7 Jun 2019

Use imfinfo:
info = imfinfo(...);
info.Height
info.Width

  0 Comments

Sign in to comment.