How to mask one image overlay ontop of a video?
2 ビュー (過去 30 日間)
古いコメントを表示
Hi guys,
I wonder if I can make a image semi-transparent and mask it onto a video output? For example, I have a mask image: https://dl.dropbox.com/u/10571500/mask.jpg
and an real time video output that looks like the following image: https://dl.dropbox.com/u/10571500/under%20layer.jpg
What kind of function in the Matlab image and video processing toolbox can make the mask semi-transparent and generate a mask layer that is adjustable which will overlaying on top of the video output?
Thanks, Gene
0 件のコメント
回答 (1 件)
Image Analyst
2012 年 8 月 29 日
Your mask doesn't look solid. Is it just a bunch of lines that you could use plot() to display? I draw outlines of things on live video all the time.
3 件のコメント
Image Analyst
2012 年 8 月 29 日
You have live video in an axes already, right? So then just use plot() to plot the rectangles. The video should still be live under the rectangles in the overlay.
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!