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, December 14, 2006 8:43:46 AM(UTC)

tigana  
tigana

Groups: Registered
Posts: 21



[ Lead version 14.5 ]

Hi,

I want to apply my proper LUT, and then make a window levelling.


But there is only one function (I think), that mades a window levelling using LUTs :


WindowLevelFillLookupTable !!


That function makes a gradient between a startcolor and an endcolor. So I can't use my Lut :)


Do you have any solution???

Is there any function that takes a LUT????


Thanks.

 

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 : Sunday, December 17, 2006 7:01:57 AM(UTC)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 367

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

Are you using our .NET classes? If yes, the help topic for the RasterPalette.WindowLevelFillLookupTable Method has a code sample that shows how to use this method to fill a table. This table in the code sample is the variable named lookupTable, which is an array of type RasterColor.
To fill your own LUT instead of using the method, simply fill the elements of the array (for example in a loop) instead of passing the array to the method.

Amin Dodin

Senior 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.058 seconds.