X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkAffineTransformGenericFilter.h;h=482114b0adfd4d9e342855a7817c20cbdf8e1076;hb=85d87a4260fedf7ce53875ebd8654787a2dd941c;hp=6cd2a91f17127ac6c3e3195440a319046100324c;hpb=2b5b3e906ee95519169e9b6d4bb2da9d2e00d8b3;p=clitk.git diff --git a/tools/clitkAffineTransformGenericFilter.h b/tools/clitkAffineTransformGenericFilter.h index 6cd2a91..482114b 100644 --- a/tools/clitkAffineTransformGenericFilter.h +++ b/tools/clitkAffineTransformGenericFilter.h @@ -73,7 +73,7 @@ namespace clitk //---------------------------------------- // Set & Get - //---------------------------------------- + //---------------------------------------- void SetArgsInfo(const args_info_type & a) { m_ArgsInfo=a; @@ -82,36 +82,34 @@ namespace clitk } - //---------------------------------------- + //---------------------------------------- // Update - //---------------------------------------- + //---------------------------------------- void Update(); + + //---------------------------------------- + // Compute bounding box + //---------------------------------------- + vnl_vector ComputeSize(vnl_vector inputSize, vnl_matrix transformationMatrix, bool returnMin); + protected: - //---------------------------------------- + //---------------------------------------- // Constructor & Destructor - //---------------------------------------- + //---------------------------------------- AffineTransformGenericFilter(); ~AffineTransformGenericFilter() {}; - //---------------------------------------- + //---------------------------------------- // Templated members - //---------------------------------------- + //---------------------------------------- template void UpdateWithDim(std::string PixelType, int Components); 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 //---------------------------------------- args_info_type m_ArgsInfo;