Structural damage detection based on features insensitive to ambient factors