how to read img file in matlab

3 views (last 30 days)
Hana
Hana on 30 Mar 2015
Commented: Hana on 16 Apr 2015
The img file I have is retrieved from arcgis.How can I open and read it?

Accepted Answer

Thomas Koelen
Thomas Koelen on 30 Mar 2015
[Z,R] = arcgridread('Test.grd');
mapshow(Z,R,'DisplayType','surface');
xlabel('x (easting in meters)'); ylabel('y (northing in meters)')
demcmap(Z)
  1 Comment
Hana
Hana on 16 Apr 2015
my image format is img and not grid

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!