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

2 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Image Analyst
Image Analyst il 12 Giu 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!

Translated by