Azzera filtri
Azzera filtri

I want code for image watermarking using RCM algo i have perticular algorith

1 visualizzazione (ultimi 30 giorni)
Algorithm 1. Watermark embedding algorithmInput: Distortion threshold (Th); host image; watermark (w)Output: Watermarked imagebeginPartition host image into (8 × 8) or (32 × 32) image block (B);Partition the watermark image into (8 × 4) or (32 × 16) image block (W),respectively;For a pixel pair (x, y) ∈ B, the value of Dc= (x − y) is calculated.Now, for each pixel pair:if ((x, y) ∈ Dcand (x, y) < Th) then{if ((x, y) are set of odd numbers) then{x= x2y= 2y2 + wi} // Note: (x, y) are the marked pixel pair values with thecorresponding watermark bit (wi)else{x= 22x−y2 + 1y= 22y−x2 + wi}else{x= 2x2y= y}}Repeat until all pixels belongs to Biare covered.The above steps are repeated as long as all pixels in the image are notcovered.end

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by