Search found 2217 matches

by Jörg Riesmeier
Tue, 2011-04-26, 15:49
Forum: DCMTK - General
Topic: Apply Non Linear VOILut
Replies: 10
Views: 10568

the file is JPEG lossless and when i opened it and displayed it the image seems corrupted
Which software did you use to display the image, and what is the debug output and rendered image output of "dcmj2pnm"?
by Jörg Riesmeier
Tue, 2011-04-26, 14:57
Forum: DCMTK - General
Topic: Apply Non Linear VOILut
Replies: 10
Views: 10568

I'm sorry, but "it's not working" it not very helpful.

Have you already tried to use "dcm2pnm" with the appropriate option, i.e. --use-voi-lut? If so, what is the debug output?
by Jörg Riesmeier
Tue, 2011-04-26, 14:53
Forum: DCMTK - General
Topic: DICOMDIR that caused a crash in the destructor of DcmDicomDir
Replies: 2
Views: 3264

As far as I can see, the DICOMDIR is corrupt because there are offset values used for both (0004,1400) OffsetOfTheNextDirectoryRecord and (0004,1420) OffsetOfReferencedLowerLevelDirectoryEntity (e.g. 27540, 27972, 28404, 29130, 29424). This should, of course, cause no crash in the DCMTK code, so I a...
by Jörg Riesmeier
Fri, 2011-04-22, 13:14
Forum: DCMTK - General
Topic: DCMCONV-Problem: Corrupted data/Parse error
Replies: 10
Views: 18998

i had to modify private.dic (2005,"Philips MR Imaging DD 001",105f) CS Unknown 1 That's a bad idea as I mentioned in the above posting. can I just turn off private tags parsing but still have capability to receive and store explicit objects ? Yes, but you can also (and probably should) update the p...
by Jörg Riesmeier
Wed, 2011-04-20, 19:07
Forum: DCMTK - General
Topic: getOFString() Behavior With VM=0
Replies: 4
Views: 4834

Thank you for pointing this out. No, I don't think that this was a deliberate design decision. It is caused by the fact that SH and LO use the method DcmByteString::getOFString() - where pos=0 is invalid in case of VM=0 - while ST and LT use internally getOFStringArray() which does not check the "po...
by Jörg Riesmeier
Wed, 2011-04-20, 17:44
Forum: DCMTK - General
Topic: movescu Error: Failed - Unable to process
Replies: 5
Views: 8914

This is what I was asking in my previous posting. C-MOVE uses a three-point communication, so you need to specify the move destination and make sure that the Q/R SCP knows how to map the given AE title to IP address and port number.
by Jörg Riesmeier
Wed, 2011-04-20, 17:41
Forum: DCMTK - General
Topic: getOFString() Behavior With VM=0
Replies: 4
Views: 4834

What is the return code? I could imagine that in one case the data element is present with an empty value, while in the other case the data element is not present in the dataset.

Btw, which version of the DCMTK are you using?
by Jörg Riesmeier
Tue, 2011-04-19, 17:23
Forum: DCMTK - General
Topic: movescu Error: Failed - Unable to process
Replies: 5
Views: 8914

First of all, your dataset in the C-MOVE-RQ is not well-formed: You need to specify the QueryRetrieveLevel, the PatientID, the StudyInstanceUID, the SeriesInstanceUID and the SOPInstanceUID and nothing else. Then, have you configured your move destination accordingly? By default, movescu uses the AE...
by Jörg Riesmeier
Tue, 2011-04-19, 17:16
Forum: DCMTK - General
Topic: How to calculate the pixel data size of dicom image
Replies: 3
Views: 4045

The method getLength() returns the length (in bytes) of the stored value, which might be padded to an even length (according to the requirements of the DICOM standard). I now understand your use case, and in fact we've implemented something similar in the dcmimgle/dcmimage class library. So, why are...
by Jörg Riesmeier
Tue, 2011-04-19, 16:46
Forum: DCMTK - General
Topic: How to calculate the pixel data size of dicom image
Replies: 3
Views: 4045

This is not that easy, even in the uncompressed case. E.g., you also have to consider the value of BitsAllocated.

Btw, what is the background of your question?
by Jörg Riesmeier
Tue, 2011-04-19, 09:27
Forum: DCMTK - Installation
Topic: Installation 3.5.3 pour Visual studio 10 - Win7
Replies: 28
Views: 33955

First of all, please write your postings in English language since this is the language of this forum :-)

Then, why are you using such an old DCMTK release (3.5.3) instead of the current one (3.6.0)?
by Jörg Riesmeier
Tue, 2011-04-19, 07:59
Forum: DCMTK - General
Topic: 16 bit CT images too bright
Replies: 6
Views: 7052

Why isnt it possible to calculate the upper limit? Because the Window Width can be higher than the pixel value range, and the Window Center can be outside of the pixel value range. Usually, the user can change these values with the mouse (cursor) moving over the image ... As I mentioned the same im...
by Jörg Riesmeier
Mon, 2011-04-18, 09:08
Forum: DCMTK - General
Topic: 16 bit CT images too bright
Replies: 6
Views: 7052

Basically, there is no upper limit for Window Center and Window Width. There is only a lower limit for Window Width (as Omar wrote). So, IMHO it makes no sense to use a GUI control that expects fixed min/max values (e.g. a slider).
by Jörg Riesmeier
Mon, 2011-04-18, 08:57
Forum: DCMTK - General
Topic: SOS:about createScaledImage function
Replies: 2
Views: 2699

What exactly is your question? Looking at you code, there seem to be a couple of minor and major issues, e.g.: You are loading the same file twice (filename "txt.DCM" vs. "TXT.DCM"). You are using the same pointer for different DicomImage objects without deleting the previous instance. You are calli...
by Jörg Riesmeier
Fri, 2011-04-15, 14:04
Forum: DCMTK - General
Topic: ANSI Color DICOM Dump :)
Replies: 3
Views: 4101

Ah, ok, you are using a white background. I prefer a black one :-)