MATLAB Answers

0

operate with medical image

Asked by Majid Al-Sirafi on 11 Feb 2017
Latest activity Commented on by Majid Al-Sirafi on 14 Feb 2017
hi everyone
please, how to operate with medical image, such as read, write, change pixel value, etc. by using matlab code
regards,
Majid

  0 Comments

Sign in to comment.

2 Answers

Answer by Star Strider
on 11 Feb 2017
 Accepted Answer

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

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.


Answer by 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

Image Analyst
on 13 Feb 2017
Show us what your picture looks like.
  1. Bring up your image in MATLAB.
  2. Type alt-PrintScreen to copy the current window (your image's figure) into the clipboard.
  3. Go to snaggy and type control-v to paste in the image.
  4. Copy the URL it gives you.
  5. Then make a comment here and click on the green and brown frame icon and select "From the Web".
  6. Paste in the URL from snaggy.
  7. Click the Submit button to post your comment to Answers.
You can zip a .dcm file and attach the .zip provided it is within the size limits.
Firstly, thabj you dear Walter. the attached is the medical image

Sign in to comment.