-
Notifications
You must be signed in to change notification settings - Fork 266
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
RLE compression and US RGB images #15
Comments
Can you provide a test image by any chance? On Mon, Aug 10, 2015 at 10:52 AM, Leonardo M. Ramé <notifications@github.com
|
Chris, I've sent a .rar containing both the uncompressed and rle version of the same image to your email. I cannot share the samples here because the images aren't anonymized. |
Hi Leonardo, The RLE image is displayed in cornerstone the same way as it does in Chris On Mon, Aug 10, 2015 at 12:11 PM, Leonardo M. Ramé <notifications@github.com
|
How do you see it, it must be only one image, not a grid of 3 by 3. I opened it in Weasis and both looks as the top image in my example. BTW, I'm using: cornerstone v0.8.1 |
Chris, I've sent to your gmail account the WADO URL I use for this image. Please try to open in Cornerstone. |
BTW, you can put that URL in http://rawgit.com/chafey/cornerstoneWADOImageLoader/master/examples/index.html and see how it looks. |
When I open the RLE image in Osirix, it displays 3x3 images just like it does in cornerstone. Since cornerstone and Osirix display it the same, we should do more testing to make sure that the image is in fact correct. Can you please double check weasis to make sure its not loading the non RLE version and also find another viewer to validate the RLE version against? |
I also opened it using RadiAnt and looks exactly as in Weasis, it might be that Osirix is not displaying it correctly. The conversion to RLE is done using DCMTK's dcmcrle command. To download both versions you can change the last part of the URL I sent to you, from contentType=dicom/rle to contentType=dicom/explicit |
I've sent the test RLE image to a Fuji Synapse PACS and it looks the same as RadiAnt and Weasis. |
OK did some research into this and see that foDicom's RLE decoder has a bit more logic in it than ours related to number of segments: Your image has 3 segments in it so that may be the issue. I actually didn't write the RLE code - it was contributed, so this is all new to me. I'll put it on my list to dig into but if someone else has the time I would take a PR! (doesn't look too bad...) |
Just checked in a fix for this, can you verify? 0.6.2 |
Confirmed, it's working perfectly right now. |
I'm testing the new RLE decompressor and found RGB US images aren't displayed correctly. Please take a look at the following image. The upper image is what I get when I display an uncompressed image, the bottom one is what I get on RLE compressed.
The text was updated successfully, but these errors were encountered: