X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkAffineTransformGenericFilter.h;h=6cd2a91f17127ac6c3e3195440a319046100324c;hb=5bea196497686f70796822951af654373cba9f97;hp=2be7ec6004721f22cafa3a56f0c83175239e140d;hpb=931a42358442f4ee4f314613c991c838d4b4e3b7;p=clitk.git diff --git a/tools/clitkAffineTransformGenericFilter.h b/tools/clitkAffineTransformGenericFilter.h index 2be7ec6..6cd2a91 100644 --- a/tools/clitkAffineTransformGenericFilter.h +++ b/tools/clitkAffineTransformGenericFilter.h @@ -1,3 +1,20 @@ +/*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv + + Authors belong to: + - University of LYON http://www.universite-lyon.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 + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the copyright notices for more information. + + It is distributed under dual licence + + - 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 @@ -86,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 //----------------------------------------