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

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (1)

Image Analyst
Image Analyst il 1 Ago 2022
See attached demos and adapt as needed.

Categorie

Scopri di più su Read, Write, and Modify Image in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by