Improvements in ship tracking in electro-optical and infrared data using appearance