how to access neighboring pixels that lie on a square.

1 次查看(过去 30 天)
Hi everyone, I am working on image processing. I want to find LBP on different scales. by
firstly adding neighbors on each scale/radius (by taking average of every 2 or 3 .. pixels and make them 8) then concatenating scales and for final LBP code i have to consider 8 neigbhoring points.
but on R1, neighboring points=8
on R1, neighboring points=16,
R1, neighboring points=24
an so on..
now how to access 16 ponts on R2, to make them 8 by taking average of every two points.
I try to explain it in simple words. can anybody help to code this.
Regards.

回答(1 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-11-25
Here Documentation more detail
90.png
  2 个评论
Eva Brown
Eva Brown 2019-11-25
sir, my task is to take average of neighboring pixels at different scale and make them 8. and then adding all cosidered radius/scales. befor further processing. but i cant understand how to access all pixels of different scales seperately, for averaging them.
for simplicity in example considered Radius is R1 and R2. but R can be any positive value.jlbp1.png

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by