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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 SubTags.SetTagString( $4, $1430, 'SERIES', False );
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

freeshoot8

8 Posts

Posted - Sep 15 2021 :  04:46:29  Show Profile  Reply
How to read GetTagString?

xequte

6332 Posts

Posted - Sep 15 2021 :  06:24:08  Show Profile  Reply
Hi

Are you having issues using:

s := SubTags.GetTagString( $4, $1430 );

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

freeshoot8

8 Posts

Posted - Sep 15 2021 :  21:16:31  Show Profile  Reply
How to read the date from file?
Go to Top of Page

xequte

6332 Posts

Posted - Sep 16 2021 :  04:01:34  Show Profile  Reply
Can you be more specific? Do you mean the file date or one of the date values from the meta data?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

freeshoot8

8 Posts

Posted - Sep 16 2021 :  21:43:11  Show Profile  Reply
SubTags.SetTagString( $4, $1430, 'STUDY', False ); //write to dicom file
How to read the data('STUDY') from file?
Go to Top of Page

xequte

6332 Posts

Posted - Sep 17 2021 :  02:10:46  Show Profile  Reply
Hi

If you just want to access the tag (without loading the image):

ImageEnView1.IO.ParamsFromFile( 'C:\image.dicom' );
s := ImageEnView1.IO.Params.DICOM_Tags.GetTagString( $4, $1430 );


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

freeshoot8

8 Posts

Posted - Sep 17 2021 :  20:20:49  Show Profile  Reply

Go to Top of Page

freeshoot8

8 Posts

Posted - Sep 17 2021 :  20:24:04  Show Profile  Reply

var
  tags : TIEDicomTags;
begin
ImageEnView1.IO.ParamsFromFile( 'C:\1.dcm' );
caption := ImageEnView1.IO.Params.DICOM_Tags.GetTagString( tags.IndexOf( $4, $1430 ));
end;
Go to Top of Page

xequte

6332 Posts

Posted - Sep 21 2021 :  00:19:29  Show Profile  Reply
Sorry there was a typo in my code. It should be:

ImageEnView1.IO.ParamsFromFile( 'C:\1.dcm' );
caption := ImageEnView1.IO.Params.DICOM_Tags.GetTagString( $4, $1430 );

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: