APM:Libraries
Public Member Functions | Private Attributes | List of all members
Linux::Flow_PX4 Class Reference

#include <Flow_PX4.h>

Public Member Functions

 Flow_PX4 (uint32_t width, uint32_t bytesperline, uint32_t max_flow_pixel, float bottom_flow_feature_threshold, float bottom_flow_value_threshold)
 
uint8_t compute_flow (uint8_t *image1, uint8_t *image2, uint32_t delta_time, float *pixel_flow_x, float *pixel_flow_y)
 

Private Attributes

uint32_t _width
 
uint32_t _search_size
 
uint32_t _bytesperline
 
float _bottom_flow_feature_threshold
 
float _bottom_flow_value_threshold
 
uint16_t _pixlo
 
uint16_t _pixhi
 
uint16_t _pixstep
 
uint8_t _num_blocks
 

Detailed Description

Definition at line 21 of file Flow_PX4.h.

Constructor & Destructor Documentation

◆ Flow_PX4()

Flow_PX4::Flow_PX4 ( uint32_t  width,
uint32_t  bytesperline,
uint32_t  max_flow_pixel,
float  bottom_flow_feature_threshold,
float  bottom_flow_value_threshold 
)

Definition at line 52 of file Flow_PX4.cpp.

Member Function Documentation

◆ compute_flow()

uint8_t Flow_PX4::compute_flow ( uint8_t *  image1,
uint8_t *  image2,
uint32_t  delta_time,
float *  pixel_flow_x,
float *  pixel_flow_y 
)

Definition at line 234 of file Flow_PX4.cpp.

Referenced by Linux::OpticalFlow_Onboard::_run_optflow().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _bottom_flow_feature_threshold

float Linux::Flow_PX4::_bottom_flow_feature_threshold
private

Definition at line 33 of file Flow_PX4.h.

Referenced by compute_flow().

◆ _bottom_flow_value_threshold

float Linux::Flow_PX4::_bottom_flow_value_threshold
private

Definition at line 34 of file Flow_PX4.h.

Referenced by compute_flow().

◆ _bytesperline

uint32_t Linux::Flow_PX4::_bytesperline
private

Definition at line 32 of file Flow_PX4.h.

Referenced by compute_flow().

◆ _num_blocks

uint8_t Linux::Flow_PX4::_num_blocks
private

Definition at line 38 of file Flow_PX4.h.

Referenced by compute_flow(), and Flow_PX4().

◆ _pixhi

uint16_t Linux::Flow_PX4::_pixhi
private

Definition at line 36 of file Flow_PX4.h.

Referenced by compute_flow(), and Flow_PX4().

◆ _pixlo

uint16_t Linux::Flow_PX4::_pixlo
private

Definition at line 35 of file Flow_PX4.h.

Referenced by compute_flow(), and Flow_PX4().

◆ _pixstep

uint16_t Linux::Flow_PX4::_pixstep
private

Definition at line 37 of file Flow_PX4.h.

Referenced by compute_flow(), and Flow_PX4().

◆ _search_size

uint32_t Linux::Flow_PX4::_search_size
private

Definition at line 31 of file Flow_PX4.h.

Referenced by compute_flow(), and Flow_PX4().

◆ _width

uint32_t Linux::Flow_PX4::_width
private

Definition at line 30 of file Flow_PX4.h.

Referenced by Flow_PX4().


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