C-FIND for 1nst InstanceNumber

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
martinrame
Posts: 347
Joined: Mon, 2009-02-23, 19:57

C-FIND for 1nst InstanceNumber

#1 Post by martinrame »

Hi, I'm developing an app that requires accessing only one image (for example the first in a series) to create a thumbnail using WADO.

I can get the list of all SOPInstanceUIDs by issuing a C-FIND similar to this:

Code: Select all

findscu -aet MYAET -aec PACSAET --study -k "0008,0052=IMAGE" -k "0020,000D=1.3.46.670589.11.32401.5.0.8408.2011060323243518864" -k 
"0020,000E=1.3.46.670589.11.32401.5.0.6896.2011060323294317672 " -k "0008,0018"  192.168.0.120 104
I wonder if I can safely get only one instance from the pacs, for example by filtering InstanceNumber (or other tag):

Code: Select all

findscu -aet MYAET -aec PACSAET --study -k "0008,0052=IMAGE" -k "0020,000D=1.3.46.670589.11.32401.5.0.8408.2011060323243518864" -k 
"0020,000E=1.3.46.670589.11.32401.5.0.6896.2011060323294317672 "-k "0008,0018" -k "0020,0013=1" 192.168.0.120 104
This query gets the SOPInstance whose InstanceNumber is 1, but I think that's not guaranteed by the modality, please correct me if I'm wrong.

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

Re: C-FIND for 1nst InstanceNumber

#2 Post by Michael Onken »

Hi Martin,

looks good to me. Note that some PACS do not support IMAGE level queries at all (even if they have to if they support study root which you use).

Best,
Michael

Post Reply

Who is online

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