myFilterHandle = @myFilter;
blockyImage = blockproc(grayImage,[windowSize windowSize], myFilterHandle);
tell me the description of this code.....
No products are associated with this question.
The @ notation is for an anonymous function. It's a handle for a function
presumably this function myFilter is defined somewhere on your path or previously in the command window.
f = @(x) x^2; f(2)
f(2) returns 4 here.
In your example you are taking the image in grayImage and using the function myFilter() to operate on blocks of that image with dimension [windowSize windowSize]