On the luminosity of AGB stars as observed in the infrared from space and from the ground