Objective evaluation of binarization methods for document images (Scripts) Publisher's description
This function can be used to evaluate objectively the performance of binarization methods for document image
% This function can be used to evaluate objectively the performance of binarization methods for document image.
% May 17th, 2010, By Reza Farrahi Moghaddam, Synchromedia Lab, ETS,
% Montreal, Canada
% The implemented measures are as follows :
% Fmeasure (used as one of the measures in "Document Image Binarization Contest" (DIBCO'09) in ICDAR'09)
% Sensitivity (the same as Recall)
% BCR: The balanced classification rate
% AUC (The same as BCR)
% BER: The balanced error rate
% SFmeasure: F-measure based on sensitivity and specificity
% GAccuracy: Geometric mean of sens and spec (to be used as the measure in "Quantitative evaluation of binarization algorithms of images of historical documents with bleeding noise" contest in ICFHR'10)
%  M. Sokolova and G. Lapalme, A systematic analysis of performance
% measures for classification tasks, Information Processing & Management,
% 45, pp. 427-437, 2009. DOI: 10.1016/j.ipm.2009.03.002
% temp_obj_eval = objective_evaluation_core(u, u0_GT);
% u is the input binarized image to be evaluated.
% u0_GT is the ground-truth binarized image.
% temp_obj_eval is the output. The measures can be reached as the fields of temp_obj_eval. For example:
% fprintf('Precision = %9.5fn', temp_obj_eval.Precision);
System Requirements:MATLAB 7.5 (R2007b)
Program Release Status: New Release
Program Install Support: Install and Uninstall