How to read OX data?
Moderator: Moderator Team
How to read OX data?
Could someone please tell me how to read data of type OX? I only see putAndInsertXXX methods corresponds to this type in DCMTK help.
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
But it's in there. You could also use the online documentation.
Thanks a lot for your replys!Jörg Riesmeier wrote:But it's in there. You could also use the online documentation.
What I meant is that I cannot find corresponding findAndGetXXX for OX type data from the documents, including the online page you mentioned.
Anyway, I already find out findAndGetUint8Array actually does the job in my situation.
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
You should note that OX is an internal pseudo-type that DCMTK uses for DICOM attributes that (when received in implicit VR) might be interpreted either as OB or as OW. Access to such attributes can be done either using the Uint8 or using the Uint16 methods, and DCMTK will perform internal byte swapping if necessary to ensure that in both case you receive what you're asking for.
Thanks a lot for the explanation! That's exactly the part I didn't understand.Marco Eichelberg wrote:You should note that OX is an internal pseudo-type that DCMTK uses for DICOM attributes that (when received in implicit VR) might be interpreted either as OB or as OW. Access to such attributes can be done either using the Uint8 or using the Uint16 methods, and DCMTK will perform internal byte swapping if necessary to ensure that in both case you receive what you're asking for.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest