Large-scale structures from infrared surveys