-
-
Notifications
You must be signed in to change notification settings - Fork 382
Dicom Image Volume Rendering #678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
To read a The http reader use a different format which can be generated with that script. But if you want to load DICOM, you should consider itk-js for loading your file natively and respect the orientation of the volume. @thewtex can tell you more about it. Also you can see DICOM loading using itk-js and vtk-js here with ParaView Glance. |
Yes, as @jourdain mentioned, we can load the DICOM images directly via itk.js. To load a multi-frame DICOM file (the entire volume is in one file), use itk/readImageFile. To load a DICOM file series, use itk/readImageDICOMFileSeries. Both of these are enabled in this reference application. |
Okay thanks! |
I want to render dicom files using itk.js. So, I want to use itk / dicomImageDICOMFileSeries. However, I am a beginner who is not familiar with itk.js. Is there a simple example I can refer to? |
@rjsgml5698 these code snippets may be helpful: |
Thank you for your help!! I will try it! |
@thewtex I want to render the DICOM images but unable to use the following. would be grateful if you can give an independent example for beginners, please? |
@engrussman here's an example: |
@thewtex Many thanks for your prompt response. The example is working fine for one or two slices when I select more than that, it gets stuck on "Loading... " status. Can you please rectify the issue, please. |
@engrussman please share the data so the issue can be reproduced. |
@thewtex Sorry that was my bad. There was some issue with the dataset, after fixing that issue, now it is reading all the dicom files. Thanks for your support. Is there any example which also performs rendering of DICOM file using VTK.js? |
@engrussman good to hear :-) A few applications with DICOM support using itk.js / vtk.js: https://kitware.github.io/itk-vtk-viewer/ https://kitware.github.io/paraview-glance/index.html |
@thewtex Hello, when the number of DCM files exceeds 800, there will be an error, I want to know why? thank you~ |
@thewtex When I delete the remaining 650 DCM files, it can be displayed normally. I need your help, thank you very much |
Hi,
We are trying to get volume rendering work with DICOM vti image written from vtk writer in Python. Following the structure, we are running into troubles trying to get
index.json
file correctly generated. So few questions here and appreciate if someone can help!index.json
generated forvti
datavtkHttpDataSetReader
the correct choice of reading the data? Or it should beXMLReader
vti
fileThanks!
The text was updated successfully, but these errors were encountered: