Image extraction from Watermarked image
1 次查看(过去 30 天)
显示 更早的评论
Hello everyone...
I am trying to extract "watermark image" from a watermarked image. For this i am selecting original image of 512x512 and watermark image of size 64x64. then i am normalizing the original image, applying DCT & converting into 8x8 Blocks. for applying dct i am using
T = dctmtx(8);
dct = @(block_struct) T * block_struct.data * T';
D1 = blockproc(norm00,[8 8],dct);
After that i am taking "watermarked image". again i am doing same process as mentioned above. after that as i embedded watermark only in 512 [since i am converting original image as well as watermark image into 8x8 block,so 64x8 = 512] blocks in "watermarked image".
so i am subtracting [{ first 512 blocks of watermarked image - first 512 blocks of original image } divided by embedding coefficient] for extracting the "watermark image".
but i am not getting the proper image, i am getting Black image with some irregular white rectangular blocks. code is not showing any error. so can any one suggest what are the modification required me for the getting the Watermark image. plz help me to come out from this problem. i need it urgently.thanks in advance......
3 个评论
Andreas Goser
2011-3-10
I strongly believe many exclamation marks do not bring you forward here, but a clearer description. Especially in image processing, providing images is a real help.
回答(1 个)
kishore rajkumar
2018-9-20
T = dctmtx(8);
dct = @(block_struct) T * block_struct.data * T';
D1 = blockproc(norm00,[8 8],dct);
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!