We consider a solution to the phase problem in optics as applied to registering and analyzing amplitude-phase structures of 1) d optical fields that form or transfer images and 2) transfer or spread functions of the medium where optically inhomogeneous fields propagate or those of the systems forming fields and producing distortions. The influence of the medium is characterized by the modulation function and is described by the operation of multiplication. In order to measure the amplitude and phase field characteristics and transfer or spread functions, we use an original development of the modulation-spectral method proposed earlier by the authors. There are two variants of optical schemes considered. They include identical parts designed to form the light field to be processed. Using the first optical system, one forms the spectrum of spatial frequencies and introduces the first additional space modulation in the plane of spatial frequencies. The second optical system is placed in the same plane to form the image of the investigated field in the input plane of the developing scheme after passing the transmitting medium. In the first variant, the second part of the scheme contains at the input the third optical system forming the spatial spectrum in the registration plane. At the input of this scheme, the second additional spatial modulation is introduced. In the second variant, the third optical system forms the image of the developing scheme input plane in the registration plane. The second additional spatial modulator is placed in the spatial frequency plane of the third optical system. In the output, in both cases four independent two-dimensional intensity distributions are registered, which allow one to solve the formulated problem.