원시데이터 수집 시스템
선정목록으로

Classification of Error-Diffused Halftone Images Based on Spectral Regression Kernel Discriminant Analysis

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Zhigao Zeng — College of Computer and Communication, Hunan University of Technology, Hunan 412007, China|||Intelligent Information Perception and Processing Technology, Hunan Province Key Laboratory, Hunan 412007, China
  2. Zhiqiang Wen — College of Computer and Communication, Hunan University of Technology, Hunan 412007, China
  3. Shengqiu Yi — College of Computer and Communication, Hunan University of Technology, Hunan 412007, China
  4. Sanyou Zeng — Department of Computer Science, China University of Geosciences, Wuhan, Hubei 430074, China
  5. Yanhui Zhu — College of Computer and Communication, Hunan University of Technology, Hunan 412007, China
  6. Qiang Liu — College of Computer and Communication, Hunan University of Technology, Hunan 412007, China
  7. Qi Tong — College of Computer and Communication, Hunan University of Technology, Hunan 412007, China
DOI
10.1155/2016/4985313
저널
Advances in Multimedia
발행년도
2016
발행기관
Hindawi Publishing Corporation
피인용수
7
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1155/2016/4985313
토픽
Color Science and Applications
OpenAlex ID
W2407088632

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

This paper proposes a novel algorithm to solve the challenging problem of classifying error-diffused halftone images. We firstly design the class feature matrices, after extracting the image patches according to their statistics characteristics, to classify the error-diffused halftone images. Then, the spectral regression kernel discriminant analysis is used for feature dimension reduction. The error-diffused halftone images are finally classified using an idea similar to the nearest centroids classifier. As demonstrated by the experimental results, our method is fast and can achieve a high classification accuracy rate with an added benefit of robustness in tackling noise.

본문 47,929자

본문 펼치기
Hindawi Publishing Corporation Advances in Multimedia Volume 2016, Article ID 4985313, 10 pages http://dx.doi.org/10.1155/2016/4985313 # _Research Article_ Classification of Error-Diffused Halftone Images Based on Spectral Regression Kernel Discriminant Analysis Zhigao Zeng, <sup>1,2</sup> Zhiqiang Wen, <sup>1</sup> Shengqiu Yi, <sup>1</sup> Sanyou Zeng, <sup>3</sup> Yanhui Zhu, <sup>1</sup> Qiang Liu, <sup>1</sup> and Qi Tong <sup>1</sup> _1College of Computer and Communication, Hunan University of Technology, Hunan 412007, China_ _2Intelligent Information Perception and Processing Technology, Hunan Province Key Laboratory, Hunan 412007, China_ _3Department of Computer Science, China University of Geosciences, Wuhan, Hubei 430074, China_ Correspondence should be addressed to Zhigao Zeng; zzgzzg99@163.com Received 21 January 2016; Revised 22 March 2016; Accepted 18 April 2016 Academic Editor: Stefanos Kollias Copyright © 2016 Zhigao Zeng et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. This paper proposes a novel algorithm to solve the challenging problem of classifying error-diffused halftone images. We firstly design the class feature matrices, after extracting the image patches according to their statistics characteristics, to classify the errordiffused halftone images. Then, the spectral regression kernel discriminant analysis is used for feature dimension reduction. The error-diffused halftone images are finally classified using an idea similar to the nearest centroids classifier. As demonstrated by the experimental results, our method is fast and can achieve a high classification accuracy rate with an added benefit of robustness in tackling noise. 1. Introduction As a popular image processing technology, digital halftoning [1] has found wide applications in converting a continuous tone image into a binary halftone image for a better display on binary devices, such as printers and computer screens. Usually, binary halftone images can only be obtained in the process of printing, image scanning, and fax, from which the original continuous tone images need to be reconstructed [2, 3], using an inverse halftoning algorithm [4], for image processing, for example, image classification, image compression, image enhancement, and image zooming. However, it is difficult for inverse halftoning algorithms to obtain the optimal reconstruction quality due to unknown halftoning patterns in practical applications. Furthermore, a basic drawback of the existing inverse halftone algorithms is that they do not distinguish the types of halftone images or can only coarsely divide halftone images into two major categories of error-diffused halftone images and orderly dithered halftone images. This inability of exploiting a prior knowledge on the halftone images largely weakens the flexibility, adaptability, and effectiveness of the inverse halftoning techniques, making the study on the classification of halftone images imperative for not only optimizing the existing inverse halftoning schemes, but also guiding the establishment of adaptive schemes on halftone image compression, halftone image watermarking, and so forth. Motivated by observing the significance of classifying halftone images, several halftone image classification methods have been proposed. In 1998, Chang and Yu [5] classified halftone images into four types using an enhanced one-dimensional correlation function and a backpropagation (BP) neural network, for which the data sets in the experiments are limited to the halftone images produced by clustered-dot ordered dithering, dispersed-dot ordered dithering, constrained average, and error diffusion. Kong et al. [6, 7] used an enhanced one-dimensional correlation function and a gray level cooccurrence matrix to extract features from halftone images, based on which the halftone images are divided into nine categories using a decision tree algorithm. Liu et al. [8] combined support region and least mean square (LMS) algorithm to divide halftone images into four categories. Subsequently, they [9] used LMS to extract features from Fourier spectrum in nine categories of 2 Advances in Multimedia halftone images and classify these halftone images using naive Bayes. Although these methods work well in classifying some specific halftone images, their performance largely decreases when classifying error-diffused halftone images produced by Floyd-Steinberg filter, Stucki filter, Sierra filter, Burkers filter, Jarvis filter, and Stevenson filter, respectively. They are described as follows. _Different Error Diffusion Filters_ . Consider the following: (a) Floyd-Steinberg filter: (c) ? denotes the pixel being processed; ?, ?, ?, and ? indicate the four neighborhood pixels: O A C ~~(~~ <sup><u>1</u></sup> <u>42</u> <sup>)</sup> 0 0 0 8 4 2 1 <u>B</u> 4 8 4 2 2 4 2 ~~1~~ D (8) <sup><u>1</u></sup> ∙7 16 <sup>)</sup> 3 5 1 ( <sup><u>1</u></sup> (1) 3 5 1 (b) Sierra filter: ( <sup><u>1</u></sup> 32 <sup>)</sup> ∙5 3 2 4 5 4 2 0 2 3 2 0 (2) (c) Burkers filter: <sup><u>1</u></sup> ∙8 4 32 <sup>)</sup> 2 4 8 4 2 ( <sup><u>1</u></sup> (3) 2 4 8 4 2 (d) Jarvis filter: ( <sup><u>1</u></sup> 48 <sup>)</sup> ∙7 5 3 5 7 5 3 1 3 5 3 1 - 32 based on different error diffusion kernels, as summarized in [10–12]. Moreover, these literatures did not consider all types of error diffusion halftone images. For example, only three error diffusion filters are included in [6, 7, 9] and only one is involved in [5, 8]. The idea of halftoning for the six error diffusion filters is quite similar, with the only difference lying in the templates used (shown in different error diffusion filters and the error diffusion of Stucki described above; the templates are shown at the right-hand side in each equation). It is difficult to classify the error-diffused halftone images because of the almost inconspicuous differences among various halftone features extracted from, using these six error diffusion filters, the error-diffused halftone images. However, as a scalable algorithm, the error diffusion has gradually become one of the most popular techniques, due to its ability to provide a solution of good quality at a reasonable cost [13]. This asks for an urgent requirement to study the classification mechanism for various error diffusion algorithms, with the hope to promote the existing inverse halftone techniques widely used in different application fields of graphics processing. This paper proposes a new algorithm to classify errordiffused halftone images. We first extract the feature matrices of pixel pairs from the error-diffused halftone image patches, according to statistical characteristics of these patches. The class feature matrices are then subsequently obtained, using a gradient descent method, based on the feature matrices of pixel pairs [14]. After applying the spectral regression kernel discriminant analysis to realize the dimension reduction in the class feature matrices, we finally classify the error-diffused halftone images using the idea similar to the nearest centroids classifier [15, 16]. The structure of this paper is as follows. Section 2 presents the method of kernel discriminant analysis. Section 3 describes how to extract the feature extraction of pixel pairs from the error-diffused halftone images. Section 4 describes the proposed classification method for the error-diffused halftone image based on the spectral regression kernel discriminant analysis. Section 5 shows the experimental results. Some concluding remarks and possible future research directions are given in Section 6. 2. An Efficient Kernel Discriminant Analysis Method It is well known that linear discriminant analysis (LDA) [17, 18] is effective in solving classification problems, but it (e) Stevenson filter: (4) (5) (6) (7) ( <sup><u>1</u></sup> 200 <sup>)</sup> 12 26 30 16 12 26 12 5 12 12 5 _The Error Diffusion of Stucki_ (a) Error kernel of Stucki filter is ∙8 4 ( <sup><u>1</u></sup> 42 <sup>)</sup> 2 4 8 4 2 1 2 4 2 1 (b) Matrix of coefficients template is 0 0 0 8 4 2 4 8 4 2 1 2 4 2 1 Advances in Multimedia 3 fails for nonlinear problems. To deal with this limitation, the approach called kernel discriminant analysis (KDA) [19] has been proposed. where ? is the kernel matrix and ??? = ?(??, ??); ? is the weight matrix defined as follows: <u>1</u> ?? (13) { { { 0, others. , if ??, ?? belong to the ?th class, _2.1. Overview of Kernel Discriminant Analysis._ Suppose that we are given a sample set {?1, ?2, . . ., ??} of the error-diffused halftone images with ?1, ?2, . . ., ?? belonging to different class ?? (?= 1, 2, . . ., ?), respectively. Using a nonlinear mapping function ?, the samples of the halftone images in the input space ? <sup>?</sup> can be projected to a high-dimensional separable feature space ?; namely, ? <sup>?</sup> →?, ?→?(?). After extracting features, the error-diffused halftone images will be classified along the projection direction along which the within-class scatter is minimal and the between-class scatter is maximal. For a proper ?, an inner product described as ⟨⋅, ⋅⟩ can be defined on ? to form a reproducing kernel Hilbert space. That is to say, ⟨?(??), ?(??)⟩= ?(??, ??), where ?(⋅, ⋅) is a positive semidefinite kernel function. In the feature space ?, let ?? <sup>?</sup> <sup>be the between-class scatter matrix, let ?</sup> ? <sup>?</sup> <sup>be the within-</sup> class scatter matrix, and let ?? <sup>?</sup> <sup>be the total scatter matrix:</sup> ??? = For sample ?, the projective function in the feature space ? can be described as ? <sup>∗</sup> (?) = ⟨V, ?(?)⟩= ? ∑ ?=1 ?? ⟨?(??), ?(?)⟩ (14) = ? ∑???(??, ?) = ? <sup>?</sup> ?(⋅, ?) . ?=1 ? <sup>?</sup> <sup>be the between-class scatter matrix, let ?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>be the total scatter matrix:</sup> ?? <sup>?</sup> <sup>=</sup> ?? (?? <sup>?</sup> ? <sup>?</sup> <sup>−?</sup> ? <sup>) (?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>−?</sup> ? <sup>)</sup> ?, (9) ?? <sup>?</sup> <sup>=</sup> ? ∑ ?=1 ? ∑ ?=1 ?? (∑ ?=1 ?? ∑ ?=1 (?(?? <sup>?</sup> ? <sup>?) −?</sup> ? <sup>?</sup> ? <sup>?) (?(?</sup> ? <sup>?</sup> ? <sup>?) −?</sup> ? <sup>?</sup> ? <sup>?)</sup> ?), _2.2. Kernel Discriminant Analysis via Spectral Regression._ To efficiently solve the eigenproblem of the kernel discriminant analysis in (12), the following theorem will be used. Theorem 1. _Let_ ? _be the eigenvector of the eigenproblem_ ??= ?? _with eigenvalue_ ? _. If_ ??= ? _, then_ ? _is the eigenvector of_ _eigenproblem (12) with the same eigenvalue_ ? _._ According to Theorem 1, the projective function of the kernel discriminant analysis can be obtained according to the following two steps. _Step 1._ Obtain ? by solving the eigenproblem in (12). _Step 2._ Search eigenvector ? which satisfies ??= ?, where ? is the positive semidefinite kernel matrix. As we know, if ? is nonsingular, then, for any given ?, there exists a unique ?= ? <sup>−1</sup> ? satisfying the linear equation described in Step 2. If ? is singular, then, the linear equation may have infinite solutions or have no solution. In this case, we can approximate ? by solving the following equation: (?+ ??) ?= ?, (15) where ?≥0 is a regularization parameter and ? is the identity matrix. Combined with the projective function described in (14), we can easily verify that the solution ? <sup>∗</sup> = (?+ ??) <sup>−1</sup> ? given by (15) is the optimal solution of the following regularized regression problem: ?? <sup>?</sup> ? <sup>?</sup> <sup>= ?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>+ ?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>=</sup> ? ∑ ?=1 (?(??) −??) (?(??) −??)?, ?, where ?? is the number of the samples in the ?th class, ?(?? <sup>?)</sup> <sup>is</sup> <sup>the</sup> <sup>?th</sup> <sup>sample</sup> <sup>of</sup> <sup>the</sup> <sup>?th</sup> <sup>class</sup> <sup>in</sup> <sup>the</sup> <sup>feature</sup> <sup>space</sup> ?, ?? <sup>?</sup> <sup>=</sup> <sup>(1/?</sup> ? <sup>) ∑?</sup> ?=1 <sup>?</sup> <sup>?(?</sup> ? <sup>?)</sup> <sup>is</sup> <sup>the</sup> <sup>centroid</sup> <sup>of</sup> <sup>the</sup> <sup>?th</sup> <sup>class,</sup> ? <sup>?</sup> <sup>=</sup> <sup>(1/?</sup> ? <sup>) ∑?</sup> ?=1 <sup>?</sup> ? <sup>?)</sup> <sup>is</sup> <sup>the</sup> <sup>centroid</sup> <sup>of</sup> <sup>the</sup> <sup>?th</sup> <sup>class,</sup> <sup>?</sup> ?=1 <sup>?</sup> <sup>?(?</sup> ? <sup>?</sup> <sup>?</sup> ?=1 <sup>∑?</sup> ?=1 <sup>?</sup> and ?? = (1/?) ∑ <sup>?</sup> <sup>?</sup> ?=1 <sup>?</sup> <sup>?(?</sup> ? <sup>?</sup> and ?? = (1/?) ∑ <sup>?</sup> ?=1 <sup>∑?</sup> ?=1 <sup>?</sup> <sup>?(?</sup> ? <sup>?) is the global centroid. In the</sup> feature space, the aim of the discriminant analysis is to seek the best projection direction, namely, the projective function V to maximize the following objective function: Vopt = arg max <sup>V??</sup> <u>?</u> <sup>?</sup> <u>?</u> <sup>?V</sup> ? <sup>?</sup> <sup>V</sup> V <sup>?</sup> ?? <sup>?</sup> . (10) Equation (10) can be solved by the eigenproblem ?? <sup>?</sup> ? <sup>?V = ??</sup> ? <sup>?</sup> Equation (10) can be solved by the eigenproblem ?? <sup>?V = ??</sup> ? <sup>?V.</sup> According to the theory of reproducing kernel Hilbert space, we know that the eigenvectors are linear combinations of ?(??) in the feature space ?: there exist weight coefficients ?? (?= 1, 2, . . ., ?) such that V <sup>?</sup> = ∑ <sup>?</sup> ?=1 <sup>?</sup> ? <sup>?(?</sup> ? <sup>).</sup> <sup>Let</sup> <sup>?=</sup> ? <sup>∗</sup> = min ?? (?= 1, 2, . . ., ?) such that V <sup>?</sup> = ∑ <sup>?</sup> ?=1 <sup>?</sup> ? <sup>?(?</sup> ? <sup>).</sup> <sup>Let</sup> <sup>?=</sup> [?1, ?2, . . ., ??] <sup>?</sup> ; then it can be proved that (10) can be rewritten as follows: ? ∑ ?=1 ?∈? (?(??) −??) <sup>2</sup> + ? <sup>??</sup> ??? <sup>??</sup> ?? 2 ? <sup>,</sup> (16) (11) ?opt = arg max <sup><u>??????</u></sup> ? <sup>?</sup> ??? <sup>.</sup> where ?? is the ?th element of ? and ? is the reproducing kernel Hilbert space induced from the Mercer kernel ? with ‖ ⋅‖? being the corresponding norm. Due to the essential combination of the spectral analysis and regression techniques in the above two-step approach, the method is named as spectral regression (SR) kernel discriminant analysis. The optimization problem of (11) is equal to the eigenproblem ????= ????, (12) 4 Advances in Multimedia 3. Feature Extraction of the Error-Diffused Halftone Images Since its introduction in 1976, the error diffusion algorithm has attracted widespread attention in the field of printing applications. It deals with pixels of halftone images using, instead of point processing algorithms, the neighborhood processing algorithms. Now we will extract the features of the error-diffused halftone images which are produced using the six popular error diffusion filters mentioned in Section 1. _3.1._ _Statistic_ _Characteristics_ _of_ _the_ _Error-Diffused_ _Halftone_ _Images._ Assume that ??(?, ?) is the gray value of the pixel located at position (?, ?) in the original image and ?(?, ?) is the value of the pixel located at position (?, ?) in the error-diffused halftone image. For the original image, all the pixels are firstly normalized to the range [0, 1]. Then, the pixels of the normalized image are converted to the errordiffused image ? line by line; that is to say, if ??(?, ?) ≥?0, ?(?, ?), which is the value of the pixel located at position (?, ?) in error-diffused image ?, is 1; otherwise, ?(?, ?) is 0, where ?0 is the threshold value. The error between ?(?, ?) and ?0 is diffused ahead to some subsequent pixels not necessary to deal with. Therefore, for some subsequent pixels, the comparison will be implemented between ?0 and the value which is the sum of ??(?, ?) and the diffusion error ?. A template matrix can be built using the error diffusion modes and the error diffusion coefficients, as shown in the error diffusion of Stucki described above, for example, (a) the error diffusion filter and (b) the error diffusion coefficients which represent the proportion of the diffusion errors. If the coefficient is zero, then the corresponding pixel does not receive any diffusion errors. According to the error diffusion of Stucki described above, pixel ? suffers from more diffusion errors than pixel ?; that is to say, ?-? has a larger probability to become 1-0 pixel pair than ?-?. The reasons are as follows. Suppose that the pixel value of ? is 0 ≤?? ≤1, and pixel ? has been processed by the thresholding method according to the following equation: ?11, respectively (? is an odd number satisfying ?= 2?+ 1 and ? is the maximum neighboring distance). Suppose that the center entry of the statistical matrix template covers pixel ? of the error-diffused halftone image with the size ?∗?, and other entries overlap other neighborhood pixels ?(?, V). Then, we can compute three statistics on 1-0, 1-1, and 0-0 pixel pairs within the scope of this statistics matrix template. If the position (?, ?) of pixel ? changes continually, the matrices ?00, ?10, and ?11 with zero being the initial values can be updated according to ?11 (?, ?) = ?11 (?, ?) + 1 if ?(?, ?) = 1, ?(?, V) = 1, ?00 (?, ?) = ?00 (?, ?) + 1 ?10 (?, ?) = ?00 (?, ?) + 1 if ?(?, ?) = 0, ?(?, V) = 0, (18) 1, ?? ≥?0, 0, else. ?? = { { { (17) if ?(?, ?) = 1, ?(?, V) = 0 or ?(?, ?) = 0, ?(?, V) = 1, where ?= ?−?+?−1, V = ?−?+?−1, 1 ≤?, ?≤?, 1 ≤?, V ≤ ?, 1 ≤?≤?, and 1 ≤?≤?. After normalization, the three statistic matrices can be ultimately obtained as the statistical feature descriptor of the error-diffused halftone images. _3.2. Process of Statistical Feature Extraction of Halftone Images._ According to the analysis described above, the process of statistical feature extraction of the error-diffused halftone images can be represented as follows. _Step 1._ Input the error-diffused halftone image ?, and divide ? into several blocks ?? (?= 1, 2, . . ., ?) with the same size ?× ?. _Step_ _2._ Initialize the statistical feature matrix ? (including ?00, ?10, ?11) as the zero matrix, and let ?= 1. _Step 3._ Obtain the statistical matrix ?? of block ?? according to (18), and update ? using the equation ?= ?+ ??. _Step 4._ Set ?= ?+1. If ?≤?, then return to Step 3. Otherwise, go to Step 5. In general, threshold ?0 is set as 0.5. According to the template shown in the error diffusion of Stucki described above, we can know that the diffusion error is ?= ?? −??, the new value of pixel ? is ?? = ?(?? +??)+8?/42, and the new value of pixel ? is ?? = ?(??+??)+?/42, where ??(??+??) and ??(??+??) are the original values of pixels ? and ?, respectively. Since the value of each pixel in the error-diffused halftone image can only be 0 or 1, there are 4 kinds of pixel pairs in the halftone image: 0-1, 0-0, 1-0, and 1-1. Pixel pairs 0-1 and 1-0 are collectively known as 1-0 pixel pairs because of their exchange ability. Therefore, there are only three kinds of pixel pairs essentially: 0-0, 1-0, and 1-1. In this paper, three statistical matrices are used to store the number of different pixel pairs with different neighboring distances and different directions, which are of size ?× ? and are referred to as ?00, ?10, and _Step_ _5._ Normalize ? such that it satisfies ∑ <sup>?</sup> ?=1 <sup>∑?</sup> ?=1 <sup>?(?, ?)</sup> = 1 and ?(?, ?) ≥ 0, where ? satisfies ?≥ min(??) and ?? (1 ≤?≤6) represents the size of the template matrix of the ?th error diffusion filter. According to the process described above, we know that the statistical features of the error-diffused halftone image ? are extracted based on the method that divides ? into image patches, which is significantly different with other feature extraction methods based on image patches. For example, in [20], the brightness and contrast of the image patches are normalized by ?-score transformation, and whitening (also called “sphering”) is used to rescale the normalized data to remove the correlations between nearby pixels (i.e., low-frequency variations in the images) because Advances in Multimedia 5 these correlations tend to be very strong even after brightness and contrast normalization. However, in this paper, features of the patches are extracted based on counting statistical measures of different pixel pairs (0/0, 1/0, and 1/1) within a moving statistical matrix template and are optimized using the method described in Section 3.3. _3.3._ _Extraction_ _of_ _the_ _Class_ _Feature_ _Matrix._ The statistics matrices ?00 <sup>?</sup> <sup>, ?</sup> 10 <sup>?</sup> <sup>, ?</sup> 11 <sup>?</sup> <sup>(?=</sup> <sup>1, 2, . . ., ?),</sup> <sup>after</sup> <sup>being</sup> extracted, can be used as the input of other algorithms, such as support vector machines and neural networks. However, the curse of dimensionality could occur, due to the high dimension of ?00, ?10, ?11, making the classification effect possibly not significant. Thereby, six class feature matrices ?1, ?2, . . ., ?6 are designed in this paper for the errordiffused halftone images produced by the six error diffusion filters mentioned above. Then, a gradient descent method can be used to optimize these class feature matrices. ? = 6 × ? error-diffused halftone images can be derived from ? original images using the six error diffusion filters, respectively. Then, ? statistics matrices ?? (?00 <sup>?</sup> <sup>, ?</sup> 10 <sup>?</sup> <sup>, ?</sup> 11 <sup>?</sup> <sup>)</sup> <sup>(?=</sup> <sup>1, 2, . . ., ?)</sup> <sup>can</sup> <sup>be</sup> <sup>extracted</sup> <sup>as</sup> the samples from ? error-diffused halftone images using the algorithm mentioned in Section 3.2. Subsequently, we label these matrices as label(?1), label(?2), . . ., label(??) to denote the types of the error diffusion filters used to produce the error-diffused halftone image. Given the ?th sample ?? as the input, the target out vector ?? = [??1, . . ., ??6] (?= 1, . . ., ?), and the class feature matrices ?1, ?2, . . ., ?6, the square error ?? between the actual output and the target output can be derived according to ?∙(?∙?). Then, the iteration equation (23) can be obtained using the gradient descent method: ?> inner or Δ?? <sup>?+1</sup> < ?1, then set ?? = ?? <sup>?+1</sup> and go to Step 3; otherwise, set ?= ?+ 1 and return to (10). ?? <sup>?+1</sup> ? <sup>?+1</sup> (?, ?) = ?? <sup>?</sup> <u>???</u> ? <sup>?</sup> <sup>(?, ?) −?</sup> ??? <sup>?</sup> ? <sup>?</sup> <sup>(?, ?)</sup> = ?? <sup>?</sup> <sup>(?, ?)</sup> (23) + 2?(V?? −?? ∙??) ?? (?, ?), where ? is the learning factor and ? means the ?th iteration. The purpose of learning is to seek the optimal matrices ?? (?= 1, 2, . . ., 6) by minimizing the total square error ?= ∑ <sup>?</sup> ?=1 <sup>?</sup> ? <sup>, and the process of seeking the optimal matrices</sup> ?? can be described as follows. _Step 1._ Initialize parameters: initialize the numbers of iterations _inner_ and _outer_, the iteration variables ?= 0 and ?= 1, the nonnegative thresholds ?1 and ?2 used to indicate the end of iterations, the learning factor ?, the total number of samples ?, and the class feature matrices ?? (?= 1, 2, . . ., 6). _Step 2._ Input the statistics matrices ?? (?= 1, 2, . . ., ?), and let ?? <sup>0</sup> <sup>=</sup> <sup>?</sup> ? <sup>(?=</sup> <sup>1, . . ., 6)</sup> <sup>and</sup> <sup>?=</sup> <sup>0.</sup> <sup>The</sup> <sup>following</sup> <sup>three</sup> substeps are executed. (1) According to (23), ?? <sup>?+1</sup> (? = 1, . . ., 6) can be computed. (2) Compute ?? <sup>?+1</sup> ? <sup>?+1</sup> and Δ?? <sup>?+1</sup> ? <sup>?+1</sup> = |?? <sup>?+1</sup> ? <sup>?+1</sup> −?? <sup>?</sup> ? <sup>?|.</sup> (3) If ?> inner or Δ?? <sup>?+1</sup> ? <sup>?+1</sup> < ?1, then set ?? = ?? <sup>?+1</sup> _Step 3._ Set ?? = ?? <sup>?+1</sup> (?= 1, . . ., 6). If ?= ?, then go to Step 4. Otherwise, set ?= ?+ 1, and go to Step 2. ?? = 6 ∑ ?=1 (??? −?? ∙??) 2, (19) where 1 if ?= label (??), ?= 1, 2, . . ., 6 0 else. ??? = { { { (20) _Step 4._ Compute the total error ? <sup>?</sup> = ∑ <sup>?</sup> ?=1 <sup>?</sup> ? <sup>. If |??</sup> <sup>−??−1| < ?</sup> 2 or ? = _outer_, then end the algorithm. Otherwise, set ?= ?+ 1 and go to Step 2. 4. Classification of Error-Diffused Halftone Images Using Nearest Centroids Classifier This section describes the details on classifying error-diffused halftone images using the spectral regression kernel discriminant analysis as follows. _Step 1._ Input ? error-diffused halftone images produced by six error-diffused filters, and extract the statistical feature matrices ??, including ?00 <sup>?</sup> <sup>, ?</sup> 10 <sup>?</sup> <sup>, ?</sup> 11 <sup>?</sup> <sup>, ?=</sup> <sup>1, 2, . . ., ?, using</sup> the method presented in Section 3.2. The derivatives of ??(?, ?) in (19) can be explicitly calculated as <u>???</u> ??? (?, ?) <sup>= −2 (V??</sup> <sup>−??</sup> <sup>∙??) ??</sup> <sup>(?, ?),</sup> (21) where 1 ≤?≤?, 1 ≤?≤?, and - is the dot product of matrices defined, for any matrices ? and ? with the same size ?× ?, as ? ∑ V=1 _Step_ _2._ According to the steps described in Section 3.3, all the statistical feature matrices ?? (?00 <sup>?</sup> <sup>,</sup> <sup>?</sup> 10 <sup>?</sup> <sup>,</sup> <sup>?</sup> 11 <sup>?</sup> <sup>and</sup> <sup>?=</sup> the statistical feature matrices ?? (?00 <sup>?</sup> <sup>,</sup> <sup>?</sup> 10 <sup>?</sup> <sup>,</sup> <sup>?</sup> 11 <sup>?</sup> <sup>and</sup> <sup>?=</sup> 1, 2, . . ., ?) are converted to the class feature matrices ??, including ?00 <sup>?</sup> <sup>, ?</sup> 10 <sup>?</sup> <sup>, ?</sup> 11 <sup>?</sup> <sup>and ?=</sup> <sup>1, 2, . . ., ?, correspondingly.</sup> ?∙?= ? ∑ ?=1 ?(?, V) × ?(?, V) . (22) The dot product of matrices satisfies the commutative law and associative law; that is to say, ?∙?= ?∙? and (?∙?) ∙?= including ?00 <sup>?</sup> <sup>, ?</sup> 10 <sup>?</sup> <sup>, ?</sup> 11 <sup>?</sup> <sup>and ?=</sup> <sup>1, 2, . . ., ?, correspondingly.</sup> Then, convert ?00 <sup>?</sup> <sup>, ?</sup> 10 <sup>?</sup> <sup>, ?</sup> 11 <sup>?</sup> <sup>(?</sup> = 1, 2, . . ., ?) into one Then, convert ?00 <sup>?</sup> <sup>, ?</sup> 10 <sup>?</sup> <sup>, ?</sup> 11 <sup>?</sup> <sup>(?</sup> = 1, 2, . . ., ?) into one dimensional matrices by columns, respectively. 6 Advances in Multimedia _Step_ _3._ All the one-dimensional class feature matrices ?00 <sup>?</sup> <sup>, ?</sup> 10 <sup>?</sup> <sup>, ?</sup> 11 <sup>?</sup> <sup>(?</sup> = 1, 2, . . ., ?) are used to construct the samples feature matrices ?00, ?10, ?11 of size ?× ?(?= ?× ?), respectively. _Step 4._ A label matrix _information_ of the size 1 × ? is built to record the type to which the error-diffused halftone images belong. _Step_ _5._ The first ? features ?00 <sup>1</sup> <sup>, ?</sup> 00 <sup>2</sup> <sup>, . . ., ?</sup> 00 <sup>?</sup> <sup>of</sup> <sup>the</sup> <sup>samples</sup> feature matrices ?00 are taken as the training samples (the first ? features of ?10, ?11, or ?all which is the composition of ?00, ?10, and ?11 also can be used as the training samples). Reduce the dimension of these training samples using the spectral regression discriminant analysis. The process of dimension reducing can be described by three substeps as follows. (1) Produce orthogonal vectors. Let ? _Step 7._ The remaining ?−? samples are taken as the testing samples, and the dimension reduction is implemented for them using the method described in Step 5. _Step 8._ Compute the square of the distance |?00 <sup>?</sup> <sup>−</sup> <sup>aver</sup> ? <sup>|2</sup> <sup>(?=</sup> ?+ 1, ?+ 2, . . ., ? and ?= 1, 2, . . ., 6) between each testing sample ?00 <sup>?</sup> <sup>and different class-centroid aver</sup> ? <sup>, according to the</sup> _Step 8._ Compute the square of the distance |? <sup>?</sup> sample ?00 <sup>?</sup> <sup>and different class-centroid aver</sup> ? <sup>, according to the</sup> nearest centroids classifier; the sample ?00 <sup>?</sup> <sup>is assigned to the</sup> class ? if ?= arg min |?00 <sup>?</sup> <sup>−</sup> <sup>aver</sup> ? <sup>|2.</sup> ?? = <sup>[</sup> [ 0, 0, . . ., 0⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟ , 1, 1, . . ., 1⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟ , 0, 0, . . ., 0⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟ ] class ? if ?= arg min |?00 <sup>?</sup> <sup>−</sup> <sup>aver</sup> ? <sup>|2.</sup> In Step 8, the weak classifier (i.e., the nearest centroid classifier) is used to classify error-diffused halftone images, because this classifier is simple and easy to implement. Simultaneously, in order to prove that these class feature matrices, which are extracted according to the method mentioned in Section 3 and handled by the algorithm of the spectral regression discriminant analysis, are well suited for the classification of error-diffused halftone images, this weak classifier is used in this paper instead of a strong classifier [20], such as support vector machine classifiers and deep neural network classifiers. ∑ <sup>?</sup> ?=?+1 <sup>?</sup> ? ] ?= 1, 2, . . ., ? ∑ <sup>?−1</sup> ?=1 <sup>?</sup> ? ?? (24) and ?0 = [1, 1, . . ., 1] <sup>?</sup> be the matrix with all elements being 1. Let ?0 be the first vector of the weight matrix ?, and use Gram-Schmidt process to orthogonalize the other eigenvectors. Remove the vector ?0, leaving ?−1 eigenvectors of ? denoted as follows: { ~~?~~ ?} ?−1?=1 <sup>,</sup> ( ~~?~~ <sup>~~?~~</sup> ? <sup>~~?~~</sup> ? <sup>?</sup> 0 <sup>= 0,</sup> <sup>~~?~~</sup> ? <sup>~~?~~</sup> ? <sup>~~??~~</sup> ? <sup>= 0,</sup> <sup>?̸ = ?) .</sup> (25) (2) Add an element of 1 to the end of each input data (?00 <sup>?</sup> <sup>(?=</sup> <sup>1, 2, . . ., ?)),</sup> <sup>and</sup> <sup>obtain</sup> <sup>?−1</sup> <sup>vectors</sup> <sup>{⃗?</sup> ? <sup>}</sup> ?=1 <sup>?−1</sup> <sup>∈</sup> R <sup>?+1</sup>, where⃗?? is the solution of the following regular least squares problem: ? ?? = arg min (∑ ?=1 5. Experimental Analysis and Results We implement various experiments to verify the efficiency of our methods in classifying error-diffused halftone images. The computer processor is Intel(R) Pentium(R) CPU G2030 @3.00 GHz, the memory of the computer is 2.0 GB, the operating system is Windows 7, and the experimental simulation software is matlab R2012a. In our experiments, all the original images are downloaded from http://decsai.ugr.es/cvg/dbimagenes/ and http://msp.ee.ntust.edu.tw/. About 4000 original images have been downloaded and they are converted into 24000 error-diffused halftone images produced by six different error-diffused filters. _5.1. Classification Accuracy Rate of the Error-Diffused_ _Halftone Images_ _5.1.1._ _Effect_ _of_ _the_ _Number_ _of_ _the_ _Samples._ This subsection analyzes the effect of the number on the feature samples on classification. When ?= 11, and feature matrices ?00, ?10, ?11, ?all are taken as the input data, respectively, the accuracy rate of classification under different conditions is shown in Tables 1 and 2. Table 1 shows the classification accuracy rates under different number of training samples, when the total number of samples is 12000. Table 2 shows the classification accuracy rates under different number of training samples, when the total number of samples is 24000. The digits in the first line of each table are the size of the training samples. According to Tables 1 and 2, the classification accuracy rates under 12000 samples are higher than that under 24000 samples. Moreover, the classification accuracy rates improve with the increase of the proportion of the training samples when the number of the training samples is lower than the 80% of sample size. And it achieves the highest classification accuracy rates when the number of the training samples is (⃗? <sup>?</sup> ? <sup>?</sup> 2 + ?‖⃗?‖2) . (26) 00 <sup>?</sup> <sup>−</sup> <sup>~~?~~</sup> ? <sup>~~?~~</sup> <sup>)</sup> <sup>~~?~~</sup> ? <sup>is the ?th element of eigenvectors</sup> <sup>~~{?~~</sup> ? <sup>}?−1</sup> ?=1 Here ~~?~~ <sup>~~?~~</sup> ? Here ~~?~~ <sup>~~?~~</sup> ? <sup>is the ?th element of eigenvectors</sup> <sup>~~{?~~</sup> ? <sup>}?−1</sup> ?=1 <sup>and ?</sup> <sup>is the</sup> contraction parameter. (3) Let ?= ~~[?~~ 1, . . ., ~~?~~ ?−1] be the transformation matrix with the size (?+ 1) × (?−1). Perform dimension reduction on the sample features ?00 <sup>1</sup> <sup>, ?</sup> 00 <sup>2</sup> <sup>, . . ., ?</sup> 00 <sup>?</sup> <sup>, by mapping them to</sup> (?−1) dimensional subspace as follows: (3) Let ?= ~~[?~~ 1, . . ., ~~?~~ ?−1] be the transformation matrix with the size (?+ 1) × (?−1). Perform dimension reduction on the sample features ?00 <sup>1</sup> <sup>, ?</sup> 00 <sup>2</sup> <sup>, . . ., ?</sup> 00 <sup>?</sup> <sup>, by mapping them to</sup> ? 1 <sup>] .</sup> (27) ??→?= ? <sup>?</sup> [ _Step_ _6._ Compute the mean values of samples in different classes according to following equation: aver? = <sup>∑</sup> <u>?=1</u> <sup>??</sup> <u>?=1</u> <sup>??</sup> <sup>??</sup> (?= 1, 2, . . ., 6), (28) <sup>?</sup> <sup>?</sup> <u>00</u> <sup>?</sup> ?? where ?? is the number of samples in the ?th class; ∑ <sup>6</sup> ?=1 <sup>?</sup> ? <sup>=</sup> ?. Let aver? be the class-centroid of the ?th class. Advances in Multimedia 7 Table 1: Classification accuracy rates (%) (12000 samples). <u>2000</u> <u>3000</u> <u>4000</u> <u>5000</u> <u>6000</u> <u>7000</u> <u>8000</u> <u>9000</u> <u>10000</u> ?00 97.750 97.500 99.050 99.150 99.150 99.150 99.100 98.950 98.900 ?10 99.950 99.950 100.00 100.00 100.00 100.00 100.00 100.00 100.00 ?11 99.500 99.250 99.350 99.400 99.200 99.350 99.300 99.300 99.450 <u>?all</u> <u>99.100</u> <u>99.100</u> <u>99.450</u> <u>99.500</u> <u>99.650</u> <u>99.650</u> <u>99.650</u> <u>99.650</u> <u>99.600</u> Table 2: Classification accuracy rates (%) (24000 samples). <u>14000</u> <u>15000</u> <u>16000</u> <u>17000</u> <u>18000</u> <u>19000</u> <u>20000</u> <u>21000</u> <u>22000</u> ?00 95.810 95.878 95.413 95.286 94.933 98.580 98.100 98.267 98.650 ?10 97.600 97.378 97.150 96.957 96.450 99.680 99.600 99.533 99.300 ?11 96.420 96.256 95.925 95.614 95.000 99.040 98.825 98.700 98.400 <u>?all</u> <u>97.230</u> <u>97.100</u> <u>96.888</u> <u>96.686</u> <u>96.233</u> <u>99.680</u> <u>99.600</u> <u>99.533</u> <u>99.350</u> Table 3: Classification accuracy rates obtained by different algorithms (%). <u>?00 + SR</u> <u>?10 + SR</u> <u>?11 + SR</u> <u>?all + SR</u> <u>ECF + BP</u> <u>LMS + Bayes</u> <u>?10 + ML</u> <u>?11 + ML</u> <u>98.40</u> <u>99.53</u> <u>98.74</u> <u>99.54</u> <u>90.04</u> <u>90.38</u> <u>98.32</u> <u>96.15</u> Table 4: The training and testing time under different sample sizes (in seconds). <u>14000</u> <u>15000</u> <u>16000</u> <u>17000</u> <u>18000</u> <u>19000</u> <u>20000</u> <u>21000</u> <u>22000</u> ?00 ?10 ?11 ?all Training time 65.208 78.317 94.660 110.47 129.32 150.18 178.94 205.11 513.54 <u>Testing time</u> <u>6.3742</u> <u>6.2583</u> <u>5.8530</u> <u>5.5251</u> <u>4.8792</u> <u>4.4947</u> <u>3.7872</u> <u>3.0375</u> <u>4.3393</u> Training time 65.851 78.796 95.113 110.70 130.97 150.76 173.98 198.95 240.10 <u>Testing time</u> <u>6.3674</u> <u>6.0804</u> <u>5.7496</u> <u>5.503</u> <u>4.9287</u> <u>4.3261</u> <u>3.6775</u> <u>3.0353</u> <u>2.9631</u> Training time 65.662 79.936 95.173 110.69 130.33 150.63 174.41 198.34 239.96 <u>Testing time</u> <u>6.5226</u> <u>6.1817</u> <u>5.7826</u> <u>5.3778</u> <u>4.8531</u> <u>4.5513</u> <u>3.7137</u> <u>2.9735</u> <u>3.0597</u> Training time 68.902 82.554 99.189 115.27 135.34 156.71 179.94 204.85 288.36 <u>Testing time</u> <u>10.200</u> <u>9.8393</u> <u>9.3112</u> <u>8.7212</u> <u>8.016</u> <u>6.902</u> <u>5.8556</u> <u>4.9363</u> <u>3.6921</u> about 80% of the sample size. In addition, from Tables 1 and 2, we can also see that ?00, ?10, ?11 can be used as the input data alone. Simultaneously, they can also be combined into the input data ?all, based on which the classification accuracy rates would be high. _5.1.2. Comparison of Classification Accuracy Rate._ To analyze the effectiveness of our classification algorithm, the mean values of classification accuracy rate of the four data sets on the right-hand side of each row in Table 2 are computed. The algorithm SR outperforms other baselines in achieving higher classification accuracy rates, when compared with LMS + Bayes (the method composed of least mean square and Bayes method), ECF + BP (the method based on the enhanced correlation function and BP neural network), and ML (the maximum likelihood method). According to Table 3, the mean values of classification accuracy rates obtained using SR and different features ?00, ?10, ?11, and ?all, respectively, are higher than the mean values obtained by other algorithms mentioned above. _5.2._ _Effect_ _of_ _the_ _Size_ _of_ _Statistical_ _Feature_ _Template_ _on_ _Classification_ _Accuracies._ Here, different features ?00, ?10, ?11 of the 24000 error-diffused halftone images are used to test the effect of the size of statistical feature template. ?00, ?10, ?11 are constructed using the corresponding class feature matrices ?00, ?10, ?11 with deferent size ?× ?(?= 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25). Figure 1 shows that the classification accuracy rate achieves the highest value when ?= 11, no matter which feature is selected for experiments. _5.3. Time-Consumption of the Classification._ Now, the experiments are implemented to test the time-consumption of the error-diffused halftone image classification under the condition that the total number of samples is 24000 and ?= 11. It is well known that the time-consumption of the classification includes the training time and the testing time. From Table 4, we can know that the training time increases with the increase of the number of training samples; on the contrary, the testing time decreases with the increase of the number of training samples. 8 Advances in Multimedia 1 0.98 0.96 0.94 0.92 0.9 0.88 0.86 0.84 0.82 0.8 14000 15000 16000 17000 18000 19000 20000 21000 22000 1 0.98 0.96 0.94 0.92 0.9 0.88 0.86 0.84 0.82 0.8 14000 15000 16000 17000 18000 19000 20000 21000 22000 L = 17 L = 19 L = 21 L = 5 L = 7 L = 9 L = 11 L = 13 L = 15 L = 23 L = 25 (a) Rates based on ?00 (?= 5, 7, 9, 11, 13, 15) 0.9 0.89 0.88 0.87 0.86 0.85 0.84 0.83 0.82 0.81 0.8 14000 15000 16000 17000 18000 19000 20000 21000 22000 (b) Rates based on ?00 (?= 17, 19, 21, 23, 25) 0.88 0.87 0.86 0.85 0.84 0.83 0.82 0.81 0.8 14000 15000 16000 17000 18000 19000 20000 21000 22000 0.9 0.89 L = 5 L = 7 L = 9 L = 11 L = 13 L = 15 L = 17 L = 19 L = 21 L = 23 L = 25 (c) Rates based on ?10 (?= 5, 7, 9, 11, 13, 15) 1 0.98 0.96 0.94 0.92 0.9 0.88 0.86 0.84 0.82 14000 15000 16000 17000 18000 19000 20000 21000 22000 (d) Rates based on ?10 (?= 17, 19, 21, 23, 25) 1 0.98 0.96 0.94 0.92 0.9 0.88 0.86 0.84 0.82 0.8 14000 15000 16000 17000 18000 19000 20000 21000 22000 L = 5 L = 7 L = 9 L = 11 L = 13 L = 15 L = 23 L = 25 L = 17 L = 19 L = 21 (e) Rates based on ?11 (?= 5, 7, 9, 11, 13, 15) (f) Rates based on ?11 (?= 17, 19, 21, 23, 25) Figure 1: Classification accuracy rates based on deferent features with deferent sample size. To compare the time-consumption of the classification method proposed in this paper with other algorithms, such as the backpropagation (BP) neural network, radial basis function (RBF) neural network, and support vector machine (SVM), all the experiments are implemented using ?10, which is divided into two parts: 12000 training samples and 12000 testing samples (?= 11). From the digits listed in Table 5, we can know that SR achieves the minimal summation of the training and testing time. In addition, Table 5 implies that the time-consumption of classifiers based on neural networks, such as the classifier based on RBF or BP, are much more than that of other algorithms, especially SR. This is because these neural network algorithms essentially use gradient descent methods to Advances in Multimedia 9 Table 5: Time-consumption of different algorithms (in second). <u>ML</u> <u>RBF</u> <u>BP</u> <u>SVM</u> <u>SR</u> Training time 110.42 76.390 2966.7 49.297 43.9337 <u>Testing time</u> <u>1.2000</u> <u>276.00</u> <u>3.6000</u> <u>62.400</u> <u>6.3161</u> Table 6: Classification accuracy rates under different variances (%). <u>Variance</u> <u>14000</u> <u>15000</u> <u>16000</u> <u>17000</u> <u>18000</u> <u>19000</u> <u>20000</u> <u>21000</u> <u>22000</u> 0.01 95.570 95.422 95.425 95.529 95.217 98.440 98.200 98.033 97.950 0.10 95.370 95.233 95.188 95.157 94.867 98.200 98.000 97.767 98.000 0.50 94.580 94.522 94.600 94.671 94.567 98.320 98.225 98.033 98.550 <u>1.00</u> <u>93.060</u> <u>93.067</u> <u>93.013</u> <u>93.343</u> <u>93.200</u> <u>96.980</u> <u>97.175</u> <u>96.800</u> <u>97.350</u> Table 7: Classification accuracy rates using other algorithms under different variances. <u>Variance</u> <u>ECF + BP</u> <u>LMS + Bayes</u> <u>ML</u> <u>Variance</u> <u>ECF + BP</u> <u>LMS + Bayes</u> <u>ML</u> 0.01 89.5000 88.7577 97.9981 0.50 79.7333 40.2682 82.9169 <u>0.10</u> <u>88.1333</u> <u>78.4264</u> <u>96.8315</u> <u>1.00</u> <u>61.5000</u> <u>33.8547</u> <u>64.3861</u> optimize the associated nonconvex problems, which are well known to converge very slowly. However, the classifier based on SR performs the classification task through computing the square of the distance between each testing sample and different class-centroids directly. Hence, the time-consumption of it is very cheap. _5.4. The Experiment of Noise Attack Resistance._ In the process of actual operation, the error-defused halftone images are often polluted by noise before the inverse transform. In order to test the ability of SR to resist the attack of noise, different Gaussian noises with mean 0 and different variances are embedded into the error-defused halftone images. Then classification experiments have been done using the algorithm proposed in this paper and the experimental results are listed in Table 6. According to Table 6, the accuracy rates decrease with the increase of the variances. As compared with the accuracy rates listed in Table 7 achieved by other algorithms, such as ECF + BP, LMS + Bayes, and ML, we find that our classification method has obvious advantages in resisting the noise. 6. Conclusion This paper proposes a novel algorithm to solve the challenging problem of classifying the error-diffused halftone images. We firstly design the class feature matrices, after extracting the image patches according to their statistical characteristics, to classify the error-diffused halftone images. Then, the spectral regression kernel discriminant analysis is used for feature dimension reduction. The error-diffused halftone images are finally classified using an idea similar to the nearest centroids classifier. As demonstrated by the experimental results, our method is fast and can achieve a high classification accuracy rate with an added benefit of robustness in tackling noise. A very interesting direction is to solve the disturbance, possibly introduced by other attacks such as image scaling and rotation, in the process of errordiffused halftone image classification. Competing Interests The authors declare that they have no competing interests. Acknowledgments This work is supported in part by the National Natural Science Foundation of China (Grants nos. 61170102, 61271140), the Scientific Research Fund of Hunan Provincial Education Department, China (Grant no. 15A049), the Education Department Fund of Hunan Province in China (Grants nos. 15C0402, 15C0395, and 13C036), and the Science and Technology Planning Project of Hunan Province in China (Grant no. 2015GK3024). References [1] Y.-M. Kwon, M.-G. Kim, and J.-L. Kim, “Multiscale rank-based ordered dither algorithm for digital halftoning,” _Information_ _Systems_, vol. 48, pp. 241–247, 2015. [2] Y. Jiang and M. Wang, “Image fusion using multiscale edge preserving decomposition based on weighted least squares filter,” _IET Image Processing_, vol. 8, no. 3, pp. 183–190, 2014. [3] Z. Zhao, L. Cheng, and G. Cheng, “Neighbourhood weighted fuzzy c-means clustering algorithm for image segmentation,” _IET Image Processing_, vol. 8, no. 3, pp. 150–161, 2014. [4] Z.-Q. Wen, Y.-L. Lu, Z.-G. Zeng, W.-Q. Zhu, and J.-H. Ai, “Optimizing template for lookup-table inverse halftoning using elitist genetic algorithm,” _IEEE Signal Processing Letters_, vol. 22, no. 1, pp. 71–75, 2015. [5] P. C. Chang and C. S. Yu, “Neural net classification and LMS reconstruction to halftone images,” in _Visual_ _Communications_ _and Image Processing ’98_, vol. 3309 of _Proceedings of SPIE_, pp. 592–602, The International Society for Optical Engineering, January 1998. 10 Advances in Multimedia [6] Y. Kong, P. Zeng, and Y. Zhang, “Classification and recognition algorithm for the halftone image,” _Journal of Xidian University_, vol. 38, no. 5, pp. 62–69, 2011 (Chinese). [7] Y. Kong, _A_ _study_ _of_ _inverse_ _halftoning_ _and_ _quality_ _assessment_ _schemes [Ph.D. thesis]_, School of Computer Science and Technology, Xidian University, Xian, China, 2008. [8] Y.-F. Liu, J.-M. Guo, and J.-D. Lee, “Inverse halftoning based on the Bayesian theorem,” _IEEE Transactions on Image Processing_, vol. 20, no. 4, pp. 1077–1084, 2011. [9] Y.-F. Liu, J.-M. Guo, and J.-D. Lee, “Halftone image classification using LMS algorithm and naive Bayes,” _IEEE_ _Transactions_ _on_ _Image Processing_, vol. 20, no. 10, pp. 2837–2847, 2011. [10] D. L. Lau and G. R. Arce, _Modern Digital Halftoning_, CRC Press, Boca Raton, Fla, USA, 2nd edition, 2008. [11] _Image_ _Dithering:_ _Eleven_ _Algorithms_ _and_ _Source_ _Code_, http:// www.tannerhelland.com/4660/dithering-elevenalgorithmssource-code/. [12] R. A. Ulichney, “Dithering with blue noise,” _Proceedings of the_ _IEEE_, vol. 76, no. 1, pp. 56–79, 1988. [13] Y.-H. Fung and Y.-H. Chan, “Embedding halftones of different resolutions in a full-scale halftone,” _IEEE_ _Signal_ _Processing_ _Letters_, vol. 13, no. 3, pp. 153–156, 2006. [14] Z.-Q. Wen, Y.-X. Hu, and W.-Q. Zhu, “A novel classification method of halftone image via statistics matrices,” _IEEE Trans-_ _actions on Image Processing_, vol. 23, no. 11, pp. 4724–4736, 2014. [15] D. Cai, X. He, and J. Han, “Efficient kernel discriminant analysis via spectral regression,” in _Proceedings of the 7th IEEE_ _International Conference on Data Mining (ICDM ’07)_, pp. 427– 432, Omaha, Neb, USA, October 2007. [16] D. Cai, X. He, and J. Han, “Speed up kernel discriminant analysis,” _The_ _International_ _Journal_ _on_ _Very_ _Large_ _Data_ _Bases_, vol. 20, no. 1, pp. 21–33, 2011. [17] M. Zhao, Z. Zhang, T. W. S. Chow, and B. Li, “A general soft label based Linear Discriminant Analysis for semi-supervised dimensionality reduction,” _Neural Networks_, vol. 55, pp. 83–97, 2014. [18] M. Zhao, Z. Zhang, T. W. S. Chow, and B. Li, “Soft label based Linear Discriminant Analysis for image recognition and retrieval,” _Computer Vision & Image Understanding_, vol. 121, no. 1, pp. 86–99, 2014. [19] L. Zhang and F.-C. Tian, “A new kernel discriminant analysis framework for electronic nose recognition,” _Analytica Chimica_ _Acta_, vol. 816, pp. 8–17, 2014. [20] B. Gu, V. S. Sheng, K. Y. Tay, W. Romano, and S. Li, “Incremental support vector learning for ordinal regression,” _IEEE Transac-_ _tions_ _on_ _Neural_ _Networks_ _and_ _Learning_ _Systems_, vol. 26, no. 7, pp. 1403–1416, 2015.

섹션 본문 77문단 · 26,474자

(제목 없음)

1This paper proposes a novel algorithm to solve the challenging problem of classifying error-diffused halftone images.We firstly design the class feature matrices, after extracting the image patches according to their statistics characteristics, to classify the errordiffused halftone images.Then, the spectral regression kernel discriminant analysis is used for feature dimension reduction.The error-diffused halftone images are finally classified using an idea similar to the nearest centroids classifier.As demonstrated by the experimental results, our method is fast and can achieve a high classification accuracy rate with an added benefit of robustness in tackling noise.

Introduction

2As a popular image processing technology, digital halftoning [1] has found wide applications in converting a continuous tone image into a binary halftone image for a better display on binary devices, such as printers and computer screens.Usually, binary halftone images can only be obtained in the process of printing, image scanning, and fax, from which the original continuous tone images need to be reconstructed [2,3], using an inverse halftoning algorithm [4], for image processing, for example, image classification, image compression, image enhancement, and image zooming.However, it is difficult for inverse halftoning algorithms to obtain the optimal reconstruction quality due to unknown halftoning patterns in practical applications.Furthermore, a basic drawback of the existing inverse halftone algorithms is that they do not distinguish the types of halftone images or can only coarsely divide halftone images into two major categories of error-diffused halftone images and orderly dithered halftone images.This inability of exploiting a prior knowledge on the halftone images largely weakens the flexibility, adaptability, and effectiveness of the inverse halftoning techniques, making the study on the classification of halftone images imperative for not only optimizing the existing inverse halftoning schemes, but also guiding the establishment of adaptive schemes on halftone image compression, halftone image watermarking, and so forth.

3Motivated by observing the significance of classifying halftone images, several halftone image classification methods have been proposed.In 1998, Chang and Yu [5] classified halftone images into four types using an enhanced one-dimensional correlation function and a backpropagation (BP) neural network, for which the data sets in the experiments are limited to the halftone images produced by clustered-dot ordered dithering, dispersed-dot ordered dithering, constrained average, and error diffusion.Kong et al. [6,7] used an enhanced one-dimensional correlation function and a gray level cooccurrence matrix to extract features from halftone images, based on which the halftone images are divided into nine categories using a decision tree algorithm.Liu et al. [8] combined support region and least mean square (LMS) algorithm to divide halftone images into four categories.Subsequently, they [9] used LMS to extract features from Fourier spectrum in nine categories of 2 Advances in Multimedia halftone images and classify these halftone images using naive Bayes.Although these methods work well in classifying some specific halftone images, their performance largely decreases when classifying error-diffused halftone images produced by Floyd-Steinberg filter, Stucki filter, Sierra filter, Burkers filter, Jarvis filter, and Stevenson filter, respectively.They are described as follows.

4Different Error Diffusion Filters.Consider the following:

5(a) Floyd-Steinberg filter:

6(b) Sierra filter:

7(c) Burkers filter:

8based on different error diffusion kernels, as summarized in [10][11][12].Moreover, these literatures did not consider all types of error diffusion halftone images.For example, only three error diffusion filters are included in [6,7,9] and only one is involved in [5,8].The idea of halftoning for the six error diffusion filters is quite similar, with the only difference lying in the templates used (shown in different error diffusion filters and the error diffusion of Stucki described above; the templates are shown at the right-hand side in each equation).It is difficult to classify the error-diffused halftone images because of the almost inconspicuous differences among various halftone features extracted from, using these six error diffusion filters, the error-diffused halftone images.However, as a scalable algorithm, the error diffusion has gradually become one of the most popular techniques, due to its ability to provide a solution of good quality at a reasonable cost [13].This asks for an urgent requirement to study the classification mechanism for various error diffusion algorithms, with the hope to promote the existing inverse halftone techniques widely used in different application fields of graphics processing.This paper proposes a new algorithm to classify errordiffused halftone images.We first extract the feature matrices of pixel pairs from the error-diffused halftone image patches, according to statistical characteristics of these patches.The class feature matrices are then subsequently obtained, using a gradient descent method, based on the feature matrices of pixel pairs [14].After applying the spectral regression kernel discriminant analysis to realize the dimension reduction in the class feature matrices, we finally classify the error-diffused halftone images using the idea similar to the nearest centroids classifier [15,16].

9The structure of this paper is as follows.Section 2 presents the method of kernel discriminant analysis.Section 3 describes how to extract the feature extraction of pixel pairs from the error-diffused halftone images.Section 4 describes the proposed classification method for the error-diffused halftone image based on the spectral regression kernel discriminant analysis.Section 5 shows the experimental results.Some concluding remarks and possible future research directions are given in Section 6.

An Efficient Kernel Discriminant Analysis Method

10It is well known that linear discriminant analysis (LDA) [17,18] is effective in solving classification problems, but it fails for nonlinear problems.To deal with this limitation, the approach called kernel discriminant analysis (KDA) [19] has been proposed.

Overview of

11where is the number of the samples in the th class, ( =1 ( ) is the global centroid.In the feature space, the aim of the discriminant analysis is to seek the best projection direction, namely, the projective function V to maximize the following objective function:

12Equation ( 10) can be solved by the eigenproblem

13According to the theory of reproducing kernel Hilbert space, we know that the eigenvectors are linear combinations of ( ) in the feature space : there exist weight coefficients ( = 1, 2, . . ., ) such that V = ∑ =1 ( ).Let = [ 1 , 2 , . . ., ] ; then it can be proved that (10) can be rewritten as follows:

14The optimization problem of ( 11) is equal to the eigenproblem

15where is the kernel matrix and = ( , ); is the weight matrix defined as follows:

16For sample , the projective function in the feature space can be described as

Kernel Discriminant Analysis via Spectral Regression.

17To efficiently solve the eigenproblem of the kernel discriminant analysis in (12), the following theorem will be used.

Theorem 1.

18Let be the eigenvector of the eigenproblem = with eigenvalue .If = , then is the eigenvector of eigenproblem (12) with the same eigenvalue .

19According to Theorem 1, the projective function of the kernel discriminant analysis can be obtained according to the following two steps.

20Step 1. Obtain by solving the eigenproblem in (12).

21Step 2. Search eigenvector which satisfies = , where is the positive semidefinite kernel matrix.

22As we know, if is nonsingular, then, for any given , there exists a unique = −1 satisfying the linear equation described in Step 2. If is singular, then, the linear equation may have infinite solutions or have no solution.In this case, we can approximate by solving the following equation:

23where ≥ 0 is a regularization parameter and is the identity matrix.Combined with the projective function described in ( 14), we can easily verify that the solution * = ( + ) −1 given by ( 15) is the optimal solution of the following regularized regression problem:

24where is the th element of and is the reproducing kernel Hilbert space induced from the Mercer kernel with ‖ ⋅ ‖ being the corresponding norm.Due to the essential combination of the spectral analysis and regression techniques in the above two-step approach, the method is named as spectral regression (SR) kernel discriminant analysis.

Feature Extraction of the Error-Diffused Halftone Images

25Since its introduction in 1976, the error diffusion algorithm has attracted widespread attention in the field of printing applications.It deals with pixels of halftone images using, instead of point processing algorithms, the neighborhood processing algorithms.Now we will extract the features of the error-diffused halftone images which are produced using the six popular error diffusion filters mentioned in Section 1. and 0 is diffused ahead to some subsequent pixels not necessary to deal with.Therefore, for some subsequent pixels, the comparison will be implemented between 0 and the value which is the sum of (, ) and the diffusion error .A template matrix can be built using the error diffusion modes and the error diffusion coefficients, as shown in the error diffusion of Stucki described above, for example, (a) the error diffusion filter and (b) the error diffusion coefficients which represent the proportion of the diffusion errors.If the coefficient is zero, then the corresponding pixel does not receive any diffusion errors.According to the error diffusion of Stucki described above, pixel suffers from more diffusion errors than pixel ; that is to say, - has a larger probability to become 1-0 pixel pair than -.The reasons are as follows.

Statistic Characteristics of the

26Suppose that the pixel value of is 0 ≤ ≤ 1, and pixel has been processed by the thresholding method according to the following equation:

27In general, threshold 0 is set as 0. Since the value of each pixel in the error-diffused halftone image can only be 0 or 1, there are 4 kinds of pixel pairs in the halftone image: 0-1, 0-0, 1-0, and 1-1.Pixel pairs 0-1 and 1-0 are collectively known as 1-0 pixel pairs because of their exchange ability.Therefore, there are only three kinds of pixel pairs essentially: 0-0, 1-0, and 1-1.In this paper, three statistical matrices are used to store the number of different pixel pairs with different neighboring distances and different directions, which are of size × and are referred to as 00 , 10 , and 11 , respectively ( is an odd number satisfying = 2 + 1 and is the maximum neighboring distance).Suppose that the center entry of the statistical matrix template covers pixel of the error-diffused halftone image with the size * , and other entries overlap other neighborhood pixels (, V).Then, we can compute three statistics on 1-0, 1-1, and 0-0 pixel pairs within the scope of this statistics matrix template.If the position (, ) of pixel changes continually, the matrices 00 , 10 , and 11 with zero being the initial values can be updated according to

28where = −+−1, V = −+−1, 1 ≤ , ≤ , 1 ≤ , V ≤ , 1 ≤ ≤ , and 1 ≤ ≤ .After normalization, the three statistic matrices can be ultimately obtained as the statistical feature descriptor of the error-diffused halftone images.

Process of Statistical Feature Extraction of Halftone Images.

29According to the analysis described above, the process of statistical feature extraction of the error-diffused halftone images can be represented as follows.

30Step 1. Input the error-diffused halftone image , and divide into several blocks ( = 1, 2, . . ., ) with the same size × .

31Step 2. Initialize the statistical feature matrix (including 00 , 10 , 11 ) as the zero matrix, and let = 1.

32Step 3. Obtain the statistical matrix of block according to (18), and update using the equation = + .

33Step 4. Set = +1.If ≤ , then return to Step 3. Otherwise, go to Step 5.

34Step 5. Normalize such that it satisfies ∑ =1 ∑ =1 (, ) = 1 and (, ) ≥ 0, where satisfies ≥ min( ) and (1 ≤ ≤ 6) represents the size of the template matrix of the th error diffusion filter.

35According to the process described above, we know that the statistical features of the error-diffused halftone image are extracted based on the method that divides into image patches, which is significantly different with other feature extraction methods based on image patches.For example, in [20], the brightness and contrast of the image patches are normalized by -score transformation, and whitening (also called "sphering") is used to rescale the normalized data to remove the correlations between nearby pixels (i.e., low-frequency variations in the images) because these correlations tend to be very strong even after brightness and contrast normalization.However, in this paper, features of the patches are extracted based on counting statistical measures of different pixel pairs (0/0, 1/0, and 1/1) within a moving statistical matrix template and are optimized using the method described in Section 3.3.

Extraction of the Class Feature Matrix.

36The statistics matrices 00 , 10 , 11 ( = 1, 2, . . ., ), after being extracted, can be used as the input of other algorithms, such as support vector machines and neural networks.However, the curse of dimensionality could occur, due to the high dimension of 00 , 10 , 11 , making the classification effect possibly not significant.Thereby, six class feature matrices 1 , 2 , . . ., 6 are designed in this paper for the errordiffused halftone images produced by the six error diffusion filters mentioned above.Then, a gradient descent method can be used to optimize these class feature matrices. = 6 × error-diffused halftone images can be derived from original images using the six error diffusion filters, respectively.Then, statistics matrices ( 00 , 10 , 11 ) ( = 1, 2, . . ., ) can be extracted as the samples from error-diffused halftone images using the algorithm mentioned in Section 3.2.Subsequently, we label these matrices as label( 1 ), label( 2 ), . . ., label( ) to denote the types of the error diffusion filters used to produce the error-diffused halftone image.Given the th sample as the input, the target out vector = [ 1 , . . ., 6 ] ( = 1, . . ., ), and the class feature matrices 1 , 2 , . . ., 6 , the square error between the actual output and the target output can be derived according to

37where

38The derivatives of (, ) in ( 19) can be explicitly calculated as

39where 1 ≤ ≤ , 1 ≤ ≤ , and • is the dot product of matrices defined, for any matrices and with the same size × , as

40The dot product of matrices satisfies the commutative law and associative law; that is to say, • = • and ( • ) • = • ( • ).Then, the iteration equation ( 23) can be obtained using the gradient descent method:

41where is the learning factor and means the th iteration.

42The purpose of learning is to seek the optimal matrices ( = 1, 2, . . ., 6) by minimizing the total square error = ∑ =1 , and the process of seeking the optimal matrices can be described as follows.

43Step 1. Initialize parameters: initialize the numbers of iterations inner and outer, the iteration variables = 0 and = 1, the nonnegative thresholds 1 and 2 used to indicate the end of iterations, the learning factor , the total number of samples , and the class feature matrices ( = 1, 2, . . ., 6).

44Step 2. Input the statistics matrices ( = 1, 2, . . ., ), and let 0 = ( = 1, . . ., 6) and = 0.The following three substeps are executed.

Classification of Error-Diffused Halftone Images Using Nearest Centroids Classifier

45This section describes the details on classifying error-diffused halftone images using the spectral regression kernel discriminant analysis as follows.

46Step 1. Input error-diffused halftone images produced by six error-diffused filters, and extract the statistical feature matrices , including 00 , 10 , 11 , = 1, 2, . . ., , using the method presented in Section 3.2.

47Step 2. According to the steps described in Section 3. Step 4. A label matrix information of the size 1 × is built to record the type to which the error-diffused halftone images belong.

48Step 5.The first features 1 00 , 2 00 , . . ., 00 of the samples feature matrices 00 are taken as the training samples (the first features of 10 , 11 , or all which is the composition of 00 , 10 , and 11 also can be used as the training samples).Reduce the dimension of these training samples using the spectral regression discriminant analysis.The process of dimension reducing can be described by three substeps as follows.

49(1) Produce orthogonal vectors.Let

50, 0, 0, . . ., 0 ⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟⏟

51and 0 = [1, 1, . . ., 1] be the matrix with all elements being 1.Let 0 be the first vector of the weight matrix , and use Gram-Schmidt process to orthogonalize the other eigenvectors.Remove the vector 0 , leaving −1 eigenvectors of denoted as follows:

52(2) Add an element of 1 to the end of each input data ( 00 ( = 1, 2, . . ., )), and obtain − 1 vectors { ⃗ } −1 =1 ∈ R +1 , where ⃗ is the solution of the following regular least squares problem:

53Here is the th element of eigenvectors { } −1 =1 and is the contraction parameter.

54(3) Let = [ 1 , . . ., −1 ] be the transformation matrix with the size ( + 1) × ( − 1).Perform dimension reduction on the sample features 1 00 , 2 00 , . . ., 00 , by mapping them to ( − 1) dimensional subspace as follows:

55Step 6. Compute the mean values of samples in different classes according to following equation:

56where is the number of samples in the th class; ∑ 6 =1 = .Let aver be the class-centroid of the th class.

57Step 7. The remaining − samples are taken as the testing samples, and the dimension reduction is implemented for them using the method described in Step 5.

58Step 8. Compute the square of the distance | 00 − aver | 2 ( = + 1, + 2, . . ., and = 1, 2, . . ., 6) between each testing sample 00 and different class-centroid aver , according to the nearest centroids classifier; the sample 00 is assigned to the class if = arg min | 00 − aver | 2 .In Step 8, the weak classifier (i.e., the nearest centroid classifier) is used to classify error-diffused halftone images, because this classifier is simple and easy to implement.Simultaneously, in order to prove that these class feature matrices, which are extracted according to the method mentioned in Section 3 and handled by the algorithm of the spectral regression discriminant analysis, are well suited for the classification of error-diffused halftone images, this weak classifier is used in this paper instead of a strong classifier [20], such as support vector machine classifiers and deep neural network classifiers.

Experimental Analysis and Results

59We implement various experiments to verify the efficiency of our methods in classifying error-diffused halftone images.The computer processor is Intel(R) Pentium(R) CPU G2030 @3.00 GHz, the memory of the computer is 2.0 GB, the operating system is Windows 7, and the experimental simulation software is matlab R2012a.In our experiments, all the original images are downloaded from http://decsai.ugr.es/cvg/dbimagenes/ and http://msp.ee.ntust.edu.tw/.About 4000 original images have been downloaded and they are converted into 24000 error-diffused halftone images produced by six different error-diffused filters.

Classification Accuracy Rate of the Error-Diffused

60Halftone Images 5.1.1.Effect of the Number of the Samples.This subsection analyzes the effect of the number on the feature samples on classification.When = 11, and feature matrices 00 , 10 , 11 , all are taken as the input data, respectively, the accuracy rate of classification under different conditions is shown in Tables 1 and 2. Table 1 shows the classification accuracy rates under different number of training samples, when the total number of samples is 12000.Table 2 shows the classification accuracy rates under different number of training samples, when the total number of samples is 24000.The digits in the first line of each table are the size of the training samples.According to Tables 1 and 2, the classification accuracy rates under 12000 samples are higher than that under 24000 samples.Moreover, the classification accuracy rates improve with the increase of the proportion of the training samples when the number of the training samples is lower than the 80% of sample size.And it achieves the highest classification accuracy rates when the number of the training samples is about 80% of the sample size.In addition, from Tables 1 and 2, we can also see that 00 , 10 , 11 can be used as the input data alone.Simultaneously, they can also be combined into the input data all , based on which the classification accuracy rates would be high.

Comparison of Classification Accuracy Rate.

61To analyze the effectiveness of our classification algorithm, the mean values of classification accuracy rate of the four data sets on the right-hand side of each row in Table 2 are computed.The algorithm SR outperforms other baselines in achieving higher classification accuracy rates, when compared with LMS + Bayes (the method composed of least mean square and Bayes method), ECF + BP (the method based on the enhanced correlation function and BP neural network), and ML (the maximum likelihood method).According to optimize the associated nonconvex problems, which are well known to converge very slowly.However, the classifier based on SR performs the classification task through computing the square of the distance between each testing sample and different class-centroids directly.Hence, the time-consumption of it is very cheap.

The Experiment of Noise Attack

62Resistance.In the process of actual operation, the error-defused halftone images are often polluted by noise before the inverse transform.In order to test the ability of SR to resist the attack of noise, different Gaussian noises with mean 0 and different variances are embedded into the error-defused halftone images.Then classification experiments have been done using the algorithm proposed in this paper and the experimental results are listed in Table 6.According to Table 6, the accuracy rates decrease with the increase of the variances.As compared with the accuracy rates listed in Table 7 achieved by other algorithms, such as ECF + BP, LMS + Bayes, and ML, we find that our classification method has obvious advantages in resisting the noise.

Conclusion

63This paper proposes a novel algorithm to solve the challenging problem of classifying the error-diffused halftone images.We firstly design the class feature matrices, after extracting the image patches according to their statistical characteristics, to classify the error-diffused halftone images.Then, the spectral regression kernel discriminant analysis is used for feature dimension reduction.The error-diffused halftone images are finally classified using an idea similar to the nearest centroids classifier.As demonstrated by the experimental results, our method is fast and can achieve a high classification accuracy rate with an added benefit of robustness in tackling noise.A very interesting direction is to solve the disturbance, possibly introduced by other attacks such as image scaling and rotation, in the process of errordiffused halftone image classification.

64denotes the pixel being processed; , , , and indicate the four neighborhood pixels:

( 1 )Step 4 .

65According to (23), +1 ( = 1, . . ., 6) can be computed.If > inner or Δ +1 < 1 , then set = +1 and go to Step 3; otherwise, set = + 1 and return to (10).Step 3. Set = +1 ( = 1, . . ., 6).If = , then go to Step 4. Otherwise, set = + 1, and go to Step 2. Compute the total error = ∑ =1 .If | − −1 | < 2 or = outer, then end the algorithm.Otherwise, set = + 1 and go to Step 2.

66Error-Diffused Halftone Images.Assume that (, ) is the gray value of the pixel located at position (, ) in the original image and (, ) is the value of the pixel located at position (, ) in the error-diffused halftone image.For the original image, all the pixels are firstly normalized to the range [0, 1].Then, the pixels of the normalized image are converted to the errordiffused image line by line; that is to say, if

67(, ) ≥ 0 , (, ), which is the value of the pixel located at position (, ) in error-diffused image , is 1; otherwise, (, ) is 0, where 0 is the threshold value.The error between (, )

685. According to the template shown in the error diffusion of Stucki described above, we can know that the diffusion error is = − , the new value of pixel is = ( + ) + 8/42, and the new value of pixel is = ( + )+/42, where ( + ) and ( + ) are the original values of pixels and , respectively.

693, all the statistical feature matrices ( 00 , 10 , 11 and = 1, 2, . . ., ) are converted to the class feature matrices , including Step 3.All the one-dimensional class feature matrices 00 , 10 , 11 ( = 1, 2, . . ., ) are used to construct the samples feature matrices 00 , 10 , 11 of size × ( = × ), respectively.

7000 , 10 , 11 and = 1, 2, . . ., , correspondingly.Then, convert 00 , 10 , 11 ( = 1, 2, . . ., ) into onedimensional matrices by columns, respectively.

Table 1 :

71Classification accuracy rates (%) (12000 samples).

Table 3 :

72Classification accuracy rates obtained by different algorithms (%).

Table 4 :

73The training and testing time under different sample sizes (in seconds).

Table 3 ,

74the mean values of classification accuracy rates obtained using SR and different features 00 , 10 , 11 , and all , respectively, are higher than the mean values obtained by other algorithms mentioned above.5.2.Effect of the Size of Statistical Feature Template on Classification Accuracies.Here, different features 00 , 10 , 11 of the 24000 error-diffused halftone images are used to test the effect of the size of statistical feature template.00,10, 11 are constructed using the corresponding class feature matrices 00 , 10 , 11 with deferent size × ( = 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25).Figure1shows that the classification accuracy rate achieves the highest value when = 11, no matter which feature is selected for experiments.It is well known that the time-consumption of the classification includes the training time and the testing time.From Table4, we can know that the training time increases with the increase of the number of training samples; on the contrary, the testing time decreases with the increase of the number of training samples.

Table 5 :

75Time-consumption of different algorithms (in second).

Table 6 :

76Classification accuracy rates under different variances (%).

Table 7 :

77Classification accuracy rates using other algorithms under different variances.

참고문헌 19건

  1. Soft label based Linear Discriminant Analysis for image recognition and retrieval Computer Vision and Image Understanding · Elsevier BV · 2014 10.1016/j.cviu.2014.01.008
  2. Dithering with blue noise Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 1988 10.1109/5.3288
  3. A general soft label based Linear Discriminant Analysis for semi-supervised dimensionality reduction Neural Networks · Elsevier BV · 2014 10.1016/j.neunet.2014.03.005
  4. Optimizing Template for Lookup-Table Inverse Halftoning using Elitist Genetic Algorithm IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 2014 10.1109/lsp.2014.2346929
  5. Multiscale rank-based ordered dither algorithm for digital halftoning Information Systems · Elsevier BV · 2014 10.1016/j.is.2014.06.012
  6. &lt;title&gt;Neural net classification and LMS reconstruction to halftone images&lt;/title&gt; Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 1998 10.1117/12.298373
  7. A new kernel discriminant analysis framework for electronic nose recognition Analytica Chimica Acta · Elsevier BV · 2014 10.1016/j.aca.2014.01.049
  8. Incremental Support Vector Learning for Ordinal Regression IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tnnls.2014.2342533
  9. A Novel Classification Method of Halftone Image via Statistics Matrices IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2014 10.1109/tip.2014.2348862
  10. Speed up kernel discriminant analysis The VLDB Journal · Springer Science+Business Media · 2010 10.1007/s00778-010-0189-3
  11. Inverse Halftoning Based on the Bayesian Theorem IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2010 10.1109/tip.2010.2087765
  12. Embedding halftones of different resolutions in a full-scale halftone IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 2006 10.1109/lsp.2005.862605
  13. Efficient Kernel Discriminant Analysis via Spectral Regression 2007 10.1109/icdm.2007.88
  14. Image fusion using multiscale edge‐preserving decomposition based on weighted least squares filter IET Image Processing · Institution of Engineering and Technology · 2014 10.1049/iet-ipr.2013.0429
  15. Neighbourhood weighted fuzzy c‐means clustering algorithm for image segmentation IET Image Processing · Institution of Engineering and Technology · 2014 10.1049/iet-ipr.2011.0128
  16. Halftone Image Classification Using LMS Algorithm and Naive Bayes IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2011 10.1109/tip.2011.2136354
  17. Modern Digital Halftoning, Second Edition Signal processing and communications · CRC Press · 2008 10.1201/9781420047547
  18. Effective connectivity of the Chinese character visual-processing network: a resting state research Journal of Xidian University · Science Press · 2011
  19. Classification and recognition algorithm for the halftone image Journal of Xidian University · Science Press · 2011