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

Public Types

typedef double data_t
 
typedef double cumul_t
 

Public Member Functions

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 setSrcFrames (const ImageTray< const Channel > &srcTray)=0
 
virtual void setDstFrame (ImageFrame &dst)
 

Public Attributes

ImageView srcWeight
 Precomputed weight field (optional)
 
ImageView uField
 Horizontal velocity.
 
ImageView vField
 Vertical velocity.
 
ImageView dstWeight
 Quality of the velocity.
 

Protected Member Functions

void clearStats ()
 

Protected Attributes

cumul_t Gxx
 
cumul_t Gxy
 
cumul_t Gyy
 
cumul_t Gxt
 
cumul_t Gyt
 
cumul_t Gtt
 
data_t W
 

Member Function Documentation

◆ setDstFrames()

void setDstFrames ( ImageTray< Channel > &  dstTray)
virtual

Set outputs as channels (uField, vField, w)

Channels

  • 0: uField
  • 1: vField
  • alpha: weight

Set quality (weight) channel

Implements WindowCoreBase.


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