diff Core/Images/ImageProcessing.h @ 3682:5f64c866108a

merging implementations of ImageProcessing::ShiftScale() and ApplyWindowing()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 24 Feb 2020 16:26:59 +0100
parents 94f4a18a79cc
children 12253ddefe5a
line wrap: on
line diff
--- a/Core/Images/ImageProcessing.h	Thu Feb 20 20:09:24 2020 +0100
+++ b/Core/Images/ImageProcessing.h	Mon Feb 24 16:26:59 2020 +0100
@@ -127,7 +127,7 @@
                           float factor,
                           bool useRound);
 
-    // "useRound" is expensive
+    // Computes "(x + offset) * scaling" inplace. "useRound" is expensive.
     void ShiftScale(ImageAccessor& image,
                     float offset,
                     float scaling,