how to assign 4-bit code to 3*3 overlapping blocks of an image depending on their spatial locations

2 views (last 30 days)
i have divided an image into 3*3 overlapping blocks and now i need to assign 4-bit code to the blocks depending on their spatial locations specifying left, right, bottom and top region of the image

Answers (1)

Image Analyst
Image Analyst on 12 Jun 2016
Use blockproc(). See attached demos. Adapt as needed.

Community Treasure Hunt

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

Start Hunting!