For optically interrogating substances overlaid by turbid media a method of wavefront manipulation by means of binary phase masking is disclosed. Through altering the degree of mode conformity between the fields reaching the collection optics and the field distributions of the propagation modes of optical waveguides the disclosed method can be used to suppress the collection of short-range light originated near the collection optics while permitting unimpeded collection of light originated from sites substantially behind turbid media.