comparison 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
comparison
equal deleted inserted replaced
3680:453c0ece560a 3682:5f64c866108a
125 // "useRound" is expensive 125 // "useRound" is expensive
126 void MultiplyConstant(ImageAccessor& image, 126 void MultiplyConstant(ImageAccessor& image,
127 float factor, 127 float factor,
128 bool useRound); 128 bool useRound);
129 129
130 // "useRound" is expensive 130 // Computes "(x + offset) * scaling" inplace. "useRound" is expensive.
131 void ShiftScale(ImageAccessor& image, 131 void ShiftScale(ImageAccessor& image,
132 float offset, 132 float offset,
133 float scaling, 133 float scaling,
134 bool useRound); 134 bool useRound);
135 135