Automatic Extraction of Regular Grids from Rectified Facade Image