Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boundary warp
#1
Hello, I make panos with Hugin. The results boundaries are not rectangular.
I need to crop them. Is there a deformation technique to get the most of them, similar to the boundary warp tool in Photoshop?

Note, I have added a feature request here: https://gitlab.gnome.org/GNOME/gimp/-/issues/4679, but until somebody implements it, if somebody will, I need an workaround. I am sure it is not trivial.

Thank you.
Reply
#2
Quote:I need an workaround. I am sure it is not trivial.

I am sure it is not trivial either. Whatever is used can only extrapolate from what is there. You could try the resynthesizer + heal transparency plugin(s)

Using linux? Depends on the distro but good chance of this one working https://www.gimp-forum.net/Thread-Gimp-2...1#pid11261

A quick render with Hugin, a cylindrical projection to give a curved border. Then Filters -> Enhance -> Heal Transparency

Before: https://i.imgur.com/3bIFmZh.jpg

After: https://i.imgur.com/k4soZgM.jpg

As you see not perfect, especially the left side. All very much depends on the image.
Reply
#3
(07-03-2020, 12:17 PM)msdobrescu Wrote: Hello, I make panos with Hugin. The results boundaries are not rectangular.
I need to crop them. Is there a deformation technique to get the most of them, similar to the boundary warp tool in Photoshop?

Note, I have added a feature request here: https://gitlab.gnome.org/GNOME/gimp/-/issues/4679, but until somebody implements it, if somebody will, I need an workaround. I am sure it is not trivial.

Thank you.


You could also try using the Cage Transform tool and/or some strategic cropping, but I would suggest the heal transparency tool the same as @rich2005.

I would add a couple notes though. 
  • If you are not happy with the results, you can try again and will get some different results. (also tweak the sampling area as needed)
  • After an initial try with heal transparency, just select the areas that didn't turn out like you wanted and redo just those parts.
  • Combine this with the heal/clone tools to take care of the finer details.
I looked at your link and hope that feature will be added to gimp, but I doubt it will be anytime soon. I would get comfortable with these tools in the meantime. This took me about 5 mins using those 3 tools.

     
Reply


Forum Jump: