can any one send me a code?

6 Ansichten (letzte 30 Tage)
vilva
vilva am 12 Okt. 2012
i want matlab code for visible watermarking

Akzeptierte Antwort

Image Analyst
Image Analyst am 12 Okt. 2012
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 Kommentare
vilva
vilva am 14 Okt. 2012
secure reversible visible image watermarking with authentication is my project...i want to select the center region of the image...i want proper matlab code sir..
Image Analyst
Image Analyst am 14 Okt. 2012
[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.....

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Babak
Babak am 12 Okt. 2012
Look into the File Exchange section.
  1 Kommentar
vilva
vilva am 14 Okt. 2012
visible watermarking matlab code is not available in the file exchange section sir..

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by