how to make a video (captured from a camera) fullscreen.
Show older comments
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.
Answers (2)
Geoff
on 12 Apr 2012
0 votes
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 Comments
Songpo
on 13 Apr 2012
Geoff
on 13 Apr 2012
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
on 15 Apr 2012
Jan
on 13 Apr 2012
0 votes
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.
Categories
Find more on MATLAB Support Package for IP Cameras in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!