Search found 101 matches
- Mon, 2012-03-12, 13:41
- Forum: DCMTK - General
- Topic: Get Pixel data from compressed files
- Replies: 1
- Views: 2522
- Thu, 2012-03-01, 15:28
- Forum: DCMTK - General
- Topic: convert jpg to dicom c++
- Replies: 36
- Views: 43717
This is achieved by the function DCMSCU::addPresentationContext() and proposing the jpeg8 transfer syntax in one of the transfer syntaxes of the presentation context. Look at dcmsend as an example in the last DCMTK snapshot.
- Tue, 2012-02-28, 13:42
- Forum: DCMTK - General
- Topic: convert jpg to dicom c++
- Replies: 36
- Views: 43717
Hello, I tried to view the images with Sante DICOM Viewer the result was fine and as expected. I compared your output DICOM image with the output of the img2dcm and they are using the same photometric interpretation color model YBR_FULL_422. So, it seems the problem is in the Synedra viewer which do...
- Mon, 2012-02-20, 12:40
- Forum: DCMTK - General
- Topic: How to initialize length of OutputBufferStream
- Replies: 6
- Views: 6775
I have tested on my machine to compress a DICOM file and to use DcmElement::calcElementLength() to calculate the DICOM pixel data length before and after compression and worked fine with me. Your code portion does not show how did you use the function calcElementLength(). Make sure that you load all...
- Fri, 2012-02-17, 16:57
- Forum: DCMTK - General
- Topic: How to initialize length of OutputBufferStream
- Replies: 6
- Views: 6775
- Fri, 2012-02-17, 08:44
- Forum: DCMTK - General
- Topic: License usage
- Replies: 2
- Views: 18412
Read this FAQ.
- Fri, 2012-02-17, 08:09
- Forum: DCMTK - General
- Topic: How to initialize length of OutputBufferStream
- Replies: 6
- Views: 6775
The uncompressed pixel data length can be manually computed as it equals rows * columns * bits allocated * number of frames * number of samples. Automatically, you can just call the function DcmElement::calcElementLength() to calculate the length of the pixel data DICOM attribute before and after co...
- Mon, 2012-01-23, 20:42
- Forum: DCMTK - General
- Topic: compress DICOMDIR file entries?
- Replies: 8
- Views: 8917
Hello, According to DICOM part 11, there are media storage application profiles which specify a selection of choices including the supported SOP class UID and the transfer syntax of the icon images. The default profile is the general purpose profile which does not support compression transfer sytaxe...
- Thu, 2012-01-19, 12:54
- Forum: DCMTK - General
- Topic: "Pixel representation not found" on compression
- Replies: 9
- Views: 10870
Hi, after you fill in the pixel data manually, you should call the function chooseRepresentation() to compress the pixel data and then call the function saveFile() to save the dataset with the compressed transfer syntax. So, you should call the line status = dataset->chooseRepresentation(EXS_JPEGPro...
- Wed, 2012-01-18, 16:45
- Forum: DCMTK - General
- Topic: "Pixel representation not found" on compression
- Replies: 9
- Views: 10870
After loading the dataset and calling the chooseRepresentation() function you don't need this line of code
you can just save the dataset with the same chosen transfer syntax.
Code: Select all
dataset->putAndInsertUint8Array(DCM_PixelData, (const Uint8*)dataArray, size*sizeof(unsigned short));
- Tue, 2011-11-29, 09:31
- Forum: DCMTK - General
- Topic: ASC_requestAssociation hangs
- Replies: 2
- Views: 5194
- Tue, 2011-11-29, 09:10
- Forum: DCMTK - General
- Topic: DCMQRSCP and ON THE FLY COMPRESSION
- Replies: 5
- Views: 13904
A workaround to solve this problem is to use the option --propose-jpeg8 in dcmqrscp and let movescu prefer it using the option --prefer-jpeg8 which will avoid the need to convert the file on the fly from the actual transfer syntax to accepted transfer syntax. This will let you send the study with co...
- Fri, 2011-11-25, 16:09
- Forum: DCMTK - General
- Topic: support for dicom file SopClass 'Philips iE33 private 3D Object Storage'
- Replies: 5
- Views: 7318
Look at this HowTo
- Sun, 2011-11-20, 13:19
- Forum: DCMTK - General
- Topic: Cannot get SeriesDescription key with findscu?
- Replies: 2
- Views: 3675
The series description attribute is optional key if you query on the series level using the patient root Q/R information model (see DICOM Part 4 C.6.1.1.4). A C-FIND SCP may not support the existence of an optional key, or support its existence in the find response but without supporting matching it...
- Tue, 2011-11-15, 14:26
- Forum: DCMTK - General
- Topic: Help with DICOMDIR and CD viewer
- Replies: 18
- Views: 27230
look at this post