Handling and improving the quality of medical images with the help of computer software is one of the important stages in the diagnosis and treatment. In this article, we focus on describing the new morphological algorithms by ITK (Insight Segmentation and Registration Toolkit). These morphological operators eliminate noise, detect good edges, and overcome the drawback of traditional edge detection methods.