Color image demosaicing using iterative residual interpolation