Skip to main content
. 2025 Jun 30;27(7):709. doi: 10.3390/e27070709
Algorithm 1 Classification algorithm
Input:
As: smooth compressed dictionary.
yi: measurement value of image xi
Ks: the number of iterations of the algorithm.
Initialization:
ωi0=yi,A~i0= ,Λi0=
while tKs do
c1~it=argmaxc1=1,,C1ωit1,asc1;
Λit=Λit1c1~it; A~it=A~it1,asc1~it;
α~it=A~itT·A~it1·A~itT·yi;
ωit=yiA~it·α~it;t=t+1
end
ei=ωit22
Output:
ei: the residual energy of the i-th block’s image