| Algorithm 2: |
Require: 1 × 9 VRF signal array, .
Set center value in the region as , with the number of adjacent points .
Evaluate the threshold value by implementing (3), and consider it the new comparison constant, since further comparisons are performed between the threshold value and the difference between the magnitude and value of .
Compute the absolute difference, the gradient , between and , where .
Compare the gradient and the threshold value, and, if the result is true, represent by 1, if not indicate as 0.
The resultant binary code is converted into a decimal code.
|