Question
C++ Image processing For each of these tasks you will: 1. Load one or more files from the input folder 2. Perform some operation(s) on
C++ Image processing
For each of these tasks you will: 1. Load one or more files from the input folder 2. Perform some operation(s) on the loaded file(s) 3. Write the results to a new .TGA file (named part#.tga) in the output folder. The examples folder has completed versions which you can use to test against your files. If your file is identical to its counterpart in the Examples folder, youre done with that part! For example: Part 1: Load the file layer1.tga and pattern1.tga (both from the input folder), and blend them together using the Multiply algorithm (layer1 would be consider the top layer). Save the results as part1.tga (in the output folder), and your file should match EXAMPLE_part1.tga (from the examples folder). 1. Use the Multiply blending mode to combine layer1.tga (top layer) with pattern1.tga (bottom layer). 2. Use the Subtract blending mode to combine layer2.tga (top layer) with car.tga (bottom layer). 3. Use the Multiply blending mode to combine layer1.tga with pattern2.tga, and store the results temporarily. Load the image text.tga and, using that as the top layer, combine it with the previous results of layer1/pattern2 using the Screen blending mode. 4. Multiply layer2.tga with circles.tga, and store it. Load pattern2.tga and, using that as the top layer, combine it with the previous result using the Subtract blending mode. 5. Combine layer1.tga with pattern1.tga using the Overlay blending mode. 6. Load car.tga and add 200 to the green channel. 7. Load car.tga and scale the red channel by 4, and the blue channel by 0. 8. Load car.tga and write each channel to a separate file: the red channel should be part8_r.tga, the green channel should be part8_g.tga, and the blue channel should be part8_b.tga 9. Load layer_red.tga, layer_green.tga and layer_blue.tga, and combine the three files into one file. The data from layer_red.tga is the red channel of the new image, layer_green is green, and layer_blue is blue. 10. Load text2.tga, and rotate it 180 degrees, flipping it upside down. This is easier than you think! Try diagramming the data of an image (such as earlier in this document).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started