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 : Tuesday, May 13, 2008 9:37:29 PM(UTC)

Joshua  
Joshua

Groups: Registered
Posts: 28


Hi,

I was looking at the code tips listed on the support page of your site and saw the one titled "Load and display a JPEG image while compressing it in memory" (http://www.leadtools.com/support/code-tips.htm#3). This code sample does it using the RasterCodecs class, but is the same thing achievable using the DicomDataSet.GetImage() and DicomDataSet.GetImages() methods?

Is there a performance trade-off for the memory you're saving?

Josh.
 

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 : Wednesday, May 14, 2008 6:45:02 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

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


Josh,


You cannot do this using these two methods. What you
can do is change the bitmap's compression in memory after retrieving it from the DICOM data set using the  RasterImage.ChangeCompression Method
 
#3 Posted : Wednesday, May 14, 2008 11:24:27 PM(UTC)

Joshua  
Joshua

Groups: Registered
Posts: 28


Thanks, and is there a performance trade-off for the memory you're saving?
 
#4 Posted : Thursday, May 15, 2008 6:27:21 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

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

Almost always, there is a
trade-off when you compress data to save memory, the performance will be
reduced because you are compressing/decompressing the data every time you do image processing on it.
 
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.080 seconds.