Question: can someone please answer these questions? please provide clear comments, thanks. 3. What color and opacity is 255, 0, 0, 64? 4. Write the formula



3. What color and opacity is "255, 0, 0, 64"? 4. Write the formula to calculate the RGB color Composite obtained by compositing Foreground.RGBA over Background.RGB. 5. Write the formula for linear interpolation lerp( a, b, t) so that we obtain a fort=0 and b for t=1 6. Rewrite the formula to calculate the RGB color Composite obtained by compositing Foreground.RGBA over Background.RGB, this time using lerp. 10 7. An airbrush image with radius r is being sprayed onto a canvas image with width w and height h at location x, y. The illustration shows the airbrush image falling off the left side of the canvas. In general, the airbrush image could fall off the canvas on the left, right, top, or bottom. Answer the following questions for the general case. The top-left pixel in an image is (0,0). a. The pixel labeled F is the top-left pixel for the area of overlap between airbrush and canvas. What is the formula for F's row and column in canvas? airbrush canvas b. What is the formula for F's row and column in airbrush? c. The pixel labeled G is the bottom-right pixel for the area of overlap between airbrush and canvas. What is the width and height of the area of overlap between airbrush and canvas (the rectangle whose opposite corners are F and G)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
