X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageReader.txx;h=b6539b8bf37b7c850983134d443cfe4eef628393;hb=fe61abeb6e452e5f54bef60a287aa104e4e02d70;hp=cfa389a7154e5cf803469d6b9da39030536b3949;hpb=b6cfdecc2f880a7015d8f5a73174a0361cfe7924;p=clitk.git diff --git a/vv/vvImageReader.txx b/vv/vvImageReader.txx index cfa389a..b6539b8 100644 --- a/vv/vvImageReader.txx +++ b/vv/vvImageReader.txx @@ -22,8 +22,11 @@ #include #include #include +#include + +#include + #include "clitkCommon.h" -#include "itkImageToVTKImageFilter.h" #include "vvFromITK.h" #include "vvConstants.h" @@ -48,6 +51,10 @@ void vvImageReader::UpdateWithDim(std::string InputPixelType) { UpdateWithDimAndInputPixelType(); else std::cerr << "Error, input pixel type : " << InputPixelType << " unknown !" << std::endl; + + if (CLITK_EXPERIMENTAL) + if (mLastError.size()==0) + ReadNkiImageTransform(); } //----------------------------------------------------------------------------