LEADTOOLS Support
Imaging
Imaging SDK Questions
Image processing: Auto Level, Auto Color, Auto Contrast ...
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, July 22, 2005 6:26:42 AM(UTC)
Groups: Registered
Posts: 4
I like one of the functions in Adobe PhotoShop: Auto Level. How can I achieve that using LeadTools?
Thanks!
Yi
#2
Posted
:
Monday, July 25, 2005 12:52:26 PM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Hello,
What is the programming interface (COM, OCX, API, etc.) you are using?
However, LEADTOOLS supports the AutoLevel functionality in our Raster Pro and above toolkits:
=========================
AutoLevel functionality:
=========================
1. If you are using the API programming interface, you can use the L_AutoColorLevelBitmap function to implement the AutoLevel feature as shown below:
-----------------------------------------
nRet = L_AutoColorLevelBitmap (&pData->LeadBitmap, NULL, DEFAULT_BLACK_CLIP, DEFAULT_WHITE_CLIP, AUTO_LEVEL);
-----------------------------------------
For more information, you can refer to the "LEADTOOLS Main API Help file, Version 14" and read the following topic:
- L_AutoColorLevelBitmap
2. If you are using the COM programming interface, you can use the AutoColorLevel method (ILEADRasterProcess) to implement the AutoLevel feature as shown below:
-----------------------------------------
Dim RasterProc As New LEADRasterProcess
RasterProc.AutoColorLevel LEADRasterView1.Raster, 50, 50, AUTO_LEVEL
-----------------------------------------
For more information, you can refer to the following topic in the "LEADTOOLS Main COM Object Help file":
- AutoColorLevel method (ILEADRasterProcess)
Thanks,
Maen Badwan
LEADTOOLS Technical Support
LEADTOOLS Support
Imaging
Imaging SDK Questions
Image processing: Auto Level, Auto Color, Auto Contrast ...
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.