asked 29.0k views
1 vote
g Suppose you are rasterizing a triangle with vertices (1, 1), (5, 1), and (2, 9), and the intensity values (e.g., redness) of those vertices are 5, 9, and 14, respectively. Using the linear interpolation scheme, what is the intensity value of an interior point at (3, 5)? Show all your work.

asked
User Qfinder
by
8.0k points

1 Answer

7 votes

Answer:

6.333

Explanation:

Our triangle vertices are

(1,1)(5,1)(2,9)

We are to perform interpolation at point(3,5)

x and y values are interpolated

On vertices (5,1)(2,9)

x = 3

x1 = 5

X2 = 2

Y1 = 1

Y2 = 9

Formula for interpolation

Y = [y1+(x-x1)(y2-y1)]/x2-x

Y = 1+(3-5)(9-1)/2-5

Y = 1+[-2*8/-3]

Y = 1+16/3

From here we use use LCM to get:

19/3 = 6.333

g Suppose you are rasterizing a triangle with vertices (1, 1), (5, 1), and (2, 9), and-example-1
answered
User Liontass
by
8.7k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.