This publication presents a computer method for segmenting microcalcifications in mammograms. It makes use of morphological transformations and is composed of two parts. The first part detects microcalcifications morphologically, thus allowing the approximate area of their occurrence to be determined, the contrast to be improved, and noise to be reduced in the mammograms. In the second part, a watershed segmentation of microcalcifications is carried out. This study was carried out on a test set containing 200 ROIs 512 x 512 pixels in size, taken from mammograms from the Digital Database for Screening Mammography (DDSM), including 100 cases showing malignant lesions and 100 cases showing benign ones. The experiments carried out yielded the following average values of the measured indices: 80.5% (similarity index), 75.7% (overlap fraction), 70.8% (overlap value), and 19.8% (extra fraction). The average time of executing all steps of the methods used for a single ROI amounted to 0.83 s.