Search found 7 matches

by SubhraSundar
Thu, 2014-02-27, 17:30
Forum: DCMTK - General
Topic: Significance of (0018,1111) - DistanceSourceToPatient
Replies: 2
Views: 3074

Re: Significance of (0018,1111) - DistanceSourceToPatient

Hi Michael Onken
You are right that it is not the right place. I aLso wanted to post it in DICOM forrum, but by mistake I posted it.
Anyway, thank you for your reply.

Regrds
Subhra
by SubhraSundar
Wed, 2014-02-26, 16:46
Forum: DCMTK - General
Topic: Significance of (0018,1111) - DistanceSourceToPatient
Replies: 2
Views: 3074

Significance of (0018,1111) - DistanceSourceToPatient

Can anyone please tell me what is the significance of this DistanceSourceToPatient ? If it is distance from the source to patient/Bed, the I am really surprised, how this is measured?
by SubhraSundar
Tue, 2014-02-25, 14:37
Forum: DCMTK - General
Topic: retrieve DICOM Tag value and store in a double/int variable.
Replies: 7
Views: 21350

Re: retrieve DICOM Tag value and store in a double/int varia

Yes you are right. We can also write as "ref2d_filename.c_str()" as ref2d_filename is is a vector of <string>.
by SubhraSundar
Tue, 2014-02-25, 13:49
Forum: DCMTK - General
Topic: retrieve DICOM Tag value and store in a double/int variable.
Replies: 7
Views: 21350

Re: retrieve DICOM Tag value and store in a double/int varia

Now its working fine. Thank you very much Riesmeier. Hope you will like it now ref2d_filename.at(1).c_str() returns my DICOM file name. ------------------------------ OFCondition status; DcmFileFormat fileformat; double value ; status = fileformat.loadFile( ref2d_filename.at(1).c_str()); if (status....
by SubhraSundar
Tue, 2014-02-25, 13:06
Forum: DCMTK - General
Topic: retrieve DICOM Tag value and store in a double/int variable.
Replies: 7
Views: 21350

Re: retrieve DICOM Tag value and store in a double/int varia

Finally I could write this, as you suggested to use findAndGetFloat64. But I am getting a "0" value while the value is "35.75" OFCondition status; DcmFileFormat fileformat; status = fileformat.loadFile( ref2d_filename.at(1).c_str(), EXS_Unknown, EGL_noChange, DCM_MaxReadLength, E...
by SubhraSundar
Tue, 2014-02-25, 12:54
Forum: DCMTK - General
Topic: retrieve DICOM Tag value and store in a double/int variable.
Replies: 7
Views: 21350

Re: retrieve DICOM Tag value and store in a double/int varia

Thank you Riesmeier. I wrote a code till this point: But then I am confused. Can you help me? OFCondition status; DcmFileFormat fileformat; status = fileformat.loadFile( ref2d_filename.at(1).c_str(), EXS_Unknown, EGL_noChange, DCM_MaxReadLength, ERM_metaOnly ); DcmElement *element = NULL; DcmDataset...
by SubhraSundar
Tue, 2014-02-25, 11:06
Forum: DCMTK - General
Topic: retrieve DICOM Tag value and store in a double/int variable.
Replies: 7
Views: 21350

retrieve DICOM Tag value and store in a double/int variable.

I am a new user of DICOM. I want to read a specific DICOM Tag value from a .dcm file and store that value in a variable of type Double. I am using C++ and working on 2D-3D registration. Please help.