Ask Your Question
0

Looking for a way to turn a circle (unfilled) into a line.

asked 2016-07-13 15:27:43 -0500

Mytheral gravatar image

So I have a bunch of data on an image that is condensed into an outer ring around a picture.

It looks something like this.

image description

What I want to do is take the segmented circle and unwrap it so it's a segmented line.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-07-13 17:36:08 -0500

Tetragramm gravatar image

If you know the center, you can use the linearPolar function to unwrap the image. You use the WARP_INVERSE_MAP to make it go from polar to cartesian, and now it's a line.

I'm not sure what point would be the beginning of the line, but you can experiment.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-07-13 15:27:43 -0500

Seen: 99 times

Last updated: Jul 13 '16