|
Algorithm 1 Multiscale Appearance Dictionary Learning |
|
|
Require: appearance vector samples
and
, k = 1,…, S, initial dictionaries
, and sparsity factor T. |
|
,
. |
| for
z = 1,…,J
do
k = S if z%S = 0; k = z%S, otherwise. |
| Resampling: Draw sample sets
from
and
from
based on distributions
and
. |
| Dictionary Update: Apply the K-SVD to learn
from
and
:
|
| Sparse Coding:
, solve for the sparse representations with respect to
and
using the OMP, and get residues
and
. |
| Classification: Make a hypothesis
. Calculate the error of
. Set βz = ∈z/(1 − ∈z). |
| Weight Update:
|
| end for dictionary pairs
, weighting parameters βz, z = 1,…,J. |