can any one send me a code?
2 ビュー (過去 30 日間)
古いコメントを表示
i want matlab code for visible watermarking
0 件のコメント
採用された回答
Image Analyst
2012 年 10 月 12 日
You can just average the images,
markedImage = uint8((single(image1) + single(image2))/2);
though it gets tricky if your watermark is smaller than the image because you have to decide where to place it. You might take a look at Stitch which blends images in addition to stitching them, and handles the size mismatches.
4 件のコメント
Image Analyst
2012 年 10 月 14 日
[rows columns numberOfColorChannels = size(imageArray);
[rowsWM columnsWM numberOfColorChannelsWM = size(watermarkImageArray);
middleRow = floor(rows/2);
middleColumn = floor(columns/2);
row1 = middleRow - floor(rowsWM/2);
row2 = row1 + rowsWM;
and so on.....
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!