Generate shape coordinates on underlying image