#include <ts.hpp>
Inherits cvtest::BaseTest.
Public Member Functions | |
| ArrayTest () | |
| virtual | ~ArrayTest () |
| virtual void | clear () |
| virtual void | run (int start_from) |
| virtual void | safe_run (int start_from=0) |
| const string & | get_name () const |
| virtual bool | can_do_fast_forward () |
Protected Types | |
| enum | { INPUT, INPUT_OUTPUT, OUTPUT, REF_INPUT_OUTPUT, REF_OUTPUT, TEMP, MASK, MAX_ARR } |
Protected Member Functions | |
| virtual int | read_params (CvFileStorage *fs) |
| virtual int | prepare_test_case (int test_case_idx) |
| virtual int | validate_test_results (int test_case_idx) |
| virtual void | prepare_to_validation (int test_case_idx) |
| virtual void | get_test_array_types_and_sizes (int test_case_idx, vector< vector< Size > > &sizes, vector< vector< int > > &types) |
| virtual void | fill_array (int test_case_idx, int i, int j, Mat &arr) |
| virtual void | get_minmax_bounds (int i, int j, int type, Scalar &low, Scalar &high) |
| virtual double | get_success_error_level (int test_case_idx, int i, int j) |
| virtual int | get_test_case_count () |
| virtual void | run_func () |
| virtual int | update_progress (int progress, int test_case_idx, int count, double dt) |
| const CvFileNode * | find_param (CvFileStorage *fs, const char *param_name) |
Protected Attributes | |
| bool | cvmat_allowed |
| bool | iplimage_allowed |
| bool | optional_mask |
| bool | element_wise_relative_error |
| int | min_log_array_size |
| int | max_log_array_size |
| vector< vector< void * > > | test_array |
| vector< vector< Mat > > | test_mat |
| float | buf [4] |
| int | test_case_count |
| string | name |
| TS * | ts |
anonymous enum [protected] |
| virtual cvtest::ArrayTest::~ArrayTest | ( | ) | [virtual] |
| virtual void cvtest::ArrayTest::clear | ( | ) | [virtual] |
Reimplemented from cvtest::BaseTest.
| virtual int cvtest::ArrayTest::read_params | ( | CvFileStorage * | fs | ) | [protected, virtual] |
Reimplemented from cvtest::BaseTest.
| virtual int cvtest::ArrayTest::prepare_test_case | ( | int | test_case_idx | ) | [protected, virtual] |
Reimplemented from cvtest::BaseTest.
| virtual int cvtest::ArrayTest::validate_test_results | ( | int | test_case_idx | ) | [protected, virtual] |
Reimplemented from cvtest::BaseTest.
| virtual void cvtest::ArrayTest::prepare_to_validation | ( | int | test_case_idx | ) | [protected, virtual] |
| virtual void cvtest::ArrayTest::get_test_array_types_and_sizes | ( | int | test_case_idx, |
| vector< vector< Size > > & | sizes, | ||
| vector< vector< int > > & | types | ||
| ) | [protected, virtual] |
| virtual void cvtest::ArrayTest::fill_array | ( | int | test_case_idx, |
| int | i, | ||
| int | j, | ||
| Mat & | arr | ||
| ) | [protected, virtual] |
| virtual void cvtest::ArrayTest::get_minmax_bounds | ( | int | i, |
| int | j, | ||
| int | type, | ||
| Scalar & | low, | ||
| Scalar & | high | ||
| ) | [protected, virtual] |
| virtual double cvtest::ArrayTest::get_success_error_level | ( | int | test_case_idx, |
| int | i, | ||
| int | j | ||
| ) | [protected, virtual] |
| virtual void cvtest::BaseTest::run | ( | int | start_from | ) | [virtual, inherited] |
| virtual void cvtest::BaseTest::safe_run | ( | int | start_from = 0 | ) | [virtual, inherited] |
| const string& cvtest::BaseTest::get_name | ( | ) | const [inherited] |
| virtual bool cvtest::BaseTest::can_do_fast_forward | ( | ) | [virtual, inherited] |
| virtual int cvtest::BaseTest::get_test_case_count | ( | ) | [protected, virtual, inherited] |
| virtual void cvtest::BaseTest::run_func | ( | ) | [protected, virtual, inherited] |
Reimplemented in cvtest::BadArgTest.
| virtual int cvtest::BaseTest::update_progress | ( | int | progress, |
| int | test_case_idx, | ||
| int | count, | ||
| double | dt | ||
| ) | [protected, virtual, inherited] |
| const CvFileNode* cvtest::BaseTest::find_param | ( | CvFileStorage * | fs, |
| const char * | param_name | ||
| ) | [protected, inherited] |
bool cvtest::ArrayTest::cvmat_allowed [protected] |
bool cvtest::ArrayTest::iplimage_allowed [protected] |
bool cvtest::ArrayTest::optional_mask [protected] |
bool cvtest::ArrayTest::element_wise_relative_error [protected] |
int cvtest::ArrayTest::min_log_array_size [protected] |
int cvtest::ArrayTest::max_log_array_size [protected] |
vector<vector<void*> > cvtest::ArrayTest::test_array [protected] |
vector<vector<Mat> > cvtest::ArrayTest::test_mat [protected] |
float cvtest::ArrayTest::buf[4] [protected] |
int cvtest::BaseTest::test_case_count [protected, inherited] |
string cvtest::BaseTest::name [protected, inherited] |
TS* cvtest::BaseTest::ts [protected, inherited] |