-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Which interface corresponds to the color scale function in Photoshop? #689
Comments
please give all details in English, including a reference that defines the color scale function that you refer to. |
|
To respond to your query, I need to know the DEFINITION of the "color scale function in Photoshop". |
Its function is to adjust brightness, contrast, and gamma simultaneously. Note: instead of adjusting these three items separately, you can adjust them simultaneously |
If you want to do this in leptonica, you need to find out exactly what they are doing in photoshop and then check out the appropriate color functions that are in leptonica. For the latter, start with
|
I have found an OPENCV related algorithm. I wonder if it can help me find the relevant interface? |
你应该使用专门的漂白算法,可以看一下PictureCleaner或者图片魔法师 |
In leptonica, you want to use functions in adaptmap.c, such as For example, this program will clean the source image on the left:
I"ve attached the src and result images, plus a comparison image that has both src and result embedded in it. |
The text was updated successfully, but these errors were encountered: