Mercurial > hg > orthanc
comparison Core/Enumerations.h @ 1209:25260fe03dd6 db-changes
integration mainline->db-changes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 03 Nov 2014 17:11:50 +0100 |
parents | f5b0207967bc |
children | db753e57934f |
comparison
equal
deleted
inserted
replaced
1203:e85e668d2147 | 1209:25260fe03dd6 |
---|---|
252 //Encoding_JapaneseSupplementaryKanji, // Multibyte - JIS X 0212: Supplementary Kanji set | 252 //Encoding_JapaneseSupplementaryKanji, // Multibyte - JIS X 0212: Supplementary Kanji set |
253 //Encoding_Korean, // Multibyte - KS X 1001: Hangul and Hanja | 253 //Encoding_Korean, // Multibyte - KS X 1001: Hangul and Hanja |
254 }; | 254 }; |
255 | 255 |
256 | 256 |
257 // https://www.dabsoft.ch/dicom/3/C.7.6.3.1.2/ | |
258 enum PhotometricInterpretation | |
259 { | |
260 PhotometricInterpretation_ARGB, // Retired | |
261 PhotometricInterpretation_CMYK, // Retired | |
262 PhotometricInterpretation_HSV, // Retired | |
263 PhotometricInterpretation_Monochrome1, | |
264 PhotometricInterpretation_Monochrome2, | |
265 PhotometricInterpretation_Palette, | |
266 PhotometricInterpretation_RGB, | |
267 PhotometricInterpretation_YBRFull, | |
268 PhotometricInterpretation_YBRFull422, | |
269 PhotometricInterpretation_YBRPartial420, | |
270 PhotometricInterpretation_YBRPartial422, | |
271 PhotometricInterpretation_YBR_ICT, | |
272 PhotometricInterpretation_YBR_RCT, | |
273 PhotometricInterpretation_Unknown | |
274 }; | |
275 | |
276 | |
257 /** | 277 /** |
258 * WARNING: Do not change the explicit values in the enumerations | 278 * WARNING: Do not change the explicit values in the enumerations |
259 * below this point. This would result in incompatible databases | 279 * below this point. This would result in incompatible databases |
260 * between versions of Orthanc! | 280 * between versions of Orthanc! |
261 **/ | 281 **/ |
296 | 316 |
297 const char* EnumerationToString(ImageFormat format); | 317 const char* EnumerationToString(ImageFormat format); |
298 | 318 |
299 const char* EnumerationToString(Encoding encoding); | 319 const char* EnumerationToString(Encoding encoding); |
300 | 320 |
321 const char* EnumerationToString(PhotometricInterpretation photometric); | |
322 | |
301 Encoding StringToEncoding(const char* encoding); | 323 Encoding StringToEncoding(const char* encoding); |
302 | 324 |
303 ResourceType StringToResourceType(const char* type); | 325 ResourceType StringToResourceType(const char* type); |
304 | 326 |
305 ImageFormat StringToImageFormat(const char* format); | 327 ImageFormat StringToImageFormat(const char* format); |