comparison Framework/Toolbox/DicomInstanceParameters.cpp @ 1207:17a92c39c633 broker

integration mainline->broker
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Dec 2019 12:29:06 +0100
parents 19b1c8caade4 c93a6218f0cd
children 0ca50d275b9a
comparison
equal deleted inserted replaced
1205:6009c59d8676 1207:17a92c39c633
418 if (data_.hasDefaultWindowing_) 418 if (data_.hasDefaultWindowing_)
419 { 419 {
420 texture->SetCustomWindowing(data_.defaultWindowingCenter_, 420 texture->SetCustomWindowing(data_.defaultWindowingCenter_,
421 data_.defaultWindowingWidth_); 421 data_.defaultWindowingWidth_);
422 } 422 }
423 423
424
425 if (data_.imageInformation_.GetPhotometricInterpretation()
426 == Orthanc::PhotometricInterpretation_Monochrome1)
427 {
428 texture->SetInverted(true);
429 }
430 else if (data_.imageInformation_.GetPhotometricInterpretation()
431 == Orthanc::PhotometricInterpretation_Monochrome2)
432 {
433 texture->SetInverted(false);
434 }
435
424 return texture.release(); 436 return texture.release();
425 } 437 }
426 } 438 }
427 439
428 440