how to display the first block of the image by using block processing

1 view (last 30 days)
my original image is 256*256.
fun=@(x) x.*3;
B = blkproc(I,[4 4],[1 1],fun);
how can i call to the first block and display first 4*4 matrix.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!