简体   繁体   English

如何从本地服务器(本地AETitle)列出DICOM研究?

[英]How to list DICOM studies from local server (local AETitle)?

I'm using DicomObjects Library for manipulations with DICOM files. 我正在使用DicomObjects库对DICOM文件进行操作。

I'm using just the base commands and so far this is my working code: 我只使用基本命令 ,到目前为止,这是我的工作代码:

    var queryFind = new DicomObjects.DicomQuery
    {
        Node = "remoteIPaddress",
        Port = remotePortNumber,
        CallingAE = "localAEtitle",
        CalledAE = "remoteAEtitle",                             
        Level = DicomObjects.Enums.QueryLevel.STUDY,
        Root = DicomObjects.Enums.QueryRoot.Study            
    };
    var resultFind = queryFind.Find();

So this is basically a C-FIND command and I'm passing all the needed data about the remote server, and the AETitle for my local server. 因此,这基本上是一个C-FIND命令,我正在传递有关远程服务器以及本地服务器的AETitle的所有必需数据。 And the code above works fine and it's taking the studies from the remote server. 上面的代码可以正常工作,并且可以从远程服务器上进行研究。 But what if I want to only take the studies from my local server? 但是,如果我只想从本地服务器上学习,该怎么办? I have tried different combinations (placed local data in the fields, make combinations etc.) but none of them worked. 我尝试了不同的组合(将本地数据放置在字段中,进行组合等),但是它们都不起作用。

Is there any way to get and list the studies from local AETitle? 有什么方法可以从当地AETitle获取并列出研究结果吗? If you are not familiar with DicomObjects Library, but you know how this can be achieved with DICOM standard (or other tool or library), that also may be helpful for me, since I'm out of ideas, and I'll try to convert given idea (if any) to this Library and will post a solution. 如果您不熟悉DicomObjects库,但是您知道如何使用DICOM标准(或其他工具或库)来实现,那对我可能也会有所帮助,因为我没有主意,我将尝试将给定的想法(如果有)转换到该库,并将发布解决方案。

Set

Node="127.0.0.1"
Port = <your local DICOM port number>
CalledAE = <the AET of your local DICOM Query Service class provider>

and make sure that the local DICOM server is configured to accept communications from your local AE title. 并确保将本地DICOM服务器配置为接受来自本地AE标题的通信。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM