Structured image reconstruction for three-dimensional ghost imaging lidar