An Improved Naive Bayes Classification to Enhance Image Registration