Interpretation of EEG (electroencephalography) or MEG (magnetoencephalography) derived three-dimensional dipole localizations is hampered by poor visualization. This paper describes a method for combining dipole data with structural image data of the same patient. To ensure high precision this method utilizes external markers that are easy to apply. These markers can achieve subslice accuracy and can even be used to pinpoint reference points outside the scanned volume. Accurate matching is thus provided even in standard imaging protocols employing thick slices and/or large interslice gaps. The results of the matching method are presented in 2D and 3D visualizations. The hybrid images facilitate the interpretation of dipole localizations with respect to the patient's anatomy.