CortidQCT  1.2.2.52
Public Types | Public Member Functions | List of all members
CortidQCT::Internal::DisplacementOptimizer Class Reference

#include <DisplacementOptimizer.h>

Public Types

using DisplacementsWeightsPair = std::pair< Eigen::VectorXf, Eigen::VectorXf >
 

Public Member Functions

 DisplacementOptimizer (MeshFitter::Configuration const &config)
 
template<class DerivedN , class DerivedL , class DerivedM >
DisplacementsWeightsPair operator() (Eigen::MatrixBase< DerivedN > const &N, Eigen::MatrixBase< DerivedL > const &labels, Eigen::MatrixBase< DerivedM > const &measurements, std::size_t nonDecrease, float &effectiveSigmaS)
 Compute the optimal displacement and the corresponding weights.
 
template<class DerivedN , class DerivedL , class DerivedM >
Eigen::Matrix< typename DerivedM::Scalar, Eigen::Dynamic, 1 > logLikelihoodVector (Eigen::MatrixBase< DerivedN > const &N, Eigen::MatrixBase< DerivedL > const &labels, Eigen::MatrixBase< DerivedM > const &measurements)
 Computes the per-veretx log likelihood of the current model.
 
template<class DerivedN , class DerivedL , class DerivedM >
float logLikelihood (Eigen::MatrixBase< DerivedN > const &N, Eigen::MatrixBase< DerivedL > const &labels, Eigen::MatrixBase< DerivedM > const &measurements)
 Compute the log likelihood of the current model.
 
auto const & modelSamplingPositions () const noexcept
 Returns the model sampling positions used by the optimizer.
 

Detailed Description

This class encapuslates the algorithm that estimates the optimal displacments.

Find the maximizer of the posterior log likelihood of the model displacement given measurements from the inptu volume.


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