A method is for producing and applying an antiscatter grid or collimator
to an x-ray or gamma detector having matricially arranged detector
elements which form a detector surface with detection regions sensitive
to x-radiation and/or gamma radiation and less sensitive intermediate
regions. In the method, a basic structure is firstly produced for the
antiscatter grid or collimator by way of a rapid prototyping technique,
through which transmission channels and intermediate walls of the
antiscatter grid or collimator are formed which have at least in a first
direction a center-to-center spacing which is equal to or an integral
multiple of a center-to-center spacing of the sensitive detection regions
of the detector. The intermediate walls are coated with a material which
strongly absorbs x-radiation and/or gamma radiation in order to finish
the antiscatter grid or collimator. Subsequently, the antiscatter grid or
collimator is applied to the detector surface and connected to the
detector surface in such a way that at least the intermediate walls
running perpendicular to the first direction, or their coating, are
situated over the less sensitive intermediate regions of the detector
surface. A detector having an antiscatter grid or collimator in which no
moire interference occurs can thus be realized in a simple way.