by means of a grating deformed by the object