JeVoisBase
1.18
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
Share this page: |
|
|
|
 |
 |
|
Go to the documentation of this file.
22 #include <opencv2/core/core.hpp>
62 public jevois::Parameter<fastopticalflow::opoint, fastopticalflow::factor,
63 fastopticalflow::thetasf, fastopticalflow::thetait,
64 fastopticalflow::thetaps, fastopticalflow::thetaov,
65 fastopticalflow::usevref>
76 void process(cv::Mat
const & src, cv::Mat & dst);
79 void onParamChange(fastopticalflow::opoint
const & param,
int const & val)
override;
80 void onParamChange(fastopticalflow::thetasf
const & param,
int const & val)
override;
81 void onParamChange(fastopticalflow::thetaps
const & param,
int const & val)
override;
82 void onParamChange(fastopticalflow::thetaov
const & param,
float const & val)
override;
jevois::Profiler itsProfiler
virtual ~FastOpticalFlow()
Destructor.
JEVOIS_DECLARE_PARAMETER(thresh1, double, "First threshold for hysteresis", 50.0, ParamCateg)
cv::Mat * img_bo_dx_fmat_pyr
Fast optical flow computation using dense inverse search.
JEVOIS_DECLARE_PARAMETER_WITH_CALLBACK(l2grad, bool, "Use more accurate L2 gradient norm if true, L1 if false", false, ParamCateg)
void onParamChange(fastopticalflow::opoint const ¶m, int const &val) override
cv::Mat * img_bo_fmat_pyr
const float ** img_bo_dx_pyr
cv::Mat * img_bo_dy_fmat_pyr
FastOpticalFlow(std::string const &instance)
Constructor.
void process(cv::Mat const &src, cv::Mat &dst)
Process a greyscale image and return flow in a pre-allocated greyscale image of same with and 2x heig...
const float ** img_bo_pyr
const float ** img_bo_dy_pyr