ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Dicom image: Reading columns & rows

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
AdrianKnowles Posted - Feb 14 2013 : 13:22:54
Hi,
using the DICOM demo I've been trying to read the columns and rows
in DICOM images to determine the matrix size using the columns and rows in the DICOM header ($0028,$0010) & ($0028,$0011). However I dont seem to be able to display the value.

The code snippet is below

tags:=OriginalImage.IO.Params.DICOM_Tags;
ResolutionLabel.Caption := tags.GetTagString(tags.IndexOf ($0018,$1050) );
Label4.Caption := tags.GetTagString( tags.IndexOf($0028,$0011) );
Label8.Caption := tags.GetTagString( tags.IndexOf($0018,$0080)
); //TR

The ImageEnDialog seems to read & display the value correctly
so I'm not quite sure of the problem.

Thanks,
Adrian
4   L A T E S T    R E P L I E S    (Newest First)
AdrianKnowles Posted - Feb 18 2013 : 15:02:48
Hi,
I'll try to anonymise some of the key identifier tags and see if I can attach it to a post here.
The strange thing is that the ImageEnDialog does seem to read & display the values correctly when you preview an image.

Thanks,
Adrian
Uwe Posted - Feb 15 2013 : 18:04:50
Must have something to do with the image itself, Adrian. I just tested several DICOMs and have no problem retrieving the values with the code I posted above.

Can you try with a few other files? AFAIK, certain types of DICOM images are not supported, but I have no idea which ones. As I said, my test images work as expected. Maybe you could post a link to some pics as well?

Uwe
AdrianKnowles Posted - Feb 15 2013 : 11:44:07
Hi,
no unfortunately this does not show anything either (either DOB or columns,rows). The DICOM image (GE MR) does include the information, confirmed with DICOMtools software.

Kind regards,
Adrian
Uwe Posted - Feb 14 2013 : 15:51:15
Does this work, Adrian?


var
tags: TIEDICOMTags;

{...}
label1.Caption := String(tags.GetTagString(tags.IndexOf($0010,$0030))); // Date of Birth