Block Division using cell

Using cell data type one can effectively breaks the 2D/3D data in to required no. of blocks.

You are now following this Submission

Two functions are provided; one to break the data in blocks and another one to recombine them in proper order.
- Code given can break any 2d image into 8*8 blocks and put them in a cell. For ex. function assumes the input image of size 512x512 and it will break this image in to 4096 blocks of 8x8 elements each.
- One can perform desired operation on each block individually like watermarking, enhancement etc.
- After processing second function accept 4096 blocks (a single cell) as input and gives back original image back.

Cite As

Suraj Kamya (2026). Block Division using cell (https://www.mathworks.com/matlabcentral/fileexchange/40443-block-division-using-cell), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0