Creating a Video Display in a GUI

I currently trying to put a video display that will except inputs from multiple cameras and switch seamlessly between different cameras in a GUI that is controlling the cameras that are providing the video. Thus far I have had no success. Does anyone have any ideas???

답변 (1개)

Image Analyst
Image Analyst 2013년 2월 27일

0 개 추천

I haven't done it with two cameras but I have with one camera. I used the preview() function. Have you tried that yet?

댓글 수: 1

Christopher
Christopher 2013년 2월 28일
I have used preview. However, preview has a few limitations that hinder the development of my GUI that I was trying to avoid.
For example, the program that I am currently using the GUI for is building an image from multiple cameras and then exporting the image to a figure. As I understand it, preview can only read raw video or a file, but not a function variable. So I would have to save to a file and have preview() read that file. This is produces overhead that I’m trying to reduce the program.
Also preview, as I have seen thus far, tends to take over the size of my GUI and I personally have not seen an automated way to scale the size of the preview window to the size of my GUI window.
Thanks for the idea though, if you know a way to get around these two problems. Please let me know. It would be greatly appreciated.

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

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기

질문:

2013년 2월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by