X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkAffineTransformGenericFilter.h;h=6cd2a91f17127ac6c3e3195440a319046100324c;hb=004bcd39f231a113951c678008140722b0b28152;hp=ebb17b5df675eed4b1c3d0b6d447d2b73f3309b0;hpb=0b7c9b1e1215634b02cbd38d4e4ba101d6111ba8;p=clitk.git diff --git a/tools/clitkAffineTransformGenericFilter.h b/tools/clitkAffineTransformGenericFilter.h index ebb17b5..6cd2a91 100644 --- a/tools/clitkAffineTransformGenericFilter.h +++ b/tools/clitkAffineTransformGenericFilter.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef clitkAffineTransformGenericFilter_h #define clitkAffineTransformGenericFilter_h @@ -103,6 +103,14 @@ namespace clitk template void UpdateWithDimAndPixelType(); template void UpdateWithDimAndVectorType(); + template + typename itk::Matrix + createMatrixFromElastixFile(std::vector & filename); + + bool GetElastixValueFromTag(std::ifstream & is, std::string tag, std::string & value); + void GetValuesFromValue(const std::string & s, + std::vector & values); + //---------------------------------------- // Data members //----------------------------------------