A Coded Aperture for Watermark Extraction from Defocused Images
Barcodes and 2D codes are widely used for various purposes, such as electronic payments and product management. Special code readers, and consumer smartphones can be used to scan codes; thus concerns about fraud and authenticity are important. Embedding watermarks in 2D codes, which allows simultaneous recognition and tamper detection by simply analyzing the captured pattern without requiring an additional device is considered a promising solution. However, smartphone cameras frequently suffer misfocus especially if the target object is too close to the lens, which makes the captured image defocused and results in failure to read watermarks. In this paper, we propose the use of a coded aperture imaging technique to recover watermarks. We have designed a coded aperture that is robust against defocus blur by optimizing the aperture pattern using a genetic algorithm. In addition, we have developed a programmable coded aperture that includes an actual optical process that works in an optimization loop; thus, the complicated effects of the optical aberrations can be considered. Experimental results demonstrate that the proposed method can extend the depth of field for watermark extraction to 3.1 times wider than that of a general circular aperture.
KeywordsCoded aperture Digital image watermark Two-dimensional code Extended depth of field Device-based optimization Genetic algorithm
This study was partially supported by JSPS KAKENHI Grant Numbers JP15H02758 and JP16K12490.
- 1.Zhou, C., Nayar, S.: What are good apertures for defocus deblurring? In: IEEE International Conference on Computational Photography (ICCP), pp. 1–8. IEEE (2009)Google Scholar
- 3.Zhou, C., Lin, S., Nayar, S.: Coded aperture pairs for depth from defocus. In: IEEE 12th International Conference on Computer Vision, pp. 325–332 (2009)Google Scholar
- 9.Ng, R., Levoy, M., Brédif, M., Duval, G., Horowitz, M., Hanrahan, P.: Light field photography with a hand-held plenoptic camera. Comput. Sci. Tech. Rep. CSTR 2, 1–11 (2005)Google Scholar
- 12.Kawamoto, Y., Hiura, S., Miyazaki, D., Furukawa, R., Baba, M.: Design and evaluation of the shape of coded aperture for the recognition of specific patterns (in Japanese). J. Inf. Process. 57, 783–793 (2016)Google Scholar
- 14.Hashimoto, W., Sugita, H., Komatsu, S.: Extended depth of field for laser-scanning barcode reader with wavefront coding. In: 2015 20th Microoptics Conference (MOC), pp. 1–2 (2015)Google Scholar
- 15.Tisse, C.L., Nguyen, H., Tessières, R., Pyanet, M., Guichard, F.: Extended depth-of-field ( EDoF ) using sharpness transport across colour channels. In: Proceedings of SPIE, Novel Optical Systems Design and Optimization XI, vol. 7061 (2008)Google Scholar
- 16.McCloskey, S., Miller, B.: Fast, high dynamic range light field processing for pattern recognition. In: 2016 IEEE International Conference on Computational Photography (ICCP), pp. 1–10 (2016)Google Scholar
- 17.Yang, G., Liu, N., Gao, Y.: Two-dimensional barcode image super-resolution reconstruction via sparse representation. In: Proceedings of International Conference on Information Science and Computer Applications (2013)Google Scholar
- 19.Kundur, D., Hatzinakos, D.: A robust digital image watermarking method using wavelet-based fusion. In: 4th IEEE International Conference on Image Processing, pp. 544–547 (1997)Google Scholar
- 20.Kundurf, D., Hatzinakos, D.: Digital watermarking using multiresolution wavelet decomposition. In: Proceedings of the 1998 IEEE International Conference on Acoustics, Speech and Signal Processing, vol. 5, pp. 2969–2972 (1998)Google Scholar
- 23.Horn, J., Nafpliotis, N., Goldberg, D.E.: A niched pareto genetic algorithm for multiobjective optimization. In: Proceedings of the First IEEE Conference on Evolutionary Computation, IEEE World Congress on Computational Intelligence, pp. 82–87 (1994)Google Scholar
- 25.Information Technology: Automatic identification and data capture techniques - QR Code 2005 bar code symbology specification, ISO 18004 (2000)Google Scholar