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

Float/double data not supported by DicomWriter #4218

Open
melissalinkert opened this issue Aug 6, 2024 · 1 comment
Open

Float/double data not supported by DicomWriter #4218

melissalinkert opened this issue Aug 6, 2024 · 1 comment

Comments

@melissalinkert
Copy link
Member

See https://forum.image.sc/t/exporting-a-dicom-stack/99400/9.

I can easily reproduce the exception noted with Bio-Formats 7.3.1 and:

$ bfconvert "test&pixelType=float.fake" test-float.dcm

Updating the getPixelTypes method to include FormatTools.FLOAT is necessary but not sufficient; additional changes to metadata are needed as indicated in https://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.6.24.html.

Note that floating point data would only be possible to support for uncompressed output, which in practice means non-WSI data only.

@imagesc-bot
Copy link

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/exporting-a-dicom-stack/99400/10

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