Skip to main content
. 2021 Dec 12;21(24):8308. doi: 10.3390/s21248308
Algorithm 1. Edge Point Detection
DetectEdgePoints(IBB, D, E, dthr):
DEØ
N← list of relative neighbor addresses for 8-pixel neighborhood
fori in IBB
  idx ← IBB[i]
  d ← D[idx]
  for n in N
    dn ← D[idx + n]
    if |d − dn| > dthr
      DE ← add idx to list
      break for
E ←E + DE