Add text to individual frame using Videowriter.

Hi there,
thanks in advance to all contributions to this post.
I am using the video writer function in Matlab to create a video (.avi) from experimental images (.pngs) that have been collected at a range of temperatures.
I am attempting to add text to each frame (e.g 20°C, 40°C, 60°C etc.) whilst the video is being writen to avoid having to prelabel the images. Would anyone know how to do this?
Many thanks,
Tamsin

 Accepted Answer

See the following functions: text or annotation.

1 Comment

I don't understand how to apply that on VideoWriter function? Can you please explain? Thank you

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!