Real space inhomogeneities in high temperature superconductors: the perspective of the two-component model