Generate circle from array of pixels

asked 2016-10-28 06:02:38 -0500

Finfa811 gravatar image

updated 2016-10-28 06:10:55 -0500

Hi,

I have an array of pixels (100x1 Mat) and I would like to rotate it to generate a circle of radius = lenght of image, extending the values into any other direction (0-360º).

i.e. I want to go from this: grayscale1D to this: grayscale_circle.

Any idea about how to address this issue?

edit retag flag offensive close merge delete

Comments

2

may you can use this post

LBerger gravatar imageLBerger ( 2016-10-28 06:26:19 -0500 )edit

Thanks, I've fixed it tuning a bit the solution of that post.

Finfa811 gravatar imageFinfa811 ( 2016-10-28 07:34:41 -0500 )edit