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=siand tj=sj20 sin(2sj/ 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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here