Developer documentation
Version 3.0.3-105-gd3941f44
MR::Fixel::Matrix Namespace Reference

Classes

class  InitElement
 
class  InitFixel
 
class  NormElement
 
class  NormFixel
 
class  Reader
 

Typedefs

using index_image_type = uint64_t
 
using fixel_index_type = uint32_t
 
using count_type = uint32_t
 
using connectivity_value_type = float
 
using init_matrix_type = vector< InitFixel >
 

Functions

init_matrix_type generate (const std::string &track_filename, Image< fixel_index_type > &index_image, Image< bool > &fixel_mask, const float angular_threshold)
 
void normalise_and_write (init_matrix_type &matrix, const connectivity_value_type threshold, const std::string &path, const KeyValues &keyvals=KeyValues())
 

Typedef Documentation

◆ connectivity_value_type

Definition at line 39 of file matrix.h.

◆ count_type

using MR::Fixel::Matrix::count_type = typedef uint32_t

Definition at line 38 of file matrix.h.

◆ fixel_index_type

using MR::Fixel::Matrix::fixel_index_type = typedef uint32_t

Definition at line 37 of file matrix.h.

◆ index_image_type

using MR::Fixel::Matrix::index_image_type = typedef uint64_t

Definition at line 36 of file matrix.h.

◆ init_matrix_type

Definition at line 144 of file matrix.h.

Function Documentation

◆ generate()

init_matrix_type MR::Fixel::Matrix::generate ( const std::string &  track_filename,
Image< fixel_index_type > &  index_image,
Image< bool > &  fixel_mask,
const float  angular_threshold 
)

◆ normalise_and_write()

void MR::Fixel::Matrix::normalise_and_write ( init_matrix_type matrix,
const connectivity_value_type  threshold,
const std::string &  path,
const KeyValues keyvals = KeyValues() 
)