girder/large_image

Add support for more DICOMweb transfer syntaxes

psavery opened this issue · 5 comments

See discussion here.

This may require making changes to wsidicom.

If this issue is fixed, it will largely fix this issue as well.

If we add the optional dependencies imagecodecs and pylibjpeg-rle, several more transfer syntaxes will be supported. The full list can be found here.

We can add imagecodecs as a dependency directly, since it has good cross-platform support.

For pylibjpeg-rle, it doesn't have binary wheels for python >= 3.11, which means that we can't install it on modern python without a rust compiler. We can either add this with a version restriction (< 3.11, which means we'll need to update it when they release a newer wheel), or we add it as an extra requires and build our own linux wheels for it. For the nonce, maybe just add it with a version restriction?

Pydicom's RLE decoder only requires numpy to be present. I asked Erik if he would consider using that instead.

Pydicom's RLE decoder only requires numpy to be present. I asked Erik if he would consider using that instead.

I would have expected RLE to be distinct from jpeg-rle (but I don't know).