The paper presents the results of a comprehensive study on the optimization of independent amplitude and phase wavefront manipulation which is implemented using a binary digital micromirror device.