A method for characterizing wettability of a porous medium is described. A core sample of the porous medium is secured in a core holder, which includes a first end and a second end. A model of the core sample and a pore volume of the core sample are obtained. A wetting phase is displaced from the core sample by supplying a non-wetting phase at one end of the core holder. The non-wetting phase is displaced from the core sample by supplying the wetting phase at one end of the core holder. A saturation profile of the core sample is determined based on cross-sectional images of the core sample. A wettability index value is calculated at least based on a comparison of the saturation profile and the model of the core sample.