SDK CV Pipeline¶
-
struct
Metavision
::
FlowFrameGenerationStage
: public Metavision::BaseStage¶ Public Functions
-
FlowFrameGenerationStage
(int width, int height, int fps)¶ Constructor.
This constructor expects the user to eventually call set_consuming_callback with the stages producing CD and flow events.
- Parameters
width
: Width of the generated frame (in pixels)height
: Height of the generated frame (in pixels)fps
: The frame rate of the generated sequence of frames
-
FlowFrameGenerationStage
(BaseStage &prev_cd_stage, BaseStage &prev_flow_stage, int width, int height, int fps)¶ Constructor.
Convenience overload that directly sets the consuming callback
- Parameters
width
: Width of the generated frameheight
: Height of the generated framefps
: The frame rate of the generated sequence of framesprev_cd_stage
: the stage producing CD events to be consumedprev_flow_stage
: the stage producing flow events to be consumed
-