i am getting my frame memory limit in exponential....how to change it..because it is not allocating memory to any frame

1 次查看(过去 30 天)
my code is: vid=videoinput('winvideo',2,'RGB24_352x288'); set(vid, 'FramesPerTrigger', Inf); set(vid, 'ReturnedColorspace', 'rgb') vid.FrameGrabInterval = 1; start(vid) while(vid.FramesAcquired<=50) data = getsnapshot(vid); diff_im = imsubtract(data(:,:,1), rgb2gray(data)); diff_im = medfilt2(diff_im, [3 3]); diff_im = im2bw(diff_im,0.17); diff_im = bwareaopen(diff_im,300); bw = bwlabel(diff_im, 8); %is not allocating memory to any frame% end imaqmem imaqmem('FrameMemoryLimit') ans =
1.0000e+009

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by