how to implement visible watermark on image in matlab ??

16 views (last 30 days)
hi , i want to algorithm to implement visible watermark in image
  2 Comments
K.G Praveen Raj
K.G Praveen Raj on 3 Apr 2019
I want the code for adding text watermark on the image
Image Analyst
Image Analyst on 3 Apr 2019
What does that mean? Do you mean you want to hide text in an image, like my attached program? Or do you want to watermark an image with an image of text (like my other attached demo)?

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 23 Dec 2014
Simply average the two images, or paste it in, like my attached demo shows. Let me know if you need further help.
  7 Comments
Image Analyst
Image Analyst on 30 May 2016
Edited: Image Analyst on 25 May 2020
You'd have to specify the full path (folder plus base file name), unless it's on the search path, which you can see by typing path on the command line. For a specific file, you can find the folder it's in by using the fileparts() and which() functions:
>> folder = fileparts(which('peppers.png'))
folder =
'C:\Program Files\MATLAB\R2020a\examples\deeplearning_shared\data'
Mrutyunjaya Hiremath
Mrutyunjaya Hiremath on 25 May 2020
Matlab Folder is NOT only ‘Current Working Folder’.
Matlab search all paths that exist in MATLABPTH.
One can check with the Matlab command ‘path’ in the command window.
Matlab stores some images, videos and relevant data in its respective toolbox demo folders.
Like images ‘onion.png’ and ‘peppers.png’ in the below path (example). This path presents in MATLAB search path.
“Matlab Installation Folder\toolbox\images\imdemos”
Example: C:\Program Files\MATLAB\R2012a\toolbox\images\imdemos

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!