Commit 988b1088 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky Committed by OpenCV Buildbot

Merge pull request #2701 from thoinvil:BugfixFilterEngineApplyROI

parents 44acfc38 e50ef2da
...@@ -453,8 +453,11 @@ void FilterEngine::apply(const Mat& src, Mat& dst, ...@@ -453,8 +453,11 @@ void FilterEngine::apply(const Mat& src, Mat& dst,
dstOfs.y + srcRoi.height <= dst.rows ); dstOfs.y + srcRoi.height <= dst.rows );
int y = start(src, srcRoi, isolated); int y = start(src, srcRoi, isolated);
proceed( src.data + y*src.step, (int)src.step, endY - startY, proceed( src.data + y*src.step
dst.data + dstOfs.y*dst.step + dstOfs.x*dst.elemSize(), (int)dst.step ); + srcRoi.x*src.elemSize(),
(int)src.step, endY - startY,
dst.data + dstOfs.y*dst.step +
dstOfs.x*dst.elemSize(), (int)dst.step );
} }
} }
......
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