Maximum Intensity of Diffraction Patterns and Apodization