I’m curious to know if anyone knows of any effective techniques for finding the center line of a curved object.
In the screenshot below you’ll see a crude version of what I mean.
Is there any way to get that line to perfectly trace the center, or is it easiest to just eyeball it?
Photoshop or Illustrator techniques are acceptable.
If you are happy with just getting close, this works in Illustrator – especially for an image that has a consistent width like your example.
Draw a circle that is the same width as your object’s width
Copy/paste the circle as many times as needed and distribute around the object. Use enough of them to follow the shape fairly closely
Using the pen tool simply draw a line through the centerpoints of the circles you made. Just connect them straight, don’t worry about curves.
Use the smooth tool to curve the line you just made. (just follow the curve of the original with the smooth tool) If necessary you can make curve adjustments separately at the bezier points.
Delete the circles
The picture below will demonstrate a little better.