<< imblockslide Image Block Processing Image Enhancement and Restoration >>

IPCV >> Image Block Processing > imcolproc

imcolproc

Sliding block processing for an image, with vectorization

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, with each sliding blocks converted to column matrix for faster performance.

Examples

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

See also

Authors


Report an issue
<< imblockslide Image Block Processing Image Enhancement and Restoration >>