$$DCC = \frac{\sum_i{PCNR_i \cdot w_i}}{\sum_{i}{w_i}} $$
where PCNR (Pixel Contrast to Noise Ratio) is:
$$PCNR_i = |GL_i-\mu_B|, \qquad \forall i\in D_i$$
and
- μB: mean pixel value of the background ROI
- σB: standard deviation of pixel values of the background ROI
- GLi: gray level of pixel i
- GLi: gray level of pixel i
- Di: pixels belonging to the detail