|
|
Re: Difference between pixel values and centre pixel in a local neighbourhood
Posted:
Jul 21, 2012 6:48 PM
|
|
Since you're not using sliding blocks but blocks that "jump" in jumps of the window size, you'd have to use blockproc(). Be sure that your function in blockproc returns a 3x3 array, not a single number of else your output image will be 1/3 as big as your input image. If you still can't figure it out, write back.
|
|