A new method of building detection from a single aerial photograph