Methods are discussed of detecting coherent signals against a background of external noise which are based on the phenomenon of quantization of the phases of the input mixture in a parametric amplifier with distributed parameters. The phenomenon of phase quantization is studied in detail on a model of a nonlinear line in the radio-frequency range. The experimental setup for extracting coherent signals is described and experimental results are given.