This content has been marked as final. Show 3 replies
The only way to do this with Pixel Bender is to do it as a series of filters (or a single filter in a loop). The thing to remember about Pixel Bender is that your programs are written assuming that all pixels are being processed at the exact same time, so previous computations can't be used in the same image without multiple passes. There are some tricks I could think of to do this with Actionscript, but I'd want to try them out before I suggested them...
The issue is that I don't need the previous filtered image but the ROW - 1 output pixels when I process the ROW Pixels.
I understood that you need the previous row. There is no specific order of processing in Pixel Bender, you should assume that every row (and indeed, every pixel) is computed at exactly the same time and organize your algorithm that way. I was suggesting that you could work around this by staging your filter as a multi-staged one.