Search found 117 matches

by Thomas Wilkens
Mon, 2005-10-10, 06:57
Forum: DCMTK - General
Topic: DcmFileFormat tell if file opened is image vs DICOMDIR
Replies: 4
Views: 5160

Why don't you just use the filename as a distinction? The name of a DICOMDIR file must always be "DICOMDIR". Files with DICOM images will never have the name "DICOMDIR".
by Thomas Wilkens
Fri, 2005-10-07, 06:31
Forum: DCMTK - General
Topic: Problem with storescu and TCP
Replies: 4
Views: 5158

We were asking for the storage SCP, i.e. the receiver of the images. Which software are you using to receive the images?
by Thomas Wilkens
Tue, 2005-10-04, 06:56
Forum: DCMTK - General
Topic: How to - Help dealing with files.
Replies: 3
Views: 4837

I don't have the exact code you are looking for, since a tool with such a functionality is not included in DCMTK. See FAQ #34 where you can also find a piece of source code that might help you. In general, I think you are looking for code like this (which still has to be modified according to your s...
by Thomas Wilkens
Tue, 2005-10-04, 06:32
Forum: DCMTK - General
Topic: 16 bit CT scan
Replies: 7
Views: 8159

Regarding window width/center, a good idea is to use function DicomImage::setMinMaxWindow(...). The values in the WindowCenter and WindowWidth attributes in the DICOM header are not always appropriate.
by Thomas Wilkens
Tue, 2005-10-04, 06:25
Forum: DCMTK - Installation
Topic: DCMTK, Red Hat 9.0 and Class template
Replies: 3
Views: 6363

Are you sure the right compiler (gcc-3.4.1) is used? Use "gcc --version" to find out if that is the case. If not, check your environment settings.
by Thomas Wilkens
Fri, 2005-09-30, 06:55
Forum: DCMTK - General
Topic: DicomImage::createWindowsDIB
Replies: 6
Views: 8129

Regarding window width/center, a good start is to use function DicomImage::setMinMaxWindow(...).
by Thomas Wilkens
Wed, 2005-09-28, 06:55
Forum: DCMTK - General
Topic: How to create sequence in sequence
Replies: 1
Views: 3164

Did you insert an item (class DcmItem) into your Performed Series Sequence attribute? Use e.g. DcmSequenceOfItems::insert(...) or DcmSequenceOfItems::append(...) to do so. Having done that, you can insert a Referenced Image Sequence into the item.
by Thomas Wilkens
Wed, 2005-09-28, 06:37
Forum: DCMTK - General
Topic: How many ways in dcmtk to get pixeldata from a dicom file?
Replies: 5
Views: 7779

dicom /at/ offis /dot/ de
by Thomas Wilkens
Wed, 2005-09-28, 06:35
Forum: DCMTK - Installation
Topic: Compiling dcm2xml as a Single Project on W2K with MC++6
Replies: 8
Views: 11715

All code you need for dcm2xml is indeed contained in DCMTK. However, you apparently forgot to insert dcmdata/apps/dcm2xml.cc into your "separate project". This file contains the main()-routine for dcm2xml.
by Thomas Wilkens
Wed, 2005-09-28, 06:28
Forum: DCMTK - Installation
Topic: DCMTK, Red Hat 9.0 and Class template
Replies: 3
Views: 6363

The C++ compiler you are using is, unfortunately, not fully implemented. You will have to use a different compiler to be able to compile DCMTK. Here is a list of supported compilers on UNIX platforms (from the INSTALL file): Unix (or lookalikes) -------------------- The current DCMTK software releas...
by Thomas Wilkens
Tue, 2005-09-27, 06:25
Forum: DCMTK - Installation
Topic: Compiling dcm2xml as a Single Project on W2K with MC++6
Replies: 8
Views: 11715

Make sure the file which contains your main()-routine is included in the project you are compiling. The linker error at the top indicates that you dont even have one file contained in the project you are compiling, if that is really the case, let me tell you that this does not make any sense. I assu...
by Thomas Wilkens
Tue, 2005-09-27, 06:18
Forum: DCMTK - Installation
Topic: New DCMTK Support for CMake
Replies: 4
Views: 10522

Thank you for your effort! :D Could you please also let us know which version of CMake you are using in order to build the project files?

Thanks a lot again! :-)
by Thomas Wilkens
Mon, 2005-09-26, 06:44
Forum: DCMTK - General
Topic: How to - Help dealing with files.
Replies: 3
Views: 4837

See here for examples that will help you in your scenario. If you need to access patient/study information which is contained in a DICOM file, please use class DcmFileFormat. In order to retrieve this kind of information from a DICOM file, check out function DcmFileFormat::getDataset() (like in the ...
by Thomas Wilkens
Mon, 2005-09-26, 06:33
Forum: DCMTK - General
Topic: Pushing image files to the server
Replies: 10
Views: 13291

DICOM defines various data structures for all types of medical images. For example, there are data structures for MR images, for ultrasound (US) images, for CT images, for digital x-ray images (DX) and so on. The data structures for these types of medical images are defined in part 3 of the DICOM st...
by Thomas Wilkens
Mon, 2005-09-26, 06:22
Forum: DCMTK - General
Topic: How many ways in dcmtk to get pixeldata from a dicom file?
Replies: 5
Views: 7779

You are correct, getOutputData is the right way to access the pixel data of a DICOM object. For an example, see here.