Mercurial > hg > orthanc-wsi
comparison Resources/Orthanc/Core/Images/ImageProcessing.h @ 116:a18bfe1fdd62
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 04 Jan 2018 10:49:34 +0100 |
parents | a3e8ac8b7256 |
children | 4f3945a2b725 |
comparison
equal
deleted
inserted
replaced
115:a51dee6a1515 | 116:a18bfe1fdd62 |
---|---|
1 /** | 1 /** |
2 * Orthanc - A Lightweight, RESTful DICOM Store | 2 * Orthanc - A Lightweight, RESTful DICOM Store |
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | 3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics |
4 * Department, University Hospital of Liege, Belgium | 4 * Department, University Hospital of Liege, Belgium |
5 * Copyright (C) 2017 Osimis, Belgium | 5 * Copyright (C) 2017-2018 Osimis S.A., Belgium |
6 * | 6 * |
7 * This program is free software: you can redistribute it and/or | 7 * This program is free software: you can redistribute it and/or |
8 * modify it under the terms of the GNU General Public License as | 8 * modify it under the terms of the GNU General Public License as |
9 * published by the Free Software Foundation, either version 3 of the | 9 * published by the Free Software Foundation, either version 3 of the |
10 * License, or (at your option) any later version. | 10 * License, or (at your option) any later version. |
58 uint8_t alpha); | 58 uint8_t alpha); |
59 | 59 |
60 static void ShiftRight(ImageAccessor& target, | 60 static void ShiftRight(ImageAccessor& target, |
61 unsigned int shift); | 61 unsigned int shift); |
62 | 62 |
63 static void GetMinMaxValue(int64_t& minValue, | 63 static void GetMinMaxIntegerValue(int64_t& minValue, |
64 int64_t& maxValue, | 64 int64_t& maxValue, |
65 const ImageAccessor& image); | 65 const ImageAccessor& image); |
66 | |
67 static void GetMinMaxFloatValue(float& minValue, | |
68 float& maxValue, | |
69 const ImageAccessor& image); | |
66 | 70 |
67 static void AddConstant(ImageAccessor& image, | 71 static void AddConstant(ImageAccessor& image, |
68 int64_t value); | 72 int64_t value); |
69 | 73 |
70 static void MultiplyConstant(ImageAccessor& image, | 74 static void MultiplyConstant(ImageAccessor& image, |