how can i draw bicircles with radius R and R' for ELBP(extented local binary pattern ) and find (g0,g1,g2..g7)R and (g0,g1,g2..g7)R' ?

2 次查看(过去 30 天)
+
I have difficult in understanding about ELBP feature extraction.please help me!how can i draw bicircles with radius R and R' for ELBP(extented local binary pattern ) and find (g0,g1,g2..g7)R and (g0,g1,g2..g7)R' ?

采纳的回答

KSSV
KSSV 2018-1-5
You know the locations.....they are at angles 0, 45, 90, 135, 180, 225, 270, 315 and 360 degrees.
Angles = [0, 45, 90, 135, 180, 225, 270, 315, 360] ; % location in degrees
% In polar coordinates
iwant = [repmat(R,1, length(Angles)); Angles*pi/180]
% In cartesian coordinates
x = R*cos(Angles*pi/180) ;
y = R*cos(Angles*pi/180) ;
Where R is your radius of circle

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by