How to write a program that read block by block ?

I am having a matrix of size 512x512. Now I have to extract 16x16 blocks from the matrix and encode each of the blocks. Now there will be a total of 1024 blocks. How to write a program to extract each of the blocks?

Asked:

on 23 Apr 2018

Answered:

on 23 Apr 2018

Community Treasure Hunt

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

Start Hunting!