You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I note that dcm2mnc will silently fail on images with JPEG compression (you get black/blank images). Specifically ones that say things like this:
# Dicom-Data-Set # Used TransferSyntax: JPEG Lossless, Non-hierarchical, 1st Order Prediction
I recognise that this is a licencing thing, meaning we'd have to include a JPEG licence in dcm2mnc to make this happen but am curious if others have ways around this. OSIRIX is one way, fork a decode process to something else?
For now I do something like this:
for i in ls -1 *.dcm; do dcmdjpeg $i unjpg/$i; done
And then the conversion is all fine. Can we link/call/something dcmdjpeg?
The text was updated successfully, but these errors were encountered:
There is actually some code in there now to handle jpeg compression, and to crash if the compression is something we don't know how to handle. There are open-source libraries for most of the useful transfer encodings.
On 5 May 2017 at 12:15, Robert D Vincent ***@***.***> wrote:
There is actually some code in there now to handle jpeg compression, and
to crash if the compression is something we don't know how to handle. There
are open-source libraries for most of the useful transfer encodings.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#67 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AATwipIPdNHqMzdFpjFR_T3SffIsCMvmks5r2oYwgaJpZM4NRZRD>
.
I note that dcm2mnc will silently fail on images with JPEG compression (you get black/blank images). Specifically ones that say things like this:
# Dicom-Data-Set
# Used TransferSyntax: JPEG Lossless, Non-hierarchical, 1st Order Prediction
I recognise that this is a licencing thing, meaning we'd have to include a JPEG licence in dcm2mnc to make this happen but am curious if others have ways around this. OSIRIX is one way, fork a decode process to something else?
For now I do something like this:
for i in
ls -1 *.dcm; do dcmdjpeg $i unjpg/$i; done
And then the conversion is all fine. Can we link/call/something dcmdjpeg?
The text was updated successfully, but these errors were encountered: