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. 2.1 shows such a video transition.
Fig. 2.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 x and y position, we can determine where the line that {x, y} 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).
Correct Answer:
Verified
Q1: Dissolve: Suppose we have video1 dissolving
Q2: A simple (image independent) way of
Q4: When we create a sprite, we
Q5: Describe in detail, using pseudocode, how
Q6: Ordered versus nonordered dithering.
(a) For a
Q7: For the same problem, write a pseudocode
Q8: Generally, for gray input images what are
Q9: We know that the GIF standard can
Q10: For the same simple median-cut algorithm
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