|
|
| Line 40: |
Line 40: |
|
| |
|
| ===Image Type Support=== | | ===Image Type Support=== |
| | | {| |
| | |style="font-size:75%;"| |
| {| class="wikitable" | | {| class="wikitable" |
| |- | | |- |
| Line 48: |
Line 49: |
| | 32fC2 | | | 32fC2 |
| | 32fC1 | | | 32fC1 |
| | |} |
| |} | | |} |
|
| |
|
Revision as of 10:26, 19 October 2022
Gets different properties of fft of an image.
Function
CuviStatus fftGetProperty(const CuviImage& src,
CuviImage& dst,
const CuviFFTProp prop,
const CuviStream& stream = CuviStream());
|
Parameters
| Name
|
Type
|
Description
|
| src
|
const CuviImage&
|
Input FFT image
|
| dst
|
CuviImage&
|
Output image containing the specified property
|
| prop
|
const CuviFFTProp
|
The property of FFT to get.
|
| stream
|
const CuviStream&
|
GPU stream ID for execution
|
|
Image Type Support
Sample
Example
//Creating GPU images
CuviImage input = cuvi:io::loadImage(path), fftImage, magnitude;
//Computing the Fourier Transform
cuvi::imageTransforms::fft2(input,fftImage);
//Compute the magnitude of fft
cuvi::imageTransforms::fftGetProperty(fftImage, magnitude, CUVI_FFT_MAGNITUDE);
|