Question: image filtering code Lighten Brighten the image by increasing the values of each of the three RGB components of the current color by some amount.
image filtering code
Lighten Brighten the image by increasing the values of each of the three RGB components of the current color by some amount. Begin by calculating how much each value can be increased, then add 40% of that value. For example, if a color has a red value of 200, then the value can be increased by 55 (since 255 is the largest possible value). Forty percent of 55 is 22 . So the new color should have a red value of 200+22 =222
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
