Algorithm 1 Sequence matching using feature CSLBP++GIST. |
Inputs: |
{training images}; {testing images }; |
{training and testing images numbers}; {Sequence length}; |
Outputs: |
D{distance matrix}; |
Algorithm: |
TRAINING PHASE
|
for
j← 1 to /
do
|
←Feature of training sequence. |
end for
|
TESTING PHASE
|
/∗ Sequence matching based on feature sequences; Section 3.2 ∗/ |
for
i← 1 to
do
|
←Feature of testing sequence. |
for
j← 1 to
do
|
; k is the index of the components of feature vector (See Equation (7)). |
end for
|
end for
|