Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV / C++: Adding feather to the content of a shape in cv::Mat

Hi there

I have an image (irregular shaped) in some part of a cv::Mat object (cv::Mat(750, 750, CV_8UC4))

I would like to add 15px wide feather to around the shape in the cv::Mat object with some blur effect. Please note that I don't want to add blur to the shape itself. I need it added to the outside of the shape.

If you could please help me to achieve that, that would be much appreciated.

Hope the question makes sense.

Cheers