Can we use a binary mask to embed a watermark in the roi?
1 view (last 30 days)
Show older comments
Inorder to embed a watermark in roi of an image, can we create a mask and on obtaining it can we embed it.
0 Comments
Answers (2)
Walter Roberson
on 4 Nov 2013
Let I, R, W be binary. Then consider
I or (R and W)
8 Comments
Walter Roberson
on 7 Nov 2013
For example specifying a center and a radius of a circle is an abstraction compared to specifying on a pixel-by-pixel basis whether the pixel is in the ROI or not. But ultimately for any given pixel there must be a decision procedure to decide whether it is in the ROI or not, but that decision procedure does not have to be in the form of a logical matrix.
Image Analyst
on 5 Nov 2013
See my demo, attached below.
7 Comments
Walter Roberson
on 7 Nov 2013
The non-mask way of doing it would be to use inpoly() on a vectorized approximation of the outline of the circle.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!