Book samples: patch ImageFilter2D with constant qualifier for global array