Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

After extraction of frames from a video how to embed and extract an image in that video?

Asked by Madhurima Das on 25 Mar 2013

I am doing a major project on Video watermarking.Please help me with the matlab code.I am a new learner of matlab. It would be very kind of you , if you kindly help me with the video watermarking matlab code.

0 Comments

Madhurima Das

Products

No products are associated with this question.

1 Answer

Answer by Image Analyst on 25 Mar 2013
Accepted answer

Why don't you just do a weighted average of your watermark with your original frames, and write out the averaged frames?

8 Comments

Madhurima Das on 8 May 2013

Sir,as suggested by you i tried implementing the weighted average of my watermark with the original frames,and then writing out the averaged frames....I have used your coding,but there is an error occuring with the read function.I would like to know the alternative for the read function for your code.Sir please help me out,i need to implement embedding and extraction of an image into the frames of the video.

Madhurima Das on 8 May 2013

There is also an error occurring saying matrix dimensions must agree for the watermarkImage variable...Sir,Please help me out.I am looking forward to your help.

Image Analyst on 8 May 2013

You have to add the same size matrices together. If your cover image is larger than your watermark, then crop out the desired chunk of your cover image, average them, then assign it back to your cover image.

Image Analyst

Contact us