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

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

回答(1 个)

Image Analyst
Image Analyst 2022-8-1
See attached demos and adapt as needed.

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by