30.12.2014 Views

Elsevier Editorial System(tm) for Information Sciences Manuscript ...

Elsevier Editorial System(tm) for Information Sciences Manuscript ...

Elsevier Editorial System(tm) for Information Sciences Manuscript ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.6. Algorithm Summary<br />

The following pseudo codes give further clarification of the specific implementation<br />

of the proposed algorithm <strong>for</strong> an input noisy image:<br />

Algorithm 1 Pseudocode of the Proposed Algorithm<br />

Input: Y M×N , P,L and L s .<br />

Output: Ŝ f<br />

<strong>for</strong> each x = 1 to M ×N do<br />

/∗Convert the pixel-based image to the patch-based image ∗/<br />

H(x,1 : P) ← Y<br />

(<br />

m+1 : √ P,n+1 : √ P<br />

end <strong>for</strong><br />

/∗The SVD-based low-rank approximation using parallel analysis ∗/<br />

Ŝ t = zeros(M ×N,P); W t = zeros(M ×N,P);<br />

<strong>for</strong> each x = 1 to M ×N do<br />

Ψ x ← L; Y x = H(x,:); Y Ψx = H(Ψ x ,:);<br />

Ψ s x = BlockMatching(Y x,Y Ψx ,L s );<br />

Zx υ = H(Ψs x ,:); M x = mean(Zx υ);<br />

¯Z x υ = Zυ x −M x; (¯Zυ )T<br />

x<br />

¯Zυ x = VΣ 2 V T ; C T C = VΛ 2 V T ;<br />

λ = diag(Σ); α = diag(Λ);<br />

K = max{p = 1,··· ,P|λ p ≥ α p }; /∗Parallel analysis ∗/<br />

Ẑ x = U K Σ K VK T +M x;<br />

Ŝ t (Ψ s x ,:) = Ŝt (Ψ s x ,:)+W xẐx;<br />

W t (Ψ s x ,:) = Wt (Ψ s x ,:)+W x;<br />

end <strong>for</strong><br />

I = zeros<br />

(<br />

M + √ P −1,N + √ P −1<br />

)<br />

;<br />

)<br />

; Q = I;<br />

/∗The weighted averaging of the aggregate estimates of each pixel ∗/<br />

<strong>for</strong> each a,b = 1 to √ P do<br />

id = (b−1)× √ P +a;<br />

Π a = a : M +a−1; Π b = b : N +b−1; )<br />

I(Π a ,Π b ) = I (Π a ,Π b )+reshape(Ŝt (:,id),[M,N] ;<br />

Q(Π a ,Π b ) = Q(Π a ,Π b )+reshape(W t (:,id),[M,N]);<br />

end <strong>for</strong><br />

Ŝ t = I/Q; )<br />

Ŝ f = WienerFiltering(Ŝt ; /∗The empirical Wiener filtering ∗/<br />

14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!