<commit_before>//-------------------------------------------
//
//  Example of the registration hierarchy
//
//-------------------------------------------


#include <itkPoint.h>
#include <vnl/vnl_vector.h>
#include <vnl/vnl_matrix.h>
#include <itkVectorContainer.h>
#include <itkRegistrationMethod.h>
#include <itkRegistrationTransformation.h>
#include <itkRegistrationMetric.h>
#include <itkRegistrationMapper.h>
#include <itkRegistrationOptimizer.h>


int main()
{

  typedef itk::Point<2,float>                    Point2DType;
  typedef itk::Point<3,float>                    Point3DType;

  typedef itk::VectorContainer< unsigned long, 
                                Point2DType    > TargetType;

  typedef itk::VectorContainer< unsigned long, 
                                Point3DType >    ReferenceType;

  typedef itk::VectorContainer< unsigned short, 
                                double >         ParameterType;

  typedef vnl_vector< double >                   MeasureType;
  typedef vnl_matrix< double >                   DerivativeType;
                                 
  typedef itk::RegistrationTransformation< ParameterType
                                            >     TransfromType;

   typedef itk::RegistrationMapper< ReferenceType,
                                    TransfromType
                                               >  MapperType;
 <commit_msg>ENH: Using now the RegistrationTransformationAffine class<commit_after>//-------------------------------------------
//
//  Example of the registration hierarchy
//
//-------------------------------------------


#include <itkPoint.h>
#include <vnl/vnl_vector.h>
#include <vnl/vnl_matrix.h>
#include <itkVectorContainer.h>
#include <itkRegistrationMethod.h>
#include <itkRegistrationTransformationAffine.h>
#include <itkRegistrationMetric.h>
#include <itkRegistrationMapper.h>
#include <itkRegistrationOptimizer.h>


int main()
{

  typedef itk::Point<2,float>                    Point2DType;
  typedef itk::Point<3,float>                    Point3DType;

  typedef itk::VectorContainer< unsigned long, 
                                Point2DType    > TargetType;

  typedef itk::VectorContainer< unsigned long, 
                                Point3DType >    ReferenceType;

  typedef itk::VectorContainer< unsigned short, 
                                double >         ParameterType;

  typedef vnl_vector< double >                   MeasureType;
  typedef vnl_matrix< double >                   DerivativeType;
                                 
  typedef itk::RegistrationTransformationAffine< 3
                                            >     TransfromType;

   typedef itk::RegistrationMapper< ReferenceType,
                                    TransfromType
                                               >  MapperType;
 
{'fraction_non_alphanumeric': 0.1326963906581741, 'fraction_numerical': 0.0046001415428167025, 'mean_word_length': 1.4668411867364748, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1787333', 'n_tokens_mistral': 706, 'n_tokens_neox': 658, 'n_words': 139}