CS585 course page

CS585 HW1
Vugar Javadov

Problem: Take an image and create grayscale, blurred, and negative of it

For grayscale: in each pixel take 0.7 of green, 0.2 of red and 0.1 of blue and assign the result of computation to each of the channels

For blurred: find the average of the given pixel and its 8 neighbors and assign it back to the pixel that is modified. Repeat this process for each pixel in the picture(except edges)

For negative: flip the bits in each channel by using bitwise operator tilde

Limitations of blurred image: to avoid dealing with edges, pixels in the first and last columns and rows are ignored