Address blocks in sliding windows?

1 view (last 30 days)
Horia on 8 Aug 2014
Edited: Horia on 8 Aug 2014
I'm trying to use a sliding window in nlfilter (or colfilter, or blockproc) to replace pixels, in the m-by-n block x. nlfilter calls, with black pixels if var(block)>=500.
But I don't know how to address these blocks, and hence what function to use.
Can you suggest anything?
Thank you!

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!