Gimp-Forum.net

Full Version: Uncurling a curved image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm keen to uncurl an image. By which I mean I have this attached image and I'd like to make of this a straight blade.

Intuition suggests I could trace the border and then trace a path down the central axis and apply some transform that straightens the central axis while holding the image in proportion, uncurling the curve so to speak. But that's a pipe dream perhaps.

So I've looked and searched and best I've found so far is the cage transform. But it's both very slow, very fiddly and hard to get a nice transform with very odd unintuitive responses to pushing points around IMHO.

Is there a simpler/better way, either in GIMP or already scripted, which can uncurl an image like this one?
Turns out I had good fortunes with this:

https://imagej.nih.gov/ij/plugins/straighten.html

Tidying up the results in GIMP with a few selective curve bend distortions to smooth out some of the wrinkles.

Be nice to see a similar extension in GIMP!