A knowledge-guided model of fitting detection in aerial transmission line images