Search found 12 matches

by swaroopcool21
Thu, 2011-03-31, 12:28
Forum: DCMTK - General
Topic: Compile Sample Program on Linux
Replies: 8
Views: 7256

Dear Sir, It is still not working. I have downloaded dcmtk from http://www.dcmtk.org/download/dcmtk/dcmtk360/ and it was successfully installed. on my linux pc, i could even find the file `dctk.h' I tried to compile the program which was suggested by you. I get following message from the compiler In...
by swaroopcool21
Wed, 2011-03-30, 12:58
Forum: DICOMscope - General
Topic: Exact Steps to Compile Sample DCMTK Program
Replies: 1
Views: 5617

Exact Steps to Compile Sample DCMTK Program

Hello, I want to use DCMTK in my application. To start with I have taken the following code -- DcmFileFormat fileformat; OFCondition status = fileformat.loadFile("test.dcm"); if (status.good()) { OFString patientName; if (fileformat.getDataset()->findAndGetOFString(DCM_PatientName, patientName).good...
by swaroopcool21
Wed, 2011-03-30, 11:47
Forum: DCMTK - General
Topic: Compile Sample Program on Linux
Replies: 8
Views: 7256

Following is my program -- #include <iostream> using namespace std; #include <stdio.h> #include <malloc.h> #include <stdlib.h> #include <dcfilefo.h> //in dcmdata #include <dcitem.h> //in dcmdata int main() { DcmFileFormat fileformat; OFCondition status = fileformat.loadFile("test.dcm"); if (status.g...
by swaroopcool21
Wed, 2011-03-30, 11:41
Forum: DCMTK - General
Topic: Compile Sample Program on Linux
Replies: 8
Views: 7256

Also,

the example on the DCMTK documentation

has no defination about the symbol

`DCM_PatientName` and `patientName`

please help....
by swaroopcool21
Mon, 2011-03-28, 10:57
Forum: DCMTK - General
Topic: Compile Sample Program on Linux
Replies: 8
Views: 7256

I have seen the example.

but following thing is wat i find missing -
1. which include files (headers) to be used
2. compilation instructions (with -L & -I option)

please help me with the exact command
my dcmtk include files lie in /usr/include/dcmtk/

thanks for help
by swaroopcool21
Sat, 2011-03-26, 12:25
Forum: DCMTK - General
Topic: Compile Sample Program on Linux
Replies: 8
Views: 7256

Compile Sample Program on Linux

Hi, I am using UBUNTU (Linux). I need to compile and run the sample code (below). I use g++. Please help me with the command to compile test.cpp #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/dctk.h" int main() { DcmFileFormat fileformat; OFCondition status = fileformat.loadFile("test.dc...
by swaroopcool21
Fri, 2011-03-25, 13:42
Forum: DCMTK - General
Topic: movescu usage
Replies: 1
Views: 1912

movescu usage

I have a PACS already setup (i use conquest). PACS runs on localhost port 5678 I need to download the files from the pacs as dicom files (.dcm). I have read the man page and also the NOTES section however, i am not able to figure out for to download a file. I understand that, following data is requi...
by swaroopcool21
Fri, 2011-03-25, 12:49
Forum: DCMTK - General
Topic: how to get all studies of patient
Replies: 1
Views: 1548

how to get all studies of patient

Hello, I am using conquest as my dicom server. I have several studies of a patient with PatientID as '0' (zero). I want to get a list of all the studies of this patient. I am executing the following command `findscu -X -v -P -k 0008,0052="STUDY" -k PatientID="0" localhost 5678` however, inspite of u...
by swaroopcool21
Thu, 2011-03-24, 15:32
Forum: DCMTK - General
Topic: findscu
Replies: 7
Views: 6159

tried this,
with -X
findscu -X ew.dcm -d -v -P localhost 5678 req.dcm

but it gives error
"error: Invalid parameter value localhost"

please help with this options..
by swaroopcool21
Thu, 2011-03-24, 14:08
Forum: DCMTK - General
Topic: findscu
Replies: 7
Views: 6159

Hi again, I have removed the patientname field from request file and i get a response from server. following is the response with "-v -d" Now, which line in this dump suggest that the requested patient was found.?? ============================================================== Request Parameters: Ou...
by swaroopcool21
Thu, 2011-03-24, 13:48
Forum: DCMTK - General
Topic: findscu
Replies: 7
Views: 6159

Hi again, I went through the NOTES section carefully. But the problem is that I dont get a response back from the dicom server. I have a conquest running on localhost on port 5678. It has data. I want to find the patient by the name `Patient_001^G_001' My request file looks like following (which i c...
by swaroopcool21
Wed, 2011-03-23, 13:58
Forum: DCMTK - General
Topic: findscu
Replies: 7
Views: 6159

findscu

Hi, I am a newbie with dcmtk. I have setup a DICOM server (conquest). I have inserted a few dicom images into it. These are also viewable from itz web-interface. I have a patient named `b_1tumour'. I want to see this result with findscu. Please help me as to how to use it. I referred to its man page...