Python Function Similiar to Matlab's rangefilt()
Hi, I am working on machine learning where I have to extract certain features. One of these is to find the mean and standard deviation of the image range. The above task can be easily done in MatLab using the rangefilt() function, which returns the range of a 3x3 neighborhood.
Is there any thing similar in Python or OpenCV to help me do the above mentioned task ?