3 #include <itkAffineTransform.h> 13 template <
class TInput,
class TScalarType,
unsigned int NDimensions>
15 typename itk::AffineTransform<TScalarType,NDimensions>::Pointer &resultTransform);
17 template <
class TInput,
class TScalarType,
unsigned int NDimensions>
19 std::vector < itk::Point<TInput,NDimensions> > &inputTransformed,
20 std::vector <TInput> &weights,
21 typename itk::AffineTransform<TScalarType,NDimensions>::Pointer &resultTransform);
23 template <
class TInput,
class TScalarType,
unsigned int NDimensions>
25 std::vector < itk::Point<TInput,NDimensions> > &inputTransformed,
26 std::vector <TInput> &weights,
27 typename itk::AffineTransform<TScalarType,NDimensions>::Pointer &resultTransform);
29 template <
class TInput,
class TScalarType,
unsigned int NDimensions>
31 std::vector < itk::Point<TInput, NDimensions> > &inputTransformed,
32 std::vector <TInput> &weights,
33 typename itk::AffineTransform<TScalarType, NDimensions>::Pointer &resultTransform,
34 vnl_matrix <double> &UMatrix);
36 template <
class TInput,
class TScalarType,
unsigned int NDimensions>
38 std::vector < itk::Point<TInput,NDimensions> > &inputTransformed,
39 std::vector <TInput> &weights,
40 typename itk::AffineTransform<TScalarType,NDimensions>::Pointer &resultTransform);
45 template <
class TInput,
class TOutput,
unsigned int NDimensions>
46 void pairingToQuaternion(
const vnl_vector_fixed <TInput,NDimensions> &inputPoint,
const vnl_vector_fixed <TInput,NDimensions> &inputTransformedPoint,
47 vnl_matrix <TOutput> &outputMatrix);
49 template <
class TInput,
class TOutput,
unsigned int NDimensions>
50 void pairingToQuaternion(
const itk::Vector <TInput,NDimensions> &inputPoint,
const itk::Vector <TInput,NDimensions> &inputTransformedPoint,
51 vnl_matrix <TOutput> &outputMatrix);
53 template <
class Po
intType,
class TOutput>
54 void pairingToQuaternion(
const PointType &inputPoint,
const PointType &inputTransformedPoint, vnl_matrix <TOutput> &outputMatrix,
unsigned int ndim);
56 template <
class TInput,
class TOutput,
unsigned int NDimensions>
58 vnl_matrix <TOutput> &outputMatrix,
const int &dimScal);
60 template <
class TInput,
class TOutput,
unsigned int NDimensions>
62 vnl_matrix <TOutput> &outputMatrix,
const int &dimScal);
64 template <
class Po
intType,
class TOutput>
65 void pairingToQuaternionScalingsDerivative(
const PointType &inputPoint,
const PointType &inputTransformedPoint, vnl_matrix <TOutput> &outputMatrix,
unsigned int ndim,
const int &dimScal);
void pairingToQuaternionScalingsDerivative(const vnl_vector_fixed< TInput, NDimensions > &inputPoint, const vnl_vector_fixed< TInput, NDimensions > &inputTransformedPoint, vnl_matrix< TOutput > &outputMatrix, const int &dimScal)
itk::Point< TInput, NDimensions > computeAffineLSWFromTranslations(std::vector< itk::Point< TInput, NDimensions > > &inputOrigins, std::vector< itk::Point< TInput, NDimensions > > &inputTransformed, std::vector< TInput > &weights, typename itk::AffineTransform< TScalarType, NDimensions >::Pointer &resultTransform)
void computeLogEuclideanAverage(std::vector< vnl_matrix< TInput > > &inputTransforms, std::vector< TInput > &weights, typename itk::AffineTransform< TScalarType, NDimensions >::Pointer &resultTransform)
void computeTranslationLSWFromTranslations(std::vector< itk::Point< TInput, NDimensions > > &inputOrigins, std::vector< itk::Point< TInput, NDimensions > > &inputTransformed, std::vector< TInput > &weights, typename itk::AffineTransform< TScalarType, NDimensions >::Pointer &resultTransform)
void pairingToQuaternion(const vnl_vector_fixed< TInput, NDimensions > &inputPoint, const vnl_vector_fixed< TInput, NDimensions > &inputTransformedPoint, vnl_matrix< TOutput > &outputMatrix)
void computeRigidLSWFromTranslations(std::vector< itk::Point< TInput, NDimensions > > &inputOrigins, std::vector< itk::Point< TInput, NDimensions > > &inputTransformed, std::vector< TInput > &weights, typename itk::AffineTransform< TScalarType, NDimensions >::Pointer &resultTransform)
vnl_matrix< TOutput > computeRotationFromQuaternion(vnl_vector< TInput > eigenVector)
itk::Point< TInput, NDimensions > computeAnisotropSimLSWFromTranslations(std::vector< itk::Point< TInput, NDimensions > > &inputOrigins, std::vector< itk::Point< TInput, NDimensions > > &inputTransformed, std::vector< TInput > &weights, typename itk::AffineTransform< TScalarType, NDimensions >::Pointer &resultTransform, vnl_matrix< double > &UMatrix)