Search found 101 matches

by omarelgazzar
Wed, 2012-11-28, 09:49
Forum: DCMTK - General
Topic: transfer syntax and chooseRepresentation
Replies: 3
Views: 4733

Re: transfer syntax and chooseRepresentation

Also you may look at storescu when the compiler flag ON_THE_FLY_COMPRESSION is defined.
by omarelgazzar
Wed, 2012-11-21, 10:24
Forum: DCMTK - General
Topic: Graceful shutdown of DcmScp
Replies: 4
Views: 7005

Re: Graceful shutdown of DcmScp

Right. The function stopAfterCurrentAssociation() will cause the DcmSCP to stop listening after receiving the next association.
by omarelgazzar
Tue, 2012-11-20, 14:22
Forum: DCMTK - General
Topic: Graceful shutdown of DcmScp
Replies: 4
Views: 7005

Re: Graceful shutdown of DcmScp

One way to stop listening is to overwrite the function stopAfterCurrentAssociation and to let the function return OFTrue. This will cause the DCMSCP to stop listening after the current association.
by omarelgazzar
Wed, 2012-11-14, 16:59
Forum: DCMTK - General
Topic: DCMTK support dicom video format?
Replies: 9
Views: 13628

Re: DCMTK support dicom video format?

The DICOM file seems to be Ultrasound Multi-frame image and compressed using the JPEG Baseline transfer syntax which is supported by DCMTK. To know how to access multiframe image, read this HowTo on Wiki. You can also try to use the tool dcmj2pnm to convert the multiframe image to bitamp(s).
by omarelgazzar
Mon, 2012-11-12, 13:33
Forum: DCMTK - General
Topic: DicomImage::writeBMP wrong with an US file
Replies: 5
Views: 6851

Re: DicomImage::writeBMP wrong with an US file

Hello,
First, make sure that you include the following header file to support color images.

Code: Select all

#include "dcmtk/dcmimage/diregist.h"     /* include to support color images */
You can also try to check the output of the dcm2pnm tool to write BMP.
by omarelgazzar
Fri, 2012-11-09, 15:14
Forum: DCMTK - General
Topic: DcmSCP: how to stop listen ?
Replies: 2
Views: 4296

Re: DcmSCP: how to stop listen ?

The only way to stop listening is to overwrite the function stopAfterCurrentAssociation and to return OFTrue. This will cause the DCMSCP to stop listening after the current association.
by omarelgazzar
Sun, 2012-10-21, 12:08
Forum: DCMTK - General
Topic: problems using movescu
Replies: 6
Views: 7760

Re: problems using movescu

Hello,

Patient id is the unique attribute at the patient level and should contain a value. Patient ID should not be empty.
by omarelgazzar
Fri, 2012-10-19, 09:04
Forum: DCMTK - General
Topic: problems using movescu
Replies: 6
Views: 7760

Re: problems using movescu

Hello, The second move query dataset is not valid. The DICOM standard requires a unique key attribute at each level above the query retrieve level. In your case, you need to supply the StudyInstanceUID and the patient IDto the move dataset query in order to download the images. see DICOM standard PS...
by omarelgazzar
Fri, 2012-10-12, 11:23
Forum: DCMTK - General
Topic: DcmSCP:how to program handleMoveRequest function?
Replies: 3
Views: 4795

Re: DcmSCP:how to program handleMoveRequest function?

Hello, In order to handle the move request, you need to overwrite the function DcmSCP::handleMoveRequest to perform the following: 1. Internally find matches for the move request query from your database. 2. Start a new association with the remote move destination application to store SOP instances ...
by omarelgazzar
Mon, 2012-09-24, 17:17
Forum: DCMTK - General
Topic: how to use DCMTK 3.6.1 on win7
Replies: 12
Views: 24111

Re: how to use DCMTK 3.6.1 on win7

If you use the DCMTK support libraries precompiled with the code generation options (/MD and /MDd), then you have to make sure you are also compiling dcmtk using the same options (/MD and /MDd). The default is that dcmtk will be compiled using (/MT and /MTd). So, you need to change the CMakeLists.tx...
by omarelgazzar
Mon, 2012-09-24, 13:15
Forum: DCMTK - General
Topic: how to use DCMTK 3.6.1 on win7
Replies: 12
Views: 24111

Re: how to use DCMTK 3.6.1 on win7

Did you read FAQ#26?
by omarelgazzar
Thu, 2012-09-13, 10:46
Forum: DCMTK - General
Topic: Which tag can distinguish the different hospital's devices?
Replies: 1
Views: 3434

Re: Which tag can distinguish the different hospital's devic

The DICOM attribute institution name (0008,0080) is used to identify the name of the hospital or organisation where the device is located.
by omarelgazzar
Tue, 2012-08-28, 16:23
Forum: DCMTK - General
Topic: storescu native encoding
Replies: 5
Views: 5971

Re: storescu native encoding

Hello, In the storescu tool, you can define the flag ON_THE_FLY_COMPRESSION to let the tool support converting the compressed transfer syntax to uncompressed in case that the compressed transfer syntax is not accepted by the store SCP. Alternatively, there is a new tool called "dcmsend" in...