Search found 12 matches

by myching
Sun, 2005-10-16, 10:39
Forum: DCMTK - Installation
Topic: Can I use dcmtk as a shared dll in vc?
Replies: 8
Views: 19252

Can I use dcmtk as a shared dll in vc?

another word ,how can i get dll from dcmtk ?
by myching
Fri, 2005-10-14, 14:30
Forum: DCMTK - Installation
Topic: can't compile dcmtk (link error LNK2005)--change /MT to /MD
Replies: 1
Views: 4535

can't compile dcmtk (link error LNK2005)--change /MT to /MD

I can link dcmtk ok. But I want use mfc as a dll but not static libary. So, when i change /MT to /MD in CMakeLists.txt as the following,I get a lot of Link error 2005 for the dcmgpdir class. Who can tell me the reason? //////////////////// from offis FAQ#26 Note: You can change the code generation o...
by myching
Wed, 2005-09-28, 09:35
Forum: DCMTK - General
Topic: help about write to dicom file! Thanks!!
Replies: 1
Views: 3403

help about write to dicom file! Thanks!!

I use the fellowing example code to write a dicom file : char uid[100]; DcmFileFormat fileformat; DcmDataset *dataset = fileformat.getDataset(); dataset->putAndInsertString(DCM_SOPClassUID, UID_SecondaryCaptureImageStorage); dataset->putAndInsertString(DCM_SOPInstanceUID, dcmGenerateUniqueIdentifier...
by myching
Wed, 2005-09-28, 02:14
Forum: DCMTK - General
Topic: How many ways in dcmtk to get pixeldata from a dicom file?
Replies: 5
Views: 7772

yes,but.

i can send this file to you. Can yougive me a email.
by myching
Tue, 2005-09-27, 04:05
Forum: DCMTK - General
Topic: about the dicom-rt-rs file
Replies: 1
Views: 2775

about the dicom-rt-rs file

if my accelerator does not have mlc, and only lead block,
can i use the "Block Data (300A,0106) " to store the contour ?
by myching
Tue, 2005-09-27, 02:05
Forum: DCMTK - General
Topic: How many ways in dcmtk to get pixeldata from a dicom file?
Replies: 5
Views: 7772

but

my dicom file is a dicom-rt-dose file and the info is 0028,0100,Bits Allocated: 32 0028,0101,Bits Stored: 32 0028,0102,High Bit: 31 but when i use the following code Uint16 *pixelData = (Uint16 *)(image->getOutputData(16 /* bits per sample */)); int size =sizeof(pixelData) and i get "size=4&quo...
by myching
Mon, 2005-09-26, 03:21
Forum: DCMTK - General
Topic: How many ways in dcmtk to get pixeldata from a dicom file?
Replies: 5
Views: 7772

How many ways in dcmtk to get pixeldata from a dicom file?

can i use the "getOutputData" to get the pixeldata?if it can ,who can give me a example?
by myching
Fri, 2005-09-23, 07:14
Forum: DCMTK - General
Topic: help! how to read 32bits rt-dose file?
Replies: 7
Views: 9288

thanks!

rt
by myching
Thu, 2005-09-22, 03:24
Forum: DCMTK - General
Topic: help! how to read 32bits rt-dose file?
Replies: 7
Views: 9288

when do i use "findAndGetUint32Array"?

do you mean that "findAndGetUint32Array" is not prepared for read any type pixeldata?
by myching
Wed, 2005-09-21, 16:14
Forum: DCMTK - General
Topic: help! how to read 32bits rt-dose file?
Replies: 7
Views: 9288

but

when i see the dicom info: it show:

0028,0100,Bits Allocated: 32
0028,0101,Bits Stored: 32
0028,0102,High Bit: 31

can i direct read 32bits from it?
by myching
Wed, 2005-09-21, 10:23
Forum: DCMTK - General
Topic: help! how to read 32bits rt-dose file?
Replies: 7
Views: 9288

help! how to read 32bits rt-dose file?

I have a dicom-rt-dose file and i want to use the fllow code to read 32bits rt-dose pixel-data form it? but i get nothing?who can help me? DcmFileFormat fileformat; OFCondition status = fileformat.loadFile("test.dcm"); if (status.good()) { DcmDataset *dataset = fileformat.getDataset(); con...