Developer documentation
Version 3.0.3-105-gd3941f44
MR::Registration::Transform::Init Namespace Reference

Classes

class  FODInitialiser
 
struct  LinearInitialisationParams
 
class  MomentsInitialiser
 

Enumerations

enum  InitType {
  set_centre_mass , set_centre_geometric , mass , geometric ,
  moments , rot_search , none
}
 

Functions

void set_centre_via_mass (Image< default_type > &im1, Image< default_type > &im2, Image< default_type > &mask1, Image< default_type > &mask2, Registration::Transform::Base &transform, Registration::Transform::Init::LinearInitialisationParams &init, const vector< MultiContrastSetting > &contrast_settings)
 
void set_centre_via_image_centres (const Image< default_type > &im1, const Image< default_type > &im2, const Image< default_type > &mask1, const Image< default_type > &mask2, Registration::Transform::Base &transform, Registration::Transform::Init::LinearInitialisationParams &init)
 
void initialise_using_image_centres (const Image< default_type > &im1, const Image< default_type > &im2, const Image< default_type > &mask1, const Image< default_type > &mask2, Registration::Transform::Base &transform, Registration::Transform::Init::LinearInitialisationParams &init)
 
void initialise_using_image_moments (Image< default_type > &im1, Image< default_type > &im2, Image< default_type > &mask1, Image< default_type > &mask2, Registration::Transform::Base &transform, Registration::Transform::Init::LinearInitialisationParams &init, const vector< MultiContrastSetting > &contrast_settings)
 
void initialise_using_FOD (Image< default_type > &im1, Image< default_type > &im2, Image< default_type > &mask1, Image< default_type > &mask2, Registration::Transform::Base &transform, Registration::Transform::Init::LinearInitialisationParams &init)
 
void initialise_using_rotation_search (Image< default_type > &im1, Image< default_type > &im2, Image< default_type > &mask1, Image< default_type > &mask2, Registration::Transform::Base &transform, Registration::Transform::Init::LinearInitialisationParams &init, const vector< MultiContrastSetting > &contrast_settings)
 
void initialise_using_image_mass (Image< default_type > &im1, Image< default_type > &im2, Image< default_type > &mask1, Image< default_type > &mask2, Registration::Transform::Base &transform, Registration::Transform::Init::LinearInitialisationParams &init, const vector< MultiContrastSetting > &contrast_settings)
 
template<class ImageType , class ValueType >
void get_geometric_centre (const ImageType &image, Eigen::Matrix< ValueType, 3, 1 > &centre)
 
void get_centre_of_mass (Image< default_type > &im, Image< default_type > &mask, Eigen::Vector3d &centre_of_mass, const vector< MultiContrastSetting > &contrast_settings)
 
bool get_sorted_eigen_vecs_vals (const Eigen::Matrix< default_type, 3, 3 > &mat, Eigen::Matrix< default_type, Eigen::Dynamic, Eigen::Dynamic > &eigenvectors, Eigen::Matrix< default_type, Eigen::Dynamic, 1 > &eigenvals)
 

Enumeration Type Documentation

◆ InitType

Enumerator
set_centre_mass 
set_centre_geometric 
mass 
geometric 
moments 
rot_search 
none 

Definition at line 33 of file initialiser.h.

Function Documentation

◆ get_centre_of_mass()

void MR::Registration::Transform::Init::get_centre_of_mass ( Image< default_type > &  im,
Image< default_type > &  mask,
Eigen::Vector3d &  centre_of_mass,
const vector< MultiContrastSetting > &  contrast_settings 
)

◆ get_geometric_centre()

template<class ImageType , class ValueType >
void MR::Registration::Transform::Init::get_geometric_centre ( const ImageType &  image,
Eigen::Matrix< ValueType, 3, 1 > &  centre 
)

Definition at line 38 of file initialiser_helpers.h.

◆ get_sorted_eigen_vecs_vals()

bool MR::Registration::Transform::Init::get_sorted_eigen_vecs_vals ( const Eigen::Matrix< default_type, 3, 3 > &  mat,
Eigen::Matrix< default_type, Eigen::Dynamic, Eigen::Dynamic > &  eigenvectors,
Eigen::Matrix< default_type, Eigen::Dynamic, 1 > &  eigenvals 
)

◆ initialise_using_FOD()

void MR::Registration::Transform::Init::initialise_using_FOD ( Image< default_type > &  im1,
Image< default_type > &  im2,
Image< default_type > &  mask1,
Image< default_type > &  mask2,
Registration::Transform::Base transform,
Registration::Transform::Init::LinearInitialisationParams init 
)

◆ initialise_using_image_centres()

void MR::Registration::Transform::Init::initialise_using_image_centres ( const Image< default_type > &  im1,
const Image< default_type > &  im2,
const Image< default_type > &  mask1,
const Image< default_type > &  mask2,
Registration::Transform::Base transform,
Registration::Transform::Init::LinearInitialisationParams init 
)

◆ initialise_using_image_mass()

void MR::Registration::Transform::Init::initialise_using_image_mass ( Image< default_type > &  im1,
Image< default_type > &  im2,
Image< default_type > &  mask1,
Image< default_type > &  mask2,
Registration::Transform::Base transform,
Registration::Transform::Init::LinearInitialisationParams init,
const vector< MultiContrastSetting > &  contrast_settings 
)

◆ initialise_using_image_moments()

void MR::Registration::Transform::Init::initialise_using_image_moments ( Image< default_type > &  im1,
Image< default_type > &  im2,
Image< default_type > &  mask1,
Image< default_type > &  mask2,
Registration::Transform::Base transform,
Registration::Transform::Init::LinearInitialisationParams init,
const vector< MultiContrastSetting > &  contrast_settings 
)

◆ initialise_using_rotation_search()

void MR::Registration::Transform::Init::initialise_using_rotation_search ( Image< default_type > &  im1,
Image< default_type > &  im2,
Image< default_type > &  mask1,
Image< default_type > &  mask2,
Registration::Transform::Base transform,
Registration::Transform::Init::LinearInitialisationParams init,
const vector< MultiContrastSetting > &  contrast_settings 
)

◆ set_centre_via_image_centres()

void MR::Registration::Transform::Init::set_centre_via_image_centres ( const Image< default_type > &  im1,
const Image< default_type > &  im2,
const Image< default_type > &  mask1,
const Image< default_type > &  mask2,
Registration::Transform::Base transform,
Registration::Transform::Init::LinearInitialisationParams init 
)

◆ set_centre_via_mass()

void MR::Registration::Transform::Init::set_centre_via_mass ( Image< default_type > &  im1,
Image< default_type > &  im2,
Image< default_type > &  mask1,
Image< default_type > &  mask2,
Registration::Transform::Base transform,
Registration::Transform::Init::LinearInitialisationParams init,
const vector< MultiContrastSetting > &  contrast_settings 
)