Developer documentation
Version 3.0.3-105-gd3941f44
MR::Fixel::Filter::Smooth Class Reference

#include "fixel/filter/smooth.h"

Inheritance diagram for MR::Fixel::Filter::Smooth:
MR::Fixel::Filter::Base

Protected Attributes

Image< bool > mask_image
 
Matrix::Reader matrix
 
vector< Eigen::Vector3f > fixel_positions
 
float stdev
 
float gaussian_const1
 
float gaussian_const2
 
float threshold
 
- Protected Attributes inherited from MR::Fixel::Filter::Base
std::string message
 

Detailed Description

Smooth fixel data using a fixel-fixel connectivity matrix.

Typical usage:

auto fixel_index = Image<index_type>::open (index_image_path);
auto fixel_data_in = Image<float>::open (fixel_data_path);
auto fixel_matrix = Fixel::Matrix::Reader (fixel_matrix_path);
Fixel::Filter::Smooth smooth_filter (fixel_index, fixel_matrix);
auto fixel_data_out = Image::create<float> (fixel_data_out, fixel_data_in);
smooth_filter (fixel_data_in, fixel_data_out);
static Image open(const std::string &image_name, bool read_write_if_existing=false)
Definition: image.h:189

Definition at line 53 of file smooth.h.

Member Data Documentation

◆ fixel_positions

vector<Eigen::Vector3f> MR::Fixel::Filter::Smooth::fixel_positions
protected

Definition at line 79 of file smooth.h.

◆ gaussian_const1

float MR::Fixel::Filter::Smooth::gaussian_const1
protected

Definition at line 80 of file smooth.h.

◆ gaussian_const2

float MR::Fixel::Filter::Smooth::gaussian_const2
protected

Definition at line 80 of file smooth.h.

◆ mask_image

Image<bool> MR::Fixel::Filter::Smooth::mask_image
protected

Definition at line 77 of file smooth.h.

◆ matrix

Matrix::Reader MR::Fixel::Filter::Smooth::matrix
protected

Definition at line 78 of file smooth.h.

◆ stdev

float MR::Fixel::Filter::Smooth::stdev
protected

Definition at line 80 of file smooth.h.

◆ threshold

float MR::Fixel::Filter::Smooth::threshold
protected

Definition at line 80 of file smooth.h.


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