This is an implementation of automatic breast density segmentation based on the morphological area gradient (MAG) method . For additional functionalities including breast segmentation, chest wall detection, ROI detection and feature extraction, please refer to OpenBreast . For a demo, simply execute "runme" at the Matlab prompt.
 G. F. Torres et al., "Morphological Area Gradient: System-independent Dense Tissue Segmentation in Mammography Images," Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Berlin, Germany, 2019, pp. 4855-4858.
 Said Pertuz (2019). OpenBreast (https://www.github.com/spertuz/openbreast), GitHub. Retrieved November 14, 2019.
Said Pertuz (2020). Breast density segmentation (https://www.mathworks.com/matlabcentral/fileexchange/73360-breast-density-segmentation), MATLAB Central File Exchange. Retrieved .