Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, October 6, 2011 12:11:52 PM(UTC)

Travis  
Travis

Groups: Registered, Tech Support
Posts: 207

Was thanked: 3 time(s) in 3 post(s)

Perhaps you are using a previous version of LEADTOOLS and have updated to the latest only to find that certain RLE DICOM datasets that once loaded fine, now appear to load in Black and White.  Or perhaps you are using LEADTOOLS for the first time and finding that your RLE compressed DICOM datasets appear to load as Black and White images.

This is caused by the compression in the file to be incorrect. 

LEADTOOLS has accounted for this incorrect RLE compression.  When using the DicomDataSet class you can now pass in a flag (DicomGetImageFlags.AutoDectectInvalidRleCompression) to the GetImage function (or GetImages function.)

This tells our tools to check the file to determine if it was compressed incorrectly, and if so, decompress the file so that the image data is preserved. 

I have attached a project that allows you to load a DICOM Dataset and extract the first page with and without the flag enabled. 

The C# project was created in Visual Studio 2008 x86.
File Attachment(s):
NET - V175 - Invalid RLE Compression.zip (15kb) downloaded 469 time(s).
Travis Montgomery
Senior Sales Engineer
LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, May 22, 2017 2:41:45 PM(UTC)
Duncan Quirk

Groups: Registered, Tech Support, Administrators
Posts: 70

Was thanked: 4 time(s) in 4 post(s)

Updated for LEADTOOLS V19
File Attachment(s):
NET - V19 - Invalid RLE Compression.zip (11kb) downloaded 354 time(s).

Duncan Quirk
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#3 Posted : Thursday, March 26, 2020 4:07:16 PM(UTC)
Luke Duvall

Groups: Registered, Tech Support, Administrators
Posts: 34


Updated Project to LEADTOOLS Version 20 using Visual Studio 2019

File Attachment(s):
NET - V20 - Invalid RLE Compression.zip (11kb) downloaded 20 time(s).
Luke Duvall
Developer Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.090 seconds.