I have a function which calculates image texture (using 2D convolution via NLFILTER):
y=imagetexture(image,winsize)
In my matlab workspace I have 3 variables; the red green and blue bands of an image (r,g,b).
How can I repeatedly run this function on each band (r,g,b) for various window sizes?
e.g. 3x3,5x5,7x7 etc.
Thanks