Distict block processing for an image
y = imblockproc(x,blk,func)
Source Image
Block size [m,n]
A function name which provide the processing function. The fucntion
This function is block processing function with distinct blocks. Distinct blocks are rectangular partitions that divide an image matrix into m-by-n section
A = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png")); deff('y=myfunc(x)','y = mean(x)'); y = imblockproc(A,[9 9],'myfunc'); imshow(y); | ![]() | ![]() |