Binarization of diffractive elements with nonperiodic structures.