From cbc784a72a71f6916ec9cc4bb952994bda28dc41 Mon Sep 17 00:00:00 2001 From: Davis King Date: Tue, 11 Dec 2012 19:33:44 -0500 Subject: [PATCH] fixed typo in a comment --- dlib/pixel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/pixel.h b/dlib/pixel.h index d7d70af82..ec7063f68 100644 --- a/dlib/pixel.h +++ b/dlib/pixel.h @@ -801,7 +801,7 @@ namespace dlib else { // perform this assignment using fixed point arithmetic: - // dest = src*(alpha/255) + src*(1 - alpha/255); + // dest = src*(alpha/255) + dest*(1 - alpha/255); // dest = src*(alpha/255) + dest*1 - dest*(alpha/255); // dest = dest*1 + src*(alpha/255) - dest*(alpha/255); // dest = dest*1 + (src - dest)*(alpha/255);