Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Get perimeter of pixels around centre pixel

I am attempting to get a circle of pixels around a centre pixel. Ie, just like how FAST keypoint detector works, I want to get the perimeter pixels around it given a radius. However the math escapes me, I know theoretically how I could obtain it using trigonometry. Ie, I could use a for loop and iterate at 15 degrees. I know the triangle hypotenuse length is the radius, I know the angle.

Any advice how I could obtain a perimeter of pixels around a given pixel?

Get perimeter of pixels around centre pixel

I am attempting to get a circle of pixels around a centre pixel. Ie, just like how FAST keypoint detector works, I want to get the perimeter pixels around it given a radius. However the math escapes me, I know theoretically how I could obtain it using trigonometry. Ie, I could use a for loop and iterate at 15 degrees. I know the triangle hypotenuse length is the radius, I know the angle.

Any advice how I could obtain a perimeter of pixels around a given pixel?

image description