07-14-2019, 04:56 AM
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?
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?