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 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Rashmi.D Jeya kumar
il 6 Gen 2018
Commentato: Rashmi.D Jeya kumar
il 10 Gen 2018
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 Commenti
Risposta accettata
Image Analyst
il 6 Gen 2018
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.
Più risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!