Research Article
Personalized Sports Video Customization Using Content and Context Analysis
Table 3
Sequence matching algorithm for video-text alignment.
| Output | Alignment sequence | Input | Video tag sequence and text tag sequence |
| Step | Forward computation | Step | Allocate a score matrix and a direction matrix . | | Both matrixes are with rows and columns. | Step | Fill all entries in and from the up left to bottom right corner. | | (i) For each , its value is calculated by (3), where and are computed by (4) and (5). | | (ii) For each , its value is the optimal matching direction indicated by in (3). |
| Step | Backward tracing | Step | Allocate an alignment sequence with elements. | Step | Fill the entries of in a reverse direction by tracing back along . | | (i) For each , its value is equal to , where corresponds to the coordinate of the backtracking step in . |
| Step | Result explanation | Step | Three possible values (directions) may appear in , which are | | (i) diagonal, corresponding to the “” alignment, | | (ii) downward, corresponding to the “” alignment, | | (iii) rightward, corresponding to the “” alignment. |
|
|