
0079 <span class="comment">%   % Do some processing on the video and display the results</span>
0080 <span class="comment">%   avgIntensity = [];</span>
0081 <span class="comment">%   i = 1;</span>
0082 <span class="comment">%   figure;</span>
0083 <span class="comment">%   while (next(vr))</span>
0084 <span class="comment">%     img = getframe(vr);</span>
0085 <span class="comment">%     avgIntensity(i) = mean(img(:));</span>
0086 <span class="comment">%     subplot(121); imshow(img);        title(