X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImageReader.txx;h=2eba11c81bc628f107d7f738c0a6d750fba7ef8f;hb=f2abd66846f46f61e6f16e339da46515525826b1;hp=a9f17ab6afe7c8d08aec0ffa2ba2613885304983;hpb=1865f86b7420682f57e160c911cfebabbfaa8375;p=clitk.git diff --git a/common/vvImageReader.txx b/common/vvImageReader.txx index a9f17ab..2eba11c 100644 --- a/common/vvImageReader.txx +++ b/common/vvImageReader.txx @@ -257,6 +257,9 @@ void vvImageReader::UpdateWithDimAndInputPixelType() } } } + + if (mType == DICOM && !mPatientCoordinateSystem) + mImage->InitializeTransform(); } //----------------------------------------------------------------------------