fix a bug in MergeDebevec (modify input times)

This commit is contained in:
Julien Dehos 2016-07-26 18:01:36 +02:00
parent 52444bf8d0
commit e072fa8121

View File

@ -85,7 +85,7 @@ public:
CV_Assert(log_response.rows == LDR_SIZE && log_response.cols == 1 && CV_Assert(log_response.rows == LDR_SIZE && log_response.cols == 1 &&
log_response.channels() == channels); log_response.channels() == channels);
Mat exp_values(times); Mat exp_values(times.clone());
log(exp_values, exp_values); log(exp_values, exp_values);
result = Mat::zeros(size, CV_32FCC); result = Mat::zeros(size, CV_32FCC);