The objective is accomplished through receiving a depiction of skin from an RGB sensor, and then using either an optical diffusion model of the skin or Monte Carlo simulations to calculate the bilirubin concentration. A meta model of the optical diffusion model or Monte Carlo simulations can also be used. Colour calibration is also performed by e.g. thin-plate spline interpolation.