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 : Friday, June 30, 2006 12:14:29 PM(UTC)

joee  
joee

Groups: Registered
Posts: 7


Trying to locate the fuction used in the COM Image Processing Feature Demo.
Under Color menu
Adjust
Auto-Levels

I have been searching the documentation for days.
Could I get a hint as to what this is?

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 : Monday, July 3, 2006 12:28:11 PM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


joee,

Try searching your COM help file's index for the article "AutoColorLevel method (ILEADRasterProcess)".  I beleive this is the function that corresponds to the menu item in the demo you are referring to.  Try the examples and see if it does what you are looking for.

If you have any more questions, please let me know.
 
#3 Posted : Wednesday, July 5, 2006 7:21:57 AM(UTC)

joee  
joee

Groups: Registered
Posts: 7


Well, I had thought that too, but I got different results.
The auto in the demo does a better job than the AutoColorLevel method. Was wondering if perhaps that menu command ran a couple different methods in combination?  I don't know what language that particular demo is in (there isn't a VB version) so I can't open it up and try tearing it apart.
 
#4 Posted : Friday, July 7, 2006 6:05:38 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


joee,

I have looked at the code and it does not call any extra functions before calling the AutoColorLevel command. I'll give you the parameters it uses for VB 6. Give these parameters a try and it should give you the same results as the demo. If the defaults do not give you the results you want, consult the help file for explanations on what the values mean so you can try different settings and flags.

RasterProc.AutoColorLevel LEADRasterView1.Raster, DEFAULT_BLACK_CLIP, DEFAULT_WHITE_CLIP,AUTO_LEVEL

Edited by moderator Thursday, August 8, 2019 9:30:28 AM(UTC)  | Reason: Not specified

 
#5 Posted : Friday, July 7, 2006 9:05:52 AM(UTC)

joee  
joee

Groups: Registered
Posts: 7


thanks
 
#6 Posted : Monday, July 10, 2006 10:26:17 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


My pleasure.
 
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-2020, Yet Another Forum.NET
This page was generated in 0.058 seconds.