← Back to team overview

hugin-devs team mailing list archive

[Bug 1839479] Re: Add boundary warp feature

 

How the users of Hugin solve this problem? How do they get a rectangular
image out of Hugin's output? Of course, I don't discuss here a simple
crop. This feature seems not trivial to implement, right?

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1839479

Title:
  Add boundary warp feature

Status in Hugin:
  Triaged

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/morph/reshaping could be made similar to
  GIMP cage processing or Adobe's Camera RAW boundary warp tool.

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1839479/+subscriptions


References