Skip to main content
. 2019 Dec 31;20(1):235. doi: 10.3390/s20010235
Algorithm 1 Event Detection
DetectionResult ←false
Obtain the size nm of model Mk
Diff←T*[Mk 1nm]T−Dk,cT           //Difference between model and corresponding scene
ETF←0
for all indices i in Diff do
 ETF← ETF+sqrt(Diff(1, i)2+Diff(2, i)2)//Accumulated matching error calculation
end for
If (nm<nmin | ETF>ETF0) then
 DetectionResult ← true
end if