MATLAB Answers

Burned in annotations Dicom

22 views (last 30 days)
Isabel on 14 Dec 2015
Commented: Isabel on 8 Feb 2016
I have some manual burned in annotations in Dicom file of a lung HRCT scan. I need to extract the information of the annotations, thus, I need to know i.e. where exactly the annotations are located in order to identify that region in the raw Dicom file. I need to use this annotations to train a classifier, but I don't know how to do it. Can anyone help me?
Thank you in advance!


Sign in to comment.

Answers (2)

sam0037 on 22 Dec 2015
I understand that you want to extract manual burned in annotations from a DICOM file and by annotations you mean the METADATA of the corresponding DICOM file. If you wish to extract the METADATA from a DICOM file, you can use DICOMINFO or DICOMDISP function from the Image Processing Toolbox.
Refer to the following MATLAB Documentation links to know more about 'Reading METADATA from DICOM Files', DICOMDISP function and DICOMINFO function respectively:


Show 2 older comments
Isabel on 29 Jan 2016
The annotations are in blue. The annotated images are saved as DICOM.
Walter Roberson
Walter Roberson on 29 Jan 2016
Is there anything else in the image that is the same color?
Isabel on 8 Feb 2016
no, the rest of the image is in black and white.

Sign in to comment.

Walter Roberson
Walter Roberson on 8 Feb 2016
text_mask = Blue_channel > threshold1 & Red_channel < threshold2
For some small threshold2 (the black level) and larger threshold1 (the level of the blue)
The blue test finds the blue but also finds white. The red test rejects the white (white is near equal on all three channels)
You can now feed the mask itself to an ocr routine to extract the text.

  1 Comment

Isabel on 8 Feb 2016
Thanks Walter, I will try that.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!