IC testing using thermal image based on intelligent classification methods