Research Article

GPU-Based Block-Wise Nonlocal Means Denoising for 3D Ultrasound Images

Algorithm 1

For each similar window within the searching window, except the fiducial window
  For each voxel of the similar window
   Calculate the distance for similarity;
End for
Calculate the similarity weight;
Cumulate the weight and weighted gray-scales, save the maximal similarity weight;
End for
Cumulate the weight and weighted gray-scales on fiducial patch of search window;
Normalize the cumulative sum of the weighted gray-scales, and obtain the new gray-scale;