This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, December 14, 2006 8:43:46 AM(UTC)
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.
#2
Posted
:
Sunday, December 17, 2006 7:01:57 AM(UTC)
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.
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.