If the frame buffer has 10-bits per pixel and 8- bits are allocated for each of the R, G, and B components, then what would be the size of the color lookup table (LUT) ?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. (2¹⁰ + 2¹¹) bytes
Explanation
10 bits per pixel index 2¹⁰ entries, each holding 24 bits = 3 bytes. Size = 3 × 2¹⁰ = 2¹⁰ + 2¹¹ bytes.
More Programming Languages and Computer Graphics questions
- Which homogeneous 2D matrix transforms the figure (a) on the left side to the figure (b) on the right ?
- Consider the midpoint (Bresenham) algorithm for rasterizing lines: (1) Input (x₁, y₁) and (x₂, y₂) (2) y = y₁ (3) d = f(x₁ + 1, y₁ + 1/2) /…
- In 3D Graphics, which of the following statements about perspective and parallel projection is/are true? P : In a perspective projection, t…
- In 3D Graphics, which of the following statements is/are true? P : Back-face culling is an example of an image- precision visible-surface d…
- Consider the two C++ programs P1 and P2 shown below and two statements about them: S1: P1 prints out 3 S2: P2 prints out 4:2 What can you s…
- Consider the following recursive Java function f that takes two long arguments and returns a float value : public static float f(long m, lo…