Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Images/ImageProcessing.h @ 4081:259c33759937 framework
integration mainline->framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 22 Jun 2020 19:04:45 +0200 |
parents | Core/Images/ImageProcessing.h@73c22208272f Core/Images/ImageProcessing.h@d6362b2c4b61 |
children | 26efd0404d97 |
comparison
equal
deleted
inserted
replaced
4078:c5c41f66ec29 | 4081:259c33759937 |
---|---|
143 const ImageAccessor& source, | 143 const ImageAccessor& source, |
144 float offset, | 144 float offset, |
145 float scaling, | 145 float scaling, |
146 bool useRound); | 146 bool useRound); |
147 | 147 |
148 // Computes "x * scaling + offset" inplace. "useRound" is expensive. | |
149 static void ShiftScale2(ImageAccessor& image, | |
150 float offset, | |
151 float scaling, | |
152 bool useRound); | |
153 | |
154 static void ShiftScale2(ImageAccessor& target, | |
155 const ImageAccessor& source, | |
156 float offset, | |
157 float scaling, | |
158 bool useRound); | |
159 | |
148 static void Invert(ImageAccessor& image); | 160 static void Invert(ImageAccessor& image); |
149 | 161 |
150 static void Invert(ImageAccessor& image, int64_t maxValue); | 162 static void Invert(ImageAccessor& image, int64_t maxValue); |
151 | 163 |
152 static void DrawLineSegment(ImageAccessor& image, | 164 static void DrawLineSegment(ImageAccessor& image, |