hi everyone
please, how to operate with medical image, such as read, write, change pixel value, etc. by using matlab code
regards,
Majid

 Respuesta aceptada

Star Strider
Star Strider el 11 de Feb. de 2017

0 votos

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 comentario

Walter Roberson
Walter Roberson el 12 de Feb. de 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.

Iniciar sesión para comentar.

Más respuestas (1)

Image Analyst
Image Analyst el 11 de Feb. de 2017

0 votos

This is too vague. Basically the answer is "you can use MATLAB." Here is how to learn it:

16 comentarios

Majid Al-Sirafi
Majid Al-Sirafi el 13 de Feb. de 2017
dear Image Analyst, that is up to you, If you dont understand my question. not just you understand proramming with Matlab. Firstly, you need to Cite this link. herin we are in forum, if you can't answer that is up to you
Walter Roberson
Walter Roberson el 13 de Feb. de 2017
Majid Al-Sirafi:
If you hope to get a useful answer to your question, you should write clear questions, rather than blaming other people for not understanding you.
Remember, we have no idea how much experience with programming you have. We do not know if you know about binary, or about arrays and array indexing. We do not know what kind of medical images you want to work with. We do not know if we have to explain the theory of CT reconstruction. We do not know if we have to explain k-space inversion. We do not know if we have to explain the role of International Standards Committees, or of container files.
Majid Al-Sirafi
Majid Al-Sirafi el 13 de Feb. de 2017
I'm a Ph d in computer science. I'm not just programmer. I'm a researcher. for simplicity, I want to use the Matlab in Medical image Watermarking. I had used several programing languages with the above field.
Majid Al-Sirafi
Majid Al-Sirafi el 13 de Feb. de 2017
dear friend Star Strider and Walter Roberson thank you very much for their notes.really, you are good contributers
regards,
Dr. Majid
Walter Roberson
Walter Roberson el 13 de Feb. de 2017
So you just needed to know "dicomread" together with the basics that Image Analyst pointed you to, which show the syntax for indexing in MATLAB ?
"Medical image Watermarking"
Are you planning to watermark the images or the metadata?
There have been a number of articles published about watermarking of medical images; see Google Scholar.
As someone who has done research with medical images, my reaction is:
  • Never watermark the data part of a medical image that needs to be analyzed by an image analysis algorithm (unless the only research to be done is about watermarking). Do not make my work as a medical research programmer harder by lying to me about what the actual data was.
  • It has been demonstrated that with careful controls, it is acceptable to watermark the data portion of medical images that are only to be used for presentation purposes (including human examination by eye.)
Majid Al-Sirafi
Majid Al-Sirafi el 13 de Feb. de 2017
dear Walter, I'm currently reading about this research field. the the embedding of watermark will be embedded in the Region Of Non-Interest (RONI) rather than ROI (Region if Interest). Actually, I need to now how can I read the medical image extract feature from it.according to your recommendation I will take the DICOM image as a case study with matlab programming language. please, I want your support ( for example, if you have a Matlab code, sent it to me)
regards,
Majid
Image Analyst
Image Analyst el 13 de Feb. de 2017
Can't you tell by looking at it, like the imagery part is a circle or rectangle in the middle, and the patient data is burned into pixels on the side?
Majid Al-Sirafi
Majid Al-Sirafi el 13 de Feb. de 2017
That is right dear Image analyst. almost the proposed methods isolate the Region Of Non-Interest (RONI) from the ROI (Region if Interest)manualy
Walter Roberson
Walter Roberson el 13 de Feb. de 2017
In the images we used, everything was potentially part of the ROI. There was no patient information burned into the margins: that information was all in the DICOM metadata. Parts of the image that might be in the ROI for one analysis might be not of interest for other analysis.
I like to give an example:
Cosmic Microwave Background Radiation was originally considered noise to be filtered out. Now, the exact same images that are used to study stars, where the stars are the foreground, are also studied for CMBR, where the stars are the background. When you make an assumption about what is going to be of interest later, you preclude the possibility that there is information there that you have not learned how to analyze (or that someone else might want to analyze.)
Some of my former coworkers were doing some interesting work with analyzing cross-correlations of phase space for MRI, outside of what would normally be considered the ROI. They were finding that in some cases, it was possible to do MRI without coils. (But, of course, not if you had watermarked the data believing it was not going to be of scientific use...)
Image Analyst
Image Analyst el 13 de Feb. de 2017
Majid, attach images - an example of the best and worst - so we can inspect them.
Majid Al-Sirafi
Majid Al-Sirafi el 13 de Feb. de 2017
Dear Image analyst, I have DICOM image. unfortunatelly can not be attached. so, please send you mail for me in order to send the image for you
Image Analyst
Image Analyst el 13 de Feb. de 2017
Then take a screenshot and attach the PNG file.
Majid Al-Sirafi
Majid Al-Sirafi el 13 de Feb. de 2017
dear image analyst, actually, I don't know what do you want regards,
Majid
Image Analyst
Image Analyst el 13 de Feb. de 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.
Walter Roberson
Walter Roberson el 14 de Feb. de 2017
You can zip a .dcm file and attach the .zip provided it is within the size limits.
Majid Al-Sirafi
Majid Al-Sirafi el 14 de Feb. de 2017
Firstly, thabj you dear Walter. the attached is the medical image

Iniciar sesión para comentar.

Categorías

Más información sobre DICOM Format en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 11 de Feb. de 2017

Comentada:

el 14 de Feb. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by