Abstract
Binarization is the most important stage in historical document image processing. Efficient working of character and word recognition algorithms depend on effective segmentation methods. Segmentation algorithms in turn depend on images free of noises and degradations. Most of these historical documents are illegible with degradations like bleeding through degradation, faded ink or faint characters, uneven illumination, contrast variation, etc. For effective processing of these document images, efficient binarization algorithms should be devised. Here a simple modified version of the Convolutional Neural Network (CNN) is proposed for historical document binarization. AOD-Net architecture for generating dehazed images from hazed images is modified to create the proposed network.The new CNN model is created by incorporating Difference of Concatenation layer (DOC), Enhancement layer (EN) and Thresholding layer into AOD-Net to make it suitable for binarization of highly degraded document images. The DOC layer and EN layer work effectively in solving degradation that exists in the form of low pass noises. The complexity of working of the proposed model is reduced by decreasing the number of layers and by introducing filters in convolution layers that work with low inter-pixel dependency. This modified version of CNN works effectively with a variety of highly degraded documents when tested with the benchmark historical datasets. The main highlight of the proposed network is that it works efficiently in a generalized manner for any type of document images without further parameter tuning. Another important highlight of this method is that it can handle most of the degradation categories present in document images. In this work, the performance of the proposed model is compared with Otsu, Sauvola, and three recent Deep Learning-based models.
Keywords
Introduction
Historical document images exist in a variety of colors and shading. Physical appearance of these documents varies based on factors such as lighting, viewing angle and aging of the documents. These documents that are digitized using scanners and advanced cameras contain undesired textual noises like specks, dots, black borders and hole punch marks. Moreover, due to aging and improper handling various degradation are induced in these images. The degradation associated with document images are uneven illumination, contrast variation, bleed through degradation, faded ink or faint characters, smear or show through, blur and deterioration. Figure 1 shows examples of some degraded images taken form DIBCO and H-DIBCO dataset.

Degraded images taken from DIBCO and HDIBCO dataset.
For efficient working of optical character recognition the target text area should be effectively segmented from these documents. Segmentation of text area in turn depends on selection of efficient image enhancement and binarization algorithms. Many works have been reported in the area of document image binarization, but the research area is still active since a single algorithm has not yet been devised to work on variety of document images. Binarization algorithms are classified into local binarization and global binarization algorithms. In local binarization algorithm different parts of the documents are binarized with different thresholds. In global binarization algorithm a single threshold is selected for binarization of the entire image. Binarization algorithms can be divided into 5 categories.
Normal thresholding
Histogram based Thresholding
Evaluation of criteria functions
Sliding window based
Neural Network based
In normal thresholding based methods [2], the threshold value is selected as the medium of distribution of pixel values in the image so that 50%of pixel value lies in each side of the medium.
In [3], an iterative method of threshold selection is implemented. Here an initial random choice of threshold values are made and then images are divided into two classes based on the selected threshold. The mean of each class is estimated and the average of the two mean values based on distribution is selected as the next threshold value. The method works in an iterative manner until there is no change in the threshold value for subsequent iterations.
The most standard approach in threshold selection is based on the location of valleys that exist in the histogram. Most commonly used method for document image binarization is the selection of threshold value based on histogram of an image. But the selection of threshold based on a particular criteria do not work effectively in entire document image scenario. A long history of research exists in the domain of document image processing, focusing on finding an apt threshold value for document image binarization. In reference [4], a transformed histogram is created to enhance the performance of normal histogram based threshold selection. The transformed histogram is created based on the scatter plot of gray values in the image. A weighted projection based on the plotted values on the gray level axis is carried out to create the transformed histogram. Location of valleys on the transformed histogram is used for threshold selection.
In the method devised in [23], the gray level histogram is normalized and probability distribution is estimated for binarization. Here the method adopted is to calculate an optimal threshold value which maximizes between class variances. Here the objective functions are designed based on between class variance, within class variance and total variance. Based on the objective functions, a threshold value is selected and probability values of pixels are calculated based on histogram estimation. Here the binarization problem is reduced to an optimization problem that searches for a threshold k that maximizes one of the objective functions designed based on histogram values. The method can further be extended for the separation of given documents into more than one class by selecting multiple threshold values.
The entropy based method was first introduced in [5]. Pun′s algorithm analyzes the entropy of white and black pixels. Let entropy of black pixels be H b and entropy of white pixels be H w . The algorithm works in finding a threshold value ‘t’ that maximizes the function H = H b + H w . A variation of entropy based function is implemented in [6]. In [7], an entropy based thresholding method is implemented by assigning different probability distributions for objects and background. In [8], a histogram based entropy function is implemented for document image binarization. In [9], the entropy of pixels below and above a particular threshold value is calculated. The aggregate histogram value based on two entropy values are evaluated. Based on the evaluated aggregate entropy, the image is binarized into background and text area. Threshold values selected for binarization of images are based on maximization or minimization of criteria functions. The criteria functions were designed based on the parameters that optimally describes the image. In [10], selection of threshold values are designed based on maximization of a criteria function. Here the criteria function is designed based on continuous probability distributions obtained from the histogram. In [11], the threshold value for image binarization is selected by optimization of a criteria function. The function is designed based on the difference between two parameters. The first parameter is estimated based on the normal density of pixel distribution in the two classes and the second parameter is selected based on the conditional probability evaluated for a pixel to be in foreground and background image. In [12], the target binarization is designed based on the minimization of a global energy function carved modelling Markov random field model. The energy function works on two functions like Laplacian function and Smoothness term function. Laplacian of intensity value is used to differentiate ink from the background. In [13], binarization is carried out by an adaptive thresholding approach based on the image contrast. The method computes the local threshold value by using the mean value of the maximum (max(i, j)) and minimum (min(i, j)) intensities inside a local neighborhood window centered at a particular pixel (i, j). The method works only when the contrast threshold value is less than 15. This method fails in case of larger contrast values. In Niblack′s algorithm [14] pixel-wise threshold is calculated based on the local mean ‘m’ and the standard deviation ‘s’ of all the pixels in a sliding rectangular window. In [15], the researchers Sauvola and Pietikainen proposed an improvement on Niblack′s method with the aim to overcome the background noise problem. The two features based on which the algorithms work are the average of the gray level values and transient difference within the window. In [16], Gatos et al. proposed a multi-stage document image binarization method. The first step in the algorithm applies a low pass Wiener filter to reduce noise and correct the image contrast followed by Sauvola′s method for preliminary image segmentation. Then, the background is estimated using intensity analysis. In the last step the final thresholding result is estimated by taking the differences of images resulted from the first and second step. The main drawback of this technique is that it allows only the enhancement of the textual part in the document images. In [25], Khurshid et al. proposed a modification on Niblack′s method and entitled Nick′s method. In [17], Su et al. presented a hybrid thresholding algorithm that combines different thresholding methods (Otsu′s and Sauvola′s methods, Gatos′s and Su′s methods, Lu′s and Su′s methods) to improve the document image binarization quality. In reference [18], a new method is proposed where the contrast value is estimated based on Michelson′s contrast fomula.This method can only be applied to images if the contrast value is less than a particular threshold. In [19], Wolf proposed a method to normalize the contrast and mean gray value of the image and compute the threshold. In [20], instead of calculating the dynamic range of gray-value standard deviation from the whole image, local calculation is carried out by introducing the notion of two local windows, one encompassing the other. The values of local mean, the minimum gray-level and standard deviation are calculated using the primary local window. The dynamic range standard deviation is calculated using the larger window known as the secondary local window. Then the binarization threshold is computed from the above estimated values.
In [24], a contrast image based thresholding method is implemented. In this work, the image is binarized following 3 steps. They are construction of contrast image, detection of high contrast pixel and finally the threshold based binarization. In [21], a new methodology is proposed for improving document image binarization using three-stage algorithm. In the first stage, the background is removed using an iterative median filter. Then the miss-classified pixels are separated by a combination between Local Co-occurrence Mapping (LCM) and Gaussian Mixture Clustering. In the final stage isolated components are identified and suppressed using a morphology operator. In [22], Edge Level Thresholding(ELT thresholding) is carried out. It consists of three major modules: the ISEF edge detector (Shen-Castan (ISEF) Edge Detection), the MLS (moving least-squares) surface fit, and the thresholding module.
In this work a new CNN based model is proposed by modifying the structure of AOD-Net (All in one dehazing Network) [1]. AOD-Net has been implemented for dehazing the hazed image. The structure of AOD-Net is modified to include Difference of Concatenation (DOC) layer, Enhancement (EN) layer and Thresholding layer. These layers increase the overall quality of the output binary images when compared with existing CNN architectures. The concatenation layers help in reducing the structure of the proposed model by increasing the depth of input to each convolution layer. Convolutions with increased input depth, enable same updated weighted factors to be convolved with different intensity variations of the input image. Moreover, it will also reduce the complexity of the entire model by reducing the number of weight vectors considered for update through back propagation. The ‘DOC’ layer helps in increasing the intensity value of textual contents in the image. The ‘EN’ layer works to improve the overall efficiency of output images by incorporating a new method for image enhancement.
Section 2 discusses some neural network based methods for implementation of document image binarization. Section 3 depicts the design and structure of the newly proposed model. Section 4 exhibits the experimental analysis.
In [26], three neural based binarization techniques are proposed. Here a Self Organizing Map (S.O.P) is employed on the image to find the most representative gray levels or colors. Once the number of gray levels or colors are identified, methods like Kmeans,Sauvola or Niblack are used for binarization in case of gray scale images and Multi Layer Perceptron (MLP) for color images. The experimental analysis part reveals that the specified methods work better compared to other classical binarization techniques. In [27], binarization is carried out using Long Short-Term Memory (LSTM). Here 2D LSTM is employed to classify a pixel as text or background. The method initially starts by processing information based on local context and then propagates information globally to achieve better results. The paper reveals that the concerned method produces excellent results in DIBCO-2013 dataset. In [28], binarization is formulated as a pixel classification task where Fully Convolutional Network (FCN) architecture which works at multiple image scales including full resolution is proposed. Here a multiscale architectural variation for FCN is implemented that results in precise localization and preserves the benefit of down sampling. In this work the same network is trained on both historical paper documents and palm leaf documents. This method overrides the current state-of-the-art methods that had poor results in palm leaf documents. FCN can easily be adapted to any binarization ground truth environment as it does not incorporate any prior information. In this work a comparative analysis is carried out using different optimizing loss functions like Cross Entropy, Pseudo F-measure (P-FM), F-measure and combination of both Pseudo F-measure (P-FM) and F-measure. The Experimental analysis part shows that the proposed method can handle diverse domains of documents. In [29], convolutional auto-encoders are proposed to convert an input image into a binary image. The auto-encoder used here is termed as Selectional Auto-Encoder since the selection value of each pixel depends on whether the pixel belongs to foreground or background. Three topological variations of selectional autoencoders like Convolutional Auto-Encoder (CAE), Stacked What-Where Auto-Encoder (SWWAE) and Very deep Residual Encoder-Decoder Network (RED-Net) are used here for experimental analysis. Here F-measure (Fm) is used to perform a direct evaluation of the binarization process. Once trained this model, it performs binarization by applying global threshold. This approach has proven to outperform existing binarization strategies in various benchmark datasets.
In [30], a deep hierarchical Deep Supervised Network (DSN) architecture is learned for the prediction of text pixels at different feature levels. Here by using higher level features the network can easily differentiate the text pixels from background noises and also manages degradation. Binary images generated using this architecture produced clearer background and better preserved strokes. The DSN model provides better performance compared to Convolutional Neural Network (CNN) structures regarding convergence and the test performance. However, using a single DSN results in loss of low-level information like character edges and contours, which is not a suitable binarization problem. A new hierarchical DSN architecture is proposed in this work to sustain different levels of information simultaneously. The design of this network architecture has been resulted from the coarse-to-fine principle that is usually applied to extract structures in images and videos. The hierarchical DSN structure is designed and adopted based on the observation that the predicted maps at the last layers reveal low noise and the early layers show clearer foreground maps. The proposed method is analyzed with widely used DIBCO datasets and produces outstanding results compared to state-of-the-art models. In [31], a Convolutional Neural Network (CNN) is used to classify each pixel in the image as either background or foreground. Here experiments were carried out to find the best topology, training data and features for the network. The author claims that this approach outperforms all other widely used binarization methods. In [32], a convolutional encoder- decoder model with deep learning is proposed for document image binarization. The encoder constituting of a stack of convolutional layers produce a mid-level document image representation and the encoder produces a high resolution image having the same size as the original image. The encoder network is composed of a stack of transposed convolutional layers. The proposed method is compared qualitatively and quantitatively with other binarization methods on the public domain dataset. The proposed method has comparable performance and more generalization capabilities compared to state-of-the-art methods for document image binarization. In reference [33], an iterative deep learning frame for enhancement and binarization is proposed. Here the CNN is trained to learn the degradation of document images and produces clean and uniform images as output. The architecture used here is a combination of recurrent refinement and stacked refinement. Recurrent refinement section uses the same trained neural network architecture for document enhancement and stacked refinement section uses a stack of different neural networks for iterative output refinement. After a series of recurrent refinement and stacked refinement, uniform and enhanced images are produced which is then subjected to a binarization module. A comparative analysis of various local and global techniques on resultant enhanced images are exhibited in the paper. The newly proposed architecture produced an outstanding performance in various standard benchmark DIBCO dataset. In [34], a U-shaped architecture is proposed for binarization of gray scale document images. This U-shaped architecture has successfully been applied in a variety of image segmentation problems. The main advantage of U-shaped architecture is its ability to capture the context dependent local binarization methods. It is a CNN type architecture which provides outstanding performance in H-DIBCO-2017 and H-DIBCO-2018 dataset. In [39], a new model consisting of two networks are proposed. Texture Augmentation (TANet) part of the model tries to obtain a noisy version of the image by adding the noisy texture of the reference document image and the Binarization Network (BiNet) part tries to binarize the newly generated noisy image. Joint training of the two networks enhances the adversarial robustness of the system. The experimental analysis part of the work reveals that the method achieves outstanding performance in DIBCO datasets.
The proposed model in this work is an entirely innovative version of CNN with a reduced number of layers.The new concepts introduced into the proposed model are the layers Difference of Convolution (DOC) and Enhancement layer (EN). The working of the model is simplified by incorporating better dimensionality reduction of features and by reduced inter-pixel dependency. Convolution layer filters in the proposed work are selected in such a way as to reduce feature dimensionality and inter-pixel dependency.
Methods
Problem statement
The historical document images are highly degraded with different types of bleed through degradation and artifacts. Consider a highly degraded image I. Solution to be designed here is to estimate a binary Image I
b
which is free from all sorts of degradation. The degraded image I is given by
The proposed model M designed based on CNN architecture is given by
The output Ocon1 of concatenation layer con1 is given by
Figure 2 shows the clear version Visual results of evaluation showing the effectiveness of the proposed model in producing the clear version of degraded input image. (a)Original Image (b)Clear version(
The CNN architecture defined in this work comprises 5 Convolution layers, 3 Concatenation layers, a Difference of Concatenation layer (DOC), Enhancement layer and a Thresholding layer. The input image size and filter sizes were fixed based on experimental analysis using different filters of varying sizes. The convolution layers in the model work with filters of size either ‘1 × 1’ and ’n × 1’. Here such a filter size has been selected in each convolution layer to reduce the dimensionality of input images and also to reduce the effect of neighboring pixels on each output pixel value. The Concatenation layer plays a vital role in reducing the depth of the model by increasing the depth of the input image in the convolution layer. Difference of Concatenation layer produces output which gives more weightage to edge components that represents textual part and less weightage to non-edge components that represent non-textual part of the input image. The input image is resized into a size of ‘480 × 640 × 3’. In Convolution layer1(Conv1), the input image is convolved using 3 filters of size ’1 × 1’ initialized with Gaussian random values. Here the filter size ‘1 × 1’ is selected to convert a three channel image into a single channel image. The filter takes into account the average values of each pixel location corresponding to 3 channels thereby eliminating the dependency on neighboring pixel values. As three filters of size ‘1 × 1’ is used in the convolution layer1, three output feature maps are created. In the Convolution layer2 (Conv2), the output of convolution layer1 is convolved with 3 filters of size ‘3 × 1’. Here also such a filter size is chosen for dimensionality reduction by reducing the dependency on neighboring pixels. The images of size ‘480 × 640 × 3’ formed as outputs of convolution layer1 (Conv1) and convolution layer2 (Conv2) are concatenated at ‘concatenation layer 1’ to form an image of size ‘480 × 640 × 6’. The output of convolution layer2 (Conv2) is convolved with 3 filters of size ‘5 × 1’ at convolution layer 3 (Conv3) to form an output image of size ’480 × 640 × 3’. The output images of convolution layer 2 (Conv2) and convolution layer 3 (Conv3) are concatenated at concatenation layer 2 to form an output image of size ’480 × 640 × 6’. In the DOC layer, differences of the output images produced at concatenation layer1 and concatenation layer2 are estimated. At convolution layer 4 (Conv4), 3 filters of size ’7 × 1’ is applied to the resultant image from the DOC layer producing an output image of size ‘480 × 640 × 3’. The output images at convolution layers 1,2,3 and 4 are concatenated at concatenation layer 3 to form a resultant image of size ’480 × 640 × 12’. The output image from concatenation layer 3 is submitted to convolution layer 5(Conv5) where the input image is convolved with 3 filters of size ‘3 × 1’ thereby producing an output image of size ‘480 × 640 × 3’. The output from convolution layer 5 is passed to the Enhancement layer (EN) where the image is enhanced based on equation (10) and ReLU operation. The image produced at the EN layer is a clear lighter version of the degraded input image. In the thresholding layer a simple thresholding is carried out based on the mean value of the image generated at the normalization layer. Figure 3 depicts the model architecture. The detailed summary of the proposed network is depicted in Table 1. Table 1 demonstrates the number of filters, filter size (kernel size), padding size, output tensor size of each convolution layer, axis of concatenation and output filter size of each concatenation layer and output tensor size of all other layers in the model.

Architecture.
Summary of the Proposed model: ‘L’ represents layer number, ‘K’ represents kernel size, ‘F’ is the number of filters, ‘P’ is the padding and ‘A’ denotes axis of concatination
Dataset and implementation
The proposed model is trained and validated with 50 images from Document Image Binarization Contest (DIBCO) datasets, 15 images from Persian Heritage Image Binarization Dataset (PHIBD12) Dataset, 100 images from Balinese Palm leaf Manuscript of ICFHR 2016 contest and 7 images from Bickley Diary Dataset. The DIBCO datasets used in this work are H-DIBCO 2014, H-DIBCO 2016, H-DIBCO 2018, DIBCO-2017 and DIBCO 2019. A total of 192 images were used for training and validation of the proposed model. Out of the 192 images, 135 images were selected for training purpose and 57 images for validation. As the benchmark dataset available for binarization is very small, image augmentation is carried out to boost the performance of the model. To increase the size of the dataset the input images are cropped into patches of size 128 × 128 × 3. The patch sizes were selected based on experimental analysis. Python code is implemented to create patches from the image. The patch creation code is run through 10 iterations to generate different set of training and validation patches from each DIBCO dataset. Each patch is scaled to a size of 480 × 640 × 3 to fit into the model input. Approximately 108000 patches were selected for training purpose and 45000 entirely different patches were used for validation purpose. The details regarding images and patches selected for training and validation are depicted in Table 2. A newly created palm leaf dataset constituting of grantha characters were also used for testing purpose. Palm leaf images constituting of grantha script were collected from the Oriental Research Institute in University of Kerala (University located in the southern State in India).
Dataset description
Dataset description
The architecture and learning process were implemented using Keras Library. We used Adam optimizer and MSE (mean square error) as loss function. Here ReLU is used instead of BReLU to get optimized results. The learning rate is set as 0.0001. Momemtum value is chosen as 0.9 and decay parameter as 0.0001. All these values for various parameters were chosen based on experimental analysis. The network almost took 20 epochs to converge.
The performance of the model is validated with the 45000 patch images kept aside for validation purpose. To compare the performance of the proposed model with other existing efficient methods, the model is also tested with whole size images from the selected standard datasets. The ground truth for patch images were generated by cropping corresponding patches from the ground truth of validation images. The proposed method works effectively in enhancement and binarization of highly degraded documents. It works effectively for various types of degradation like uneven illumination, contrast variation, ink bleed degradation, smear through and show through effect, blurring and deterioration. Figure 4 shows that the proposed method works effectively in handling smear through and show-through degration. The image shown in Fig. 4 is taken from H-DIBCO 2016 dataset.

Visual results of evaluation showing the effectiveness of the proposed model in handling smear through and show through degradation. (a) Original Image (b) GroundTruth (c) Binarized Image based on proposed model.
Figure 5 shows the binarized output of an image taken from DIBCO 2017 dataset. The input image is effected with ink bleed and show through effect degradation. The visual results in Fig. 5 shows that the proposed model can effectively handle the ink bleed and show through degradation.

Visual results of evaluation showing the effectiveness of proposed model in handling ink bleed and show through degradation (a) Original Images (b) GroundTruth (c) Binarized Images.
Figure 6 shows the binarized outputs generated by the proposed model on degraded images taken from H-DIBCO 2018 dataset. The images shown in the figure are effected with degradation due to uneven illumination, contrast variation and deterioration. Images shown in the figure 6 reveals that the model works efficiently in handling various types of degradation.

Visual results of evaluation showing the effectiveness of model in handling degradations like uneven illumination, contrast variation and deterioration (a) Original Images (b) GroundTruth (c) Binarized Images.
In some historical images the text area gets lighter and weaker due to aging. Figure 7 shows the effectiveness of the proposed method in handling lighter and weaker text content.

Visual results of evaluation showing the effectiveness of the proposed method in handling lighter and weaker text content (a) Original Images (b) GroundTruth (c) Binarized Images.
Figure 8 depicts the working of the proposed model when tested with palm leaf images constituting of grantha characters.

Visual results of evaluation of proposed method in grantha dataset:(a) Original Images (b) Binarized Outputs.
The proposed model produced outstanding performance when compared with Otsu and Sauvola binarization methods. Figure 9 shows the binarization output image produced on applying Otsu and Sauvola binarization methods to the input image. Output images produced by Otsu has lots of unwanted artifacts. As Otsu being a global thresholding method, it cannot work effectively to determine a single threshold that can be applied to an entire document image. Figure 9(c) shows that on applying the Sauvola method to the input image with a local window of size ’3 × 3’ the entire image content is lost. As the threshold selection in Sauvola method is not robust to low contrast and moreover is not invariant to contrast inversion, the method is more likely to produce results as shown in Fig. 9(c) while working with input images of low contrast variation. But on increasing the window size and enhancing the contrast of input images better output images can be produced. Figure 9(d) shows the output image produced on working with the proposed model. From the visual results it can be affirmed that the proposed model works efficiently when compared to Otsu and Sauvola binarization method.

Visual results comparing the performance of Otsu binarization, Sauvola binarization and proposed method:(a) Original Images (b) Binarized image resulted from Otsu (c) Binarized Images resulted from Sauvola (d) Binarized image resulted from proposed model.
In the proposed work, mean value thresholding is performed in the thresholding layer. The thresholding method in the layer can be modified to any of the standard thresholding method. Experiments were carried out to modify the thresholding layer with Otsu and Sauvola binarization methods. Figure 10(b) shows the resultant output images produced when the thresholding layer in proposed model is modified with Otsu binarization algorithm and Fig. 10(c) shows the resultant images produced when thresholding layer is modified with Sauvola binarization method. Figure 10(d) shows the resultant images produced by the proposed model. From the resultant images in Figs. 9 10, it can be affirmed that Otsu and Sauvola combined with the proposed model works better in degraded images compared to the methods being applied in bare. These outputs reveal the effectiveness of layers upto enhancement layer in producing a clear version of degraded images that further enhances the efficiency of binarization algorithms.

Visual results comparing the performance of proposed method with modification in proposed method based on Otsu binarization and Sauvola binarization:(a) Original Images (b) Binarized image resulted from Proposed model + Otsu (c) Binarized Images resulted from Proposed Model + Sauvola(d) Binarized image resulted from proposed model.
Figure 11 shows the comparative visual results of the proposed method with other recent Deep Learning based methods like CNN [29], AdBiNet [39] and UNet [34] on Bickley Diary dataset, Balinese palm leaf Dataset and PHIBD12 Dataset. The fifth row in the image that corresponds to proposed work depicts that the proposed model can produce more clear binarization results compared to other recent Deep Learning methods.

Visual results comparing the performance of proposed method with other deep learning methods on Bickley dataset, Balinese palm leaf dataset and PHIBD12 dataset:(a) Original Images (b) Binarized images resulted from CNN (c) Binarized Images resulted from AdBiNet (d) Binarized Images resulted from UNet (e) Binarized image resulted from proposed model.
To evaluate the effectiveness of the proposed model quantitatively, the model is experimented with images patches from the validation dataset. To compare the performance with other standard algorithms the model is also tested with the full size images from the selected benchmark datasets. The average performance measures are estimated on DIBCO datasets, Bickley Diary Dataset, PHIBD12 dataset and Balinese Palm leaf manuscript. The resultant images produced were evaluated based on measures like F-measure, Pseudo F-measure (Fps), Distance Reciprocal Distortion metric (DRD) and the Peak Signal-to-Noise Ratio (PSNR) metrics [38]. These metrics as being the measures for analysis of binarization results in DIBCO binarization context were chosen for quantitative analysis in this work. Moreover, in most of the work related to document image binarization, these measures were used as standard measures for evaluating the performance of proposed algorithms. The values of F-measure, Pseudo F-measure (Fps) and the Peak Signal-to-Noise Ratio (PSNR) should be very high and the values of Distance Reciprocal Distortion metric (DRD) should be very low for an adequate binarized result. The values of F-measure, pseudo F-measure (Fps) should approach to 100 for an apt binarized ouput. The average values based on the evaluated measures are tabulated and were quantitatively compared with some state-of-the-art methods. Table 3 shows the evaluation measures based testing on H-DIBCO 2014 Dataset. Table 4 shows the results based on H-DIBCO 2016 Dataset, Table 5 based on DIBCO 2017 Dataset, Table 6 based on H-DIBCO 2018 Dataset, Table 7 based on Bickley Diary Dataset, Table 8 based on PHIBD12 dataset and Table 9 based on Balinese palm leaf manuscript. In each table the performance of the proposed method is compared with binarization methods like Otsu, Sauvola, the best method selected from yearly DIBCO contest, CNN, UNet and AdBiNet. From the tabulated results it can be concluded that the proposed model produced outstanding performance when compared with other methods. But in case of H-DIBCO 2014 where the number of degraded images are less compared to the other DIBCO dataset, the average performance of the model is slightly low compared to the best method in the DIBCO-2014 contest and UNet. In other datasets where the degraded images are high in number the proposed model overrides all other methods.
Experimental analysis on H-DIBCO 2014 dataset
Experimental analysis on H-DIBCO 2014 dataset
Experimental analysis on H-DIBCO 2016 dataset
Experimental analysis on DIBCO 2017 dataset
Experimental analysis on H-DIBCO2018 dataset
Experimental analysis on bickley diary dataset
Experimental analysis on PHIBD12
Experimental analysis on balinese palm leaf manuscript
The combined unique features of the model like convolution kernel size, concatenation layers and Difference of Concatenation layer leads to the outstanding performance of the model compared to existing models. The use of ’1 × 1’ and ‘n × 1’ kernel size for convolution reduces the dependency of each pixel on neighboring pixels values, thereby reducing the overall smoothening effect of the output from convolution layers. The concatenation layer introduced in the model reduces the depth of the proposed model but increases the depth of input images to the convolution layer. The negative effect induced in the model due to the reduction in model depth is substantiated by increasing the depth of images for convolution. The introduction of the concatenation layer thereby reduces the complexity of the entire model. DOC layer plays a key role in enhancing the intensity values of edge components that represent textual part of the image.
The proposed model is a modified version of Convolution Neural Network constituting of a set of Convolution layers, Concatenation layers, Difference of Concatenation layer, Enhancement layer and Thresholding layer. The model produces outstanding performance compared to the existing methods like Otsu, Sauvola, Basic CNN, UNet and AdBiNet. The experimental analysis part with H-DIBC0 2014, H-DIBCO 2016, H-DIBCO2018, DIBCO 2017, DIBCO 2019, Bickley Diary, PHIBD12 and Balinese Palm Leaf dataset reveals the efficiency of the model visually and based on evaluation measures like F-measure, Distance Reciprocal Distortion metric and the Peak Signal-to-Noise ratio. In the case of H-DIBCO 2014 where the number of degraded images are less compared to the other DIBCO dataset, the average performance of the model is slightly low compared to the best method in the DIBCO-2014 contest and UNet. But in other datasets where the degraded images are high in number the proposed model overrides all other methods. The model works efficiently in handling degradations in most of the historical images. Moreover, the model works effectively in retrieving the weaker text content. This model with limited depth shows better performance compared to existing CNN-based models having more layers. The performance of the model can further be enhanced by increasing the number of layers. The proposed model can be modified to work in other research domains like de-raining, de-hazing, and denoising.
