Skip to content

Commit

Permalink
Resize motion image before adding.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Pan committed May 14, 2015
1 parent 15dcc4f commit de95671
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions VideoProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,7 @@ void VideoProcessor::colorMagnify()
for (int i=0; i<length-1 && !isStop(); ++i) {
// up-sample the motion image
upsamplingFromGaussianPyramid(filteredFrames.at(i), levels, motion);
resize(motion, motion, frames.at(i).size());
temp = frames.at(i) + motion;
output = temp.clone();
double minVal, maxVal;
Expand Down

0 comments on commit de95671

Please sign in to comment.