VCAPG2

VCAPG2 is DirectShow based video capture DLL that support various types of video capture cards.
17K download
Aggiornato 12 feb 2003

Nessuna licenza

VCAPG2 is a new version of MATLAB resident video capture program which employs Microsoft's DirectShow libraries rather than the older Video for Windows (VfW) library.
In order to run VCAPG2, you will need to install the DirectX runtime libraries.
This code has been developed and tested with DirectX 8.1 and 9.0. with MATLAB6.1/6.5.
Features are
1. Up to 6 video capture cards can grab images at one command.(I tested one and two video capture cards)
2. Supported video capture devices are including IEEE1394 based DV CAM, USB Camera as well as old VFW based Camera.(I tested DV-CAM, USB Camera, VFW based Camera)
3. VCAPG2 can run up to almost twice as fast as VfW based program such as VCAPG [1] which is available both source and binary code from http://www.ikko.k.hosei.ac.jp/~matlab/matkatuyo/
that I published.

Plaforms: 2000/XP
(NOTE: 95/98/ME are not supported!! Please use vcapg)

Supported default capture color mode only RGB 16bit. However depending on video capture card, you may change different color modes by clicking task tray icon.
VCAPG2 is a MATLAB residents program; you can confirm residents or not left bottom side of task tray icon. From task tray icon, you can change video mode and crossbar and/or TV tuner mode, which are depending on installed video capture cards.
If you want to remove VCAPG2 from MATLAB, type clear all.

%%%%%%%%%
%sample script for One video capture card is installed.
%Initialization mode
clear all;
cardnum=vcapg2; % you will get available video capture devices number usually 1
% capture mode
aa=vcapg2;% grabbing camera image.
imshow(vcapg2);
clear all; % remove

%%%%%%%%%
%sample script for Two camera capture cards are installed
clear all;
%Initialization mode
cardnum=vcapg2; % you will get available video capture devices number usually 2
% capture mode
[aa,bb]=vcapg2;% grabbing camera image.
subplot(1,2,1);imshow(aa);subplot(1,2,2);imshow(bb);

%%%%%%%%%
%sample script for Two camera capture cards are installed
% if you have two video capture card, you can choose video card at initialization mode
clear all;
cardnum=vcapg2(1); % you can set 0 or 1
% capture mode
aa=vcapg2;% grabbing camera image.
imshow(aa);
%%%%%%%%%

%%%%%%%%%
%sample script for One video capture card is installed.
% realtime image processing example just process diff at Red image
%Initialization mode
clear all;
cardnum=vcapg2; % you will get available video capture devices number usually 1
close all;figure(1);set(1,'doublebuffer','on');
% capture mode
for i=1:100
aa=vcapg2;% grabbing camera image.
subplot(2,1,1);imshow(aa);subplot(2,1,2);imshow(diff(double(aa(:,:,1)),[]);
drawnow;% this is important to view realtime.
end
clear all; % remove

THIS IS BETA VERSION. WE ONLY UPLOAD BINARY DLL.
For further update information browse to:

http://www.ikko.k.hosei.ac.jp/~matlab/matkatuyo/vcapg2.htm

Rights to use, citation:
Authors may encourage to maintenance and consuming time to develop this utility, please cite the following reference in your paper or academic research.
Kazuyuki Kobayashi,?hMATLAB Utilization Book?h, Shuwa System Co, Ltd., 2001,ISBN 4-7980-0141-4

Ikko K. Kobayashi

Cita come

Kazuyuki Kobayashi (2024). VCAPG2 (https://www.mathworks.com/matlabcentral/fileexchange/2939-vcapg2), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R13
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

Bug fix due to previous change.