A system for tracking of an object located in an area of interest, comprising the following: a patient examination table, and an apparatus for generating a magnetic field, the apparatus comprising a localized magnetic field generator (36; 56; 76; 110; 154; 160; 170) that is configured to generate a magnetic field and to control the magnetic field in the area of interest and configured to control the magnetic field in a separate area displaced from the area of interest, and a magnetic field-disrupting component (40, 46, 42, 44; 86, 88) included in the separate area, wherein the localized magnetic field generator (36; 56; 76; 110; 154; 160; 170) includes a plurality of magnetic transmitting elements (96; 138) configured to generate the magnetic field, wherein the localized magnetic field generator (36; 56; 76; 110; 154; 160; 170) includes a magnetic field shield (64; 82; 142) located between the plurality of magnetic transmitting elements (96; 138) and the magnetic field-disrupting component (40, 46, 42, 44; 86, 88); the plurality of magnetic transmitting elements (96; 138) are mounted in different locations relative to the magnetic field shield (64; 82; 142); and the plurality of magnetic transmitting elements (96; 138) are mounted in different orientations with respect to the magnetic field shield (64; 82; 142), and wherein the magnetic field shield forms a planar surface; and the plurality of magnetic transmitting elements are located proximate to the planar surface and on a first side of the planar surface, wherein the first side of the planar surface faces the patient examination table, characterized in that the localized magnetic field generator (36; 56; 76; 110; 154; 160; 170) is placed beneath the patient examination table (46; 78; 112); and the area of interest is located on an opposite side of the patient examination table (46; 78; 112). a patient examination table, and an apparatus for generating a magnetic field, the apparatus comprising a localized magnetic field generator (36; 56; 76; 110; 154; 160; 170) that is configured to generate a magnetic field and to control the magnetic field in the area of interest and configured to control the magnetic field in a separate area displaced from the area of interest, and a magnetic field-disrupting component (40, 46, 42, 44; 86, 88) included in the separate area, wherein the localized magnetic field generator (36; 56; 76; 110; 154; 160; 170) includes a plurality of magnetic transmitting elements (96; 138) configured to generate the magnetic field, wherein the localized magnetic field generator (36; 56; 76; 110; 154; 160; 170) includes a magnetic field shield (64; 82; 142) located between the plurality of magnetic transmitting elements (96; 138) and the magnetic field-disrupting component (40, 46, 42, 44; 86, 88); the plurality of magnetic transmitting elements (96; 138) are mounted in different locations relative to the magnetic field shield (64; 82; 142); and the plurality of magnetic transmitting elements (96; 138) are mounted in different orientations with respect to the magnetic field shield (64; 82; 142), and wherein the magnetic field shield forms a planar surface; and the plurality of magnetic transmitting elements are located proximate to the planar surface and on a first side of the planar surface, wherein the first side of the planar surface faces the patient examination table, characterized in that the localized magnetic field generator (36; 56; 76; 110; 154; 160; 170) is placed beneath the patient examination table (46; 78; 112); and the area of interest is located on an opposite side of the patient examination table (46; 78; 112).