]> Creatis software - clitk.git/blobdiff - common/vvImageReader.txx
Open Dicom with imaging machine coordinate system (Identity matrix) by default
[clitk.git] / common / vvImageReader.txx
index a9f17ab6afe7c8d08aec0ffa2ba2613885304983..2eba11c81bc628f107d7f738c0a6d750fba7ef8f 100644 (file)
@@ -257,6 +257,9 @@ void vvImageReader::UpdateWithDimAndInputPixelType()
       }
     }
   }
+
+  if (mType == DICOM && !mPatientCoordinateSystem)
+    mImage->InitializeTransform();
 }
 //----------------------------------------------------------------------------