ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, VMX(Altivec) and VSX(Power7) for PowerPC, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.01k stars 407 forks source link

Difference between EdgeBackground*() and Background*() #271

Closed edward9112 closed 2 months ago

edward9112 commented 2 months ago

Hello,

I am reviewing the list of changes between releases 5 and 6 and I see the removal of EdgeBackground() functions. What is the difference between those two (EdgeBackground() and Background*())?

Thanks, Ed

ermig1979 commented 2 months ago

The background model used in Background class uses two bounds of background: lower and upper for every features (grayscale, gradients). The motion must go beyond this bounds to be detected. Unlike this EdgeBacground used only one (upper bound). This method had poorer quality to compare to the first and it was nowhere used last ten years.

edward9112 commented 2 months ago

Awesome! Thanks mate!