Mercurial > hg > orthanc
comparison Core/Images/ImageProcessing.h @ 3600:4066998150ef
/instances/{id}/preview route now takes the windowing into account
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 09 Jan 2020 18:54:40 +0100 |
parents | 2999a6e9456b |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3599:e01900f913e7 | 3600:4066998150ef |
---|---|
84 | 84 |
85 void ApplyWindowing(ImageAccessor& target, | 85 void ApplyWindowing(ImageAccessor& target, |
86 const ImageAccessor& source, | 86 const ImageAccessor& source, |
87 float windowCenter, | 87 float windowCenter, |
88 float windowWidth, | 88 float windowWidth, |
89 Orthanc::PhotometricInterpretation sourcePhotometricInterpretation); | 89 float rescaleSlope, |
90 float rescaleIntercept, | |
91 bool invert); | |
90 | 92 |
91 void Set(ImageAccessor& image, | 93 void Set(ImageAccessor& image, |
92 int64_t value); | 94 int64_t value); |
93 | 95 |
94 void Set(ImageAccessor& image, | 96 void Set(ImageAccessor& image, |