MATLAB: Local variation of image

image processingMATLABstandard deviation

I want to calculate the local standard variation in a sliding window for an image. How it should be done using matlab ??

Best Answer

Thank you. Regarding to your comments I've a solution also. J = colfilt(I,[5 5],'sliding',@std); I hope your suggestions for my solution.