필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Dheeraj Patil
Dheeraj Patil 2016년 2월 11일
댓글: Image Analyst 2016년 2월 11일
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

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by