Investigating the thermo-mechanical behaviour of cementitious materials using image processing techniques