operate with medical image

3 views (last 30 days)
hi everyone
please, how to operate with medical image, such as read, write, change pixel value, etc. by using matlab code
regards,
Majid

Accepted Answer

Star Strider
Star Strider on 11 Feb 2017
It depends what your ‘medical image’ is. For most radiography (x-ray, ultrasound, MRI, CT, etc.) images, they are in DICOM format and you would read the images with .dcm file extensions (also termed suffixes) with the dicomread (link) function. If you want to save ‘slices’ of a computerized tomographic file as individual images, save them as uncompressed ‘.jpg’ images, since that is what they are in the DICOM file.
  1 Comment
Walter Roberson
Walter Roberson on 12 Feb 2017
I would not save them as .jpg -- far too much chance that someone would not notice they are intentionally uncompressed and will proceed to helpfully compress them, which damages their value for research (makes the algorithms harder.) I would deliberately save them as some image type that does not use lossy compression such as PNG or TIFF.
DICOM does not mandate any one compression algorithm; it makes several available and provides mechanisms to use additional compression algorithms. Some of the compression algorithms tend to get used more often than others, of course.

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 11 Feb 2017
This is too vague. Basically the answer is "you can use MATLAB." Here is how to learn it:
  16 Comments
Majid Al-Sirafi
Majid Al-Sirafi on 14 Feb 2017
Firstly, thabj you dear Walter. the attached is the medical image

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!