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. 3×3,5×5,7×7 etc.
Thanks
If your red, green and blue image bands were stored in variables
r,g, andb, would this do what you need?