Commit e072fa81 authored by Julien Dehos's avatar Julien Dehos

fix a bug in MergeDebevec (modify input times)

parent 52444bf8
......@@ -85,7 +85,7 @@ public:
CV_Assert(log_response.rows == LDR_SIZE && log_response.cols == 1 &&
log_response.channels() == channels);
Mat exp_values(times);
Mat exp_values(times.clone());
log(exp_values, exp_values);
result = Mat::zeros(size, CV_32FCC);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment