MCPcopy Create free account
hub / github.com/PRBonn/depth_clustering / TestAngleDiff

Class TestAngleDiff

test/test_angle_diff.cpp:32–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30using namespace std;
31
32class TestAngleDiff : public AngleDiffPrecomputed {
33 public:
34 TestAngleDiff(const cv::Mat* source_image, const ProjectionParams* params)
35 : AngleDiffPrecomputed{source_image, params} {}
36 ~TestAngleDiff() {}
37
38 vector<float> GetRowAlphas() const { return _row_alphas; }
39 vector<float> GetColAlphas() const { return _col_alphas; }
40 cv::Mat GetRowBetas() const { return _beta_rows; }
41 cv::Mat GetColBetas() const { return _beta_cols; }
42};
43
44TEST(AngleDiff, AlphasRows) {
45 int size = 4;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected