Converting optical scanning holograms of real objects to binary Fourier holograms using an iterative direct binary search algorithm