Difference between revisions of "Function:OpticalFlowPyrLKDense"
From CUVI Wiki
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Computes Dense Optical Flow between each pixel of two images using pyramidal Lucas-Kanade method. | Computes Dense Optical Flow between each pixel of two images using pyramidal Lucas-Kanade method. | ||
===Function=== | ====Function==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus opticalFlowPyrLKDense(const CuviImage& previous, | CuviStatus opticalFlowPyrLKDense(const CuviImage& previous, | ||
| Line 15: | Line 15: | ||
===Parameters=== | ===Parameters=== | ||
{| | |||
|style="font-size:75%;"| | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
| Line 44: | Line 46: | ||
| 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 58: | Line 60: | ||
| 2x Cuvi32f* | | 2x Cuvi32f* | ||
|} | |} | ||
|} | |} | ||
====Samples==== | |||
[[File:OF_frame1.png|none|frame|First Input Image (8-bit)]] | |||
<br/> | |||
[[File:OF_frame2.png|none|frame|Second Input Image (8-bit)]] | |||
<br/> | |||
[[File:OF_flowMag.png|none|frame| Optical Flow Magnitude]] | |||
<br/> | |||
[[File:OF_sparseFlow.png|none|frame| Flow of selected points]] | |||
<br/> | |||
====Code Example==== | |||
===Example=== | |||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
Latest revision as of 14:18, 18 October 2022
Computes Dense Optical Flow between each pixel of two images using pyramidal Lucas-Kanade method.
Function
|
Parameters
|
Image Type Support
|
Samples
Code Example
|



