Mercurial > hg > orthanc-wsi
comparison Resources/Orthanc/Core/Images/ImageAccessor.cpp @ 116:a18bfe1fdd62
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 04 Jan 2018 10:49:34 +0100 |
parents | ff0ef01c332c |
children |
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. |
216 | 216 |
217 case PixelFormat_Grayscale16: | 217 case PixelFormat_Grayscale16: |
218 ToMatlabStringInternal<uint16_t>(buffer, *this); | 218 ToMatlabStringInternal<uint16_t>(buffer, *this); |
219 break; | 219 break; |
220 | 220 |
221 case PixelFormat_Grayscale32: | |
222 ToMatlabStringInternal<uint32_t>(buffer, *this); | |
223 break; | |
224 | |
221 case PixelFormat_SignedGrayscale16: | 225 case PixelFormat_SignedGrayscale16: |
222 ToMatlabStringInternal<int16_t>(buffer, *this); | 226 ToMatlabStringInternal<int16_t>(buffer, *this); |
223 break; | 227 break; |
224 | 228 |
225 case PixelFormat_Float32: | 229 case PixelFormat_Float32: |