Search found 4 matches
- Mon, 2024-10-21, 18:29
- Forum: DCMTK - General
- Topic: vs2022: unresolved external symbol "public: __cdecl I2DJpegSource::I2DJpegSource(void)
- Replies: 1
- Views: 1751
vs2022: unresolved external symbol "public: __cdecl I2DJpegSource::I2DJpegSource(void)
I am using vs2022 and have a working DCMTK (as static libraries) in my application to read DICOM files. However, when I include "I2DJpegSource* p = new I2DJpegSource();" for the first time, I get an unresolved link error of: external symbol for 2DJpegSource::I2DJpegSource()" I have in...
- Tue, 2024-10-15, 18:03
- Forum: DCMTK - General
- Topic: Unable to load 12-bit image from DICOM files
- Replies: 4
- Views: 2000
Re: Unable to load 12-bit image from DICOM files
Hello Dr. Eichelberg. Thanks for the speedy reply. Our customers do give us DICOM images with explicit setting of 12-bit (in the last 20 years or so), but it is good to know this is not valid per DICOM Standard. Nonetheless, we mainly use LeadTools utility and have no problem reading them and have n...
- Mon, 2024-10-14, 17:36
- Forum: DCMTK - General
- Topic: Unable to load 12-bit image from DICOM files
- Replies: 4
- Views: 2000
Re: Unable to load 12-bit image from DICOM files
I just did more analysis, and the "getUncompressedFrameSize()" returns the frame's size in terms of x_dim*y_dim*1.5 (i.e., 12-bit, or 1.5 bytes) instead of x_dim*y_dim*2. Could it be that DCMTK does not support pixel data saved in this compacted format? Or perhaps I need to use another fun...
- Mon, 2024-10-14, 16:46
- Forum: DCMTK - General
- Topic: Unable to load 12-bit image from DICOM files
- Replies: 4
- Views: 2000
Unable to load 12-bit image from DICOM files
Hello, I am trying to resolve the error I am getting when loading a 12-bit DICOM image using the function “getUncompressedFrame().” Specifically, when "findAndGetUint16(DCM_BitsAllocated, DcmktBits)" returns 12 in DcmktBits (as opposed to 16). I have no problem loading 8- and 16-bit DICOM ...