|
Function | two-dimensional Hann window for spatial frequency analysis |
|
Syntax C/C++ | #include <MFstd.h>
void MF_Hann( fMatrix MA, ui ht, ui len ); |
C++ MatObj | #include <OptiVec.h>
void matrix<T>::Hann(); |
Pascal/Delphi | uses MFstd;
procedure MF_Hann( MA:fMatrix; ht, len:UIntSize ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaMF_Hann( fMatrix d_MA, ui ht, ui len );
void MFcu_Hann( fMatrix h_MA, ui ht, ui len );
|
CUDA function Pascal/Delphi | uses MFstd;
function cudaMF_Hann( d_MA:fMatrix; ht, len:UIntSize ): IntBool;
procedure MFcu_Hann( h_MA:fMatrix; ht, len:UIntSize );
|
|
Description | MAi,j = 0.25 * (1 - cos( 2 p i / (ht-1) )) * (1 - cos( 2 p j / (len-1) ))
This function provides a window for spatial power-spectrum estimation with Welch's method of overlapping segments, here implemented as MF_spectrum. The Hann window goes down to zero at the edges. Therefore, it requires a minimum size of 4x4 elements. Otherwise, MA will contain only zeros. For window functions with non-zero values at the edges, see MF_Parzen and MF_Welch. |
|
|