[bootlin/training-materials updates] master: graphics: theory: Scaling factor should be a divisor (e6333c11)

Paul Kocialkowski paul.kocialkowski at bootlin.com
Fri Oct 14 22:52:08 CEST 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/e6333c11c03c1d7a0cefed72590a41b9568f355c

>---------------------------------------------------------------

commit e6333c11c03c1d7a0cefed72590a41b9568f355c
Author: Paul Kocialkowski <paul.kocialkowski at bootlin.com>
Date:   Fri Oct 14 22:51:02 2022 +0200

    graphics: theory: Scaling factor should be a divisor
    
    Signed-off-by: Paul Kocialkowski <paul.kocialkowski at bootlin.com>


>---------------------------------------------------------------

e6333c11c03c1d7a0cefed72590a41b9568f355c
 slides/graphics-theory/graphics-theory.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slides/graphics-theory/graphics-theory.tex b/slides/graphics-theory/graphics-theory.tex
index f3e963e3..c2788e64 100644
--- a/slides/graphics-theory/graphics-theory.tex
+++ b/slides/graphics-theory/graphics-theory.tex
@@ -787,7 +787,7 @@ C_o = \frac{C_a \alpha_a + C_b \alpha_b \left(1 - \alpha_a\right)}{\alpha_a + \a
     \begin{itemize}
     \item nearest-neighbor: uses the nearest pixel value from the source
 \[
-x_{source} = x_{destination} \times scale
+x_{source} = x_{destination} \div scale
 \]
   \item bilinear interpolation: sub-pixel linear weighting of neighbor colors
   \item bicubic interpolation: smooth spline sub-pixel fitting with neighbor colors




More information about the training-materials-updates mailing list