I would like to know how I can do a low-pass filter in opencv on an IplImage.
For example “boxcar” or something similar.
I’ve googled it but i can’t find a clear solution.
If anyone could give me an example or point me in the right direction on how to implement this in opencv or javacv I would be grateful.
Thx in advance.
Here is an example using the C API and IplImage:
For information about what parameters of the cvSmooth function you can have a look at the cvSmooth Documentation.
If you want to use a custom filter mask you can use the function
cvFilter2D:These examples use OpenCV 2.3.1.