I would like to apply "std filter" with a fixed patch size to a single channel image.
That is I want out[i,j]
to equal the std of the pixels values at a neighborhood around img[i,j]
.
For those of you who are familiar with Matlab, I'm looking for the equivalent of
>> out = nlfilter( img, [P P], @std );
Is there a way to do this using ippi
functions?
I came across ippiMean_StdDev
but it seems to work for a single window, and not a sliding window (returning a scalar value rather than an array).
I also saw ippiRectStdDev
but the manual states this function is for integral images - and I don't see how this applies in my case.
Does anyone has a working example or a more detailed manual for this?