X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=common%2FvvImageReader.txx;h=2eba11c81bc628f107d7f738c0a6d750fba7ef8f;hb=768d2a323265bc8f800fadea925ab9f3a0f8cf24;hp=a9f17ab6afe7c8d08aec0ffa2ba2613885304983;hpb=38df4d1b1ea8396c225e35131eb212e02377ea45;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(); } //----------------------------------------------------------------------------