Damage assessment for heritage buildings