Search found 36 matches

by Xiao
Fri, 2012-08-24, 07:25
Forum: DCMTK - General
Topic: Help with inserting multiple float values on a single tag
Replies: 2
Views: 3497

Re: Help with inserting multiple float values on a single ta

Did you try below functions?

OFCondition putFloat32 (const Float32 floatVal, const unsigned long pos=0)
set particular element value to given float

OFCondition putFloat32Array (const Float32 *floatVals, const unsigned long numFloats)
set element value to given float array data
by Xiao
Wed, 2012-08-15, 07:25
Forum: DCMTK - General
Topic: putFloat32 segmentation fault
Replies: 6
Views: 6818

Re: putFloat32 segmentation fault

I wonder that you want to write a element with DICOM (OF) VR, if so, you can use DcmOtherFloat class. a class representing the DICOM value representation 'Other Float String' (OF)
by Xiao
Mon, 2012-07-02, 07:37
Forum: DCMTK - General
Topic: How to send patient first name, middle name and last name in
Replies: 4
Views: 11269

Re: How to send patient first name, middle name and last nam

I think you should parse the patient name by yourself according to the PN's definition.
Delimiter is the caret “^” character (5EH).
by Xiao
Mon, 2012-06-11, 03:14
Forum: DCMTK - General
Topic: Can not get the PatientName,PatientId...
Replies: 5
Views: 7661

Re: Can not get the PatientName,PatientId...

If you want to understand the relationship about query root and query level, you can see "testFindRequestList function" in dcmtk-3.6.0/dcmqrdb/libsrc/dcmqrdbi.cc
by Xiao
Tue, 2012-04-10, 04:09
Forum: DCMTK - General
Topic: about QR CFIND 'Modalities in Study (0008,0061)'
Replies: 2
Views: 5209

C.2.2.3 Matching Multiple Values When matching an Attribute which has a value multiplicity of greater than one, if any of the values match, then all values shall be returned. According this, 'Modalities in Study (0008,0061) = PT\CT' should be matched besides 'Modalities in Study (0008,0061) = CT', i...
by Xiao
Fri, 2012-04-06, 08:06
Forum: DCMTK - General
Topic: about QR CFIND 'Modalities in Study (0008,0061)'
Replies: 2
Views: 5209

about QR CFIND 'Modalities in Study (0008,0061)'

If QR SCP received CFIND RQ which contained 'Modalities in Study (0008,0061) = CT', the matching for RSP should be contain 'Modalities in Study (0008,0061) = PT/CT' besides 'Modalities in Study (0008,0061) = CT'? Another question: 'Modalities in Study (0008,0061) = PT\CT', the matching for this shou...
by Xiao
Mon, 2012-02-06, 06:40
Forum: Third-Party DCMTK Applications
Topic: Has anybody used dcm4chee?
Replies: 1
Views: 15343

Has anybody used dcm4chee?

I installed dcm4chee-2.13.5.iso on virtual machine, when I clicked "View image", I got the following error. Anyone can help me, thank you! HTTP Status 500 - Unexpected error in WADO service (dcm4chee.archive:service=WADOService): null type Status report message Unexpected error in WADO ser...
by Xiao
Mon, 2011-12-26, 08:36
Forum: DCMTK - General
Topic: DcmSCP forked child how to hide Windows Console
Replies: 4
Views: 4987

You also can add "#pragma comment(linker,"/subsystem:\"Windows\" /entry:\"mainCRTStartup\"")" in source code of your child process to hide console window.
by Xiao
Thu, 2011-12-15, 07:29
Forum: DCMTK - General
Topic: about DcmQueryRetrieveIndexDatabaseHandle::DB_IdxRemove
Replies: 1
Views: 2937

about DcmQueryRetrieveIndexDatabaseHandle::DB_IdxRemove

to remove an index record, just put a record with filename == "", why not remove the record from index file?
by Xiao
Wed, 2011-10-19, 03:06
Forum: DCMTK - General
Topic: How to use dcmpsmk
Replies: 7
Views: 8409

Thank you very much.
by Xiao
Tue, 2011-10-18, 09:27
Forum: DCMTK - General
Topic: How to use dcmpsmk
Replies: 7
Views: 8409

thank you for replay. Graphic Type: The shape of graphic that is to be drawn. See C.10.5.1.2. Enumerated Values: POINT POLYLINE INTERPOLATED CIRCLE ELLIPSE in despite of there is no ARROW, I still want to save the arrow drawn on image in PS file, what should I do? good idea, maybe later I will chang...
by Xiao
Tue, 2011-10-18, 03:25
Forum: DCMTK - General
Topic: How to use dcmpsmk
Replies: 7
Views: 8409

Another question, can you tell how to save a arrow in PS file, thanks.
by Xiao
Tue, 2011-10-18, 03:08
Forum: DCMTK - General
Topic: How to use dcmpsmk
Replies: 7
Views: 8409

Thank you for your update. Now I have write a new dcmpsmk, which can be used to create ps file. usage: $dcmpsmk dicomfile pstemplatefile pstemplatefile format: [Shutter] shutterShape=RECTANGULAR\\CIRCULAR\\POLYGONAL shutterLeftVerticalEdge=52 shutterRightVerticalEdge=327 shutterUpperHorizontalEdge=2...
by Xiao
Thu, 2011-10-13, 12:21
Forum: DCMTK - General
Topic: How to use dcmpsmk
Replies: 7
Views: 8409

How to use dcmpsmk

Anyone can tell me how to use dcmpsmk to create ps file with
ShutterEllipse
ShutterRectangle
ShutterFreehand
Rectangle
Ellipse
Arrow
Line
Angle
Text
Polygon

I will be very appreciated, if someone can give me a sample, thanks!
by Xiao
Tue, 2011-09-06, 07:28
Forum: DCMTK - General
Topic: how can use dcmqrscp to receive data to a specified direction?
Replies: 5
Views: 16478

I modified dcmqrdbi.cc, dcmqrsrv.cc, dcmqrdba.h, dcmqrdbi.h to classify the received image files according to studyinstanceUID. I tested and it seems ok. add function: OFCondition DcmQueryRetrieveIndexDatabaseHandle::makeNewStoreFileName( const char *SOPClassUID, const char * /* SOPInstanceUID */ , ...