microdicom可以作为客户端访问orthanc server的影像,此处需要在orthanc.json中修改两个配置。
1,设置允许远程访问,开放指定的ip地址和aet/端口号,同时在microdicom上也需要做相应设置。
/**
* Network topology
**/
// The list of the known DICOM modalities. This option is ignored if
// "DicomModalitiesInDatabase" is set to "true", in which case you
// must use the REST API to define modalities.
"DicomModalities" : {
/**
* Uncommenting the following line would enable Orthanc to
* connect to an instance of the "storescp" open-source DICOM
* store (shipped in the DCMTK distribution), as started by the
* command line "storescp 2000". The first parameter is the
* AET of the remote modality (cannot be longer than 16
* characters), the second one is the remote network address,
* and the third one is the TCP port number corresponding
* to the DICOM protocol on the remote modality (usually 104).
**/
// "sample" : [ "STORESCP", "127.0.0.1", 2000 ]
"sample" : [ "microdicom的aet", "运行microdicom的电脑ip地址,可用通配符*", dicom端口号 ]
2,如不显示患者姓名(汉字等双字节编码的文字),需要更改编码格式,建议utf8。
// The default encoding that is assumed for DICOM files without
// "SpecificCharacterSet" DICOM tag, and that is used when answering
// C-FIND requests (including worklists). The allowed values are
// "Ascii", "Utf8", "Latin1", "Latin2", "Latin3", "Latin4",
// "Latin5", "Cyrillic", "Windows1251", "Arabic", "Greek", "Hebrew",
// "Thai", "Japanese", "Chinese", "JapaneseKanji", "Korean", and
// "SimplifiedChinese".
"DefaultEncoding" : "Utf8",
改动上述设置,即可将microdicom作为orthanc server的客户端使用,实现查询功能。其它支持pacs的客户端同理,均可通过此设置访问orthanc server中储存的影像。
---Translated by Google---
Microdicom can access images from orthanc server as a client. Here, two configurations need to be modified in orthanc.json.
1. Set to allow remote access, open the specified IP address and aet/port number, and also make corresponding settings on microdicom.
/** * Network topology **/ // The list of the known DICOM modalities. This option is ignored if // "DicomModalitiesInDatabase" is set to "true", in which case you // must use the REST API to define modalities. "DicomModalities" : { /** * Uncommenting the following line would enable Orthanc to * connect to an instance of the "storescp" open-source DICOM * store (shipped in the DCMTK distribution), as started by the distribution * command line "storescp 2000". The first parameter is the * AET of the remote modality (cannot be longer than 16 * characters), the second one is the remote network address, * and the third one is the TCP port number corresponding * to the DICOM protocol on the remote modality (usually 104). **/ // "sample" : [ "STORESCP", "127.0.0.1", 2000 ]
"sample" : [ "microdicom's aet", "IP address of the computer running microdicom, wildcard * can be used", dicom port number ]
2. If the patient's name (double-byte coded text such as Chinese characters) is not displayed, the encoding format needs to be changed. UTF8 is recommended.
// The default encoding that is assumed for DICOM files without
// "SpecificCharacterSet" DICOM tag, and that is used when answering
// C-FIND requests (including worklists). The allowed values are
// "Ascii", "Utf8", "Latin1", "Latin2", "Latin3", "Latin4",
// "Latin5", "Cyrillic", "Windows1251", "Arabic", "Greek", "Hebrew",
// "Thai", "Japanese", "Chinese", "JapaneseKanji", "Korean", and
// "SimplifiedChinese".
"DefaultEncoding" : "Utf8",
By changing the above settings, you can use microdicom as a client of orthanc server to implement query function