Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
OpticalFlowCore1 Class Reference
Inheritance diagram for OpticalFlowCore1:
Inheritance graph
[legend]
Collaboration diagram for OpticalFlowCore1:
Collaboration graph
[legend]

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
 

Member Function Documentation

◆ setSrcFrames()

void setSrcFrames ( const ImageTray< const Channel > &  srcTray)
virtual

Set inputs as channels 0:Dx, 1:Dy, 2:Dt, 3/alpha: weight.

Channels

  1. Dx
  2. Dy
  3. Dt
  4. 3/alpha: weight

Set quality (weight) channel

Implements WindowCoreBase.


The documentation for this class was generated from the following files: