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

a filter to dilate a mask More...

#include "filter/dilate.h"

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

Protected Member Functions

bool dilate (Image< bool > &in)
- 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 ()

Protected Attributes

unsigned int npass
- 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_

Detailed Description

a filter to dilate a mask

Typical usage:

auto input = Image<bool>::open (argument[0]);
Filter::Dilate dilate (input);
Image<bool> output (dilate, argument[1]);
dilate (input, output);
bool dilate(Image< bool > &in)
Definition: dilate.h:98
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 49 of file dilate.h.

Member Function Documentation

◆ dilate()

bool MR::Filter::Dilate::dilate ( Image< bool > &  in)

Definition at line 98 of file dilate.h.

Member Data Documentation

◆ npass

unsigned int MR::Filter::Dilate::npass

Definition at line 111 of file dilate.h.

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