Intrapixel and Interpixel processing