Functionalized waveguide for a detector system, wherein the waveguide comprises a transparent base body having a front side and a rear side, wherein the base body comprises a partly transparent input coupling region and an output coupling region spaced apart therefrom in a first direction, wherein the input coupling region deflects only a portion of radiation coming from an object to be detected and impinging on the front side, such that the deflected portion propagates as coupled-in radiation in the base body as far as the output coupling region by means of reflections and impinges on the output coupling region, wherein the output coupling region deflects at least one portion of the coupled-in radiation impinging on it, such that the deflected portion emerges from the base body via the front side or rear side in order to impinge on the detector system, wherein the extent of the input coupling region in a second direction transverse to the first direction is greater than the extent of the output coupling region in the second direction, wherein the input coupling region comprises along the second direction at least two different diffractive input coupling structures which deflect radiation from the same field of view and differ in that they comprise a different deflection component in the second direction, wherein the deflection component in the second direction is chosen, for each of the diffractive input coupling structures, which are offset along the second direction with respect to the output coupling region, such that the present offset for the coupled-in radiation is compensated for and the coupled-in radiation thus impinges on the output coupling region, and wherein the output coupling region is embodied such that it deflects the radiation coupled in by the different diffractive input coupling structures into the same angular range. wherein the waveguide comprises a transparent base body having a front side and a rear side, wherein the base body comprises a partly transparent input coupling region and an output coupling region spaced apart therefrom in a first direction, wherein the input coupling region deflects only a portion of radiation coming from an object to be detected and impinging on the front side, such that the deflected portion propagates as coupled-in radiation in the base body as far as the output coupling region by means of reflections and impinges on the output coupling region, wherein the output coupling region deflects at least one portion of the coupled-in radiation impinging on it, such that the deflected portion emerges from the base body via the front side or rear side in order to impinge on the detector system, wherein the extent of the input coupling region in a second direction transverse to the first direction is greater than the extent of the output coupling region in the second direction, wherein the input coupling region comprises along the second direction at least two different diffractive input coupling structures which deflect radiation from the same field of view and differ in that they comprise a different deflection component in the second direction, wherein the deflection component in the second direction is chosen, for each of the diffractive input coupling structures, which are offset along the second direction with respect to the output coupling region, such that the present offset for the coupled-in radiation is compensated for and the coupled-in radiation thus impinges on the output coupling region, and wherein the output coupling region is embodied such that it deflects the radiation coupled in by the different diffractive input coupling structures into the same angular range.