X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImageReader.h;h=6f3dbc3d0f3e4573f3fe6886f862c4e278dcf78a;hb=49a4b154c9a2af76b0f9143b4fabde0a4da6e798;hp=2f1de53537794d937e16c4770ff8828eeddeddd5;hpb=9abaa6b134ff9d8d87ec6752faa1152cc8869c07;p=clitk.git diff --git a/common/vvImageReader.h b/common/vvImageReader.h index 2f1de53..6f3dbc3 100644 --- a/common/vvImageReader.h +++ b/common/vvImageReader.h @@ -36,6 +36,8 @@ public: MERGEDWITHTIME, VECTORFIELD, VECTORFIELDWITHTIME, + VECTORPIXELIMAGE, + VECTORPIXELIMAGEWITHTIME, UNDEFINEDIMAGETYPE } LoadedImageType; @@ -57,6 +59,7 @@ public: } void SetSlice(unsigned int i) { mSlice = i; } + void SetPatientCoordinateSystem(bool patientCoordinateSystem); //==================================================================== // Main function @@ -85,12 +88,15 @@ protected: //==================================================================== template void UpdateWithDimAndInputPixelType(); + template + void UpdateWithDimAndInputVectorPixelType(); ///Input dimension and pixel type int mDim; + bool mPatientCoordinateSystem; std::string mInputPixelType; //==================================================================== - void ReadNkiImageTransform(); +// void ReadNkiImageTransform(); void ReadMatImageTransform(); private: vvImageReader();