Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A simple way to maximize the contrast between pixels is to change the red, green and blue components
- of each pixel to their minimum or maximum values. If a component's value is between 0 and 127, the
- component is changed to 0. If a component's value is between 128 and 255, the component is changed
- to 255. Use the new component values to create the pixel's new colour.
- • How many different colours could there be in an image that has been created by this filter? Be
- prepared to explain your answer to a TA.
- Develop a filter named extreme_contrast that returns a copy of an image in which the contrast
- between the pixels has been maximized.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement