我正在尝试使用开源 dcm4che2 工具包创建自己的 PACS 服务器。我很难弄清楚如何使用工具包以我需要的格式获取 DICOM 数据。
我扩展了 org.dcm4che2.net.service.StorageService 类并覆盖了这个方法:
@Override
protected void onCStoreRQ(Association association, int pcid, DicomObject dicom, PDVInputStream dataStream, String tsuid, DicomObject response) throws IOException, DicomServiceException
{
//use the DicomObject to get DICOM data
}
如何从 org.dcm4che2.data.DicomObject 对象中检索研究、系列和图像数据?我似乎找不到任何关于如何利用该工具包从中提取数据的文档。