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

2 Ansichten (letzte 30 Tage)
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

Antworten (1)

Image Analyst
Image Analyst am 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!

Translated by