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
 SubTags.SetTagString( $4, $1430, 'SERIES', False );

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
freeshoot8 Posted - Sep 15 2021 : 04:46:29
How to read GetTagString?
7   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 25 2021 : 00:29:24
Hi

It works fine when I test it here:

var
  IO: TImageEnIO;
begin
  // Write dicom test tag
  IO := TImageEnIO.Create(NIL);
  IO.LoadFromFileDicom( 'D:\Testing_Multimedia\Dicom\ADXFILE000164.dcm' );
  try
    IO.Params.DICOM_Tags.SetTagString( $4, $1430, 'STUDY', False );
    IO.SaveToFileDicom( 'D:\test.dicom' );
  finally
    IO.Free;
  end;

  // Check for dicom test tag
  ImageEnView1.IO.ParamsFromFile( 'D:\test.dicom ');
  Caption := ImageEnView1.IO.Params.DICOM_Tags.GetTagString( $4, $1430 );
end;


Nigel
Xequte Software
www.imageen.com
freeshoot8 Posted - Sep 24 2021 : 23:44:25
Read out as empty


xequte Posted - Sep 17 2021 : 02:10:46
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
freeshoot8 Posted - Sep 16 2021 : 21:43:11
SubTags.SetTagString( $4, $1430, 'STUDY', False ); //write to dicom file
How to read the data('STUDY') from file?
xequte Posted - Sep 16 2021 : 04:01:34
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
freeshoot8 Posted - Sep 15 2021 : 21:16:31
How to read the date from file?
xequte Posted - Sep 15 2021 : 06:24:08
Hi

Are you having issues using:

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

Nigel
Xequte Software
www.imageen.com