OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Tue, 11 Oct 2016 03:20:27 -0500Convolution of ROI using as border the pixels outside the ROIhttp://answers.opencv.org/question/104284/convolution-of-roi-using-as-border-the-pixels-outside-the-roi/Hello,
is it possible to calculate the convolution of a ROI of an image and use as border the border of the ROI which is outside the ROI (not included in the ROI)?
If yes, how is it calculated?
For example, I used filter2D on a ROI selected with Rect(), but in filter2D there isn't a border option which matches with what I'm describing above..
[example.png](/upfiles/14761756546867281.png)
edit: To visualize what I'm describing, in the attached file, I want to calculate the convolution of the yellow ROI using as border the pixels around the yellow ROI (the ones included in the blue rectangle but do not belong to the yellow rectangle).
Thank you for your time,
Panos pmousoulTue, 11 Oct 2016 03:20:27 -0500http://answers.opencv.org/question/104284/