[Hugin-devs] [Bug 1975825] Re: Image parameters d, e, Vx and Vy are incorrectly scaled when loading a project file as template

2022-11-25 Thread tmodes
** Changed in: hugin
   Status: Fix Committed => Fix Released

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

Title:
  Image parameters d, e, Vx and Vy are incorrectly scaled when loading a
  project file as template

Status in Hugin:
  Fix Released

Bug description:
  1: load a set of images that are larger than the images specified in the 
template .pto file
  2: image parameters d, e and Vx, Vy are incorrectly scaled for the new images

  In this case, the original files were 4924 × 7378 pixels and the new
  files were 9824 × 14720 pixels in size. Hugin project file attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1975825/+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 1975825] Re: Image parameters d, e, Vx and Vy are incorrectly scaled when loading a project file as template

2022-05-26 Thread tmodes
Now I see it. It is related to linked image variables. For unlinked image 
variables it worked fine.
It should now be fixed in repository in changeset 490baa16aae6.


** Changed in: hugin
   Status: Incomplete => Fix Committed

** Changed in: hugin
Milestone: None => 2022.0beta1

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

Title:
  Image parameters d, e, Vx and Vy are incorrectly scaled when loading a
  project file as template

Status in Hugin:
  Fix Committed

Bug description:
  1: load a set of images that are larger than the images specified in the 
template .pto file
  2: image parameters d, e and Vx, Vy are incorrectly scaled for the new images

  In this case, the original files were 4924 × 7378 pixels and the new
  files were 9824 × 14720 pixels in size. Hugin project file attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1975825/+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 1975825] Re: Image parameters d, e, Vx and Vy are incorrectly scaled when loading a project file as template

2022-05-26 Thread Janne
Yes, the expected value would be approx double since the image
dimensions are approx. doubled, but now Hugin scales them by one
million(!) and that is way out of line.

Relevant line in the .pto:
d-8.64110014684784 e29.8343029352771

The values in Hugin when the .pto is applied as a template:
d: -8629293.28 e: 29793538.48

Same goes for Vx and Vy.

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

Title:
  Image parameters d, e, Vx and Vy are incorrectly scaled when loading a
  project file as template

Status in Hugin:
  Incomplete

Bug description:
  1: load a set of images that are larger than the images specified in the 
template .pto file
  2: image parameters d, e and Vx, Vy are incorrectly scaled for the new images

  In this case, the original files were 4924 × 7378 pixels and the new
  files were 9824 × 14720 pixels in size. Hugin project file attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1975825/+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 1975825] Re: Image parameters d, e, Vx and Vy are incorrectly scaled when loading a project file as template

2022-05-26 Thread tmodes
You need to be more precise what is "incorrect scaled".
The parameter d, e, Vx and Vy are in pixel. (While other image parameters are 
relative.)  When the image is bigger than in the template these parameters 
needs therefore scaled to take the new image size into account.
So if the new image is twice as big as the template image the image parameters 
needs scaled by factor 2.

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

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

Title:
  Image parameters d, e, Vx and Vy are incorrectly scaled when loading a
  project file as template

Status in Hugin:
  Incomplete

Bug description:
  1: load a set of images that are larger than the images specified in the 
template .pto file
  2: image parameters d, e and Vx, Vy are incorrectly scaled for the new images

  In this case, the original files were 4924 × 7378 pixels and the new
  files were 9824 × 14720 pixels in size. Hugin project file attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1975825/+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