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

1 回表示 (過去 30 日間)
Eva Brown
Eva Brown 2019 年 11 月 19 日
回答済み: Image Analyst 2022 年 8 月 1 日
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 Center および File ExchangeRead, 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