Search found 8 matches

by procuris
Mon, 2012-09-03, 14:32
Forum: DCMTK - General
Topic: setMinMaxWindow
Replies: 2
Views: 3116

Re: setMinMaxWindow

Thanks :)
by procuris
Fri, 2012-08-31, 15:00
Forum: DCMTK - General
Topic: setMinMaxWindow
Replies: 2
Views: 3116

setMinMaxWindow

I am using the function setMinMaxWindow(1); before calling
createWindowsDIB() to get a 12 bit greayscale image.

Is it there some way to manual select bitrange for the
resulting 8 bits, for example to get bit2-bit9 from the 12 image?
by procuris
Mon, 2012-03-12, 15:18
Forum: DCMTK - General
Topic: Accessing Compressed Data
Replies: 2
Views: 3233

Yes, they are included in that order.
by procuris
Mon, 2012-03-12, 13:33
Forum: DCMTK - General
Topic: Accessing Compressed Data
Replies: 2
Views: 3233

Accessing Compressed Data

I have problem to compile the example code for accessing compressed data: http://support.dcmtk.org/wiki/dcmtk/howto/accessing-compressed-data?rev=1285158334 The compiler complains about: Uint32 length = pixitem->getLength(); error C2027: use of undefined type 'DcmPixelItem' error C2227: left of '->g...
by procuris
Fri, 2012-03-02, 10:54
Forum: DCMTK - General
Topic: Convert YCbCr to RGB
Replies: 6
Views: 7137

Aha! I didn´t realized it was in the constructor.
I will also change the register/deregister for codecs.

Thanks :-)
by procuris
Thu, 2012-03-01, 17:04
Forum: DCMTK - General
Topic: Convert YCbCr to RGB
Replies: 6
Views: 7137

I believed YCbCr was the default mode. Then I found in a document that "createWindowsDIB does not work if original YCbCr color model is retained".

My question now is how I can disable CIF_KeepYCbCrColorModel.
by procuris
Thu, 2012-03-01, 16:17
Forum: DCMTK - General
Topic: Convert YCbCr to RGB
Replies: 6
Views: 7137

The person who started the project has left our company, so I don´t know. But I can´t find setting CIF_KeepYCbCrColorModel in any of the project files.

How do I change it to RGB?
by procuris
Thu, 2012-03-01, 13:04
Forum: DCMTK - General
Topic: Convert YCbCr to RGB
Replies: 6
Views: 7137

Convert YCbCr to RGB

I am trying to create a Windows DIB using createWindowsDIB. This works for LittleEndianImplicit, but not for JPEGLSLossless (as createWindowsDIB does not work if original YCbCr color model is retained). How do I convert YCbCr to RGB? (I have found the method DiYBRPixelTemplate< T1, T2 >::convert() i...