使用DICOM关联连接

一旦建立了DICOM网络,就必须关联网络连接。这也称为建立DICOM关联连接。DICOM关联连接用于确定两个ae将如何通信以及将传输的数据的性质。例如,DICOM关联连接可以建立以下连接:

SCU请求与已经建立DICOM网络连接(尚未关联)的SCP创建关联连接。SCU向SCP发送关联请求消息,其中概述了它希望传输的数据,以及如何进行传输。SCP可以接受或拒绝关联连接请求,具体取决于SCP是否支持SCU概述的数据和通信特征。如果接受连接,则建立DICOM关联连接,两个ae可以开始传输消息和数据。

在本文档中,已关188宝金博安卓下载联的DICOM连接将被称为DICOM关联连接或DICOM关联连接。有关DICOM关联网络性质的信息将在DICOM关联对象中维护并通过DICOM关联对象访问。

LEADTOOLS提供了许多函数,用于创建DICOM关联连接、修改DICOM关联对象和检索有关DICOM关联连接的信息。

创建DICOM关联连接包括创建描述传输特征的DICOM关联对象,以及发送请求、接受或拒绝DICOM关联连接的消息。

使用以下函数创建DICOM关联对象:

LDicomAssociate: LDicomAssociate

LDicomAssociate:默认

LEADTOOLS提供以下功能发送消息建立DICOM关联连接:

LDicomNet: SendAssociateRequest

LDicomNet: SendAssociateAccept

LDicomNet: SendAssociateReject

LDicomNet: SendData

LDicomNet: OnReceiveAssociateRequest

LDicomNet: OnReceiveAssociateAccept

LDicomNet: OnReceiveAssociateReject

LDicomNet: OnSend

如果DICOM关联连接不支持异步操作,则应用程序实体必须在发送另一条消息之前等待来自一条消息的响应。使用LDicomAssociate: IsAsyncOperations函数确定是否支持异步操作。如果支持异步操作,则可以发送多个消息而无需等待响应。可以发送的消息数量可以使用LDicomAssociate: SetAsyncOperations

要确定可以在没有响应的情况下调用的异步操作的数量,请调用LDicomAssociate: GetInvokedOperations.要确定已完成的操作数,请调用LDicomAssociate: GetPerformedOperations

关闭DICOM关联连接,使用以下消息发送函数:

LDicomNet: SendReleaseRequest

LDicomNet: SendReleaseResponse

LDicomNet: SendAbort

LDicomNet: OnReceiveReleaseRequest

LDicomNet: OnReceiveReleaseResponse

LDicomNet: OnReceiveAbort

修改DICOM关联对象时,需要使用以下函数:

LDicomAssociate:重置

LDicomAssociate: SetRequest

LDicomAssociate: SetVersion

LDicomAssociate: SetCalled

LDicomAssociate: SetCalling

LDicomAssociate: SetApplication

LDicomAssociate: SetPresentation

LDicomAssociate: AddPresentation

LDicomAssociate: DelPresentation

LDicomAssociate: SetResult

LDicomAssociate: SetAbstract

LDicomAssociate: SetTransfer

LDicomAssociate: AddTransfer

LDicomAssociate: DelTransfer

LDicomAssociate: SetMaxLength

LDicomAssociate: SetImplementClass

LDicomAssociate: SetAsyncOperations

LDicomAssociate: SetRoleSelect

LDicomAssociate: SetImplementVersion

LDicomAssociate: SetUserInfo

LDicomAssociate: AddUserInfo

LDicomAssociate: DelUserInfo

LDicomAssociate: SetExtended

要检索关于DICOM关联对象的信息,使用以下方法:

LDicomAssociate: IsRequest

LDicomAssociate: GetVersion

LDicomAssociate: GetCalled

LDicomAssociate: GetCalling

LDicomAssociate: GetApplication

LDicomAssociate: GetPresentationCount

LDicomAssociate: GetPresentation

LDicomAssociate: GetResult

LDicomAssociate: GetAbstract

LDicomAssociate: GetAbstractCount

LDicomAssociate: FindAbstract

LDicomAssociate: FindNextAbstract

LDicomAssociate: GetTransferCount

LDicomAssociate: GetTransfer

LDicomAssociate: IsMaxLength

LDicomAssociate: GetMaxLength

LDicomAssociate: IsAsyncOperations

LDicomAssociate: IsImplementClass

LDicomAssociate: GetImplementClass

LDicomAssociate: GetInvokedOperations

LDicomAssociate: GetPerformedOperations

LDicomAssociate: GetUserRole

LDicomAssociate: GetProviderRole

LDicomAssociate: IsRoleSelect

LDicomAssociate: IsImplementVersion

LDicomAssociate: GetImplementVersion

LDicomAssociate: GetUserInfoCount

LDicomAssociate: GetTypeUserInfo

LDicomAssociate: GetLengthUserInfo

LDicomAssociate: GetDataUserInfo

LDicomAssociate: GetLengthExtended

LDicomAssociate: GetExtended

LEADTOOLS DICOM c++类库帮助
188金宝搏的网址客服|支持|联系我们|知识产权公告
©1991 - 2021领德科技有限公司版权所有。