sacafot

PURPOSE ^

SACAFOT extract the frames in the positions 'v' from 'SEC'

SYNOPSIS ^

function fotogramas=sacafot(sec,fil,col,N)

DESCRIPTION ^

 SACAFOT extract the frames in the positions 'v' from 'SEC'
 frames are of size m*n
 USE: fotog=sacafot(SEC,m,n,v);

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % SACAFOT extract the frames in the positions 'v' from 'SEC'
0002 % frames are of size m*n
0003 % USE: fotog=sacafot(SEC,m,n,v);
0004 
0005 function fotogramas=sacafot(sec,fil,col,N)
0006 
0007 s=size(sec);
0008 fotogramas=zeros(fil,length(N)*col);
0009 for fot=1:length(N)
0010     nfot=N(fot);
0011     fotogramas(:,col*(fot-1)+1:col*fot)=sec(:,col*(nfot-1)+1:col*nfot);
0012 end
0013

Generated on Fri 07-Mar-2014 13:29:20 by m2html © 2005