baperbook
Newbie level 5
- Joined
- Oct 4, 2012
- Messages
- 9
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,360
RIO based embedded watermarking of an images
hi everybody,
i am working on a project on digital watermark for an image based on IRO (region of interest).
the first step in this project is to separate ROI using roipoly or imfreehand or any other interactively way, and then considering RONI(reigon of non interest) and applying 3 level DWT using "Haar" wevelt. WHERE only RONI will be used for watermark embedding.
please if any one can help with matlab code for separation of ROI out of cover image and prepare the RONI for other steps:
i have this code but how i can deal with RONI.
clc;
clear;
close all;
a=imread('eight.tif');
imshow(a);
[r c]=ginput(5);
BW = roipoly(a,r,c);
figure, imshow(BW)
[R C]=size(BW);
for i=1:R
for j=1:C
if BW(i,j)==1
Out(i,j)=a(i,j);
else
Out(i,j)=0;
end
end
end
figure;
imshow(Out,[]);title('output image');
many thanks in advance.
hi everybody,
i am working on a project on digital watermark for an image based on IRO (region of interest).
the first step in this project is to separate ROI using roipoly or imfreehand or any other interactively way, and then considering RONI(reigon of non interest) and applying 3 level DWT using "Haar" wevelt. WHERE only RONI will be used for watermark embedding.
please if any one can help with matlab code for separation of ROI out of cover image and prepare the RONI for other steps:
i have this code but how i can deal with RONI.
clc;
clear;
close all;
a=imread('eight.tif');
imshow(a);
[r c]=ginput(5);
BW = roipoly(a,r,c);
figure, imshow(BW)
[R C]=size(BW);
for i=1:R
for j=1:C
if BW(i,j)==1
Out(i,j)=a(i,j);
else
Out(i,j)=0;
end
end
end
figure;
imshow(Out,[]);title('output image');
many thanks in advance.
Last edited: