Search found 101 matches

by omarelgazzar
Tue, 2011-11-15, 13:18
Forum: DCMTK - General
Topic: Help with DICOMDIR and CD viewer
Replies: 18
Views: 27166

You can find such information in the the tool documentation in the man folder in the installation directory of dcmtk or you can write the command line dcmmk -h Generally, you should write dcmmkdir -v +id "input-directory" +D "output-dicomdir-filepath" If this does not work, what ...
by omarelgazzar
Fri, 2011-10-28, 15:05
Forum: DCMTK - General
Topic: Association rejected with findscu
Replies: 2
Views: 13436

According to the DICOM standard, a permanent rejection means authorization failure (i.e. you are not allowed to establish association). May be you need to register your AE title in the server. You can specify your AE_Title using the option -aet which is by default (FINDSCU) and use the option -aec t...
by omarelgazzar
Tue, 2011-10-25, 16:49
Forum: DCMTK - General
Topic: loadFile() API going into infinite loop
Replies: 5
Views: 5852

Did you try to use dcmdump in the debug mode?. May be the DICOM file seems to be corrupted. If you like, you can send the file to dicom (at) offis (dot) de for further check.
by omarelgazzar
Sat, 2011-10-22, 12:35
Forum: DCMTK - General
Topic: DCMSCU get series
Replies: 1
Views: 3896

Re: DCMSCU get series

Hi, I have no clue how to implement the retrieving of series descriptions of particular patient Id. I retrieved patients Id,name. One clicking the patient the application has to show the image series available for that patient Id. I tried Your query is not correct. If you are on the patient level, ...
by omarelgazzar
Mon, 2011-10-10, 16:11
Forum: DCMTK - General
Topic: storescu send jpg with explicite little indian
Replies: 4
Views: 8966

Try to recompile storescu application source file with the ON_THE_FLY_COMPRESSION macro defined.

Code: Select all

#define ON_THE_FLY_COMPRESSION
This should allow compression on the fly before sending the file in case that the accepted transfer syntax is different from the actual transfer syntax of the file.
by omarelgazzar
Wed, 2011-07-27, 07:05
Forum: DCMTK - General
Topic: about dcmqrscp
Replies: 15
Views: 21866

Thanks for your contribution. If you like send the files to dicom/at/offis/dot/de. However, I cannot promise that this will be integrated into the dcmtk package but this is definitely could be useful for other users.
by omarelgazzar
Tue, 2011-07-26, 10:27
Forum: DCMTK - General
Topic: about dcmqrscp
Replies: 15
Views: 21866

This is not the correct parameter place to select SCP role for association negotiation. Role selection is specified during association negotiation not in the initialization of the network. You need to add it to the function ASC_addPresentationContext OFCondition ASC_addPresentationContext( T_ASC_Par...
by omarelgazzar
Tue, 2011-07-26, 08:48
Forum: DCMTK - General
Topic: about dcmqrscp
Replies: 15
Views: 21866

Xiao wrote:Thank you for your update. There is no role field for A-ASSOCIATE-RQ PDU/A-ASSOCIATE-AC PDU in PS 3.8. What does dcmtk check it against ?
You can find explanation for role selection negotiation in PS 3.7 D.3.3.4. For C-Get operation look at PS 3.4.
by omarelgazzar
Mon, 2011-07-25, 08:34
Forum: DCMTK - General
Topic: about dcmqrscp
Replies: 15
Views: 21866

The default role means that the association requestor is the SCU and the association acceptor is the SCP. For a successful C-Get operation, the c-store operations must reverse the roles. So, your getscu should propose SCP role for MR image storage. If you are using the last snapshot, you will find t...
by omarelgazzar
Wed, 2011-07-20, 20:30
Forum: DCMTK - General
Topic: Retrieve image from PACS
Replies: 3
Views: 5021

You need to specify the Q/R level. Add this attribute to the find request dataset using -k 0008,0052=STUDY
by omarelgazzar
Tue, 2011-07-19, 08:49
Forum: DCMTK - General
Topic: Cannot convert dicom photometric file to BMP
Replies: 1
Views: 2884

In order to write RGB BMP file, you should specify number of bits as 24. You can also check the output of the commandline tool dcm2pnm to convert the DICOM image to color bitmap(s). 2) How to check whether dicom file is RGB file ? which API to use?? You need to check for photometric representation u...
by omarelgazzar
Tue, 2011-07-12, 18:09
Forum: DCMTK - General
Topic: Link errors using DCMTK under C++/CLI (.NET)
Replies: 1
Views: 3207

Did you look at this FAQ?
by omarelgazzar
Fri, 2011-07-01, 08:23
Forum: DCMTK - General
Topic: I need some help with c-move.
Replies: 3
Views: 4454

Here is the syntax for the command line. You should of course replace the variables with your parameters.

movescu -v movehostname moveport -S -k 0008,0052=STUDY -k 0020,000D = studyuid --move storeserverAET
by omarelgazzar
Tue, 2011-06-28, 14:49
Forum: DCMTK - General
Topic: getting wrong pixel data using Dicom->getOutputData(8,0,0)
Replies: 3
Views: 4266

What about applying ww/wl transformations on the image in order to display it properly?. You can try using DicomImage::setMinMaxWindow(0) or DicomImage::setWindow(ww,wc).
by omarelgazzar
Sun, 2011-06-19, 14:02
Forum: DCMTK - General
Topic: Basic CGET with dcmtk.
Replies: 5
Views: 11714

You can find such notifications in the DCMSCP class. You can try overwriting the event notifyAssociationTermination(). /** Overwrite this function to be notified when an association is terminated. * The standard handler only outputs some information to the logger. */ virtual void notifyAssociationTe...