diff --git a/example-flow-distort-shader/src/MotionAmplifier.h b/example-flow-distort-shader/src/MotionAmplifier.h index 2dc2cc3..a81166d 100644 --- a/example-flow-distort-shader/src/MotionAmplifier.h +++ b/example-flow-distort-shader/src/MotionAmplifier.h @@ -65,7 +65,7 @@ class MotionAmplifier { flow.calcOpticalFlow(rescaled); duplicateFirstChannel(flow.getFlow(), flow3); flow3 *= scaleFactor; - flow3 += cv::Scalar_(.5, .5, 0); + flow3 += cv::Scalar(.5, .5, 0); ofxCv::blur(flow3, blurAmount); int w = flow3.cols, h = flow3.rows; if(needToReset || accumulator.size() != flow3.size()) {