How would you create your own video wipe transition from the top-left corner of the viewport down to the bottom-right corner - a diagonal transition? Fig. 1 shows such a video transition.
Figure 1: Wipe transition, at Here, we wish to simply take pixels from either the first or the second video, depending on whether they are above or below the moving diagonal line.
Write some pseudo-C or pseudo-Premiere pseudocode to produce correct pixel values during the transition.
Hint: for any and position, we can determine where the line that is on, which is parallel to the wipe, cuts the main diagonal from top-left to bottom-right of the frame, simply using similar triangles. To do so, it's easiest to calculate the y-intersept of that line (where it hits the y-axis).
Figure 2: Wipe transition geometry.
Correct Answer:
Verified
Q39: What is the meaning of the "horseshoe"
Q40: Suppose you wish to transmit a
Q41: Explain the following terms:
(a) Image Resolution
(b) Bitmap
Q42: Generally, for gray input images what are
Q43: In the simplest version of the median-cut
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents