PACS connection

All other questions regarding DCMTK

Moderator: Moderator Team

Message
Author
Mitmal
Posts: 112
Joined: Mon, 2011-04-18, 19:36
Location: France

#16 Post by Mitmal »

It should be possible to make image retrieval with my current version (3.6.0)
I guess it was possible before, right?
Respectueusement,
MitMal

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#17 Post by Michael Onken »

Hi,

yes but you have to derive your own class from DcmSCU and add functions sendMOVERequest() yourself.

Michael

Mitmal
Posts: 112
Joined: Mon, 2011-04-18, 19:36
Location: France

#18 Post by Mitmal »

Arf ... Do you have an example for me?
Respectueusement,
MitMal

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#19 Post by Michael Onken »

Yes, look into the current version of DcmSCU which already contains such a function as I said ;) E.g. either check the snapshot I posted above or browse/clone the DCMTK git repository.

Michael

Mitmal
Posts: 112
Joined: Mon, 2011-04-18, 19:36
Location: France

#20 Post by Mitmal »

Is it possible to add one, or two, Date in my request ??
( For example, if I search all the examen after 1986/01/28 but before 1986/12/31 )
Respectueusement,
MitMal

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#21 Post by Michael Onken »

You can specify date and time ranges. e.g. for study date send "19860128- 19861231". Details are in the standard, part 4 in the chapter about query/retrieve.

All the best,
Michael

Mitmal
Posts: 112
Joined: Mon, 2011-04-18, 19:36
Location: France

#22 Post by Mitmal »

I tested with this code but it does not work :

Code: Select all

req.putAndInsertOFStringArray(DCM_StudyDate, "2003/10/01-2003/10/05");
Respectueusement,
MitMal

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

#23 Post by J. Riesmeier »

What about following the DICOM standard (and what my colleague suggested): remove the "/" from the element value. "20031001-20031005" would be correct in terms of range matching.

Mitmal
Posts: 112
Joined: Mon, 2011-04-18, 19:36
Location: France

#24 Post by Mitmal »

Perfect, it works fine.
I would like now specify a series in my study is in perfusion, is it possible?
May be looking at the number of images ...
Respectueusement,
MitMal

Mitmal
Posts: 112
Joined: Mon, 2011-04-18, 19:36
Location: France

#25 Post by Mitmal »

Now that I changed my version of DCMTK with the latest snapshot http://dicom.offis.de/download/dcmtk/snapshot/
I have a new error:

Code: Select all

1> Application.cpp (431): error C2065: 'FINDResponses': undeclared identifier
And line 431 there is just : FINDResponses findResponses;

But I have not changed anything other than DCMTK ... And with the old version it works well.

Do you know why?
Respectueusement,
MitMal

Mitmal
Posts: 112
Joined: Mon, 2011-04-18, 19:36
Location: France

#26 Post by Mitmal »

And when I look in the directory DCMTK where it says the word FINDResponses there is no response .... strange ....
Respectueusement,
MitMal

Mitmal
Posts: 112
Joined: Mon, 2011-04-18, 19:36
Location: France

#27 Post by Mitmal »

Nobody can help me?
No solution?
I really need to retrieve images from the network
Respectueusement,
MitMal

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

#28 Post by J. Riesmeier »

What about helping yourself by looking at the source code or documentation? The DcmSCU and DcmSCP classes are experimental, so there are still many incompatible changes ...

Mitmal
Posts: 112
Joined: Mon, 2011-04-18, 19:36
Location: France

#29 Post by Mitmal »

In fact, if I understand correctly, the old uses an object FINDResponses scu, scu the new does not use this object, but uses MOVEResponses ... So the example (DcmSCU example program) is what ?????

Because I'm lost ... I try to make a mix of the two classes but I can not. Can anyone help me?
I would like to replace the class scu by a mix of both ... To use the example given on the site :-(
Respectueusement,
MitMal

Mitmal
Posts: 112
Joined: Mon, 2011-04-18, 19:36
Location: France

#30 Post by Mitmal »

I am looking MOVEResponses in the directory of the "new" DCMTK (last snapshot)
And I find nothing more than scu.cc
So until now I thought the statement was in MOVEResponses scu.cc, but not at all ... There is just a comment that talks about MOVEResponses ...

So I'm lost, where the MOVEResponses should be exactly?
Respectueusement,
MitMal

Locked

Who is online

Users browsing this forum: Google [Bot] and 1 guest