How can i read .img files ?

18 views (last 30 days)
Arathy Das
Arathy Das on 25 Dec 2016
Commented: Arathy Das on 25 Dec 2016
I have a set of lung segmentation images in .img format. Can anyone please help me to view the image in MATLAB?

Accepted Answer

Image Analyst
Image Analyst on 25 Dec 2016
This is not a widely used image format. At least not widely used by enough people who use MATLAB so imread() will not read it. And I suppose people could come up with their own .img format. So you need to find out the format and check the File Exchange in the hopes someone has made a reader for it. Or else write your own.

More Answers (1)

Walter Roberson
Walter Roberson on 25 Dec 2016
  1 Comment
Arathy Das
Arathy Das on 25 Dec 2016
Sir, I need to read .IMG files not .hdr.

Sign in to comment.

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!