<< im2col Image Block Processing imblockslide >>

IPCV >> Image Block Processing > imblockproc

imblockproc

Distict block processing for an image

Syntax

y = imblockproc(x,blk,func)

Parameters

x :

Source Image

blk :

Block size [m,n]

func :

A function name which provide the processing function. The fucntion

Description

This function is block processing function with distinct blocks. Distinct blocks are rectangular partitions that divide an image matrix into m-by-n section

Examples

A = imread(fullpath(getIPCVpath() + "/images/balloons_gray.png"));
deff('y=myfunc(x)','y = mean(x)');
y = imblockproc(A,[9 9],'myfunc');
imshow(y);

See also

Authors


Report an issue
<< im2col Image Block Processing imblockslide >>