ComplexCenteredFftInverse
Computes the centered Fast Fourier inverse Transform of an image.
Access to parameter description
For an introduction: see section Frequency Domain.
The ComplexCenteredFftInverse algorithm is used to reconstruct an image after a centered FFT transform.
See also
Access to parameter description
For an introduction: see section Frequency Domain.
The ComplexCenteredFftInverse algorithm is used to reconstruct an image after a centered FFT transform.
See also
Function Syntax
This function returns a ComplexCenteredFftInverseOutput structure containing outputRealImage and outputImaginaryImage.
// Output structure of the complexCenteredFftInverse function. struct ComplexCenteredFftInverseOutput { /// The output real part image. Its dimensions are forced to the same values as the input. Its data type is forced to floating point. std::shared_ptr< iolink::ImageView > outputRealImage; /// The output imaginary part image. Its dimensions are forced to the same values as the input. Its data type is forced to floating point. std::shared_ptr< iolink::ImageView > outputImaginaryImage; }; // Function prototype
ComplexCenteredFftInverseOutput complexCenteredFftInverse( std::shared_ptr< iolink::ImageView > inputRealImage, std::shared_ptr< iolink::ImageView > inputImaginaryImage, std::shared_ptr< iolink::ImageView > outputRealImage = nullptr, std::shared_ptr< iolink::ImageView > outputImaginaryImage = nullptr );
Class Syntax
Parameters
Parameter Name | Description | Type | Supported Values | Default Value | |
---|---|---|---|---|---|
![]() |
inputRealImage |
The real input part image. It must be a floating point image. | Image | Grayscale or Multispectral | nullptr |
![]() |
inputImaginaryImage |
The imaginary part input image. This image must have same dimensions and data type as the real input image. | Image | Grayscale or Multispectral | nullptr |
![]() |
outputRealImage |
The output real part image. Its dimensions are forced to the same values as the input. Its data type is forced to floating point. | Image | nullptr | |
![]() |
outputImaginaryImage |
The output imaginary part image. Its dimensions are forced to the same values as the input. Its data type is forced to floating point. | Image | nullptr |
Object Examples
auto polystyrene_float = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene_float.vip" ); ComplexCenteredFftInverse complexCenteredFftInverseAlgo; complexCenteredFftInverseAlgo.setInputRealImage( polystyrene_float ); complexCenteredFftInverseAlgo.setInputImaginaryImage( polystyrene_float ); complexCenteredFftInverseAlgo.execute(); std::cout << "outputRealImage:" << complexCenteredFftInverseAlgo.outputRealImage()->toString(); std::cout << "outputImaginaryImage:" << complexCenteredFftInverseAlgo.outputImaginaryImage()->toString();
Function Examples
auto polystyrene_float = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene_float.vip" ); auto result = complexCenteredFftInverse( polystyrene_float, polystyrene_float ); std::cout << "outputRealImage:" << result.outputRealImage->toString(); std::cout << "outputImaginaryImage:" << result.outputImaginaryImage->toString();