CSCI 1301 Study Guide - Quiz Guide: Grayscale, Posterization, Debit Card

45 views6 pages

Document Summary

Return value: data type - description of what it will do. Let"s celebrate by giving your pictures a boost! If the red channel is greater than or equal to 100, set it to: if the green channel is greater than or equal to 100, set it to 255. Grayscale is so last homework, we"re moving on to bigger and better manipulations: let"s try an orangescale ! Let"s only apply the orangescale to the right half of the picture, by doubling the red channel values and setting the blue channel values to 0. So years ago i made this flag, purple and silver on dark green background. Now it"s my go to colors for everything: my mouse pad, my debit card, my hammock, the front license plate of my car. So, to make me happy we are going to posterize with those colors. Less than 200, set the color to (220,220,220) Between 200 and 500, set the color to (125,0,125)