Difference between revisions of "Function:FftShift"
From CUVI Wiki
(Created page with "__NOTOC__ Repositions the quadrants of the fft image, so that the zero frequency components of the fft are at the center of the image. This is useful for visualizing the Fouri...") |
|||
| (4 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
===Function=== | ===Function=== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus fftShift(const CuviImage& src, | CuviStatus fftShift(const CuviImage& src, | ||
| Line 10: | Line 10: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
===Parameters=== | ===Parameters=== | ||
{| | |||
|style="font-size:75%;"| | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
| Line 29: | Line 31: | ||
| const CuviStream& | | const CuviStream& | ||
| GPU stream ID for execution | | GPU stream ID for execution | ||
|} | |||
|} | |} | ||
===Image Type Support=== | ===Image Type Support=== | ||
{| | |||
|style="font-size:75%;"| | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| Line 42: | Line 45: | ||
| 32f | | 32f | ||
|} | |} | ||
|} | |||
===Example=== | ===Example=== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
Latest revision as of 10:26, 19 October 2022
Repositions the quadrants of the fft image, so that the zero frequency components of the fft are at the center of the image. This is useful for visualizing the Fourier transform.
Function
|
Parameters
|
Image Type Support
|
Example
|