HW1

Submission

This assignment was pretty difficult – I wasn't able to fully implement everything, but it was fun and challenging to try. Afterwards I'll try to go back and finish it. While I initially had trouble with noise (it was looking very magenta) this turned out to be a relatively quick fix – since the magenta was the color of the background so in the future I made sure to check that I was setting the alpha channel to 255.

Conceptually, it also took me a while to get how the Gaussian filter was supposed to work, but once I worked that out, sharpen was easy (since it ended up being almost the same thing. Additionally, the process of applying a 'filter' matrix to an image was similar for other types of image manipulation such as edge detection. The sampling parts for scale were pretty straightforward for the two sampling methods I implemented. I started implementing Gaussian sampling, but I ran out of time (and the output I go ended up being a gradient, so I figured I would try my hand at getting other parts working).


Executable here (Google Drive link) compiled on Mac. Code below.