Public Member Functions
C2DFilterChain Class Reference

a convenience class to create a chain of 2D image filters More...

#include <mia/2d/filterchain.hh>

Public Member Functions

 C2DFilterChain ()
 
 C2DFilterChain (const std::vector< const char * > &descr) __attribute__((deprecated))
 
bool empty () const
 
P2DImage filter (const C2DImage &image) const
 
void push_back (P2DFilter filter)
 
void push_front (P2DFilter filter)
 

Detailed Description

a convenience class to create a chain of 2D image filters

This class is used to construct a filter chain from a vector of parameter strings.

Definition at line 39 of file filterchain.hh.

Constructor & Destructor Documentation

C2DFilterChain::C2DFilterChain ( )
C2DFilterChain::C2DFilterChain ( const std::vector< const char * > &  descr)

Construct the filter chain by using a list of strings that describe the filters to be chained up.

Parameters
descr

Member Function Documentation

bool C2DFilterChain::empty ( ) const
Returns
true if the filter chain is empty, false otherwise
P2DImage C2DFilterChain::filter ( const C2DImage image) const

run the filter chain on an image

Parameters
imageinput image
Returns
filtered image
void C2DFilterChain::push_back ( P2DFilter  filter)

Adds a filter at the end of the chain.

Parameters
filter
void C2DFilterChain::push_front ( P2DFilter  filter)

Adds a filter at the begin of the chain.

Parameters
filter

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