|
Public Member Functions | |
void | setSrcFrames (const ImageTray< const Channel > &srcTray) |
Set inputs as channels 0:Dx, 1:Dy, 2:Dt, 3/alpha: weight. More... | |
Public Member Functions inherited from OpticalFlowCore | |
void | setSrcFrameWeight (const ImageFrame &srcW) |
void | setDstFrames (ImageTray< Channel > &dstTray) |
Set outputs as channels (uField, vField, w) More... | |
void | setDstFrameWeight (const ImageFrame &dstW) |
data_t | nominator () const |
data_t | uDenominator () const |
Returns the horizontal component of motion. Must be scaled by nominator(). | |
data_t | vDenominator () const |
Returns the vertical component of motion. Must be scaled by nominator(). | |
Public Member Functions inherited from WindowCoreBase | |
virtual void | setSrcFrame (const ImageFrame &src) |
virtual void | setDstFrame (ImageFrame &dst) |
Static Public Member Functions | |
static size_t | getDiffChannelCount () |
Public Attributes | |
ImageView | Dx |
Precomputed horizontal diffential. | |
ImageView | Dy |
Precomputed vertical diffential. | |
ImageView | Dt |
Precomputed time diffential. | |
Public Attributes inherited from OpticalFlowCore | |
ImageView | srcWeight |
Precomputed weight field (optional) | |
ImageView | uField |
Horizontal velocity. | |
ImageView | vField |
Vertical velocity. | |
ImageView | dstWeight |
Quality of the velocity. | |
Additional Inherited Members | |
Public Types inherited from OpticalFlowCore | |
typedef double | data_t |
typedef double | cumul_t |
Protected Member Functions inherited from OpticalFlowCore | |
void | clearStats () |
Protected Attributes inherited from OpticalFlowCore | |
cumul_t | Gxx |
cumul_t | Gxy |
cumul_t | Gyy |
cumul_t | Gxt |
cumul_t | Gyt |
cumul_t | Gtt |
data_t | W |
Set inputs as channels 0:Dx, 1:Dy, 2:Dt, 3/alpha: weight.
Channels
Set quality (weight) channel
Implements WindowCoreBase.