mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
fix a bug in MergeDebevec (modify input times)
This commit is contained in:
parent
52444bf8d0
commit
e072fa8121
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user