#import <fourier.h>


Public Member Functions | |
| (id) | - initWithNumberOfPlanes:width:height:withGoal: |
| Allocates a new empty buffer. | |
| (void) | - directTransform |
| Compute the direct transform. | |
| (void) | - inverseTransform:: |
| Compute the inverse transform, normalize the result and returns the values extremes. | |
| (void) | - normalize |
| Normalize the spectrum to a 1.0 continous level. | |
| (void) | - conjugate |
| Transform the spectrum pixels into their conjugate. | |
| (void) | - multiplyWith:result: |
| Multiplication. | |
| (void) | - multiplyWithConjugateOf:result: |
| Multiplication with conjugate. | |
| (void) | - divideBy:result: |
| Division. | |
Static Public Member Functions | |
| (MyFourierBuffer *) | + fourierBufferWithNumberOfPlanes:width:height:withGoal: |
| Allocates a new empty buffer. | |
Public Attributes | |
| u_short | _halfw |
| The spectrum has only half the image width (complex pixels). | |
| u_short | _spadw |
| Spectrum padded width. | |
| - (id) initWithNumberOfPlanes: | (u_char) | nPlanes | ||
| width: | (u_short) | w | ||
| height: | (u_short) | h | ||
| withGoal: | (u_char) | goal | ||
Allocates a new empty buffer.
| nPlanes | Number of color planes for this image | |
| w | Image pixels width | |
| h | Image pixels height | |
| goal | What kind of transform to prepare, direct, inverse or both. |
| - (void) directTransform |
Compute the direct transform.
Compute the inverse transform, normalize the result and returns the values extremes.
| vmin | Minimum pixel value | |
| vmax | Maximum pixel value |
| - (void) multiplyWith: | (MyFourierBuffer*) | term | ||
| result: | (MyFourierBuffer*) | result | ||
Multiplication.
| term | other term | |
| result | where the result is stored, can be one of the terms term shall either have the same number of planes as the receiver or only one plane. In the latter case, the plane is applied to each planes of the receiver. |
| - (void) multiplyWithConjugateOf: | (MyFourierBuffer*) | term | ||
| result: | (MyFourierBuffer*) | result | ||
Multiplication with conjugate.
| term | other term (shall be a spectrum) | |
| result | where the result is stored, can be one of the terms term shall either have the same number of planes as the receiver or only one plane. In the latter case, the plane is applied to each planes of the receiver. |
| - (void) divideBy: | (MyFourierBuffer*) | denom | ||
| result: | (MyFourierBuffer*) | result | ||
Division.
| denom | Denominator of the division | |
| result | where the result is stored, can be one of the terms term shall either have the same number of planes as the receiver or only one plane. In the latter case, the plane is applied to each planes of the receiver. |
| + (MyFourierBuffer *) fourierBufferWithNumberOfPlanes: | (u_char) | nPlanes | ||
| width: | (u_short) | w | ||
| height: | (u_short) | h | ||
| withGoal: | (u_char) | goal | ||
Allocates a new empty buffer.
| nPlanes | Number of color planes for this image | |
| w | Image pixels width | |
| h | Image pixels height | |
| goal | What kind of transform to prepare, direct, inverse or both. |
1.5.4