Source shape determination with directional correlation functions