how to access neighboring pixels that lie on a square.

1 vue (au cours des 30 derniers jours)
Eva Brown
Eva Brown le 25 Nov 2019
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.

Réponses (1)

KALYAN ACHARJYA
KALYAN ACHARJYA le 25 Nov 2019
Here Documentation more detail
90.png
  2 commentaires
Eva Brown
Eva Brown le 25 Nov 2019
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
KALYAN ACHARJYA
KALYAN ACHARJYA le 30 Nov 2019
Modifié(e) : KALYAN ACHARJYA le 30 Nov 2019
How you decided R value?
e.g.
loop
fetch R
do averaging
end

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by