Consider the 4-f system below where an object is placed at the input plane and is illuminated by a plane wave
The object to the right is placed in the input plane where black blocks light and white passes light. The outer black extends to infinity. The lines are infinitely thin and are spaced a distance b apart. The object is centered on the z axis.