Index Terms—Bayes classification, Gibbs density parameter estimation, histograms, online handwritten Arabic character recognition.