bildcomplex Class Reference

#include <stdalgorithm.hpp>

Inheritance diagram for bildcomplex:

Inheritance graph
base refererrect $classimgbase.html 21,109 143,133rect $classimgbase.html 6,19 158,43
[legend]

List of all members.


Detailed Description

Definition at line 216 of file stdalgorithm.hpp.


Public Types

typedef COMPLEX data_t
 The base data type, for convenience.

Public Member Functions

 bildcomplex ()
 bildcomplex (const bildfloat &realvalue)
 bildcomplex (const bildfloat &real, const bildfloat &imag)
void decompose (bildfloat &real, bildfloat &imag)
bildcomplexFFT_forward ()
bildcomplexFFT_backward ()
bildcomplexHamming_window (float width=220, float xm=256, float ym=256)
bildcomplexHamming_unwindow (float width=220, float xm=256, float ym=256)
bildfloatnorm (bildfloat &ret)
COMPLEXoperator() (int y, int x)
 Element extraction operator.
const COMPLEXoperator() (int y, int x) const
 Constant element extraction operator.
imgbase< s_x, s_y, COMPLEX > & operator/= (const imgbase< s_x, s_y, COMPLEX > &what)
 Arithmetic operator.
imgbase< s_x, s_y, COMPLEX > & operator/= (const COMPLEX &what)
 Arithmetic operator.
imgbase< s_x, s_y, COMPLEX > & operator*= (const imgbase< s_x, s_y, COMPLEX > &what)
 Arithmetic operator.
imgbase< s_x, s_y, COMPLEX > & operator*= (const COMPLEX &what)
 Arithmetic operator.
imgbase< s_x, s_y, COMPLEX > & operator-= (const imgbase< s_x, s_y, COMPLEX > &what)
 Arithmetic operator.
imgbase< s_x, s_y, COMPLEX > & operator-= (const COMPLEX &what)
 Arithmetic operator.
imgbase< s_x, s_y, COMPLEX > & operator+= (const imgbase< s_x, s_y, COMPLEX > &what)
 Arithmetic operator.
imgbase< s_x, s_y, COMPLEX > & operator+= (const COMPLEX &what)
 Arithmetic operator.

Public Attributes

const int SIZEX
 save the s_x template parameter
const int SIZEY
 save the s_y template parameter

Protected Attributes

data_t ** bild

Member Typedef Documentation

typedef COMPLEX imgbase< s_x, s_y, COMPLEX >::data_t [inherited]

The base data type, for convenience.

You can use this typedef to extract the type of the elements from the derived classes.

Example:

Definition at line 123 of file imgclass.hpp.


Constructor & Destructor Documentation

bildcomplex::bildcomplex (  )  [inline]

Definition at line 218 of file stdalgorithm.hpp.

bildcomplex::bildcomplex ( const bildfloat realvalue  ) 

Definition at line 151 of file stdalgorithm.cpp.

References MAP.

bildcomplex::bildcomplex ( const bildfloat real,
const bildfloat imag 
)

Definition at line 159 of file stdalgorithm.cpp.

References MAP.


Member Function Documentation

void bildcomplex::decompose ( bildfloat real,
bildfloat imag 
)

Definition at line 167 of file stdalgorithm.cpp.

References MAP.

bildcomplex & bildcomplex::FFT_forward (  ) 

bildcomplex & bildcomplex::FFT_backward (  ) 

bildcomplex & bildcomplex::Hamming_window ( float  width = 220,
float  xm = 256,
float  ym = 256 
)

Definition at line 195 of file stdalgorithm.cpp.

References MAP, and SQR.

bildcomplex & bildcomplex::Hamming_unwindow ( float  width = 220,
float  xm = 256,
float  ym = 256 
)

Definition at line 208 of file stdalgorithm.cpp.

References MAP, and SQR.

bildfloat & bildcomplex::norm ( bildfloat ret  ) 

Definition at line 188 of file stdalgorithm.cpp.

References MAP, and SQR.

COMPLEX & imgbase< s_x, s_y, COMPLEX >::operator() ( int  y,
int  x 
) [inline, inherited]

Element extraction operator.

Parenthesis are used to index a pixel of the image. This idea is borrowed from the octave C++ interface. The order of the arguments is y, x. This order should imitate the old C way in order not to confuse people from EP~V

Definition at line 138 of file imgclass.hpp.

const COMPLEX & imgbase< s_x, s_y, COMPLEX >::operator() ( int  y,
int  x 
) const [inline, inherited]

Constant element extraction operator.

Definition at line 140 of file imgclass.hpp.

imgbase<s_x, s_y, COMPLEX >& imgbase< s_x, s_y, COMPLEX >::operator/= ( const imgbase< s_x, s_y, COMPLEX > &  what  )  [inherited]

Arithmetic operator.

This operator divides every pixel of the image by the corresponding value in what. It leaves the value unchanged if the denominator is zero, thus avoiding division by zero

imgbase<s_x, s_y, COMPLEX >& imgbase< s_x, s_y, COMPLEX >::operator/= ( const COMPLEX what  )  [inherited]

Arithmetic operator.

This operator divides every pixel by the constant value what

imgbase<s_x, s_y, COMPLEX >& imgbase< s_x, s_y, COMPLEX >::operator*= ( const imgbase< s_x, s_y, COMPLEX > &  what  )  [inherited]

Arithmetic operator.

This operator multiplies every pixel of the image by the corresponding value in what.

imgbase<s_x, s_y, COMPLEX >& imgbase< s_x, s_y, COMPLEX >::operator*= ( const COMPLEX what  )  [inherited]

Arithmetic operator.

This operator multiplies every pixel by the constant value what

imgbase<s_x, s_y, COMPLEX >& imgbase< s_x, s_y, COMPLEX >::operator-= ( const imgbase< s_x, s_y, COMPLEX > &  what  )  [inherited]

Arithmetic operator.

This operator subtracts every pixel of what from the corresponding value in the image.

imgbase<s_x, s_y, COMPLEX >& imgbase< s_x, s_y, COMPLEX >::operator-= ( const COMPLEX what  )  [inherited]

Arithmetic operator.

This operator subtracts the constant value what from every pixel in the image

imgbase<s_x, s_y, COMPLEX >& imgbase< s_x, s_y, COMPLEX >::operator+= ( const imgbase< s_x, s_y, COMPLEX > &  what  )  [inherited]

Arithmetic operator.

This operator adds every pixel in what to the corresponding pixel value in the image

imgbase<s_x, s_y, COMPLEX >& imgbase< s_x, s_y, COMPLEX >::operator+= ( const COMPLEX what  )  [inherited]

Arithmetic operator.

This operator adds the constant value what to every pixel in the image


Member Data Documentation

const int imgbase< s_x, s_y, COMPLEX >::SIZEX [inherited]

save the s_x template parameter

Definition at line 126 of file imgclass.hpp.

Referenced by FFT_backward(), and FFT_forward().

const int imgbase< s_x, s_y, COMPLEX >::SIZEY [inherited]

save the s_y template parameter

Definition at line 129 of file imgclass.hpp.

Referenced by FFT_backward(), and FFT_forward().

data_t** imgbase< s_x, s_y, COMPLEX >::bild [protected, inherited]

The real data storage. Should not be used by derived classes

Definition at line 161 of file imgclass.hpp.

Referenced by FFT_backward(), and FFT_forward().


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

Generated on Fri Jul 24 12:49:18 2009 for Xgrayimg Library by  doxygen 1.5.5