[Hugin-devs] [Bug 1839479] Re: Add boundary warp feature

2021-08-03 Thread Mihai Sorin Dobrescu
A demo of how it works in Adobe Camera Raw/Photoshop here:
https://www.youtube.com/watch?v=-7CDgJVHy5A

-- 
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


___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1839479] Re: Add boundary warp feature

2021-03-24 Thread Mihai Sorin Dobrescu
Another resource here: https://arxiv.org/pdf/1810.11220.pdf.

-- 
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

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1839479] Re: Add boundary warp feature

2020-05-23 Thread Mihai Sorin Dobrescu
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

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1839479] Re: Add boundary warp feature

2020-02-29 Thread Mihai Sorin Dobrescu
Interesting resources on the subject:
- http://kaiminghe.com/sig13/index.html
- https://github.com/duanzhibin/Rectangling-Panoramic-Images-via-Warpin

-- 
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

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1839479] Re: Add boundary warp feature

2020-02-06 Thread Mihai Sorin Dobrescu
That being said, I think what is needed is to stretch the image to become 
rectangular. Is that possible? See the "stretch the result" attachment for my 
idea.
I think Hugin should not depend on other tools in this regard, as it should be 
its own feature.

** Attachment added: "stretch the result"
   
https://bugs.launchpad.net/hugin/+bug/1839479/+attachment/5325856/+files/full.png

-- 
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

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1839479] Re: Add boundary warp feature

2020-02-06 Thread Mihai Sorin Dobrescu
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.

** Attachment added: "cage strange results"
   
https://bugs.launchpad.net/hugin/+bug/1839479/+attachment/5325855/+files/after.png

-- 
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

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1839479] Re: Add boundary warp feature

2019-08-11 Thread tmodes
** Changed in: hugin
   Importance: Undecided => Wishlist

** Changed in: hugin
   Status: New => Triaged

-- 
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

___
Mailing list: https://launchpad.net/~hugin-devs
Post to : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp


[Hugin-devs] [Bug 1839479] Re: Add boundary warp feature

2019-08-08 Thread Mihai Sorin Dobrescu
** Description changed:

  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.

-- 
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:
  New

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