Search found 17 matches

by psih128
Mon, 2011-04-18, 23:46
Forum: DCMTK - General
Topic: 16 bit CT images too bright
Replies: 6
Views: 8943

Why isnt it possible to calculate the upper limit? There is the pixel data after the VOI LUT transformation, why cant one look up the max/min values in this data, and use them as the bounds for Window Center? As I mentioned the same image is presented properly in other viewers, so there should be a ...
by psih128
Mon, 2011-04-18, 18:48
Forum: DCMTK - General
Topic: DICOMDIR that caused a crash in the destructor of DcmDicomDir
Replies: 2
Views: 4283

DICOMDIR that caused a crash in the destructor of DcmDicomDir

I have a DICOMDIR that I'm trying to load with DcmDicomDir. I can load it properly, but there is a crash in DcmDicomDir. here is the call stack and the link to download the DICOMDIR: http://dl.dropbox.com/u/1791478/DICOMDIR #1 0x0000000000768877 in DcmList::deleteAllElements (this=0x1282690) at dcli...
by psih128
Fri, 2011-04-15, 19:26
Forum: DCMTK - General
Topic: 16 bit CT images too bright
Replies: 6
Views: 8943

What for the clarification on Length/Center. But if I want to adjust them - how do I calculate the appropriate range of values for L/C? From what you have said it is possible that Window will span over negative values. But getOutputData guarantees that all pixel data is unsigned... Basically I want ...
by psih128
Fri, 2011-04-15, 17:05
Forum: DCMTK - General
Topic: 16 bit CT images too bright
Replies: 6
Views: 8943

16 bit CT images too bright

Hi I'm using DicomImage::getOutputData() to read the pixel data and render it in my application. The problem is that the rendered image appears too bright for most of 16 bit CT images. I suppose that image Width/Center is not set properly, but the dicom tags for these values are present and set. Sho...
by psih128
Tue, 2010-06-01, 07:15
Forum: DCMTK - Installation
Topic: Compiling on Ubuntu
Replies: 4
Views: 6804

Yep, this is it - thanks a lot!
I'm wondering why it was not an issue on mac...
by psih128
Mon, 2010-05-31, 20:01
Forum: DCMTK - Installation
Topic: Compiling on Ubuntu
Replies: 4
Views: 6804

No, the same configuration compiles fine on Mac:
-L/usr/local/dcmtk/lib/ -lofstd -loflog -ldcmimage -ldcmdata -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmimgle
by psih128
Mon, 2010-05-31, 17:51
Forum: DCMTK - Installation
Topic: Compiling on Ubuntu
Replies: 4
Views: 6804

Compiling on Ubuntu

I was trying to compile the project I'm working on under Ubuntu 10.04: $ gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,...
by psih128
Wed, 2010-04-21, 13:20
Forum: DCMTK - General
Topic: Sample DICOM images to test transfer syntax coverage
Replies: 2
Views: 3650

Thanks!
by psih128
Wed, 2010-04-21, 12:59
Forum: DCMTK - General
Topic: Sample DICOM images to test transfer syntax coverage
Replies: 2
Views: 3650

Sample DICOM images to test transfer syntax coverage

Hi

The question is not directly related to DCMTK, but I could not find a better place to ask...

I'm looking for a sample of DICOM image files that cover all (or as many as possible) Transfer Syntaxes that the DICOM standard allows. Do you have something like this available?

Thanks!
by psih128
Sun, 2009-08-30, 12:52
Forum: DCMTK - General
Topic: reading DICOMDIR
Replies: 7
Views: 11221

Yep compiling the debug version of the library and looking at things in the debugger helped - I addressed this issue in another topic:
viewtopic.php?t=2220
by psih128
Sun, 2009-08-30, 12:46
Forum: DCMTK - General
Topic: OFReadWriteLock on MacOSX 10.5.8
Replies: 4
Views: 5682

I think you are right, the registerCodecs functions were called during the initialization of the static class members, probably before the codecs lists were initialized.

Thanks for your response!
by psih128
Fri, 2009-08-28, 15:19
Forum: DCMTK - General
Topic: OFReadWriteLock on MacOSX 10.5.8
Replies: 4
Views: 5682

Ok, I managed to resolve this by calling the registerCodecs() functions at a later time in the applciation, but it looks weird.
by psih128
Fri, 2009-08-28, 08:43
Forum: DCMTK - General
Topic: OFReadWriteLock on MacOSX 10.5.8
Replies: 4
Views: 5682

I compiled the toolkit on windows with VS 2008 and I'm still observing the same problem. here is the call stack: > dcmtk-app.exe!OFCondition::OFCondition(const OFCondition & arg={...}) Line 343 + 0x11 bytes C++ dcmtk-app.exe!DcmCodecList::registerCodec(const DcmCodec * aCodec=0x006f6e30, const D...
by psih128
Thu, 2009-08-27, 18:18
Forum: DCMTK - General
Topic: OFReadWriteLock on MacOSX 10.5.8
Replies: 4
Views: 5682

OFReadWriteLock on MacOSX 10.5.8

Hi I was playing with DCMTK on my mac and run into some troubles registering the image codecs. When I call DJDecoderRegistration::registerCodecs(), this function in turn calls function DcmCodecList::registerCodec() which asserts on ln. 342 in dccodec.cc. It seems that the codeLock of OFReadWriteLock...
by psih128
Wed, 2009-08-26, 14:47
Forum: DCMTK - General
Topic: reading DICOMDIR
Replies: 7
Views: 11221

You are right, the problem was in the path to the dictionary... Sorry.. Now I have another problem - the application crashes on startup, when I make the following call. DJDecoderRegistration::registerCodecs(); more specifically, application breaks on ln 94 in diregist.h: static DiRegister Init_dcmim...