Computer and Modernization

Previous Articles     Next Articles

Indoor Window Detection Based on Image Contour Analysis

  

  1. (School of Computer Science and Technology, Hangzhou Dianzi University, Hangzhou 310018, China)
  • Online:2018-04-28 Published:2018-05-02

Abstract: Aiming to the problem of indoor window detection, this paper proposed an approach of indoor window detection based on image contour analysis. The image is preprocessed and a binary image is obtained by threshold segmentation and morphological processing. Then, the contours of the image are extracted by the border tracking based on the topology structure analysis, and stored as the sequence points. The contours of the qualifying conditions are selected according to the characteristics of the window contours. The minimum enclosing rectangles of each contour are figured up and the shortest distance between each two rectangles are calculated. Finally, the rectangles are classified and merged by the minimum spanning tree to obtain the position of the window. Experiment results show that the proposed method can effectively detect the windows in different indoor scenes.

Key words: window detection, threshold segmentation, binary image, contours extraction, minimum spanning tree

CLC Number: