简体   繁体   中英

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

I am able to render '.dcm file' using X.renderer3D() and X.renderer2D(). 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 ?

Can any one suggest the right way to achieve the rendering of compressed dicom file.

Advance Thanks for your time.

XTK doesn't support compressed DICOM format. You could hack it in though ( https://github.com/xtk/X/blob/viewerjs/io/parserDCM.js#L950-L1023 ). The main issue is that it requires adding external libraries to XTK.

I would recommend to use AMI that natively supports compressed DICOM format. AMI is still a work in progress but should already allow you to build more advanced apps. 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

在此处输入图片说明

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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