seqExtract
Top  Previous  Next

seqExctract ( integer Input, integer Output, integer Start [, integer Count =1 ] )

Use this function to extract an image or sub-sequence from a sequence.

Parameters
 
Input  
 
An integer between 1 and 116 specifying the number of the sequence. Values in the range of 100-116 correspond to hidden sequences.  
 
Output  
An integer between 1 and 116 specifying the number of the image or sequence to be extracted. Values in the range of 100-116 correspond to hidden images.  
 
Start  
 
An integer specifying the starting index of the frame in the sequence that should be extracted as the output image or the first frame of the output sequence.  
 
Count  
 
An optional positive integer specifying the number of the frames to be extracted. If this parameter is 1, an image will be created as the result of the operation instead of a sequence.  
 
Error flags

ERR_OK  
 
The flag set if successful.  
 
ERR_FAILED  
 
The flag set if failed.  
 
ERR_BADFORMAT  
 
The image's format differs from the sequence's format.  
 
Example

This set of statements grabs a sequence from the video device and extracts a sub-sequence out of it:  
 
grabSeq(1,16,100)  
seqExtract (1,2,8,7)