Search found 4 matches

by CodeLogic
Fri, 2005-05-20, 23:41
Forum: DCMTK - General
Topic: Embedding a precompressed JPEG in a DICOM
Replies: 7
Views: 10420

Thanks, that worked! I had misread that the entire offset table was optional, but only the value seems to be optional. The JPEG gets encapsulated correctly, however, since 'medcon' does not support lossy JPEGs, I cannot view it. That's not a problem. I have a question regarding transmission of this ...
by CodeLogic
Thu, 2005-05-19, 17:28
Forum: DCMTK - General
Topic: Embedding a precompressed JPEG in a DICOM
Replies: 7
Views: 10420

I actually tried using 'DCM_PixelDataGroupLength' because I noticed it in a valid DICOM file containing an encapsulated item. However, after changing it to 'DCM_PixelData', I get the encapsulated item in the file. However, 'medcon' compains with error: No images found . (0028,0002) US[1] SamplesPerP...
by CodeLogic
Wed, 2005-05-18, 23:24
Forum: DCMTK - General
Topic: Embedding a precompressed JPEG in a DICOM
Replies: 7
Views: 10420

Thanks for the tip. I read through the source and I think I'm on the right track now, but I'm still facing some problems. E_TransferSyntax xfer = DcmXfer(EXS_JPEGProcess1TransferSyntax).getXfer(); DcmDataset *dataset = _fileformat->getDataset(); . . // input image metadata and UIDs . . DcmElement *n...
by CodeLogic
Mon, 2005-05-16, 22:55
Forum: DCMTK - General
Topic: Embedding a precompressed JPEG in a DICOM
Replies: 7
Views: 10420

Embedding a precompressed JPEG in a DICOM

Hi, I'm interested in embedding (encapsulating) a precompressed JPEG (that has been compressed outside dcmtk) as it is without any modification inside a freshly creatly DICOM image. What kind of transfer syntax would I need to use? Also, how would the code be? If this is not possible , how do I embe...