Search found 2217 matches

by Jörg Riesmeier
Thu, 2011-03-24, 10:21
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 22898

Anyway, if DcmFileFormat::loadFile can not load the sample dicom that I sent to you, is there any other way to load this dicom image with DCMTK library? No, we didn't say that. However, since this DICOM file is corrupted, the loadFile() method usually returns an error code. There are multiple ways ...
by Jörg Riesmeier
Thu, 2011-03-24, 09:17
Forum: DCMTK - General
Topic: WindowLevel on DcmDataset
Replies: 3
Views: 3206

According to the API documentation, writeImageToDataset() uses the internal representation of the pixel data, i.e. not the rendered output of the DicomImage class. Therefore, the VOI LUT transformation is not applied. However, since you need preformatted 8 or 12 bit pixel data for the DICOM print ma...
by Jörg Riesmeier
Thu, 2011-03-24, 08:55
Forum: DCMTK - General
Topic: dcmj2pnm overlay data does not look right
Replies: 15
Views: 21260

The rendering of overlay planes in color images is not supported by the DicomImage class. Btw, your sample image is an instance of the UltrasoundMultiframeImageStorage SOP Class for which the Overlay Plane module is not defined in the DICOM standard (as far as I can see). Maybe, starting to support ...
by Jörg Riesmeier
Wed, 2011-03-23, 17:35
Forum: DCMTK - Installation
Topic: Install Debug and Release at the same time?
Replies: 8
Views: 15482

We've now added support for both CMAKE_DEBUG_POSTFIX and configurable installation sub-directories (see git repository).
by Jörg Riesmeier
Wed, 2011-03-23, 17:33
Forum: DCMTK - Installation
Topic: Debug Suffix / Postfix (CMAKE_DEBUG_POSTFIX)
Replies: 2
Views: 6749

It's now in the git repository. Thanks again for the suggestion.
by Jörg Riesmeier
Wed, 2011-03-23, 12:27
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 22898

To "richardander": When you look into the source code of dcmdump, you'll find out that the following code line enables the "--stop-after-elem PixelData" option: dcmStopParsingAfterElement.set(DCM_PixelData); Is there any parameter that I can set in function loadFile() to make it work under XP? I sti...
by Jörg Riesmeier
Wed, 2011-03-23, 11:41
Forum: DCMTK - General
Topic: findscu---about query keys
Replies: 7
Views: 7853

Regarding your second question: The Q/R SCP might also support the additional query/retrieve attribute Modalities in Study (0008,0061) on STUDY level.
by Jörg Riesmeier
Wed, 2011-03-23, 11:36
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 22898

This is a good question. I had to check the source code, and here is the answer: void DcmVR::setVR(const char* vrName) { vr = EVR_UNKNOWN; /* default */ if ( vrName != NULL) { int found = OFFalse; int i = 0; for (i=0; (!found && (i < DcmVRDict_DIM)); i++) { if (strncmp(vrName, DcmVRDict[i].vrName, 2...
by Jörg Riesmeier
Wed, 2011-03-23, 09:45
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 22898

Thank you for the file. I don't know why different versions of the Windows OS should behave differently, but the file you've sent us seems to be corrupted: There is some "garbage" data after the PixelData element. So when you use dcmdump from DCMTK 3.6.0, option "--stop-after-elem PixelData" or "--i...
by Jörg Riesmeier
Tue, 2011-03-22, 22:48
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 22898

I thought that the email address is well-known: dicom/at/offis/dot/de.
by Jörg Riesmeier
Tue, 2011-03-22, 21:45
Forum: DCMTK - General
Topic: DIMSE: Odd Fragment Length
Replies: 12
Views: 14258

Which DCMTK tool are you using or did you write your own application based on the DCMTK?
by Jörg Riesmeier
Tue, 2011-03-22, 21:43
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 22898

Yes, it would certainly help to get the sample file that demonstrates this strange behavior.
by Jörg Riesmeier
Tue, 2011-03-22, 17:06
Forum: DCMTK - General
Topic: Replacing pixeldata
Replies: 6
Views: 8579

Maybe, the FreeType library can be used for this purpose ...
by Jörg Riesmeier
Tue, 2011-03-22, 11:03
Forum: DCMTK - General
Topic: Replacing pixeldata
Replies: 6
Views: 8579

I'm sorry but more details would be needed in order to help you. E.g. what does "but it doesn't work" mean? Are the pixel data really stored with VR=OB (uncompressed)? And, btw, "pixelData = (Uint8 *)0;" is probably not what you want: Setting the pixelData pointer to "0" (NULL) and then adding 1 to ...
by Jörg Riesmeier
Tue, 2011-03-22, 10:59
Forum: DCMTK - General
Topic: DCMSCU - PresentationContext Question
Replies: 2
Views: 3322

Depending on the type of DICOM objects you want to send with C-STORE, you have to negotiate the corresponding SOP Class, e.g. UID_CTImageStorage for CT images.

Regarding your 3rd question: You should definitely start reading the relevant parts of the DICOM standard before implementing anything ...