Skip to main content
. 2021 Aug 1;11(8):1395. doi: 10.3390/diagnostics11081395
Algorithm 4:
Require: 1 × 9 VRF signal array, x[19].
  1. Select the center value c from the set of neighboring points.

  2. For each sample point, calculate the gradient value as x[i]=|x[i]c| for i=0,1,2,,n.

  3. Compare the continuous neighboring gradient point along with the center value c. If the adjacent point x[i] is greater than or equal to x[i+1] the value of 1 is set, otherwise 0 will be assigned.

  4. In the transformation step, the binary value is converted into decimal code.

  5. Compute the LNGP code.