From: Cryo-electron microscope image denoising based on the geodesic distance
Alg. 1: Similar block matching algorithm based on geodesic distance | |
Input: candidate block Sx, reference block set \( {\left\{{S}_n\right\}}_{n=1}^N \) Output: Sx ∈ Sn | |
Step1. According to the Geodesic distance formula, calculate the geodesic distance between A and B. Step2. Compare the value of dn(n = 1, 2……N), select the minimum value dn. Step3. Determine candidate block Sx which is similar to the reference block Sn Step4. Repeat steps 1–3 until all image blocks are completed. |