A magnetic sensor (MS) for sensing a magnetic stray field (SF) generated
by magnetizable object (SPB) when magnetized and for generating an
electrical object signal (U.sub.OB) which depends on the sensed magnetic
stray field (SF), comprising a magnetic field generator (WR.sub.1,
WR.sub.2) for generating a magnetic main field (H) for magnetizing the
magnetizable object (SPB), and cross-talk reduction means for reducing
the effect of a cross talk signal component in the electrical object
signal (U.sub.OB) caused by magnetic cross-talk between the magnetic main
field (H) and the magnetic stray field (SF), wherein the cross-talk
reduction means is arranged for distinguishing a signal property between
the cross-talk signal component and the remaining part of the electrical
object signal (U.sub.OB) and for generating an electrical output signal
(U.sub.o).