Skip to main content
. Author manuscript; available in PMC: 2014 Dec 30.
Published in final edited form as: Conf Comput Vis Pattern Recognit Workshops. 2014 Jun;2014:3081–3088. doi: 10.1109/CVPR.2014.394

Algorithm 1.

CSC Algorithm

Input: Training set X={xi}i=1N, K, α
Output: Convolutional filter bank D={dk}k=1K
 1: Initialize: Dgraphic file with name nihms605847t1.jpg (0, 1), Z0
 2: Repeat
 3: for i = 1 to N do
 4:   Normalize each kernel in D to unit energy
 5:   Fixing D, compute sparse feature maps Zi by solving
ZiargminzkiZixi-k=1KdkzkiF2+αk=1Kzki1
 6:   Fixing Z, update D as
  DDμD graphic file with name nihms605847t2.jpg (D, Z)
 7: end for
 8: until Convergence (maximum iterations reached or objective function ≤ threshold)