|
1.IntroductionMultilevel halftoning (MH) is the process of converting a continuous-tone image to a multilevel image for its reproduction with a multilevel output device, and it is becoming more important as printers can now place dots of different intensities. Compared with conventional binary halftoning,1 MH can improve the rendition quality of a continuous-tone image.2, 3, 4 In theory, MH can be accomplished by an error diffusion algorithm equipped with a multilevel quantizer. However, when the number of quantization levels is small, typically 3 to 5, undesirable banding artifacts occur, as all signal levels close to an intermediate quantization level are quantized to a single output level, such that gradation reproducibility cannot be maintained. Recently, Rodríguez, Arce, and Lau3 proposed a multitoning blue-noise model for MH. In this model, a multilevel halftone is treated as a stack of halftones. It is suggested that each of them should have blue-noise characteristics and their correlation should be little in low-frequency regions. A criterion measure called the magnitude squared coherence function (MSC) and a MH algorithm were then proposed accordingly. Around the same time, Suetake 4 proposed a MH algorithm to tackle banding artifacts, such that gradation reproducibility can be maintained. Both algorithms decompose an input image into layers, halftone each layer with a binary error diffusion scheme, and finally combine the halftoning results of the layers to produce a multilevel halftone image. Layers are processed one by one. When processing a particular layer, a constraint is imposed on some selected pixels based on the halftoning result of the last processed layer. These pixels are referred to as constrained pixels. The binary error diffusion scheme used to halftone a layer for Ref. 4 is a combined scheme of Refs. 5, 6. In particular, pixels are processed in a predefined scanning order. When a constrained pixel is encountered, the output value is zero. Otherwise, the output value is the quantized value of the current intensity level of the pixel being processed. In either case, the error is then diffused with a causal filter. Obviously, it is likely that the assigned value of a constrained pixel goes against the natural quantization result. Since pixels are processed one by one according to a predefined scanning order, and no precaution is taken before encountering a constrained pixel in the course, there is little room for one to compensate for this mismatch. Consequently, this mismatch disturbs the harmony of a local region and degrades the quality of the output. 2.Proposed AlgorithmIn this work, we propose a framework for MH with a multiscale error diffusion algorithm called feature-preserving multiscale error diffusion (FMED).7 The proposed approach takes care of the constrained pixels before handling the unconstrained pixels. This allows one to have more room to compensate for the disturbance caused by the constrained pixels when handling the unconstrained pixels. Suppose one wants to MH a continuous-tone image to produce a multilevel image . Without loss of generality, we assume that is of size and , where is the pixel value of at position . can be decomposed into images, denoted as for , such that we have In particular, the decomposition is done as follows:In the proposed framework, starting from , we halftone to obtain a binary output under a constraint derived from until is obtained. Here, we note that is the binary halftoning output of , and hence we have for all . To produce with and , we first assign 0 to some selected pixels of as follows. is then updated by where is a diffusion filter defined as , , is a masking bit for pixel defined as After updating , the remaining unprocessed pixels in are processed with the FMED algorithm as usual to produce .After all are obtained, a synthesis process is applied by averaging all except to generate as Note that this framework handles all constrained pixels before processing those unconstrained pixels. Besides, it does not diffuse the quantization error along a predefined scanning direction when processing individual . Hence, though the proposed approach also assigns a predefined value to a constrained pixel without concerning its original intensity, as the approach proposed in Ref. 4 does, it provides more flexibility to compensate for the negative effect of the assignment and, accordingly, provides a halftone of better visual quality.3.Simulation ResultsSimulation was carried out to compare the performances of the algorithms in Refs. 3, 4, and the proposed algorithm. In our simulation, and the three quantization levels are 0, 0.5, and 1. Figure 1 shows portions of the MH results of a constant gray level patch of size when the gray level is . Figure 1 shows the magnitude of the corresponding frequency spectra of Fig. 1. For display purposes, each of them is normalized with respect to its maximum magnitude value. One can see that the spectrum of the proposed algorithm is radially symmetric compared with the others, and possesses blue-noise characteristics. In fact, similar observations can be obtained for other values. A halftone bearing blue-noise characteristics is visually pleasant, as our human visual system behaves as a low-pass filter that effectively removes the high-frequency noise components. The radially symmetric spectra of the proposed algorithm imply that dots of different intensities are distributed evenly in the corresponding halftones, and there is no pattern artifacts and directional hysteresis. The performances of Refs. 3, 4 are inferior in this aspect. Figure 2 shows the corresponding radial MSC functions of Fig. 1. One can see that the proposed algorithm has low coherence values at the lower frequencies. Similar observations can be obtained for other values. For subjective evaluation, Figs. 3, 3, 3 show the MH results of Fig. 3. One can see that more feature details of the original image can be preserved by the proposed algorithm. For instances, the rope at the stern and the rigging of the boat are clearer in Fig. 3. Figure 3 shows the result of Ref. 7. By comparing it with Fig. 3, one can see the improvement achieved by MH. The computational complexity of the proposed algorithm is roughly 1.5-fold that of Ref. 7, and much higher than that of Refs. 3, 4. However, it can be reduced with the approach proposed in Ref. 8 to achieve real-time implementation. 4.ConclusionsWe propose a MH algorithm based on FMED. By taking the constrained pixels into account ahead of time and diffusing the error with a noncausal filter, the proposed algorithm can produce halftones of better image quality. Simulation results show that the outputs of the proposed algorithm bear good blue-noise characteristics, have no directional artifacts, and preserve feature details of the original image. AcknowledgmentsWe would like to thank the RGC of the HKSAR, China (PolyU 5123/08E) and Center for MSP, The Hong Kong Polytechnic University, Hong Kong, for supporting this research project. referencesR. A. Ulichney, Digital Halftoning, MIT Press, Cambridge, MA
(1987). Google Scholar
G. Y. Lin and J. Allebach,
“Multilevel screen design using direct binary search,”
J. Opt. Soc. Am. A, 19
(10), 1969
–1982
(2002). https://doi.org/10.1364/JOSAA.19.001969 Google Scholar
J. B. Rodríguez, G. R. Arce, and D. L. Lau,
“Blue-noise multitone dithering,”
IEEE Trans. Image Process., 17
(8), 1368
–1382
(2008). https://doi.org/10.1109/TIP.2008.926145 Google Scholar
N. Suetake, M. Sakano, E. Nakashima, and E. Uchino,
“Simple multilevel halftoning excelled in gradation reproducibility,”
Opt. Lett., 33
(4), 339
–341
(2008). https://doi.org/10.1364/OL.33.000339 Google Scholar
R. W. Floyd and L. Steinberg,
“An adaptive algorithm for spatial greyscale,”
Proc. S.I.D., 17
(2), 75
–77
(1976). Google Scholar
V. Ostromoukhov,
“A simple and efficient error-diffusion algorithm,”
567
–572
(2001). Google Scholar
Y. H. Chan and S. M. Cheung,
“Feature-preserving multiscale error diffusion for digital halftoning,”
J. Electron. Imaging, 13
(3), 639
(2004). https://doi.org/10.1117/1.1758728 Google Scholar
Y. H. Fung, K. C. Lui, and Y. H. Chan,
“Low complexity high-performance multiscale error diffusion technique for digital halftoning,”
J. Electron. Imaging, 16
(1), 013010
(2007). https://doi.org/10.1117/1.2435197 Google Scholar
|