Difference between revisions of "Function:OpticalFlowHS"
From CUVI Wiki
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
===Function=== | ====Function==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
< | <syntaxhighlight lang="C"> | ||
CuviStatus opticalFlowHS(const CuviImage& previous, | CuviStatus opticalFlowHS(const CuviImage& previous, | ||
const CuviImage& next, | const CuviImage& next, | ||
Line 12: | Line 12: | ||
const Cuvi32s iterations = 1, | const Cuvi32s iterations = 1, | ||
const CuviStream& stream = CuviStream()); | const CuviStream& stream = CuviStream()); | ||
</ | </syntaxhighlight> | ||
|} | |} | ||
Revision as of 22:14, 18 October 2022
Function
|
Parameters
Name | Type | Description |
---|---|---|
previous | const CuviImage& | The first image whose features are to be tracked |
next | const CuviImage& | Second image, in which to look for features of first image |
flowX | Cuvi32f* | Horizontal velocity vector |
flowY | Cuvi32f* | Vertical velocity vector |
usePrevious | bool | use previous (input) velocity field |
lambda | const Cuvi32f | Lagrangian multiplier |
iterations | const Cuvi32s | Maximum number of iterations |
stream | CuviStream* | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | 32fC1 |
Sample
Error creating thumbnail: Unable to save thumbnail to destination
Example
|