Mammographic density is a marker of breast cancer risk and diagnostics accuracy. Density change over time is a strong proxy for response to endocrine treatment and potentially a stronger predictor of breast cancer incidence. We developed STRATUS to analyse digital and analogue images and enable automated measurements of density changes over time.
Raw and processed images from the same mammogram were randomly sampled from 41,353 healthy women. Measurements from raw images (using FDA approved software iCAD) were used as templates for STRATUS to measure density on processed images through machine learning. A similar two-step design was used to train density measures in analogue images. Relative risks of breast cancer were estimated in three unique datasets. An alignment protocol was developed using images from 11,409 women to reduce non-biological variability in density change. The protocol was evaluated in 55,073 women having two regular mammography screens. Differences and variances in densities were compared before and after image alignment.
The average relative risk of breast cancer in the three datasets was 1.6 [95% confidence interval (CI) 1.3–1.8] per standard deviation of percent mammographic density. The discrimination was AUC 0.62 (CI 0.60–0.64). The type of image did not significantly influence the risk associations. Alignment decreased the non-biological variability in density change and re-estimated the yearly overall percent density decrease from 1.5 to 0.9%, p < 0.001.
The quality of STRATUS density measures was not influenced by mammogram type. The alignment protocol reduced the non-biological variability between images over time. STRATUS has the potential to become a useful tool for epidemiological studies and clinical follow-up.
High mammographic density is a strong risk factor for breast cancer . The density consists of epithelium and stroma and is radiographically dense. Epithelium and stroma appears bright on a mammogram while the fatty tissue is radiolucent and appears dark. Density decrease is also a good proxy for therapy response to endocrine therapy, both in the preventive  and adjuvant settings [3, 4]. However, mammograms from the same woman at different time-points are not always comparable since dissimilar proportions of the breast are sometimes captured in the images. A difference in density with non-biological meaning could therefore be captured. A possible solution is to align images to make the amount of breast tissue similar in each image. Cumulus is the gold standard to measure mammographic density on analogue mammograms . The drawbacks of Cumulus are that it does not account for dissimilar breast proportions in the images; it is labour intense, and heavily dependent on the reader skill . Several commercial tools measure density automated on digital raw mammograms . Raw images are available during a short time in the hospital work-flow before they are converted to processed images. Most often only processed images are stored for future use. Vendors of mammography machines use different conversion methods which makes processed images from different machines difficult to compare. Tools are also developed for measuring density on processed images . However, there is currently no automated tool that measures density of raw and processed images regardless of vendor and accounts for technical difference between images from the same women. This is unfortunate since most digital images are stored as processed images and precise measures are needed to monitor treatment response and density change over time.
We previously showed that it is possible to measure mammographic density fully automated on analogue film mammograms . Here we present a new algorithm which measures density on all type of images, regardless of vendor, and controls for non-biological differences seen in time series of mammograms from the same women.
Three Swedish datasets
The KARMA cohort includes 70,877 women who attended mammography screening between January 2011 to March 2013 at any of four mammography units in Sweden . Participants donated blood, answered a web-based questionnaire, and raw and processed digital mammograms were stored. Women reported length and weight, family history of breast cancer, age at menarche, parity, age at first child, menopausal status, and ever use of hormone replacement therapy (HRT). Breast cancer cases, invasive and in situ, were identified through the Swedish Information Network for CAncer treatment (INCA) national quality register.
The population-based LIBRO1 study included invasive and in situ breast cancer cases diagnosed between 2001 and 2008 in the Stockholm area. Frequency matching was used to age-match 2443 breast cancer cases with the available controls from the KARMA study. The third Swedish study was the population-based SASBAC study which included 1194 women diagnosed with invasive and in situ breast cancer between 1993 and 1995, and 1086 controls density sampled and frequency matched on age . Pre-diagnostic analogue films were collected for all cases, and images closest to recruitment date were collected for the controls. The cases and controls in LIBRO1 and SASBAC contributed with the same lifestyle factors as was collected in KARMA.
In all, 41,353 breast cancer-free women were sampled from KARMA with available digital raw and processed images from the same mammograms (vendors General Electric, Philips, Sectra, Hologic, Siemens, Array Corp.). Mammographic density was measured on the raw mammograms using the FDA approved density measurement tool iCAD (iReveal®, Nashua, NH, USA), which served as the reference measure for STRATUS. STRATUS analysed 1027 image features of the processed and raw images from the same mammogram (Supplementary Text 1, ). STRATUS further learned how to estimate density on the processed images using machine learning by relating the 1027 feature variables with the known original reference density measure from the raw image of the same mammogram (Supplementary Text 2, ). The accuracy of the measurements was tested in an independent validation dataset. This two-step procedure with training and validation was performed for each type of mammogram and mammography machine using up to 4000 mammograms per machine to generate the density measures.
Density measures for analogue images were developed with all available women in the SASBAC study . The density measures were trained using the same algorithm as for digital images here by learning on one of the breasts and validating on the contralateral breast.
Risk estimation and discrimination
Using samples based on augmentation sampling  from the described datasets, we estimated the association between the density measurements derived from different kind of images and breast cancer incidence. Cases and controls with different types of mammograms were contrasted. The first risk estimation was done on a nested case–control study sample with a two-year follow-up using the available 433 incident breast cancer cases age-matched in one-year bands with 1732 controls in KARMA (Table 1). The risk association was estimated using density measures of the raw and processed mammograms, respectively (contrasting raw cases to raw controls; processed cases to processed controls). The second risk estimation set was defined as the 2443 LIBRO1 cases age-matched in one-year bands with the available 2999 controls from KARMA (analogue cases to digital controls). The third risk estimation set was defined as the 1194 breast cancer cases in LIBRO1 possible to age-match in one-year bands with the available 1086 controls from SASBAC (analogue cases to analogue controls).
Alignment of time series images
The problem with not aligning images becomes evident when looking at Fig. 1, Frame A. Two images from the same woman have been superimposed on each other. Most of the breast is seen in the image showing a green border. In contrast, the image with the red border lacks a large part of the breast and thereby also a part of the dense area. The red outlined breast area is 185 cm2. The corresponding area is 197 cm2 for the green outlined breast. In Fig. 1, Frame B the two images are aligned, and the two breast areas are now 185 cm2.
Two datasets were used to evaluate the tool. For 11,409 KARMA participants, two mammograms were taken within minutes which gave the opportunity to study differences in density that possibly could not be due to biological alterations. The reasons for a second mammogram were not given in the medical records but we can assume that major reasons were technically suboptimal images and identification of artefacts. Second, we used all KARMA participants that had been through two rounds of negative screens (N = 55,073) to test if density measures of aligned images differed from the regular density measures. Dense area was measured in left or right breast at each screen and the average dense area was calculated.
The differences between the mammographic density measures of different mammogram types were investigated using least square means of mammographic percent density adjusted for age, BMI, and two mammography machine related factors, i.e. voltage of the X-ray tube and thickness of the compressed breast.
The association between mammographic density and breast cancer was estimated using conditional logistic regression in the three case–control study samples separately and in all study samples combined. Three models were constructed to assess potential confounders for the risk association. The first model included percent density and age, the second model also included BMI, and the full model also ever use of HRT, menopause status, and family history of breast cancer. The addition of X-ray tube voltage, breast thickness, and indicators of mammogram type and study sample to the full model did not change the estimates and were therefore excluded in the final model.
The odds ratios were calculated per standard deviation with 95% Wald confidence intervals. The discrimination performances of the models were calculated with area under the receiver operating curve (AUC) and 95% Wald confidence intervals.
The effect of image alignment was calculated by first subtracting the last measure from the first for aligned and non-aligned images, respectively. The density differences were further aggregated as means and standard deviations for the aligned and non-aligned images. Levene’s test  and the Student’s t test  were used to test for differences in standard deviations and means between the aligned and non-aligned image measures.
The analysis of the longitudinal density measures was performed by first calculating the density change per year for aligned and non-aligned images, respectively. The change in dense area per year was calculated by subtracting the last measure from the first and divide by the number of years between examinations. The differences between means and standard deviations of density changes in aligned and non-aligned images were calculated similarly using the Student’s t test and the Levene’s test. The density change per year was stratified by age and BMI and modelled using non-linear regression.
All tests were two-sided with 5% significance level. All analyses were performed using the statistical software SAS v9.4.
In total, 45,417 women from the KARMA, LIBRO1, and SASBAC studies contributed with raw and processed mammograms from nine different types of mammograms from six vendors (Supplementary Table 1). The correlations between the measures on the raw and processed mammogram were close to 0.9 (Supplementary Fig. 1). The correlations increased with increasing number of images used in the density training session and reached Spearman r = 0.933 (min = 0.923, max = 0.936) with 4000 images per machine. The Bland–Altman fit plot showed agreement between the raw and processed mammograms and the standardized mean difference was 0.01 with standard deviation 0.28 (Supplementary Fig. 2). No significant differences were found in mean percent mammographic densities between the nine mammogram types after adjusting for age, BMI, X-ray tube voltage, and breast thickness, p > 0.05 (Supplementary Fig. 3). The same non-significant differences between mammography machines were seen when BMI was substituted with breast area as adjustment factor (data not shown).
The density risk association was estimated in three case–control study samples (Table 1). The odds ratios for percent density in the full model ranged between 1.5 (CI 1.3–1.7) and 1.7 (CI 1.6–1.8) per standard deviation, and the combined odds ratio was OR 1.6 (1.3–1.8) (Table 2).
The discrimination performance of the full model ranged between AUC 0.60 (CI 0.57–0.63) and 0.63 (CI 0.60–0.65) in the three study samples; and the combined study sample AUC was 0.62 (0.60–0.64) (Table 3).
The aligned percent density measures showed significantly lower variability compared to the non-aligned percent density measures (SD 8.0 vs. 28.6, p < 0.001) in the 11,409 women who had two consecutive mammograms taken within minutes (Table 4). The aligned percent density measures also showed significantly lower yearly decrease compared to the non-aligned density measures for the 55,073 women who had mammograms taken 1–2 years apart, 0.9 versus 1.5 (SD 4.3 vs. 5.0, p < 0.001), Table 4. In Fig. 2 the yearly, non-aligned (upper panel) and aligned (lower panel), percent density changes were plotted for the 55,073 women. The blue fitted lines show the yearly average percent density change with 95% CI by age at baseline. The green curves show the density change stratified by BMI subgroups defined at baseline. The biggest difference between aligned and non-aligned measures is seen during women’s fertile part of life. The yearly mean percent density decreases in 40-year-old women (N = 2499) was 1.9 (95% CI 1.7–2.2) using non-aligned images and 0.7 (95% CI 0.4–0.9) using aligned images.
We created a tool that enables comparison of mammographic density changes over time without being restricted to type of mammogram or technical differences between images. STRATUS performs high-throughput measurements of mammographic density on mammograms from different mammography machines and mammogram types. As a consequence, risk assessments were not influenced by type of image when estimated in three independent study samples which included a combination of different mammogram types. The alignment protocol also reduced the non-biological variability between mammograms.
Mammographic density is a strong marker of breast cancer risk with a discrimination performance comparable to established risk models, which combine information on hormonal exposures and family history of breast cancer .
There are several reasons for identifying the true density change over time. A longitudinal study showed that individual differences in mammographic density changes over time were not associated with breast cancer risk . This result was, however, based on non-aligned images. As revealed in Fig. 1, technical differences between mammograms influence the comparison of density measurements over time. Figure 2 shows that aligned density measurements capture the level and rate of density change different in comparison to non-aligned density measures. This is particularly true for premenopausal women and this could be a reflection of the change in breast size , percent density , and dense area  during the menstrual cycle . Breast size is further strongly modified by BMI, which means that density measures are influenced also by changing BMI over time.
Another reason to study density change over time is that density change is a remarkably good proxy for treatment response in the adjuvant and preventive setting . Studies have shown that a decrease in mammographic density by 20% during the first two years of adjuvant therapy reduced breast cancer mortality by nearly 50% over the subsequent 15 years [3, 4]. Patients that benefits from adjuvant anti-hormonal therapy could therefore be identified. Non-responders could also be identified early in the treatment and therefore be selected to alternative treatments. Third, breast cancer prevention has been demonstrated to reduce breast cancer incidence by approximately 50% after tamoxifen treatment . A decrease in mammographic density in the first year is also here an excellent proxy for a decrease in breast cancer incidence in the following years. However, tamoxifen treatment is associated with side-effects, similar to menopausal symptoms, and in rare cases endometrial cancer and thromboembolism . It is therefore crucial to treat only the group of healthy women that respond to therapy and are likely to benefit with a decrease in breast cancer incidence.
Several techniques are available for aligning images . We tested translation, rigid body, scaled rotation, affine, and bilinear transformation. The translation registration method was not sensitive to breast tissue overlaying and preserved the largest part of the original breast area, and was used in the final analysis (Supplementary Text 3). The alignment protocol was developed to analyse several mammograms in a time series and to not be sensitive to differences in pixel intensities between processed and raw or analogue images. The alignment technique could potentially also be used for Cumulus in a post-processing step, if the reader saved the breast area and dense area positioning in the mammograms during the measurement procedure.
The strength of our study is that we used a large population-based cohort with access to both raw and processed images form the same examinations. We also had access to repeated and longitudinal measurements from the same women. In addition, we could construct case–control study samples and combine cases and controls with different type of images from three unique Swedish studies.
There should, however, be some caution interpreting our findings. Sweden has a well-organised screening program with mammograms of high quality. Further studies are needed to show how our risk estimates are affected by imaging techniques and radiographer routines in other countries. The time from date of mammogram to date of breast cancer diagnosis varied between the studies. The average time in the KARMA sample was 1.7 and 0.2 years in the other two study samples. However, the contralateral breast was used for the risk association analyses and the time differences seen in this study is not likely to affect the results . The proportion of HRT users differed between the studies. HRT is positively associated with higher levels of density and may have affected the risk estimates. However, HRT was used as an adjustment factor in this study and did not seem to affect the risk estimates.
The density algorithm for digital mammograms was constructed solely on women with no diagnosis of breast cancer, while the density algorithm for analogue mammograms was developed on an equal number of healthy women and breast cancer cases. Although no significant difference was seen in the density measures from the two image types, the analogue density measures could be more susceptible to capture radio dense tissue associated with breast cancer compared to the density measures of digital mammograms.
STRATUS is a fully automated tool that measures mammographic density from mammograms obtained from a variety of sources (raw and processed digital images, analogue films). The added alignment feature provided by STRATUS improves longitudinal measurements of mammographic density. Given that an increasing number of mammograms are stored in the screening and clinical setting, STRATUS-derived mammographic density can become a useful tool for risk prediction and treatment response in research and clinical praxis.
Boyd NF, Byng JW, Jong RA, Fishell EK, Little LE, Miller AB, Lockwood GA, Tritchler DL, Yaffe MJ (1995) Quantitative classification of mammographic densities and breast cancer risk: results from the Canadian National Breast Screening Study. J Natl Cancer Inst 87(9):670–675
Cuzick J, Warwick J, Pinney E, Duffy SW, Cawthorn S, Howell A, Forbes JF, Warren RM (2011) Tamoxifen-induced reduction in mammographic density and breast cancer risk reduction: a nested case-control study. J Natl Cancer Inst. 103(9):744–752. https://doi.org/10.1093/jnci/djr079
Li J, Humphreys K, Eriksson L, Edgren G, Czene K, Hall P (2013) Mammographic density reduction is a prognostic marker of response to adjuvant tamoxifen therapy in postmenopausal patients with breast cancer. J Clin Oncol 31(18):2249–2256. https://doi.org/10.1200/JCO.2012.44.5015
Nyante SJ, Sherman ME, Pfeiffer RM, Berrington de Gonzalez A, Brinton LA, Aiello Bowles EJ, Hoover RN, Glass A, Gierach GL (2015) Prognostic significance of mammographic density change after initiation of tamoxifen for ER-positive breast cancer. J Natl Cancer Inst. https://doi.org/10.1093/jnci/dju425
Byng JW, Yaffe MJ, Jong RA, Shumak RS, Lockwood GA, Tritchler DL et al (1998) Analysis of mammographic density and breast cancer risk from digitized mammograms. Radiographics 18:1587–1598. https://doi.org/10.1148/radiographics.18.6.9821201
Burton A, Byrnes G, Stone J (2016) Mammographic density assessed on paired raw and processed digital images and on paired screen-film and digital images across three mammography systems. Breast Cancer Res 18:130. https://doi.org/10.1186/s13058-016-0787-0
Chen JH, Gulsen G, Su MY (2015) Imaging breast density: established and emerging modalities. Transl Oncol 8(6):435–445. https://doi.org/10.1016/j.tranon.2015.10.002
Stamatia D et al (2017) Qualitative versus quantitative mammographic breast density assessment: applications for the US and abroad. Diagnostics 7(2):30. https://doi.org/10.3390/diagnostics7020030
Li J et al (2012) High-throughput mammographic density measurement: a tool for risk prediction of breast cancer. Breast Cancer Res 14:R114. https://doi.org/10.1186/bcr3238
Gabrielsson M et al (2017) Cohort profile: the Karolinska mammography project for risk prediction of Breast Cancer (KARMA). Int J Epidemiol. https://doi.org/10.1093/ije/dyw357
http://dicom.nema.org/. Accessed 30 March, 2017
Solomon SR, Sawilowsky SS (2009) Impact of rank-based normalizing transformations on the accuracy of test scores. J Modern Appl Stat Methods 8(2):448–462
Li et al (2015) Logistic analysis of epidemiologic studies with augmentation sampling involving re-stratification and population expansion. Biostatistics 16(1):169–178. https://doi.org/10.1093/biostatistics/kxu024
National Cancer Institute, http://imagej.nih.gov/ij/. Accessed 15 March 2017
http://bigwww.epfl.ch/thevenaz/turboreg/. Accessed 30 March 2017
Levenberg Kenneth (1944) A method for the solution of certain non-linear problems in least squares. Q Appl Math 2:164–168
Marquardt Donald (1963) An algorithm for least-squares estimation of nonlinear parameters. SIAM J Appl Math 11(2):431–441. https://doi.org/10.1137/0111030
Spearman C (1907) Demonstration of formulæ for true measurement of correlation. Am J Psychol 18(2):161–169. https://doi.org/10.2307/1412408
Bland JM, Altman DG (1999) Measuring agreement in method comparison studies. Stat Methods Med Res 8:135–160
Levene H (1960) Robust tests for equality of variances. In: Olkin I (ed) Contributions to probability and statistics; essays in honor of Harold hotelling. Stanford University Press, Stanford, pp 278–292
Student [William Sealy Gosset] (1908). The probable error of a mean. Biometrika 6:1
Eriksson M et al (2017) A clinical model for identifying the short-term risk of breast cancer. Breast Cancer Res 19(1):29. https://doi.org/10.1186/s13058-017-0820-y
Lokate M, Stellato RK et al (2013) Age-related changes in mammographic density and breast cancer risk. Am J Epidemiol Adv. https://doi.org/10.1093/aje/kws446
Hussain Z, Roberts N (1999) Estimation of breast volume and its variation during the menstrual cycle using MRI and stereology. Br J Radiol 72(855):236–245
Chan S, Su MY et al (2011) Menstrual cycle-related fluctuations in breast density measured by using three-dimensional MR imaging. Radiology 261(3):744–751
Iversen A, Frydenberg H et al (2016) Cyclic endogenous estrogen and progesterone vary by mammographic density phenotypes in premenopausal women. Eur J Cancer Prev 25(1):9–18
Hovhannisyan G, Chow L et al (2009) Differences in measured mammographic density in the menstrual cycle. Cancer Epidemiol Biomark Prev 18(7):1993–1999
Mallick S, Benson R, Julka PK (2016) Breast cancer prevention with anti-estrogens: review of the current evidence and future directions. Breast Cancer. 23(2):170–177. https://doi.org/10.1007/s12282-015-0647-2
Thévenaz P, Ruttimann UE, Unser M (1998) A pyramid approach to subpixel registration based on intensity. IEEE Trans Image Process 7(1):27–41
Krishnan K, Baglietto L et al (2017) Longitudinal study of mammographic density measures that predict breast cancer risk. Cancer Epidemiol Biomark Prev 26(4):651–660. https://doi.org/10.1158/1055-9965.EPI-16-0499
We thank all the participants in the KARMA, LIBRO1, and SASBAC studies and the study personnel for their devoted work during data collection. We also acknowledge the iCAD team for getting access to the raw density measurement software.
This work was supported by the Märit and Hans Rausing’s Initiative Against Breast Cancer, the Kamprad Foundation, and the Swedish Research Council (Grant No: 2014 -2271). JL is a recipient of a Singapore National Research Foundation fellowship.
Conflict of interest
The authors declare that they have no competing interests.
Consent for publication
All authors approved the manuscript and consented for publication.
All women signed informed consent and the ethical review board at Karolinska Institutet approved the study (2010/958-31/1, 2011/2010-32, 2006/1350-32).
Availability of supporting data
The datasets used and/or analysed during the current study are available from the corresponding author upon reasonable request.
About this article
Cite this article
Eriksson, M., Li, J., Leifland, K. et al. A comprehensive tool for measuring mammographic density changes over time. Breast Cancer Res Treat 169, 371–379 (2018). https://doi.org/10.1007/s10549-018-4690-5
- Mammographic density
- Breast cancer
- Endocrine treatment
- Therapy response
- Time series