Problem

Wave filter. Write a filter like those in the previous two exercises that creates a wave e...

Wave filter. Write a filter like those in the previous two exercises that creates a wave effect, by copying the color of each pixel (si, sj) in the source image to a target pixel (ti, tj), where ti = si and tj = sj + 20 sin(2 π sj / 64). Add code to take the amplitude (20 in the accompanying figure) and the frequency (64 in the accompanying figure) as command-line arguments. Experiment with various values of these parameters.

Wave filter

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 3.1