Partitioning the lung field based on the depth ratio in three-dimensional space