Teknomo–Fernandez algorithm: Difference between revisions

Content deleted Content added
No edit summary
Line 23:
===Equations===
# For three frames of image sequence <math>x_1</math>, <math>x_2</math>, and <math>x_3</math>, the background image <math>B</math> is obtained using <math>B = x_3(x_1\oplus x_2)+x_1x_2 </math><ref name="TF" />
#The Boolean mode function <math>S</math> of the table occurs when the number of 1 entries is larger than half of the number of images such that <math>S=\begin{cases} 1, & \text{if } \sum_{i=1}^n x_i\ge\left \lceil \frac n
2 + 1 \right\rceil,n\ge 3 \\
\text{if }\sum_{i=1}^{n}x_i\ge\left \lceil \frac{n}{2}+1\right\rceil,n\ge 3 \\0, &\text{if otherwise}\end{cases}</math><ref name="TF" />
0, &\text{otherwise} \end{cases}</math><ref name="TF" />
# For three images, the background image <math>B</math> can be taken as the value <math>\bar{x_1}x_2x_3+x_1\bar{x_2}x_3+x_1x_2\bar{x_3}+x_1x_2x_3</math> <ref name="TF" />