@@ -208,17 +208,12 @@ TEST(Photo_MergeRobertson, regression)
208
208
vector<Mat> images;
209
209
vector<float > times;
210
210
loadExposureSeq (test_path + " exposures/" , images, times);
211
-
212
211
Ptr<MergeRobertson> merge = createMergeRobertson ();
213
-
214
212
Mat result, expected;
215
213
loadImage (test_path + " merge/robertson.hdr" , expected);
216
214
merge->process (images, result, times);
217
- Ptr<Tonemap> map = createTonemap ();
218
- map->process (result, result);
219
- map->process (expected, expected);
220
215
221
- checkEqual (expected, result, 1e- 2f , " MergeRobertson" );
216
+ checkEqual (expected, result, 5 . f , " MergeRobertson" );
222
217
}
223
218
224
219
TEST (Photo_CalibrateDebevec, regression)
@@ -252,5 +247,5 @@ TEST(Photo_CalibrateRobertson, regression)
252
247
253
248
Ptr<CalibrateRobertson> calibrate = createCalibrateRobertson ();
254
249
calibrate->process (images, response, times);
255
- checkEqual (expected, response, 1e-3f , " CalibrateRobertson" );
250
+ checkEqual (expected, response, 1e-1f , " CalibrateRobertson" );
256
251
}
0 commit comments