Developer documentation
Version 3.0.3-105-gd3941f44
MR::Registration::Metric::LocalCrossCorrelation Class Reference

#include "registration/metric/local_cross_correlation.h"

Public Types

using is_neighbourhood = int
using requires_precompute = int

Public Member Functions

void set_weights (Eigen::Matrix< default_type, Eigen::Dynamic, 1 > weights)
template<class ParamType >
default_type precompute (ParamType &parameters)
template<class Params >
default_type operator() (Params &params, const Iterator &iter, Eigen::Matrix< default_type, Eigen::Dynamic, 1 > &gradient)

Detailed Description

Definition at line 126 of file local_cross_correlation.h.

Member Typedef Documentation

◆ is_neighbourhood

typedef int is_neighbourhood: type_trait to distinguish voxel-wise and neighbourhood based metric types

Definition at line 132 of file local_cross_correlation.h.

◆ requires_precompute

requires_precompute int is_neighbourhood: type_trait to distinguish metric types that require a call to precompute before the operator() is called

Definition at line 134 of file local_cross_correlation.h.

Member Function Documentation

◆ operator()()

template<class Params >
default_type MR::Registration::Metric::LocalCrossCorrelation::operator() ( Params params,
const Iterator iter,
Eigen::Matrix< default_type, Eigen::Dynamic, 1 > &  gradient 

Definition at line 211 of file local_cross_correlation.h.

◆ precompute()

template<class ParamType >
default_type MR::Registration::Metric::LocalCrossCorrelation::precompute ( ParamType &  parameters)

Definition at line 141 of file local_cross_correlation.h.

◆ set_weights()

void MR::Registration::Metric::LocalCrossCorrelation::set_weights ( Eigen::Matrix< default_type, Eigen::Dynamic, 1 >  weights)

Definition at line 136 of file local_cross_correlation.h.

The documentation for this class was generated from the following file: