fixed several problems with CUDA 5.0
* gpu::LUT, uses device memory instead of host memory * gpu::multiply, round mod for CV_8U depth
This commit is contained in:
@@ -311,7 +311,7 @@ TEST_P(ConvertTo, WithScaling)
|
||||
cv::Mat dst_gold;
|
||||
src.convertTo(dst_gold, depth2, a, b);
|
||||
|
||||
EXPECT_MAT_NEAR(dst_gold, dst, depth2 < CV_32F ? 0.0 : 1e-4);
|
||||
EXPECT_MAT_NEAR(dst_gold, dst, depth2 < CV_32F ? 1.0 : 1e-4);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user