The generation of a depth map is one of the most important processes in common stereoscopic conversion. Since generating a depth map by manual painting is time consuming, many automatic depth estimation techniques have been proposed. One approach to depth map generation is to utilize vanishing point detection to calculate relative depths in the image. However, existing techniques typically produce gradually changing depth variations toward a vanishing point, and are not capable of capturing detailed depth that is caused by complex scene geometry. This paper presents a new method to generate a depth map of a single input image of a building. Our method builds upon the assumption that an image of a building contains detailed line segments coupled with vanishing points. We show how to detect vanishing points, extract line segments, and find relative positional relations between the line segments. The relationship helps generate the relative depth of each line segment, which can be propagated to cover the entire building. As the depth map is generated from the collection of line segments, the details of the depth are faithfully reproduced.
깊이 정보 생성은 입체 변환에 있어 가장 중요한 과정 중 하나이다. 깊이 정보를 수작업으로 생성해 내는 것은 많은 시간과 노력이 들어가는데, 이를 해결하기 위해 다양한 자동화 기법들이 연구되고 발표되었다. 그 중에서도 소실점을 기반으로 하여 깊이 정보를 생성하는 기법들도 많은 연구가 이루어 졌다. 하지만 기존의 기법들은 여러 개의 소실점을 동시에 고려하지 못하거나 영상 전체적으로 평탄해 보이는 깊이 정보를 생성하여 세부적인 깊이 정보를 생성해내지 못한다. 이 연구에서는 건물 영상에서 이러한 문제점을 보완하는 기법을 소개한다. 소실점 추출과 함께 영상에서 선 정보를 같이 추출한 후, 선과 소실점과의 관계를 정의하고, 그러한 관계를 바탕으로 각 선의 깊이 정보를 유추해 낸다. 이렇게 구해진 선들의 깊이 정보는 영상 전체의 깊이 정보를 유추해내는데 도움이 된다. 소실점뿐만 아니라 영상 내에 세부적인 선들 까지 고려하여 영상의 세부적인 깊이 정보를 생성해 낼 수 있다.