Skip to main content
Log in

Extracting watermarks from printouts captured with wide angles using computational photography

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Thus far the research of print-cam robust watermarking methods has focused on finding new methods for embedding and extracting the watermark. However, the capturing process itself, has been neglected in scientific research. In this paper, we propose a solution for the situation when the watermarked image has been captured in a wide angle and the depth of focus of the camera is not deep enough to capture the whole scene in-focus resulting in unfocused areas. The solution proposed here relies on a subfield of computational photography, namely all-in-focus imaging. All-in-focus images are generated by fusing multiple images from the same scene with different focus distances together, so that the object being photographed is fully in focus. Traditionally, the images to be fused are selected by hand from the focal stack or the whole stack is used for building the all-in-focus image. In mobile phone applications, computational resources are limited and using the full focal stack would result in long processing times and the manual selection of images would not be practical. In addition, we propose a method for optimizing the size of the focal stack and automatically selecting appropriate images for fusion. It is shown here that a watermark can still be recovered from the reconstructed all-in-focus image accurately.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

References

  1. Adams A, Talvala EV, Park S, Jacobs DE, Ajdin B, Gelfald N, Dolson J, Vaquero D, Baek J, Tico M, Lench HPA, Matusik W, Pulli K, Horowitz M, Levoy M (2010) The frankencamera: an experimental platform for computational photography. In: ACM. trans. graph. (Proc. SIG-GRAPH)

  2. Alcantarilla PF, Nuevo J, Bartoli A (2013) Fast explicit diffusion for accelerated features in nonlinear scale spaces. In: British machine vision conf (BMVC)

  3. Burt PJ, Adelson EH (1983) The laplacian pyramid as a compact image code. IEEE Trans Commun 31:532–540. doi:10.1109/TCOM.1983.1095851

    Article  Google Scholar 

  4. (2015). http://chdk.wikia.com/wiki/CHDK

  5. Chou CH, Li YC (1995) A perceptually tuned subband image coder based on the measure of just-noticeable-distortion profile. IEEE Trans Circ Syst Video Technol 5(6):467–476

    Article  Google Scholar 

  6. Delgado-Guillen LA, Garcia-Hernandez JJ, Torres-Huitzil C (2013) Digital watermarking of color images utilizing mobile platforms. In: 2013 IEEE 56th International midwest symposium on circuits and systems (MWSCAS). IEEE, pp 1363–1366

  7. (2015). https://www.digimarc.com/products/discover/mobile-app

  8. Eerola T, Kämäräinen JK, Lensu L, Kälviäinen H (2009) Framework for applying full reference digital image quality measures to printed images. In: Image analysis. Springer, pp 99–108

  9. Eerola T, Lensu L, Kälviäinen H, Kämäräinen JK, Leisti T, Nyman G, Halonen R, Oittinen P (2010) Full reference printed image quality: measurement framework and statistical evaluation. J Imag Sci Technol 54(1):10,201–1

    Article  Google Scholar 

  10. Fischler MA, Bolles RC (1981) Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography. Commun ACM 24(6):381–395

    Article  MathSciNet  Google Scholar 

  11. Grewenig S, Weickert J, Bruhn A (2010) From box filtering to fast explicit diffusion. In: Joint pattern recognition symposium. Springer, pp 533–542

  12. He D, Sun Q (2005) A practical print-scan resilient watermarking scheme. In: IEEE International conference on image processing, 2005. ICIP 2005, vol 1. IEEE, pp I–257

  13. Heckbert P, Garland M (1997) Survey of polygonal surface simplification algorithms. Tech. rep., DTIC Document

  14. Katayama A, Nakamura T, Yamamuro M, Sonehara N (2004) New high-speed frame detection method: Side trace algorithm (sta) for i-appli on cellular phones to detect watermarks. In: Proceedings of the 3rd international conference on mobile and ubiquitous multimedia. ACM, pp 109–116

  15. Kim WG, Lee SH, Seo YS (2006) Image fingerprinting scheme for print-and-capture model. In: Advances in multimedia information processing-PCM 2006. Springer, pp 106–113

  16. Lowe DG (2004) Distinctive image features from scale-invariant keypoints. Int J Comput Vis 60(2):91–110

    Article  Google Scholar 

  17. (2015). http://opencv.org/

  18. Pramila A, Keskinarkaus A, Seppänen T (2007) Camera based watermark extraction-problems and examples. In: Proceedings of the finnish signal processing symposium

  19. Pramila A, Keskinarkaus A, Seppänen T (2008) Watermark robustness in the print-cam process. In: Proc. IASTED Signal processing, pattern recognition, and applications (SPPRA 2008), pp 60– 65

  20. Pramila A, Keskinarkaus A, Seppänen T (2012) Toward an interactive poster using digital watermarking and a mobile phone camera. Signal Image Vid Process 6(2):211–222

    Article  Google Scholar 

  21. Sadovnikov A, Salmela P, Lensu L, Kämärainen JK, Kälviäinen H (2005) Mottling assessment of solid printed areas and its correlation to perceived uniformity. In: Image analysis. Springer, pp 409– 418

  22. Sakurikar P, Narayanan P (2014) Dense view interpolation on mobile devices using focal stacks. In: 2014 IEEE Conference on computer vision and pattern recognition workshops (CVPRW), pp 138– 143

  23. Solh M (2014) Real-time focal stack compositing for handheld mobile cameras. In: Proc. of IS&T/SPIE electronic imaging. International Society for Optics and Photonics, pp 90,200Z–90,200Z

  24. Suzuki S, Abe K (1985) Topological structural analysis of digitized binary images by border following. Comput Vis Graphics Image Process 30(1):32–46

    Article  MATH  Google Scholar 

  25. Vaquero D, Gelfand N, Tico M, Pulli K, Turk M (2011) Generalized autofocus. In: 2011 IEEE Workshop on applications of computer vision (WACV), pp 511–518

  26. Wang Z, Bovik AC, Sheikh HR, Simoncelli EP (2004) Image quality assessment: from error visibility to structural similarity. IEEE Trans Image Process 13(4):600–612

    Article  Google Scholar 

  27. Weickert J, Grewenig S, Schroers C, Bruhn A (2016) Cyclic schemes for pde-based image analysis. Int J Comput Vis:1–25

  28. Yamada T, Kamitani M (2013) A method for detecting watermarks in print using smart phone: finding no mark. In: Proceedings of the 5th workshop on mobile video, pp 49–54. ACM

  29. Zhang C, Bastian JW, Shen C, van den Hengel A, Shen T (2013) Extended depth-of-field via focus stacking and graph cuts. In: 2013 IEEE Conference on image processing (ICIP), pp 1272–1276

Download references

Acknowledgments

This work was supported in part by Finnish Cultural Foundation.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Anu Pramila.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Pramila, A., Keskinarkaus, A., Takala, V. et al. Extracting watermarks from printouts captured with wide angles using computational photography. Multimed Tools Appl 76, 16063–16084 (2017). https://doi.org/10.1007/s11042-016-3895-z

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-016-3895-z

Keywords

Navigation