How to get Pixels on two circles with radii R and R' for an image with angles 0, 45, 90, 135, 180, 225, 270, 315, 360.Extented local Binary Pattern(ELBP)
1 回表示 (過去 30 日間)
古いコメントを表示
Rashmi.D Jeya kumar
2018 年 1 月 6 日
コメント済み: Rashmi.D Jeya kumar
2018 年 1 月 10 日
How to get Pixels on two circles with radii R and R' for an image with angles 0, 45, 90, 135, 180, 225, 270, 315, 360.Extented local Binary Pattern(ELBP)
0 件のコメント
採用された回答
Image Analyst
2018 年 1 月 6 日
Well, you know the formulas, don't you
x = xCenter + r * cosd(theta)
y = yCenter + r * sind(theta)
and so on. So where are you having trouble? Just round it to get the columns and rows
column = round(x);
row = round(y);
pixelValue = yourImage(row, column);
I'm attaching my LBP demo.
6 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Feature Detection and Extraction についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!