Search found 9 matches

by nedunuri
Thu, 2006-10-12, 00:36
Forum: DCMTK - General
Topic: C-Move - Association Problem
Replies: 5
Views: 7202

C-Move - Association Problem

I wrote an application to Query/Retrieve data from Dicom Server. I just followed the code in movescu application. Only difference is that the application does not terminate after data is retrieved and can be used again. When I try to retrieve data, first time the application works fine without any p...
by nedunuri
Thu, 2006-07-20, 14:27
Forum: DCMTK - General
Topic: Searching a Sequence
Replies: 2
Views: 3304

Searching a Sequence

I am trying to search for a dicom tag in a sequence. The sequence may have the attribute more than once. But search method always returns the first one. How can I get all the instances of the attribute? Here is the code I used.

file->search(searchKey, stack, ESM_fromStackTop, OFTrue);
by nedunuri
Wed, 2006-03-08, 18:36
Forum: DCMTK - General
Topic: Searching DcmItem - Problems with Sequences
Replies: 3
Views: 4229

mFile->search(DCM_Rows, stack, ESM_fromStackTop, OFFalse); does not work. If we use this, search will stop at top level and elements of dataset are not searched. yeah... dataset->search(DCM_Rows, stack, ESM_fromStackTop, OFFalse); did work. I will use findAndGetXXX( ) methods. Thanks for your sugges...
by nedunuri
Wed, 2006-03-08, 17:04
Forum: DCMTK - General
Topic: Searching DcmItem - Problems with Sequences
Replies: 3
Views: 4229

Searching DcmItem - Problems with Sequences

Hi I am trying to read number of rows (0x0028, 0x0010) and columns (0x0028, 0x0011) from an image. But image has a private attribute (0x0009, 0x1010) which contains these two along with pixel data. And hence whenever I call serch on DcmFileFormat instance, it returns objects from the sequence. How c...
by nedunuri
Thu, 2005-04-14, 14:12
Forum: DCMTK - General
Topic: Network Connection Problem
Replies: 1
Views: 4107

Adding sleep of 2 seconds before closing the socket on the server application solved the problem.
Seems like the server application is closing the socket connection before the my client application receives the data.
by nedunuri
Fri, 2005-04-08, 22:01
Forum: DCMTK - General
Topic: Network Connection Problem
Replies: 1
Views: 4107

Network Connection Problem

I am writing an application where client application will connect to CTN PACS server to query and retrieve images. My code is similar to the one in DCMNET applications. Every thing works fine except ASC_releaseAssociation. By debugging the code I found that defragmentTCP returns DUL_NETWORKCLOSED as...
by nedunuri
Tue, 2005-03-15, 16:50
Forum: DCMTK - General
Topic: Uncompressing Pixel Data
Replies: 2
Views: 5239

Uncompressing Pixel Data

I am trying to read compressed image blob. I created a DcmFileFormat instance and set pixel data in the data set. When I saved the created FileFormat object, the pixel data is still compressed. How can I tell DcmFileFormat to uncompress the pixel data. Is there any example code available for this.
by nedunuri
Thu, 2005-03-10, 23:11
Forum: DCMTK - Installation
Topic: Not able to compile - link error lnk2001
Replies: 6
Views: 10859

I found the problem. I missed to include library dcmimgle.lib. Now I am able to compile the application.
Sorry for the trouble.
by nedunuri
Thu, 2005-03-10, 22:51
Forum: DCMTK - Installation
Topic: Not able to compile - link error lnk2001
Replies: 6
Views: 10859

Not able to compile - link error lnk2001

I am trying to create a test application which would work similar to dcmcjpeg and dcmdjpeg. But the compilation failes with linking error Lnk2001. I added the following libraries for search. dcmdatad.lib ofstdd.lib dcmjpegd.lib zlibd.lib ijg8d.lib ijg12d.lib ijg16d.lib Here are the errors I got. Ple...