Atomic imaging of molecules and intermolecular interactions are of great significance for a deeper understanding of the basic physics and chemistry in various applications, but it is still challenging in electron microscopy due to their thermal mobility and beam sensitivity. Confinement effect and low-dose imaging method may efficiently help us achieve stable high-resolution resolving of molecules and their interactions. Here, we propose a general strategy to image the confined molecules and evaluate the strengths of host-guest interactions in three material systems by low-dose electron microscopy. Then, we change the guest molecules to analyze how each kind of interaction strength influences the imaging quality of these molecules by using a same parameter, the aspect ratios of imaged molecular projections. In the material systems of perovskites (ionic) and zeolites with adsorbed molecules (van der Waals), we can obtain a clear image of molecular configurations by enhancing host-guest interactions. Even in metal organic framework (coordination) system, the atomic structures and bonds of aromatics can be achieved. These results provide a general description on the relation between molecular images and interactions, making it possible to study more molecular behaviors in wide applications by real-space imaging.