Research Article

Region-Based Segmentation and Wiener Pilot-Based Novel Amoeba Denoising Scheme for CT Imaging

On the first pass:
1. Raster scan the sliding window (iteratively scan pixels by one row at a time)
2. If the pixel is not the background (i.e., 0)
 i. Get the neighboring pixels of the current pixel
 ii. If there are no neighbors, uniquely label the current pixel and continue
3. Otherwise, label the current pixel with the smallest neighbor label
4. Store the equivalence between neighboring labels (if neighbors have different labels)
On the second pass:
5. Raster scan the sliding window (iteratively scan pixels by one row at a time)
6. If the pixel is not the background (0)
 i. Relabel the pixel with the lowest equivalent label
Pseudocode 1: