Search found 24 matches

by Aaron1
Mon, 2012-04-30, 15:31
Forum: DCMTK - General
Topic: Loading DICOM file using DCMTK failed
Replies: 1
Views: 3121

Loading DICOM file using DCMTK failed

Hi! I load a dicom file using DCMTK as follow code: DcmFileFormat *dfile = new DcmFileFormat(); OFCondition cond = dfile->loadFile("2-mod.dcm", opt_transferSyntax, EGL_withoutGL, DCM_MaxReadLength, opt_readMode) ; But I get the result that cond is error. I try to dump the DICOM file use DC...
by Aaron1
Fri, 2012-03-23, 15:05
Forum: DCMTK - General
Topic: use dcmj2pnm utility converting dcm image, but the colors of result jpg image is incorrect
Replies: 4
Views: 4907

I added option --conv-guess-lossy or --conv-guess,converted the dcm Image, get the correct JPG image.

Thanks for your help!
by Aaron1
Mon, 2012-03-19, 13:49
Forum: DCMTK - General
Topic: use dcmj2pnm utility converting dcm image, but the colors of result jpg image is incorrect
Replies: 4
Views: 4907

Sorry!
I have sent the eMail to wrong Address last time. Now, I sent the eMail to
dicom@offis.de.
EMail Topic is: DCM Image about Topic "use dcmj2pnm utility converting dcm image, but the colors of result jpg image is incorrect" From Aaron1.

Wish your help! thanks
by Aaron1
Mon, 2012-03-19, 10:34
Forum: DCMTK - General
Topic: use dcmj2pnm utility converting dcm image, but the colors of result jpg image is incorrect
Replies: 4
Views: 4907

use dcmj2pnm utility converting dcm image, but the colors of result jpg image is incorrect

Hello! I use dcmj2pnm uitility converting a dcm image to jpg image, everything seem ok through of dcmj2pnm runing, but the color of result jpg image seems incorrect, comparing original dcm image that is opened by a dicom image browser(pacsplus).Follow is my command line: Dcmj2pnm -v --write-jpeg es1...
by Aaron1
Thu, 2011-10-13, 16:04
Forum: DCMTK - General
Topic: how to set voi lut
Replies: 2
Views: 4271

yes,i have refered to dcmmklut, i have modified my code, and debug the code, i find that ret2, return value of function setVoilut is not correct. what's matter? your advice is expected! Original: /* set VOI LUT */ if (status == EC_Normal) { if ((lutDescriptor != NULL) && (lutData != NULL) &a...
by Aaron1
Tue, 2011-10-11, 04:12
Forum: DCMTK - General
Topic: how to set voi lut
Replies: 2
Views: 4271

how to set voi lut

Hi! My codes set the voi lut of a dicom image, then transform the dicom image to bmp format,i have tried to set 3 gamma value: 0.1,1.5 and 2.2, but it seems that bmp images to be transformed do not change. my codes use dcmtk. what s problem? what is corrected process? DicomImage* pDicomImgage = new ...
by Aaron1
Wed, 2009-11-11, 15:22
Forum: DCMTK - General
Topic: question on TS of dcmqrscp
Replies: 2
Views: 3569

Thank you for your Help! For prefer TS of dcmqrscp, modify it according to dcmstorescp , it can work really. But for proposed TS using by storescu in dcmqrscp.exe, dcmqrscp only can access DICOM images with one kind of TS by its setting. How can it access DICOM images with various TS, Not by setting...
by Aaron1
Wed, 2009-11-04, 15:57
Forum: DCMTK - General
Topic: question on TS of dcmqrscp
Replies: 2
Views: 3569

question on TS of dcmqrscp

Hi, I send DICOM Images to dcmqrscp.exe using more than one DICOM clients, because every client uses different transfer syntaxes, I must set TS of dcmqrscp.exe again, when using different client. I wonder if dcmqrscp can support all TSes implemented by DCMTK simultaneously, by modifying dcmqrscp or ...
by Aaron1
Mon, 2008-04-28, 16:21
Forum: DCMTK - General
Topic: “quota” of dcmqrscp tool
Replies: 5
Views: 6424

Hi! I studied DCMTK help documents, the “quota” of dcmqrscp “DB” includes two parameters, Maxstudies and MaxBytesPerStudy,a sample in dcmqrscp.cfg is “COMMON /home/dicom/db/COMMON R (200, 1024mb) ANY”, I want to known what is max values of the two parameters, if it can exceed 200 and 1024m.
by Aaron1
Tue, 2008-04-22, 13:41
Forum: DCMTK - General
Topic: “quota” of dcmqrscp tool
Replies: 5
Views: 6424

Thank you for response.
I checked SOP Instance UIDs of Images that received by dcmqrscp,There are same SOP Instance UIDs for sure. But why does dcmqrscp generate same SOP Instance UIDs? In addition, How does dcmqrscp generate SOP Instance UIDs.My OS is Windows XP.
Waiting for responses!
by Aaron1
Sun, 2008-04-20, 18:04
Forum: DCMTK - General
Topic: “quota” of dcmqrscp tool
Replies: 5
Views: 6424

“quota” of dcmqrscp tool

Hi, I send DICOM images to dcmqrscp, using a DICOM Application(PACS PLUS Viewer) that implements DICOM storage SCU.I have sent 512 colour images as one Patient,Study and Series.PACS PLUS showed sending images correctly, but dcmqrscu did not receive all images, and dcmqrscu displaied such cues: “DB Q...
by Aaron1
Fri, 2008-01-18, 18:21
Forum: DCMTK - General
Topic: Make a Findscu dll
Replies: 0
Views: 15691

Make a Findscu dll

Hello! I want make a findscu dll based on DCMTK using MS VC6.0, I coded my program as findscu tool in DCMTK, but when testing my findscu dll, a Debug Error appeared: "Debug Error! Program E:\dcmSearch.exe Module: File: i386\chkesp.c Line: 42 The value of ESP was not properly saved across a func...
by Aaron1
Tue, 2006-06-27, 06:56
Forum: DCMTK - General
Topic: How to convert a DICOM file to JPEG2000Lossless TS
Replies: 1
Views: 2936

How to convert a DICOM file to JPEG2000Lossless TS

Hi My frinds,

Since JPEG2000 compression is surported in DCMTK3.54, could I convert a DICOM file to JPEG2000 TS using some tools in DCMTK3.54? Can dcmcjpeg.exe perform the task? If it does, what commandline should I use?
by Aaron1
Wed, 2006-04-05, 06:05
Forum: DCMTK - General
Topic: dcmqrscp c-move problem
Replies: 4
Views: 7046

Hi Michael Thanks for your Reply.I modified code in dcmqrcbm.h and dcmqrcbg.h by your means.It is fine in dcmqrcbg.h,origAETitle and ourAETitle are all type of OFString,so we should use constructor of class OFString not code as follow: origAETitle[0] = '\0'; ourAETitle[0] = '\0'; but in dcmqrcbm.h, ...
by Aaron1
Tue, 2006-04-04, 07:36
Forum: DCMTK - General
Topic: dcmqrscp c-move problem
Replies: 4
Views: 7046

I compiled DCMTK3.54 again using MSVC6.0 on Windows XP,and found that if DCMTK3.54 is compiled using Win32 Release configration,dcmqrscp.exe work well in implementing c-move,but compiled using Win32 Debug configration,when dcmqrscp.exe running c-move,the program fail will occur:!(pos >= this->size()...