Based on what criteria you use for selecting the rows to affect, it
should be. You know the target pixel's y coordinate so using one of
the branching functions you can selectively apply your effect. A
simple example would be to only apply the effect to even numbered
rows, testable using the mod function.