How to convert a .IMG file to DICOM

8 views (last 30 days)
Senthil Kumar
Senthil Kumar on 26 May 2012
I have raw medical images which are in .IMG format..... How can i convert in to DICOM, so that i can analyze those images in matlab. Please help me out

Answers (2)

Image Analyst
Image Analyst on 26 May 2012
DICOM has nothing to do with it. You need to get, or write, a function that will read your raw files into a MATLAB array. Do you know the format of the IMG? Is there any header with any information, like number of rows and columns. Do you know how many bits the pixels are?
  3 Comments
Walter Roberson
Walter Roberson on 26 May 2012
What software produced the files?
Image Analyst
Image Analyst on 26 May 2012
You either have to know the format, or make some educated guesses. In the other software, can you find out the number of rows and columns in the image? Is it color or monochrome? Is it 8 bit of 16 bit? etc. Even if you don't know those you can just go through all possibilities until you get something that works. You will see clues in the displayed image that will help you home in on the answer, like the image is skewed, or you get two overlapped/interlaced images, etc.

Sign in to comment.


naila
naila on 31 Jul 2013
hi, have you found any way for the conversion stated. or succeed to open .img files in MATLAB?
I have the same problem too.
can you help me please

Categories

Find more on DICOM Format 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!