how to implement visible watermark on image in matlab ??

조회 수: 6 (최근 30일)
Abdalla Mansour
Abdalla Mansour 2014년 12월 23일
편집: Image Analyst 2020년 5월 25일
hi , i want to algorithm to implement visible watermark in image
  댓글 수: 2
K.G Praveen Raj
K.G Praveen Raj 2019년 4월 3일
I want the code for adding text watermark on the image
Image Analyst
Image Analyst 2019년 4월 3일
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)?

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

답변 (1개)

Image Analyst
Image Analyst 2014년 12월 23일
Simply average the two images, or paste it in, like my attached demo shows. Let me know if you need further help.
  댓글 수: 7
Image Analyst
Image Analyst 2016년 5월 30일
편집: Image Analyst 2020년 5월 25일
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 2020년 5월 25일
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

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by