OpenWalnut  1.5.0dev
Public Member Functions | Public Attributes | List of all members
WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter Struct Reference

This structure is a collection of parameter and pointer to input and output data needed by each thread. More...

#include <WSphericalHarmonicsCoefficientsThread.h>

+ Collaboration diagram for WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter:

Public Member Functions

 ThreadParameter (WBoolFlag const &flag)
 Constructor, we need to initialize a reference. More...
 

Public Attributes

std::shared_ptr< WValueSetBasem_valueSet
 Pointer to the HARDI measurements. More...
 
std::vector< size_t > m_validIndices
 Indices of nonzero gradients. More...
 
std::vector< size_t > m_S0Indexes
 Indices of zero gradients (this should be normal T2 measurement) More...
 
std::shared_ptr< std::vector< double > > m_data
 Output data, the spherical harmonics coefficients. More...
 
int m_order
 The order of the calculated spherical harmonics. More...
 
std::shared_ptr< WMatrix< double > > m_TransformMatrix
 Transformation-Matrix for conversion from HARDI measurements to spherical harmonics coefficients (see Descoteaux dissertation) More...
 
std::vector< WVector3dm_gradients
 Gradients of all measurements (including ) More...
 
std::shared_ptr< WProgressm_progress
 Pointer to progess indicator. More...
 
bool m_doErrorCalculation
 Indicate if the is error calculation is done. More...
 
bool m_doFunkRadonTransformation
 Indicate if the Funk-Radon-Transformation is done. More...
 
bool m_doResidualCalculation
 Indicate if the residuals will be calculated. More...
 
std::shared_ptr< std::vector< double > > m_dataResiduals
 The stored residuals. More...
 
double m_bDiffusionWeightingFactor
 The b-value used during the creation of the HARDI-data. More...
 
bool m_normalize
 Indicate if the normalisation from 0 to 1 is done. More...
 
bool m_csa
 Indicate if the constant solid angle reconstruction is done. More...
 
double m_CSADelta1
 Delta1 value for the constant solid angle reconstruction. More...
 
double m_CSADelta2
 Delta2 value for the constant solid angle reconstruction. More...
 
WBoolFlag const & m_shutdownFlag
 A shutdownFlag that may tell the thread to stop. More...
 

Detailed Description

This structure is a collection of parameter and pointer to input and output data needed by each thread.

Definition at line 63 of file WSphericalHarmonicsCoefficientsThread.h.

Constructor & Destructor Documentation

◆ ThreadParameter()

WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::ThreadParameter ( WBoolFlag const &  flag)
inline

Constructor, we need to initialize a reference.

Parameters
flagA reference to a shutdown flag that we should listen to.

Definition at line 70 of file WSphericalHarmonicsCoefficientsThread.h.

Member Data Documentation

◆ m_bDiffusionWeightingFactor

double WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_bDiffusionWeightingFactor

The b-value used during the creation of the HARDI-data.

Definition at line 142 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_csa

bool WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_csa

Indicate if the constant solid angle reconstruction is done.

Definition at line 152 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_CSADelta1

double WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_CSADelta1

Delta1 value for the constant solid angle reconstruction.

Definition at line 157 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_CSADelta2

double WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_CSADelta2

Delta2 value for the constant solid angle reconstruction.

Definition at line 162 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_data

std::shared_ptr< std::vector<double> > WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_data

Output data, the spherical harmonics coefficients.

Definition at line 95 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_dataResiduals

std::shared_ptr< std::vector<double> > WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_dataResiduals

The stored residuals.

Definition at line 137 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_doErrorCalculation

bool WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_doErrorCalculation

Indicate if the is error calculation is done.

Definition at line 121 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_doFunkRadonTransformation

bool WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_doFunkRadonTransformation

Indicate if the Funk-Radon-Transformation is done.

Definition at line 126 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_doResidualCalculation

bool WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_doResidualCalculation

Indicate if the residuals will be calculated.

The residuals are the reprojection error. This means the

Definition at line 132 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_gradients

std::vector< WVector3d > WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_gradients

Gradients of all measurements (including )

Definition at line 111 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_normalize

bool WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_normalize

Indicate if the normalisation from 0 to 1 is done.

Definition at line 147 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_order

int WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_order

The order of the calculated spherical harmonics.

Definition at line 100 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_progress

std::shared_ptr< WProgress > WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_progress

Pointer to progess indicator.

Definition at line 116 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_S0Indexes

std::vector< size_t > WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_S0Indexes

Indices of zero gradients (this should be normal T2 measurement)

Definition at line 90 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_shutdownFlag

WBoolFlag const& WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_shutdownFlag

A shutdownFlag that may tell the thread to stop.

Definition at line 167 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_TransformMatrix

std::shared_ptr< WMatrix< double > > WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_TransformMatrix

Transformation-Matrix for conversion from HARDI measurements to spherical harmonics coefficients (see Descoteaux dissertation)

Definition at line 106 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_validIndices

std::vector< size_t > WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_validIndices

Indices of nonzero gradients.

Definition at line 85 of file WSphericalHarmonicsCoefficientsThread.h.

◆ m_valueSet

std::shared_ptr< WValueSetBase > WSphericalHarmonicsCoefficientsThread< void >::ThreadParameter::m_valueSet

Pointer to the HARDI measurements.

Definition at line 80 of file WSphericalHarmonicsCoefficientsThread.h.


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