Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Uncurling a curved image
#1
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?


Attached Files Image(s)
   
Reply
#2
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!
Reply


Forum Jump: