Skip to main content
. 2015 Aug 31;15(9):21898–21930. doi: 10.3390/s150921898
Algorithm 1: Motion Direction Estimation Using Modified Radon Transform with ρ range-based Summation
  1. Convert blurred image into gray-level image

  2. Performing Hann windowing to remove the boundary artifacts

  3. Transform the image in step 2 from spatial domain to frequency domain using Fourier transform to obtain the image in frequency domain F(u,v)

  4. Compute the log of the power spectrum of F(u,v) in step 3 and remove the very high frequency components, as shown in Figure 7b

  5. Compute ρ range-based summation using Equation (10)

  6. Find the largest value (peak value), as shown in C of Equation (11), and indicate the direction of the dominant parallel line