An efficient sun glitter detection and classification algorithm in infrared scenes