**Abstract**

Medical imaging is of one of the most essential means in the investigation of cardiac disorders. In patients, the detection of the whole heart and its adjacent tissues is a crucial procedure since it helps in myocarditis and pericarditis managements. Weekly, there are millions of cardiac imaging performed globally. Medical imaging and processing techniques such as image segmentation, augmentation, and scrutiny can detect cardiac lesions rapidly and precisely. This chapter discusses the application of medical imaging in the diagnosis of myocarditis and pericarditis. This chapter also summarized how to demonstrate image interpretation challenges using diverse image processing procedures and techniques.

**Keywords:** medical imaging, diagnosis, myocarditis, pericarditis
