can any one send me a code?

 채택된 답변

Image Analyst
Image Analyst 2012년 10월 12일

0 개 추천

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

vilva
vilva 2012년 10월 13일
thank sir...but how can i select the region..
Walter Roberson
Walter Roberson 2012년 10월 13일
Select which region ?
vilva
vilva 2012년 10월 14일
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..
[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개)

Babak
Babak 2012년 10월 12일

0 개 추천

Look into the File Exchange section.

댓글 수: 1

vilva
vilva 2012년 10월 14일
visible watermarking matlab code is not available in the file exchange section sir..

댓글을 달려면 로그인하십시오.

질문:

2012년 10월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by