How can I write on an image?
이전 댓글 표시
Hello guys,
I'm working with binary images here and I have to do a video with them. Actually I already did it, but my teacher want to know which picture is that when he pause the video.
So, my idea was write the name of image ON yourself and when I pause the video I'll see the name on the screen.
But I don't know how can I do that easily.
Thx for the help.
답변 (2개)
Florin Neacsu
2012년 1월 10일
Hi,
Have a look at "text".
>doc text
HTH, Florin
Image Analyst
2012년 1월 10일
0 개 추천
The text() function will write text into the overlay above the image.
If you want text actually IN the image pixels you can use imtext() (I think that's what it's called) but that's in the Computer Vision Toolbox. Otherwise you can use export_fig (the most downloaded File Exchange file ever - http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A29192 to save the image and annotation/overlay layer all together as one color image.
카테고리
도움말 센터 및 File Exchange에서 Video Formats and Interfaces에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!