Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to implement watermarking based on Video Image

2025-02-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about how to implement video image watermarking. Many people may not know much about it. In order to make you understand better, the editor summarized the following content for you. I hope you can gain something according to this article.

Implementation of Video Image watermarking based on FPGA

1 background knowledge

We often see the existence of digital image watermarking in our daily life. As shown in figure 1. Digital image watermarking also plays a very important role in daily life. They protect the rights and interests of owners in a variety of ways, including:

1. Copyright identification

two。 Copyright determination

3. Copy protection.

Fig. 1 Digital image watermarking

The watermark superposition formula of digital image is as follows:

As shown in formula 1, the unwatermarked image is represented by f watermark as w, and the constant a controls the relative visibility of the watermark and the substrate image. If an is 1, the watermark is opaque and the substrate image is completely dark; as an approaches 0, you will gradually see more substrate images and fewer watermarks. Usually an is between 0 and 1. As shown in fig. 2, an is a digital watermark, and the difference between the watermarked b and the original f in the b image is the difference between the watermarked b and the original image f.

Figure 2 A simple visible watermark

2. FPGA implementation of digital image watermarking

Fig. 3 flow chart of FPGA implementation of digital image watermarking of video image

We are going to display a five-pointed star watermark on the terminal of the video image acquisition system:

1) the making of watermark

As shown in figure 4, we use a drawing tool to make a pattern.

Fig. 4 watermark picture of red pentagram

2) Generation of rom files

As shown in figure 5, we use the BMP2MIF tool to generate the .mif file.

Figure 5 BMP2MIF tool

3) FPGA watermark source code:

4) implementation of image watermarking

We take a = 1 and a = 0.5 respectively.

Fig. 6 unwatermarked image

Figure 7 watermarked image (a = 0.5)

Figure 8 watermarked image (a = 1)

After reading the above, do you have any further understanding of how to implement video image watermarking? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report