Skip to main content
. 2021 Aug 1;11(8):1395. doi: 10.3390/diagnostics11081395
Algorithm 1:
Require: 1 × 9 VRF signal array, x[1…9].
  1. For a given signal, compute the centre point (c) with an adjacent point.

  2. For each sample point, calculate the gradient value as

  3. x[i]=|x[i]−c| for i=0,1,2,…,n.

  4. Compare the gradient values, if x[i] ≥ c, when the value of 1 is set, if not 0 will be assigned.

  5. Obtained binary code is converted into decimal representation.