X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageReader.txx;h=fd1c5755c6670b805c6da83f650768d732f0fab2;hb=51ed8f6ccb58c734bda9edfc31a9f0f80c3cc797;hp=dde83af1172fe686fc82bea36d122ddc049e98d7;hpb=1e034c70105f0926939acaaa27ddb46e904ae8bf;p=clitk.git diff --git a/vv/vvImageReader.txx b/vv/vvImageReader.txx index dde83af..fd1c575 100644 --- a/vv/vvImageReader.txx +++ b/vv/vvImageReader.txx @@ -46,6 +46,8 @@ void vvImageReader::UpdateWithDim(std::string InputPixelType) UpdateWithDimAndInputPixelType(); else if (InputPixelType == "int") UpdateWithDimAndInputPixelType(); + else if (InputPixelType == "unsigned_int") + UpdateWithDimAndInputPixelType(); else if (InputPixelType == "double") UpdateWithDimAndInputPixelType(); else if (InputPixelType == "float") @@ -53,9 +55,10 @@ void vvImageReader::UpdateWithDim(std::string InputPixelType) else std::cerr << "Error, input pixel type : " << InputPixelType << " unknown !" << std::endl; - if (CLITK_EXPERIMENTAL) - if (mLastError.size()==0) - ReadNkiImageTransform(); + if (CLITK_EXPERIMENTAL && mLastError.size()==0) { + ReadNkiImageTransform(); + ReadMatImageTransform(); + } } //----------------------------------------------------------------------------