<< imblockproc Image Block Processing imcolproc >>

IPCV >> Image Block Processing > imblockslide

imblockslide

Sliding 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 sliding blocks. Sliding 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 = imblockslide(A,[9 9],'myfunc');
imshow(y);

See also

Authors


Report an issue
<< imblockproc Image Block Processing imcolproc >>