Apply filter to the total area of neededRect
Use changedRect instead of neededRect as wave filter with high amplitud needs more pixel area.
We apply to the max area to avoid leaving dirty areas in case the user changes the amplitude area abruptly from high value to low value.
Edited by Ivan Yossi