Skip to content
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

jpeg conversion, maybe interesting to you? #1

Open
vsaase opened this issue May 13, 2021 · 3 comments
Open

jpeg conversion, maybe interesting to you? #1

vsaase opened this issue May 13, 2021 · 3 comments

Comments

@vsaase
Copy link

vsaase commented May 13, 2021

Hi,
just found your repo.
Here is something I did a while ago to decompress jpg DICOM, maybe of interest to you?

https://github.com/vsaase/gdcmjpeg-sys

cheers,
Victor

@pevers
Copy link
Owner

pevers commented May 18, 2021

Hi @vsaase ! Thanks a lot!

I'll definitely have a look. I am pretty new to FFI and Rust, so I'll hopefully have some inspiration to fix and finish multi-frame support in https://github.com/Enet4/dicom-rs (even though we want to move away from the GDCM bindings eventually and have a native Rust implementation).

@vsaase
Copy link
Author

vsaase commented May 18, 2021

hi, I am new to Rust myself, these were some of the first experiments.

Somewhere on github I saw a quite short decoder for JPEG-LS, maybe it was charls, but i think to remember something else written purely in C, which should be reasonably easy to port to Rust.

The build step with gdcm is a bit painful as it requires cmake, ninja, python etc, especially when targetting multiple platforms. long term goal for me would be to have a full dicom library running in WASM.

@pevers
Copy link
Owner

pevers commented May 18, 2021

hi, I am new to Rust myself, these were some of the first experiments.

Somewhere on github I saw a quite short decoder for JPEG-LS, maybe it was charls, but i think to remember something else written purely in C, which should be reasonably easy to port to Rust.

The build step with gdcm is a bit painful as it requires cmake, ninja, python etc, especially when targetting multiple platforms. long term goal for me would be to have a full dicom library running in WASM.

Yes that would be awesome! I would love to see this in the browser as well. Especially for large CT scans on top of something like WebGPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants