Giter VIP home page Giter VIP logo

Comments (4)

suancaizxt avatar suancaizxt commented on June 29, 2024 7

找到了一种基于差分编码的方法,感觉挺有效,来跟po主讨论下:)
https://www.researchgate.net/publication/280873467_Blind_image_watermarking_technique_based_on_differential_embedding_in_DWT_and_DCT_domains
基本思路是将图像小波变换后,zigzag均分成两个等长的部分,根据经验,这两个部分的相关性很高,所以DCT系数是基本相等的。利用这个性质可以在把watermark以差分的形式打到两个DCT序列的相同索引。这种方式对图像造成的影响很小(尤其是平坦区),而且对亮度变化是鲁棒的。
原文是在全图尺寸做变换和打水印,DWT和DCT的运算成本都太大了。基于po主的代码可以很方便把文中的**按8*8的block的实现,而且效果还不错。
结论如下:

  1. 对画质损伤小,PSNR一般在40dB以上。尤其是对平坦区的影响很小,因此,即便是在相同PSNR下,肉眼画质损伤情况也要小于po主的方式
  2. 对裁剪、亮度变换是鲁棒的
  3. 完全不抗模糊、压缩、scale等损失高频的攻击

可见这个方式跟po主的方法刚好是互补的,po主的方法能扛得住高频攻击,但扛不住低频攻击,另外画质损伤(尤其平坦区)较为严重。我这里后来将po主的方式和上面的方式做到了一起,相当于给图像打了两层水印,效果还可以,po主可以尝试一下哈~
如果po主有更好的方式,欢迎继续交流:)

from blind_watermark.

guofei9987 avatar guofei9987 commented on June 29, 2024

👍
确实是个问题,容我调研一下

from blind_watermark.

suancaizxt avatar suancaizxt commented on June 29, 2024

嗯嗯 持续关注中

from blind_watermark.

BertChenJames avatar BertChenJames commented on June 29, 2024

DCT
请问有开源代码吗?

from blind_watermark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.