|
|
@ -101,7 +101,10 @@ void CV_UndistortPointsBadArgTest::run(int) |
|
|
|
img_size.height = 600; |
|
|
|
img_size.height = 600; |
|
|
|
double cam[9] = {150.f, 0.f, img_size.width/2.f, 0, 300.f, img_size.height/2.f, 0.f, 0.f, 1.f}; |
|
|
|
double cam[9] = {150.f, 0.f, img_size.width/2.f, 0, 300.f, img_size.height/2.f, 0.f, 0.f, 1.f}; |
|
|
|
double dist[4] = {0.01,0.02,0.001,0.0005}; |
|
|
|
double dist[4] = {0.01,0.02,0.001,0.0005}; |
|
|
|
double s_points[N_POINTS2] = {img_size.width/4,img_size.height/4}; |
|
|
|
double s_points[N_POINTS2] = { |
|
|
|
|
|
|
|
static_cast<double>(img_size.width) / 4.0, |
|
|
|
|
|
|
|
static_cast<double>(img_size.height) / 4.0, |
|
|
|
|
|
|
|
}; |
|
|
|
double d_points[N_POINTS2]; |
|
|
|
double d_points[N_POINTS2]; |
|
|
|
double p[9] = {155.f, 0.f, img_size.width/2.f+img_size.width/50.f, 0, 310.f, img_size.height/2.f+img_size.height/50.f, 0.f, 0.f, 1.f}; |
|
|
|
double p[9] = {155.f, 0.f, img_size.width/2.f+img_size.width/50.f, 0, 310.f, img_size.height/2.f+img_size.height/50.f, 0.f, 0.f, 1.f}; |
|
|
|
double r[9] = {1,0,0,0,1,0,0,0,1}; |
|
|
|
double r[9] = {1,0,0,0,1,0,0,0,1}; |
|
|
|