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

#include "surface/filter/smooth.h"

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


class  SmoothFunctor1D

Protected Attributes

vector< uint32_t > extent
vector< default_typestdev
const vector< size_t > stride_order
bool zero_boundary
- Protected Attributes inherited from MR::Filter::Base
std::string message
- Protected Attributes inherited from MR::Header
vector< Axis > axes_
transform_type transform_
std::string name_
KeyValues keyval_
const char * format_
std::unique_ptr< ImageIO::Baseio
 additional information relevant for images stored on file More...
DataType datatype_
 the type of the data as stored on file More...
default_type offset_
 the values by which to scale the intensities More...
default_type scale_
std::array< size_t, 3 > realign_perm_
std::array< bool, 3 > realign_flip_

Additional Inherited Members

- Protected Member Functions inherited from MR::Header
void acquire_io (Header &H)
void check (const Header &H) const
void realign_transform ()
 realign transform to match RAS coordinate system as closely as possible More...
void sanitise_voxel_sizes ()
void sanitise_transform ()
void sanitise_strides ()

Detailed Description

Smooth images using a Gaussian kernel.

Typical usage:

auto input = Image<float>::open (argument[0]);
Filter::Smooth smooth_filter (input);
smooth_filter.set_stdev (2.0);
auto output = Image::create<float> (argument[1], smooth_filter);
smooth_filter (input, output);
static Image open(const std::string &image_name, bool read_write_if_existing=false)
Definition: image.h:189
vector< ParsedArgument > argument
the list of arguments parsed from the command-line

Definition at line 47 of file smooth.h.

Member Data Documentation

◆ extent

vector<uint32_t> MR::Filter::Smooth::extent

Definition at line 184 of file smooth.h.

◆ stdev

vector<default_type> MR::Filter::Smooth::stdev

Definition at line 185 of file smooth.h.

◆ stride_order

const vector<size_t> MR::Filter::Smooth::stride_order

Definition at line 186 of file smooth.h.

◆ zero_boundary

bool MR::Filter::Smooth::zero_boundary

Definition at line 187 of file smooth.h.

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