Advertisement
Guest User

Untitled

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