Search found 26 matches

by evanyftsai
Tue, 2017-12-19, 18:51
Forum: DCMTK - General
Topic: Issue related to FAQ: cannot change to unencapsulated repres
Replies: 11
Views: 8504

Re: Issue related to FAQ: cannot change to unencapsulated re

Thank you.

I found another thread with the same problem:

viewtopic.php?f=1&t=4410

Thanks,
Evan
by evanyftsai
Mon, 2017-12-18, 23:48
Forum: DCMTK - General
Topic: Issue related to FAQ: cannot change to unencapsulated repres
Replies: 11
Views: 8504

Re: Issue related to FAQ: cannot change to unencapsulated re

Michael, Ok, thanks! Before I send it though - I dived into the decoding codes and found out exactly what's offending: In this particular block of codes (dcmjpeg\libijg12\jdpred.c): METHODDEF(void) predict_start_pass (j_decompress_ptr cinfo) { j_lossless_d_ptr losslsd = (j_lossless_d_ptr) cinfo->cod...
by evanyftsai
Fri, 2017-12-15, 20:22
Forum: DCMTK - General
Topic: Issue related to FAQ: cannot change to unencapsulated repres
Replies: 11
Views: 8504

Re: Issue related to FAQ: cannot change to unencapsulated re

Michael, Thank you. Although this particular DICOM data can be opened and viewed correctly on other off-the-shelf DICOM viewers. Is there a way that I can send this data to you for a closer look? I need to be able to explain to the physician why this is deemed invalid in our system but not in others...
by evanyftsai
Thu, 2017-12-14, 22:07
Forum: DCMTK - General
Topic: Issue related to FAQ: cannot change to unencapsulated repres
Replies: 11
Views: 8504

Re: Issue related to FAQ: cannot change to unencapsulated re

It looks like this: D: $dcmtk: dcmdjpeg v3.6.0 2011-01-06 $ D: I: reading input file 0298.dcm D: DcmItem::checkTransferSyntax() TransferSyntax="Little Endian Explicit" I: decompressing file D: Start of Image D: JFIF APP0 marker: version 0.00, density 0x0 0 D: Start Of Frame 0x00: width=0, ...
by evanyftsai
Thu, 2017-12-14, 00:19
Forum: DCMTK - General
Topic: Issue related to FAQ: cannot change to unencapsulated repres
Replies: 11
Views: 8504

Re: Issue related to FAQ: cannot change to unencapsulated re

Hi,

It looks like the error code is

EJCode_IJG12_Decompression

Can you shed some light on what does this mean? And what can I do with this?

Thanks a lot,
Evan
by evanyftsai
Tue, 2017-12-12, 23:10
Forum: DCMTK - General
Topic: Issue related to FAQ: cannot change to unencapsulated repres
Replies: 11
Views: 8504

Issue related to FAQ: cannot change to unencapsulated repres

Hi, I ran into a specific DICOM data which gives me this error: cannot change to unencapsulated representation for pixel data I have implemented the following according to the FAQ, and it has been working fine for many other DICOM data: - add '#include "djdecode.h"' to your source file - c...
by evanyftsai
Wed, 2017-07-12, 16:21
Forum: DCMTK - General
Topic: Image displays white-out
Replies: 1
Views: 2162

Image displays white-out

Hi, I have been using createWiindowsDIB to display DICOM images successfully for many scans. Recently I encountered a scan where the image shows up very white, as if everything is in a `white-out' condition. Do you have any clue what could be the root cause? Thanks! Below is the information of this ...
by evanyftsai
Wed, 2017-03-01, 19:34
Forum: DCMTK - General
Topic: Multi-file vs. Single file DICOM
Replies: 6
Views: 5890

Re: Multi-file vs. Single file DICOM

Thank you for your explanations! I am making progress understanding how to handle Enhanced Multi-frame. I have a related question here: what is the most reliable way to query the number of slices in a series? I tried the following but it didn't work: // Obtain series record: DcmDirectoryRecord serie...
by evanyftsai
Tue, 2017-02-21, 13:34
Forum: DCMTK - General
Topic: Multi-file vs. Single file DICOM
Replies: 6
Views: 5890

Re: Multi-file vs. Single file DICOM

Sorry - let me try to provide more info: some DICOM data that we receive contains only one *.dcm file, rather than hundreds of files. I believe this format is called `workbook' or something like that. I am wondering does DCMTK provide a way to read such data?

Thanks,
Evan
by evanyftsai
Tue, 2017-02-21, 03:20
Forum: DCMTK - General
Topic: Multi-file vs. Single file DICOM
Replies: 6
Views: 5890

Multi-file vs. Single file DICOM

Hi,

Is there any particular setting/configuration necessary to handle single file DICOM data?

Thanks,
Evan
by evanyftsai
Sun, 2017-02-19, 08:45
Forum: DCMTK - General
Topic: DICOM image shows up twisted
Replies: 8
Views: 6755

Re: DICOM image shows up twisted

After some more research - and checking with OSG which handles the texture display in my program, it seems that the problem might be related to the setting of padding or packing. So - generally how should one select the padding parameter in calling createWindowsDIB? Is this parameter supposed to be ...
by evanyftsai
Thu, 2017-02-16, 20:02
Forum: DCMTK - General
Topic: DICOM image shows up twisted
Replies: 8
Views: 6755

Re: DICOM image shows up twisted

How can I send the screenshot to you? Can I post it here? Also, how can I enable trace mode? Where would I see the log files? Thanks for your prompt response. Evan What does the logger say (when debug and/or trace mode is enabled)? ... and what do you mean by "twisted"? Do you have a scree...
by evanyftsai
Thu, 2017-02-16, 18:58
Forum: DCMTK - General
Topic: DICOM image shows up twisted
Replies: 8
Views: 6755

Re: DICOM image shows up twisted

Another piece of information - I tried dumping the image into a .bmp file: // Dump .bmp: int bmpMade = pDcmImage->writeBMP("C:\\Temp\\200.bmp", bits, 200); And I got a 0KB .bmp file. The return value is 0. Thanks, Evan Some more information. This is how I called createWindowsDIB: DicomImag...
by evanyftsai
Thu, 2017-02-16, 18:10
Forum: DCMTK - General
Topic: DICOM image shows up twisted
Replies: 8
Views: 6755

Re: DICOM image shows up twisted

Some more information. This is how I called createWindowsDIB: DicomImage *pDcmImage = GetDicomImage(patientIndex, studyIndex, seriesIndex, imageIndex); if ( !pDcmImage ) return NULL; // Get width and height: width = pDcmImage->getWidth(); height = pDcmImage->getHeight(); // Get device independent bi...
by evanyftsai
Thu, 2017-02-16, 17:28
Forum: DCMTK - General
Topic: DICOM image shows up twisted
Replies: 8
Views: 6755

DICOM image shows up twisted

Hi, I have received a particular scan from Planmeca Promax where the DICOM image shows up twisted in DCMTK. All other scans work fine though. I am not sure what is special about this one. Can you help? This is how I make the calls: DJDecoderRegistration::registerCodecs(); OFString completeFileName =...