I have installed version 1.14.5 and wish to use it to extract a private element formatted as floating point. In the GE MR header, (0019,105A) is the total acquisition time, in microseconds (!). If I force the transfer to the server to occur as ExplicitLittleEndian, I can find the element's correct value using a tool like DICOM.Inspector. I am using SQLite and have the added a line to extract the value in dicom.sql:
{ 0x0019, 0x105A, "TotalAcqTime", 16, SQL_C_CHAR, DT_STR },
which results in blank cells in the SQLite database. I then used an ImportConvertor in dicom.ini to copy the value from (0019, 105A) to a public element that I don't care about:
ImportConverter0 = set 0018,0080 to "%V0019,105A"
Which copies the value into 0018,0080, but results in a corrupted value (gibberish) because the VR of 0018,0080 is DS, not FL. However, this corrupted value then appears in the SQLite database.
Questions:
How can dicom.sql be configured to extract floating point values?
How can I extract values from Private Elements? Using the copying method detailed above, I can extract private elements which are not FL, by using the Import converter and copying the private element data to a public element and then use dicom.sql to extract it to the SQLite database.
Can I provide code in the Importconverter to change the FL into the DS data type?
Thanks!
-Bob
Importing FL Private Tags to SQLite
-
-
Hi,
conquest does not (yet) support FL tags in the database. Using FL is really a silly idea of the DICOM committee, as they likely would return imprecisily depending on the database type.
Marcel
-
I agree - floating point tags are a silly idea.
Is there an easy way to do a conversion to something like DS in the import converter?Thanks!
-
Sorry,
there is no such option. I will add it later.
Marcel
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!