how to make a video (captured from a camera) fullscreen.
显示 更早的评论
Hello all, I want to display the video capture from a camera connected with laptop in full-screen, without any toolbar or blank. my laptop resolution is 1600X900, the camera resolution is 1600X896 or 1920X2 in RGB_24 mode.1600X896 is much close with my screen resolution. if there are some zoom in or zoom out operation on the original image directly from the camera?
I am totally new for image or video processing, any comments or information are appreciated.
回答(2 个)
Geoff
2012-4-12
0 个投票
I really would recommend that you add two black lines above and below the images to pad it out to 900 pixels. Is this what you meant by 'blank'? You'll hardly notice, especially if your monitor's gamma is set up correctly.
If you enlarge the image by 4 pixels, you either have to crop the sides or change the aspect ratio. Either way, such a small adjustment is going to introduce noticeable artifacts such as blurring and/or horizontal striation. That will make your images look pretty terrible.
3 个评论
Songpo
2012-4-13
Geoff
2012-4-13
You could start with this:
set(gcf, 'ToolBar', 'none');
set(gcf, 'MenuBar', 'none');
set(gcf, 'Position', get(0, 'ScreenSize'));
As for your Windows taskbar, try right-clicking it, selecting properties and checking 'Auto-hide the taskbar'.
It's not quite fullscreen. I assumed that you had already worked out how to do fullscreen. I don't know that one, as I haven't needed to do that with MatLab before.
Songpo
2012-4-15
Jan
2012-4-13
0 个投票
Under Windows you can use FEX: WindowAPI to get a full screen window with or without taskbar, with, without or with cropped window border and a lot of other tricks.
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Support Package for IP Cameras 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!