Search found 16 matches

by dragon_fly
Tue, 2016-09-13, 13:41
Forum: DCMTK - General
Topic: Slow Jpeg Decompression.
Replies: 2
Views: 4099

Re: Slow Jpeg Decompression.

you could rewrite JPEG with SIMD.
by dragon_fly
Wed, 2013-12-18, 04:46
Forum: DCMTK - General
Topic: Editing DICOM Image Header Information
Replies: 3
Views: 4268

Re: Editing DICOM Image Header Information

You can see the method "writeImageToDataset" in DicomImage class

In dimoImg.cc line 1989
int DiMonoImage::writeImageToDataset(DcmItem &dataset,const int mode,const int /*planar*/)
for example.
by dragon_fly
Thu, 2013-09-12, 01:46
Forum: DCMTK - General
Topic: When to use loadAllDataIntoMemory ()?
Replies: 3
Views: 3899

Re: When to use loadAllDataIntoMemory ()?

Thanks J. Riesmeier and Michael Onken.
I understand it clearly now. :D
by dragon_fly
Wed, 2013-09-11, 10:11
Forum: DCMTK - General
Topic: When to use loadAllDataIntoMemory ()?
Replies: 3
Views: 3899

When to use loadAllDataIntoMemory ()?

After a call to this method, the file from which a dataset was read may safely be deleted or replaced. For large files, this method may obviously allocate large amounts of memory. What the meaning of "After a call to this method, the file from which a dataset was read may safely be deleted or r...
by dragon_fly
Thu, 2013-04-11, 03:56
Forum: DCMTK - General
Topic: Displaying Sint16 array on screen
Replies: 5
Views: 5892

Re: Displaying Sint16 array on screen

martinrame wrote: ...and how can I get the number of Sint16 values, I thought it was using "interdata->getCount() * sizeof(Sint16)".
new sint16[interdata->getCount() ]

The size is interdata->getCount() *sizeof(sint16)
by dragon_fly
Mon, 2013-01-21, 08:28
Forum: DCMTK - General
Topic: DICOM Image Bitmap Overlay
Replies: 9
Views: 10879

Re:

Is there any sample code on how to use this method.
An example should be available in the "dcmpstat" module (as far as I remember).[/quote]
dcmpsprt.cc
by dragon_fly
Fri, 2012-11-30, 10:31
Forum: DCMTK - General
Topic: Rotated overlay question
Replies: 1
Views: 3219

Re: Rotated overlay question

Problems solved!
:mrgreen:
by dragon_fly
Fri, 2012-11-30, 09:24
Forum: DCMTK - General
Topic: Write rotated overlay data to rotated dcm
Replies: 1
Views: 3074

Re: Write rotated overlay data to rotated dcm

DCM_OverlayData has one bit

Problem solved! :mrgreen:
by dragon_fly
Thu, 2012-11-29, 06:34
Forum: DCMTK - General
Topic: SOS !!! dcmodify.exe
Replies: 1
Views: 2553

Re: SOS !!! dcmodify.exe

You can get 1.dcm's dataset and use Dicomimage(0.dcm)-> writeimagetodataset(*dataset);

Then,OFCondition a=dataset->saveFile("0.dcm",xfer);
by dragon_fly
Thu, 2012-11-29, 04:33
Forum: DCMTK - General
Topic: My first program
Replies: 2
Views: 3820

Re: My first program

by dragon_fly
Wed, 2012-11-28, 10:32
Forum: DCMTK - General
Topic: Write rotated overlay data to rotated dcm
Replies: 1
Views: 3074

Write rotated overlay data to rotated dcm

Since I post the first help(http://forum.dcmtk.org/viewtopic.php?f=1&t=3607), I tried my best. My code is as follows: int main(int argc, char *argv[]) { DicomImageClass::setDebugLevel(0xff); E_TransferSyntax xfer=EXS_Unknown; DcmFileFormat dfile; OFCondition status = dfile.loadFile("CR.dcm&...
by dragon_fly
Mon, 2012-11-26, 07:18
Forum: DCMTK - General
Topic: Rotated overlay question
Replies: 1
Views: 3219

Rotated overlay question

Is there anyway to write rotated overlay data to the rotated dcm image? I tried several ways, but failed. 1. DicomImage *pTempImg=new DicomImage(dcmDataset,xfer,CIF_AcrNemaCompatibility ,0,0); pTempImg->rotateImage(90); pTempImg->writeImageToDataset(*dcmDataset); OFCondition a=dcmDataset->saveFile(&...
by dragon_fly
Wed, 2012-11-07, 01:53
Forum: DCMTK - General
Topic: Can not getDataset of this CR dcm image with DCMTK
Replies: 1
Views: 6841

Re: Can not getDataset of this CR dcm image with DCMTK

The problem is solved, the zhanghandong.dcm was broken.
by dragon_fly
Tue, 2012-11-06, 07:49
Forum: DCMTK - General
Topic: Can not getDataset of this CR dcm image with DCMTK
Replies: 1
Views: 6841

Can not getDataset of this CR dcm image with DCMTK

Hello, I am new to DCMTK. When I process a CR dicom image with DCMTK 3.5.4, I could not getDataset of this zhanghandong.dcm(The dcm image link is:http://pan.baidu.com/share/link?shareid=99240&uk=3339708804),so I could not creatWindowsDIB to show this image. However, I could print tag values comp...