Search found 7 matches

by christian
Sun, 2007-08-26, 11:35
Forum: DCMTK - General
Topic: Read buggy 16/11 Bit CT Image
Replies: 4
Views: 5687

[quote="Michael Onken"]Yes of course!

Done :-) I did not compile that, but you see how it should work...

Michael[/quote]

Yes, not it works. Thanks again for your help. You saved my weekend :)

Best regards,
Christian
by christian
Fri, 2007-08-24, 15:55
Forum: DCMTK - General
Topic: Read buggy 16/11 Bit CT Image
Replies: 4
Views: 5687

[quote="Michael Onken"]Hi Christian, As far as I know (and Jörg, the author of DcmImage, is not in the office currently :wink: ) would say there is no way of tweaking DcmImage for ignoring those wrong High Bit settings. Actually you should correct the file before throwing it into DcmImage....
by christian
Fri, 2007-08-24, 14:38
Forum: DCMTK - General
Topic: Read buggy 16/11 Bit CT Image
Replies: 4
Views: 5687

Read buggy 16/11 Bit CT Image

Hello, we using the following code to read dicom images. This worked well for all kind of images (color, grayscale, 8-16 Bit ...). DicomImage *di = new DicomImage(dfile, xfer, CIF_AcrNemaCompatibility, 0, 1); DicomImage::getString(di->getStatus(); Now we have some uncompressed dicom images on a CD t...
by christian
Mon, 2006-07-24, 16:28
Forum: DCMTK - General
Topic: Linker error or how to bring visual C++ 6.0, QT 4 and dcmtk
Replies: 2
Views: 3738

Asche auf mein Haupt - ich hab's gerade selbst gefunden und wollte meine Frage wieder löschen. Trotzdem danke für die schnelle Antwort !
by christian
Mon, 2006-07-24, 13:59
Forum: DCMTK - General
Topic: Linker error or how to bring visual C++ 6.0, QT 4 and dcmtk
Replies: 2
Views: 3738

Linker error or how to bring visual C++ 6.0, QT 4 and dcmtk

Hi, I am writing a dcmtk and qt4 based program that compiles fine under linux. But on Windows there are two approches for the compilation: cmake and qmake (from QT) When I just add the dcmtk libraries in the .pro file there are a lot of errors complaining about double definitions, e.g.: _malloc alre...
by christian
Fri, 2006-06-09, 18:15
Forum: DCMTK - General
Topic: decompress dicom image in memory
Replies: 3
Views: 6248

Calling DcmInputBufferStream::setEos solved the problem. I though
setting the size in setBuffer would be enough.

Thank you very much !

Christian
by christian
Fri, 2006-06-09, 10:57
Forum: DCMTK - General
Topic: decompress dicom image in memory
Replies: 3
Views: 6248

decompress dicom image in memory

Hi, I want to decompress and display a dicom image in memory without writing it to disk. The image is in a variable (char*)Buf with length (int)length; When I write Buf to a file everything works well: [code] 1: // Write Buf to file named "test.dcm" 2: DcmFileFormat *dfile = new DcmFileFor...