$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::internal::fft< T > Class Template Reference

#include <mln/transform/fft.hh>

Public Member Functions

 ~fft ()
const image2d< std::complex< T > > & transformed_image () const
image2d< std::complex< T > > & transformed_image ()
template<class R >
image2d< R > transformed_image_clipped_magn (double clip, bool ordered=true) const
image2d< Ttransformed_image_clipped_magn (double clip, bool ordered=true) const
template<class R >
image2d< R > transformed_image_clipped_magn (bool ordered=true) const
image2d< Ttransformed_image_clipped_magn (bool ordered=true) const
template<class R >
image2d< R > transformed_image_log_magn (double a, double b, bool ordered=true) const
image2d< Ttransformed_image_log_magn (double a, double b, bool ordered=true) const
template<class R >
image2d< R > transformed_image_log_magn (bool ordered=true) const
image2d< Ttransformed_image_log_magn (bool ordered=true) const
template<class R >
image2d< R > transformed_image_magn (bool ordered=true) const
image2d< Ttransformed_image_magn (bool ordered=true) const

Protected Attributes

fft_trait< T >::fftw_input * in
std::complex< T > * out
fftw_plan p
fftw_plan p_inv
image2d< std::complex< T > > trans_im

Detailed Description

template<class T>
class mln::internal::fft< T >

Internal structure containining packing data and instructions for the (forward) and inverse (backward) transforms.

Template Parameters
TData type.

Definition at line 80 of file fft.hh.

Constructor & Destructor Documentation

template<class T >
mln::internal::fft< T >::~fft ( )

Member Function Documentation

template<class T >
const image2d< std::complex<T> >& mln::internal::fft< T >::transformed_image ( ) const

Accessor to transformed image (const version).

template<class T >
image2d< std::complex<T> >& mln::internal::fft< T >::transformed_image ( )

Accessor to transformed image (non const version).

template<class T >
template<class R >
image2d<R> mln::internal::fft< T >::transformed_image_clipped_magn ( double  clip,
bool  ordered = true 
) const

Accessor to the transformed image (clipped magnitude).

For each point p of the transformed image T, an image containing a clipped value of |T[p]| is returned.

Template Parameters
RValue type of the resulting image.
Parameters
clipValue used for clipping.
orderedKind of traversal.
template<class T >
image2d<T> mln::internal::fft< T >::transformed_image_clipped_magn ( double  clip,
bool  ordered = true 
) const

Accessor to the transformed image (clipped magnitude).

For each point p of the transformed image T, an image containing a clipped value of |T[p]| is returned.

Parameters
clipValue used for clipping.
orderedKind of traversal.
template<class T >
template<class R >
image2d<R> mln::internal::fft< T >::transformed_image_clipped_magn ( bool  ordered = true) const

Accessor to the transformed image (clipped magnitude).

For each point p of the transformed image T, an image containing a clipped value of |T[p]| is returned.

Template Parameters
RValue type of the resulting image.
Parameters
orderedKind of traversal.
template<class T >
image2d<T> mln::internal::fft< T >::transformed_image_clipped_magn ( bool  ordered = true) const

Accessor to the transformed image (clipped magnitude).

For each point p of the transformed image T, an image containing a clipped value of |T[p]| is returned.

Parameters
orderedKind of traversal.
template<class T >
template<class R >
image2d<R> mln::internal::fft< T >::transformed_image_log_magn ( double  a,
double  b,
bool  ordered = true 
) const

Accessor to the transformed image (log of the magnitude).

For each point p of the transformed image T, an image containing a log value of |T[p]| translated in the interval [a, b].

Template Parameters
RValue type of the resulting image.
Parameters
aLower bound.
bUpper bound.
orderedKind of traversal.
template<class T >
image2d<T> mln::internal::fft< T >::transformed_image_log_magn ( double  a,
double  b,
bool  ordered = true 
) const

Accessor to the transformed image (log of the magnitude).

For each point p of the transformed image T, an image containing a log value of |T[p]| translated in the interval [a, b].

Parameters
aLower bound.
bUpper bound.
orderedKind of traversal.
template<class T >
template<class R >
image2d<R> mln::internal::fft< T >::transformed_image_log_magn ( bool  ordered = true) const

Accessor to the transformed image (log of the magnitude).

For each point p of the transformed image T, an image containing a log value of |T[p]| translated in the interval [1, 100].

Template Parameters
RValue type of the resulting image.
Parameters
orderedKind of traversal.
template<class T >
image2d<T> mln::internal::fft< T >::transformed_image_log_magn ( bool  ordered = true) const

Accessor to the transformed image (log of the magnitude).

For each point p of the transformed image T, an image containing a log value of |T[p]| translated in the interval [1, 100].

Parameters
orderedKind of traversal.
template<class T >
template<class R >
image2d<R> mln::internal::fft< T >::transformed_image_magn ( bool  ordered = true) const

Accessor to the transformed image (magnitude).

For each point p of the transformed image T, an image containing |T[p]| is returned.

Template Parameters
RValue type of the resulting image.
Parameters
orderedKind of traversal.
template<class T >
image2d<T> mln::internal::fft< T >::transformed_image_magn ( bool  ordered = true) const

Accessor to the transformed image (magnitude).

For each point p of the transformed image T, an image containing |T[p]| is returned.

Parameters
orderedKind of traversal.

Member Data Documentation

template<class T >
fft_trait<T>::fftw_input* mln::internal::fft< T >::in
protected

Input image (used internally by FFTW).

Definition at line 210 of file fft.hh.

template<class T >
std::complex<T>* mln::internal::fft< T >::out
protected

Output (complex) image used internally by FFTW).

Definition at line 212 of file fft.hh.

template<class T >
fftw_plan mln::internal::fft< T >::p
protected

(Forward) plan (command to be executed by FFTW).

Definition at line 214 of file fft.hh.

template<class T >
fftw_plan mln::internal::fft< T >::p_inv
protected

Inverse (backward) plan (command to be executed by FFTW).

Definition at line 216 of file fft.hh.

template<class T >
image2d< std::complex<T> > mln::internal::fft< T >::trans_im
protected

Transformed image (``exported'' Milena image accessible through accessors).

Definition at line 219 of file fft.hh.