PixelProcessor: add support for boundary conditions