Many man-made objects are composed of a number of some simple geometric shapes such as lines, circles, rectangles, etc. Therefore, the detection of rectangular objects is an important issue to some practical applications such as the detection of buildings