| Home Introduction User's Guide Download

| ForFrame: |  |

| NAME forframe ¨C insert a new frame to the frame list and choose the previous frame from the frame list. SYNOPSIS frame = forframe(new_frame , interval) PARAMETERS
new_frame¡¡Supposed to be M¡ÁN¡Á3 matrix from the video stream.
interval¡¡ The interval of the frames for the choosing the forward frame.
frame The¡¡forward frame from the frame list.

DISCRIPTION
Function forframe inserts a new frame to the frame list and chooses the previous frame from the frame list which is declared as a global variable. Then after the execution of this function new_frame will be inserted into the frame list. And the forward frame will be returned according to interval. Furthermore, if the number of elements of the frame list is less than ¡®interval', then the new_frame would be returned. Otherwise, if the number of elements of the frame list is equal to ¡®interval', then the ¡®oldest' one in the frame list would be deleted. So it's to say, the frame list keeps the ¡®interval' number of elements generally.

This function is always needed for dynamic analysis and processing.

back

Entry
Home Introduction User's Guide
Function Reference
SIP Functions New Image Func Video Functions
Developer's Guide
Graphical Display Video Processing Modified Functions GUI
Demo
Image Processing Video Processing
Support
Future Work Known Bugs FAQ Acknowledgement About Us

|  |  | About Us | Contact Us | Our University Copyright © 2004-2005 Scilab group of Xiamen University, China |  |