how to calculate sum of pixels at differernt radius/scales of an image?

1 view (last 30 days)
Hi, i am new to coding. I want to code the Local Binary pattren on multiple scales in Matlab. For this task I want to add pixels on multiple scale/ radius. As on outer radius no. of pixels are more as compare to inner radius.
i-e on R1, pixels=8 , on R2, pixels=16 on R3, pixels=24 and so on
firstly on outer scales reduce no. of pixels to 8 by taking average of neighboring pixels and then add required scales.
need help.

Answers (1)

Image Analyst
Image Analyst on 1 Aug 2022
See attached demos and adapt as needed.

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!