Search found 40 matches
- Sun, 2007-09-16, 16:55
- Forum: DCMTK - General
- Topic: Undefined behavior (assert by isalpha) in DcmItem::foundVR
- Replies: 8
- Views: 9705
Undefined behavior (assert by isalpha) in DcmItem::foundVR
At the LKEB we often have assert failures when trying to read a file by using DcmFileFormat::loadFile(). The assert failures are caused by DcmItem::foundVR(), dcmtk-3.5.4\dcmdata\libsrc\dcitem.cxx (line 152): if (isalpha(c1) && isalpha(c2)) The call stack is as follows: DcmItem::foundVR() Dc...
- Thu, 2007-02-22, 21:00
- Forum: DCMTK - General
- Topic: How to increase precision of DcmFileFormat::writeXML?
- Replies: 2
- Views: 3418
Marco Eichelberg: I am not sure if a precision of DBL_DIG+2 would give any advantage over a precision of DBL_DIG, but it would certainly not cause harm either. I must admit I don't really know why DBL_DIG (15) would not give full precision, but I tested it for sprintf: double doubleVal = DBL_MIN; ch...
- Tue, 2007-02-20, 14:13
- Forum: DCMTK - General
- Topic: How to increase precision of DcmFileFormat::writeXML?
- Replies: 2
- Views: 3418
How to increase precision of DcmFileFormat::writeXML?
We would like to write DICOM information into an XML file, using DCMTK 3.5.4. Unfortunately DcmFileFormat::writeXML appears to have a very limited precision, when writing floating point values. DcmFileFormat::writeXML appears to depend upon DcmFloatingPointDouble::getOFString, which does: // From dc...
- Fri, 2005-06-03, 17:14
- Forum: DCMTK - General
- Topic: Does DCMTK support Ultrasound Multiframe (RLE Lossless)?
- Replies: 17
- Views: 27892
Sounds like I need some kind of workaround... Can you please tell me how to modify my copy of DCMTK, so that it would accept the US file that I sent you? It seems like I got the same kind of problems for images from various Intravascular Ultrasound imagers. So in the end it might be worth updating t...
- Thu, 2005-06-02, 12:35
- Forum: DCMTK - General
- Topic: Does DCMTK support Ultrasound Multiframe (RLE Lossless)?
- Replies: 17
- Views: 27892
- Fri, 2005-05-27, 16:48
- Forum: DCMTK - General
- Topic: Does DCMTK support Ultrasound Multiframe (RLE Lossless)?
- Replies: 17
- Views: 27892
Thanks again, Jörg. Yes, I think our US images are correct. The images are directly from the imager (Intravascular Ultrasound). They are displayed correctly by viewers like IrfanView (including its plugins) and the Sante Dicom Viewer. I'm not sure if I'm allowed to send you one, though. I'd have to ...
- Fri, 2005-05-27, 15:59
- Forum: DCMTK - General
- Topic: Does DCMTK support Ultrasound Multiframe (RLE Lossless)?
- Replies: 17
- Views: 27892
- Fri, 2005-05-27, 11:53
- Forum: DCMTK - General
- Topic: Does DCMTK support Ultrasound Multiframe (RLE Lossless)?
- Replies: 17
- Views: 27892
myDicomImage.getStatus() returns 0 when I read a DICOM file successfully. But for my US files it returns 4 (EIS_InvalidValue). I added the following code to my app, I guess that's what you mean by enabling the verbose/debug mode... DicomImageClass::setDebugLevel(DicomImageClass::DL_NoMessages | Dico...
- Fri, 2005-05-27, 09:25
- Forum: DCMTK - General
- Topic: Does DCMTK support Ultrasound Multiframe (RLE Lossless)?
- Replies: 17
- Views: 27892
- Thu, 2005-05-26, 17:30
- Forum: DCMTK - General
- Topic: Does DCMTK support Ultrasound Multiframe (RLE Lossless)?
- Replies: 17
- Views: 27892
Does DCMTK support Ultrasound Multiframe (RLE Lossless)?
My C++ function "TryToReadDicomFile" uses the DCTKM class DicomImage to get data from a DICOM file, but it fails if the DICOM file is an Ultrasound Multiframe image, having RLE Lossless compression. Does DCMTK support reading this file format? // My function... fails on Ultrasound/RLE! boo...