how to access neighboring pixels that lie on a square.
1 view (last 30 days)
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.