(<span class="string">'Beginning tracking...'</span>)
0103 tic
0104 
0105 <span class="keyword">for</span> frame = StartFrame:EndFrame
0106         disp(num2str(frame))
0107         img = getframe(video);
0108         img = mask.*double(img(:,:,1));   <span class="comment">%just take first color matrix</span>
0109         
0110         <span class="comment">%make sure our fly will be a bright spot</span>
0111         <span class="keyword">if</span> (strcmp(opt1,<span class="string">'neg'</span>) == 1)   
01