Question 60Asked in UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)

Find the normalization transformation that maps a window whose lower left corner is at (1, 1) and upper right corner is at (3, 5) onto a view port that is…

Find the normalization transformation that maps a window whose lower left corner is at (1, 1) and upper right corner is at (3, 5) onto a view port that is the entire normalized device screen
  1. A[1/2 0 −1/2] [0 1/4 −1/4] [0 0 1]
  2. B[1/2 0 1/2] [0 −1/4 1/4] [1 1 1]
  3. C[1/2 0 −1/2] [0 1/4 1/4] [1 0 0]
  4. D[1/2 0 1/2] [0 1/4 −1/4] [1 0 0]
Show answerHide answer

Correct answer: (A) [1/2 0 −1/2] [0 1/4 −1/4] [0 0 1]

Explanation

Window: xwmin = 1, ywmin = 1, xwmax = 3, ywmax = 5. Viewport (normalized screen): xvmin = 0, yvmin = 0, xvmax = 1, yvmax = 1. Scale factors sx = (1 − 0)/(3 − 1) = 1/2 and sy = (1 − 0)/(5 − 1) = 1/4. N = T(xvmin, yvmin) · S(sx, sy) · T(−xwmin, −ywmin), which gives the matrix [1/2 0 −1/2], [0 1/4 −1/4], [0 0 1].

From UGC NET Computer Science PYQ, November 2017 (Paper II & III, Selected Questions)

This is question 60 of UGC NET Computer Science PYQ, November 2017 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.