seqDiff  
Top  Previous  Next

seqDiff( integer Sequence, integer Output )

Use this function to convert a sequence into a new sequence, each frame of which represents a difference between the frames in an input sequence. Frame 0 in the output sequence reflects the difference between frames 1 and 0 in the input sequence, frame 1 the difference between frames 2 and 1, and so on. As a result, the output sequence contains one less frame than the input one.

Parameters
 
Sequence  
 
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.  
 
Error flags

ERR_OK  
 
The flag set if successful.  
 
ERR_FAILED  
 
The flag set if failed.  
 
Example

This set of statements grabs a sequence from the video device and creates a differential sequence.  
 
grabSeq(1,8,100)  
seqDiff (1,2)