Jump to content

Straighten curved image algorithm

Recommended Posts

A frequent problem that is encountered in my work involves taking measurements, often the feature within an image is curved which adds a lot of potential for error.


For example, I need to take measurements on objects similar to bananas, sometimes more contorted. We need to take width measurements along the axis at 100 positions.  Because the object is curved, we need to try to make measurements at perpendicular angles relative to the banana, and it gets harder when the object is more curved.


If I could draw a line along the the axis, and the outline of the entire object, then taking the length of the line the object could be straightened into shape, or maybe even a list of widths in pixels or some other unit.


Just thoughts, probably better ways of thinking about the problem, but it would be *very* useful to tweak an object into different shapes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...