CVB.Net 14.0
Fft Class Reference

Collection of FFT functions. More...

Classes

class  Filter
 Creation functions for FFT filters. More...
 

Static Public Member Functions

static FftImage Forward (ImagePlane plane, FftNormalization normalization, FftWindow window)
 Calculate the Fourier transformation of an image. More...
 
static FftImage Forward (ImagePlane plane, Rect aoi, FftNormalization normalization, FftWindow window)
 Calculate the Fourier transformation of an image. More...
 
static Image Inverse (FftImage fftImg)
 Calculate the inverse Fourier transformation. More...
 
static Image Inverse (FftImage fftImg, FftNormalization normalization)
 Calculate the inverse Fourier transformation. More...
 
static FftImage Multiply (FftImage img1, FftImage img2)
 Multiply two compressed FFT images. More...
 
static FftImage MultiplyConjugated (FftImage img1, FftImage img2)
 Multiply a compressed FFT image with the complex conjugate of another compressed FFT image. More...
 

Detailed Description

Collection of FFT functions.

Member Function Documentation

◆ Forward() [1/2]

static FftImage Forward ( ImagePlane  plane,
FftNormalization  normalization,
FftWindow  window 
)
static

Calculate the Fourier transformation of an image.

Parameters
planeimage to be transformed
normalizationnormalization to apply
windowwindow to apply
Returns
transformed image
Exceptions
ObjectDisposedExceptionIf the plane to work on has already been disposed.


◆ Forward() [2/2]

static FftImage Forward ( ImagePlane  plane,
Rect  aoi,
FftNormalization  normalization,
FftWindow  window 
)
static

Calculate the Fourier transformation of an image.

Parameters
planeImage plane to be transformed.
aoiImage region to be transformed.
normalizationNormalization to apply.
windowWindow to apply.
Returns
Transformed image.
Exceptions
ObjectDisposedExceptionIf the plane to work on has already been disposed.


◆ Inverse() [1/2]

static Image Inverse ( FftImage  fftImg)
static

Calculate the inverse Fourier transformation.

Parameters
fftImgFourier transformed image
Returns
Image in space domain
Exceptions
ArgumentNullExceptionIf the input fftImg is null
ObjectDisposedExceptionIf the input fftImg has already been disposed

◆ Inverse() [2/2]

static Image Inverse ( FftImage  fftImg,
FftNormalization  normalization 
)
static

Calculate the inverse Fourier transformation.

Only set a different normalization than FftImage.Normalization if appropriate as otherise the calculations result in erroneous values.

Parameters
fftImgFourier transformed image.
normalizationNormalization to apply.
Returns
Image in space domain.
Exceptions
ArgumentNullExceptionIf the input fftImg is null
ObjectDisposedExceptionIf the input fftImg has already been disposed

◆ Multiply()

static FftImage Multiply ( FftImage  img1,
FftImage  img2 
)
static

Multiply two compressed FFT images.

Parameters
img1Image 1 to multiply.
img2Image 2 to multiply.
Returns
Multiplication result.
Exceptions
ArgumentNullExceptionIf the input img1 is null
ObjectDisposedExceptionIf the input img1 has already been disposed
ArgumentNullExceptionIf the input img2 is null
ObjectDisposedExceptionIf the input img2 has already been disposed

◆ MultiplyConjugated()

static FftImage MultiplyConjugated ( FftImage  img1,
FftImage  img2 
)
static

Multiply a compressed FFT image with the complex conjugate of another compressed FFT image.

Note: the complex conjugate of img2 will be taken before multiplying.

Parameters
img1Image 1 to multiply
img2Image 2 to multiply
Returns
Multiplication result
Exceptions
ObjectDisposedExceptionIf the input img1 has already been disposed
ArgumentNullExceptionIf the input img2 is null
ObjectDisposedExceptionIf the input img2 has already been disposed