Making an Image Filter in C++ Version 1
I recorded and uploaded both the 12PM and 2PM sections, because the filters requested by the classes were different.
Today we went over the process to make an image filter in this class. The steps are as follows:
1) Find an image and upload it to your image_processing directory on the server using an SCP client like WinSCP
2) Edit filter1.cc or filter2.cc (depending on if you are partner 1 or partner 2) and write code that will modify the image. The image is a 3D vector holding row/column/color data for each pixel. Red, Green, and Blue values range from 0 to 255 at each point.
3) Save and Quit, then type "make" to build it.
4) Run the program like this: "a.out kyoto.jpg" (replacing kyoto.jpg with whatever the name of your input image is)
5) It saves the output of the program into filter1.jpg and filter2.jpg (if you have three partners, turn on filter3 as well by editing main.cc)
6) Use WinSCP to view the filter1.jpg and filter2.jpg
7) Go back to step 2 and iterate again until you are happy with how it looks.