How can I replace a color for some parts of an image without affecting its texture?
You can see good example of the result in this screenshot
Source: https://www.leadtools.com/sdk/image-processing/functions/function.asp?id=158
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Found the way to do it. This requires RGB<->HSL conversions (I used this class by Rich Newman for HSLColor:
(pixelHsl / refHsl) * targetHsl