HAVC

May 28, 2026 · View on GitHub

This document contains the full per-image CIEDE2000 results of the colorization models supported by HAVC. For an introduction to the compared models and a high-level summary of the findings, see the main README.

Comparison Methodology

To compare the models I decided to use a metric being able to consider the perceptual non-uniformities in the evaluation of color difference between images. These non-uniformities are important because the human eye is more sensitive to certain colors than others. Over time, The International Commission on Illumination (CIE) has proposed increasingly advanced measurement models to measure the color distance taking into account the human color perception, that they called dE. One of the most advanced is the CIEDE2000 method, that I decided to use as color similarity metric to compare the models. The final results are shown in the tables below (test image can be seen by clicking on the test number).

The calculation of dE with the CIEDE2000 method was obtained by leveraging on the computational code available in ColorMine.

Test Set #1

The compared models in this test set are:

  • D+D: DeOldify (with model Video & render_factor = 24) + DDColor (with model Artistic and render_factor = 24)
  • DD: DDColor (with model Artistic and render_factor = 24, equivalent to input_size = 384)
  • DS: DeOldify (with model Stable & render_factor = 24)
  • DV: DeOldify (with model Video & render_factor = 24)
  • T241: ColTran + TensorFlow 2.4.1 model as shown in Habr
Test #D+DDDDSDVT241
0110.78.78.812.715.7
0211.811.712.712.715.9
035.53.85.67.69.9
046.28.54.65.39.0
056.68.48.88.612.5
0610.29.910.611.216.4
076.56.76.87.710.2
086.76.47.58.39.9
0911.711.715.213.816.5
107.88.09.18.49.5
117.58.08.07.814.8
127.77.68.67.813.7
1311.811.914.213.716.8
145.35.24.45.37.2
158.27.310.710.615.7
1612.012.39.812.719.7
1711.110.211.612.416.7
186.79.37.28.613.1
193.74.44.73.94.6
208.710.16.99.211.0
216.96.98.18.410.4
2211.511.813.312.212.7
235.67.111.48.811.
Avg(dE)8.38.59.19.512.7

As it is possible to see the model that performed better is the D+D model (which I called HAVC ddelodify because is using both DeOldify and DDColor). This model was the best model in 10 tests out of 23. Also the DD model performed well but there were situations where the DD model provided quite bad colorized images like in Test #23 and the combination with the DeOldify allowed to significantly improve the final image. In effect the average distance of DD was 8.5 while for DV was 9.5, given that the 2 models were weighted at 50%, if the images were positively correlated a value 9.0 would have been expected, instead the average distance measured for D+D was 8.3, this implies that the 2 models were able to compensate each other. Conversely, the T241 was the model that performed worse with the greatest average difference in colors. Finally, the quality of DeOldify models was similar, being DS slightly better than DV (as expected).

Tests Set #2

Given the goodness of CIEDE2000 method to provide a reliable estimate of human color perception, I decided to provide an additional set of tests including some of the cases not considered previously.

The models added are:

  • DA: DeOldify (with model Artistic & render_factor = 30)
  • DDs: DDColor (with model ModelScope and input_size = 384)
  • DS+DD: DeOldify (with model Stable & render_factor = 30) + DDColor (with model Artistic and render_factor = 24)
  • DA+DDs: DeOldify (with model Artistic & render_factor = 30) + DDColor (with model ModelScope and render_factor = 24)
  • DA+DD: DeOldify (with model Artistic & render_factor = 30) + DDColor (with model Artistic and render_factor = 24)

The results of this additional tests set are shown in the table below (test image can be seen by clicking on the test number)

Test #DS+DDDA+DDsDA+DDDDsDA
017.77.58.28.28.6
0211.811.411.911.613.2
034.54.23.94.54.2
045.95.16.06.65.9
056.46.56.79.59.0
0610.010.010.39.511.4
076.17.36.68.18.0
086.28.17.38.19.4
0912.711.311.512.513.3
108.17.78.07.19.0
117.27.37.48.67.9
128.07.18.06.59.3
1312.011.712.011.813.8
144.54.64.85.84.8
158.38.18.98.212.2
1610.610.510.712.59.9
1710.812.111.412.313.5
186.77.16.111.17.2
193.54.64.55.17.1
208.08.18.29.37.6
216.96.77.17.19.0
2212.111.010.912.111.2
236.26.36.07.810.2
Avg(dE)8.08.08.18.99.4

First of all, it should be noted that the individual models added (DA for DeOldify and DDs for DDColor) performed worse than the individual models tested in the previous analysis (DS for DeOldify and DD for DDColor). Conversely all combinations of DeOldify and DDColor performed well. Confirming the positive impact on the final result, already observed in the previous analysis, obtained by combining the 2 models.