Add boundary warp feature
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hugin |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
There are panoramas like nature landscapes that need to take more from the projection.
In those cases, some or more pixels could be taken from the projection outside the crop with more or less distortion, but without becoming unnatural.
For such cases, a distortion/
The goal would be either calculate some approximate polygon around the projection and generate a transformation in a range 0% - 100% that would reshape the projection to a rectangle, leaving the user to adjust the amount according to his taste, either let the user adjust himself the projection similarly to GIMP's cage tool, either make both options available in Hugin's tradition, depending on the chosen mode, simple or advanced/expert.
After studying GIMP cage, but important for the panorama distortion process,
there should be two cage point moving modes: one as it is now in GIMP, individual moving of points, one new to GIMP, I call that elastic mode,
when moving a node should adjust other nodes in relation to that node movement, like proportionally reduce all the segments between all the defined points, in order to stretch the image naturally and keeping a general image proportion, on its entire surface.
In order to better explain the reason for this request, I provide here my limited experience I've had with GIMP trying to reshape panoramas I've made with the cage tool. I put emphasis on "my experience".
In short, I have stitched 9 images in Hugin, that generated an 148MB TIFF of about 8600 x 2600 px.
I've opened GIMP and made a cage of 14 points, then started adjust it.
On my i7 920 with 24GB RAM system, took about 15 mins to calculate the initial cage definition, then about 1-3 mins to move points. It is a painful process and sometimes the cage disappears for some reason (bug?), sometimes I need to come back to the process, in which case I have to redefine the cage again and again, which is totally unproductive, as the cage can't be persisted even using GIMP native format, xcf. Also, working with the full image is a consuming process, so I think Hugin should work with a smaller sample, as the panorama preview seems to use.
description: | updated |
Changed in hugin: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Hello, after discussing with Hugins users and maintainers, I've tried GIMP's cage feature.
It comes to strange results. See the "cage strange results" attachment. It's like it adds the cage deformation on top of the original image, mixing the pixels, so it makes things hard to correct.