cs526 logo
rainbow animatio

Solution to Homework #2: MIDI, Video Processing, and DCT

Part 1:

Part2:

  1. In year 2009, ATSC decides to start developing the next generation of HDTV standards with four times the resolution of today's HDTV system. Assume one simple solution is to increase the scanning lines from 1125 to 2250, other paramters (BW, CH, AR, FR, CV, Kf) not changed. What will be the RH and Rv numbers? What will be number of equivalent pixels in one frame? See pages 12 and 13 of video.pdf for the related formula.
    Ans: RH=2*CH*Bw/(AR*NL*FR); Rv=Cv*Kf*NL; Np=RH*AR*Rv=2*CH*Cv*Kf*Bw/FR=2*C*Kf*Bw/FR
    where RH*AR is the horizontal resolution with the picture width.

    NTSC PAL HDTV hw2p2HTV
    BW 4.20 5.00 20.00 20.00
    NL 525.00 625.00 1125.00 2250.00
    CH 0.85 0.80 0.83 0.83
    AR 1.33 1.33 1.78 1.78
    FR 29.97 25.00 30.00 30.00
    RH 340.34 384.00 553.33 276.67
    Cv 0.92 0.92 0.96 0.96
    NL 525 625 1125 2250
    Kf 0.7 0.7 0.7 0.7
    Rv 338.1 402.5 756 1512
    Np 153425.4 206080 743680 743680
  2. What is the main difference between a composite TV system and a component TV system? (See Page 25 of video.pdf.)
    Ans: The composite TV system merges the video signal into one channel to be transmitted. The component TV system use 3 separate channels to transmit the video signal and resulting in better quality.
  3. The video standards converts RGB signal to YIQ signal format. how can we take advantage of the YIQ format, in terms of video compression utilizing the human perception system? (See Page 26 of video.pdf).
    Ans: When allocating bandwidth to these three video signal components, we can give more bandwidth to the luminance signal component (Y), less bandwidth to color components (IQ). Between I and Q compoments we can give more bandwidth to I.

Part3:

For gradient example,

gradient := proc(f)
local i, j;
for i to 8 do for j to 8 do f[i, j] := 10*j end do end do
end proc

> gradient(f); print(f); matrixplot(f, axes=BOXED);

gradient f data

gradient f plot

> getdctf(F); print(F); matrixplot(F, axes=BOXED);

gradient IF data with ZigZag sequence


gradient IF plot