简体   繁体   English

XTK:如何以3D和2D呈现压缩的dicom文件(.dcm)

[英]XTK : How to render compressed dicom files(.dcm) in 3D & 2D

I am able to render '.dcm file' using X.renderer3D() and X.renderer2D(). 我能够使用X.renderer3D()和X.renderer2D()渲染“ .dcm文件”。 But the issue is, the image is not displayed completely. 但是问题是,图像无法完全显示。

When I manually uncompress and test, it is working fine. 当我手动解压缩并测试时,它工作正常。

We can try to uncompress and render it at run-time, but it will be an cpu intensive operation right ? 我们可以尝试在运行时解压缩并呈现它,但这将是CPU密集型操作吧?

Can any one suggest the right way to achieve the rendering of compressed dicom file. 任何人都可以提出正确的方法来实现压缩的dicom文件的呈现。

Advance Thanks for your time. 提前谢谢您的时间。

XTK doesn't support compressed DICOM format. XTK不支持压缩的DICOM格式。 You could hack it in though ( https://github.com/xtk/X/blob/viewerjs/io/parserDCM.js#L950-L1023 ). 您可以修改它( https://github.com/xtk/X/blob/viewerjs/io/parserDCM.js#L950-L1023 )。 The main issue is that it requires adding external libraries to XTK. 主要问题是它需要向XTK添加外部库。

I would recommend to use AMI that natively supports compressed DICOM format. 我建议使用本机支持压缩DICOM格式的AMI。 AMI is still a work in progress but should already allow you to build more advanced apps. AMI仍在开发中,但应该已经允许您构建更多高级应用程序。 Please do not hesitate to submit feedback, pull requests, report bugs, etc. 请不要犹豫,提交反馈,拉取请求,报告错误等。

Try to upload you DICOM images there: http://fnndsc.github.io/ami/#viewers_dicom2D 尝试将您的DICOM图像上传到那里: http : //fnndsc.github.io/ami/#viewers_dicom2D

在此处输入图片说明

AMI on Github: https://github.com/FNNDSC/ami Github上的AMI: https : //github.com/FNNDSC/ami

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

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