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 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168489/image.png)
+
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' ?
0 个评论
采纳的回答
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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Cartesian Coordinate System Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!