Burned in annotations Dicom

Hi,
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!

回答(2 个)

sam0037
sam0037 2015-12-22

0 个投票

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:

5 个评论

Hi Abdus,
Thank you for you answer but no, by annotations I don't mean METADATA. I mean, that I have drawn contours in a CT scan and when it is saved the contours are burned into the DICOM. The question was if it is possible to get the information of the contours (coordinates/position) out of the scan.
Best regards
Did you draw the annotations in any particular color?
Did you save the annotated images as JPEG, or did you save as PNG or TIFF? (Please don't tell me you saved them as JPEG...)
The annotations are in blue. The annotated images are saved as DICOM.
Is there anything else in the image that is the same color?
no, the rest of the image is in black and white.

请先登录,再进行评论。

Walter Roberson
Walter Roberson 2016-2-8

0 个投票

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.

类别

帮助中心File Exchange 中查找有关 DICOM Format 的更多信息

提问:

2015-12-14

评论:

2016-2-8

Community Treasure Hunt

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

Start Hunting!

Translated by