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

2 次查看(过去 30 天)
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

回答(1 个)

Image Analyst
Image Analyst 2016-6-12
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!

Translated by