hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #07294
[Bug 1838386] Re: Add Mollweide projection
** Attachment added: "Hammer projection"
https://bugs.launchpad.net/hugin/+bug/1838386/+attachment/5280024/+files/hammer.jpg
** Description changed:
For a project I'm working on it would be very useful to have the
Mollweide projection
(https://en.wikipedia.org/wiki/Mollweide_projection) implemented in
Hugin (panotools). This projection looks quite similar to the hammer-
aitoff one but parallels do indeed look parallel. In fact mathematically
is very very similar to the equirectangular one but taking into account
the real "width" or "length" of the parallels. In fact this projection
can be achieved from a equirectangular one just "contracting" every row
- of pixels in the image to a size of widthRow * cos(altitude).
+ of pixels in the image to a size of widthRow * sqrt(cos(altitude)).
One of the advantages of this projection from the hammer-aitoff one is
that has less "visual distortion" near the equator.
Would it be possible to implement this projection? Any hints on how
could I implement this? I've taken a look on the source code of
panotools, but it is big and I don't find the exact place where to look
for the equirrectangular projection (in which the code could be easily
adapted I think).
+ Below I attach the same image with Hammer projection and a "hand made
+ mollweide" from the equirectangular one.
+
Thanks for your attention
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1838386
Title:
Add Mollweide projection
Status in Hugin:
New
Bug description:
For a project I'm working on it would be very useful to have the
Mollweide projection
(https://en.wikipedia.org/wiki/Mollweide_projection) implemented in
Hugin (panotools). This projection looks quite similar to the hammer-
aitoff one but parallels do indeed look parallel. In fact
mathematically is very very similar to the equirectangular one but
taking into account the real "width" or "length" of the parallels. In
fact this projection can be achieved from a equirectangular one just
"contracting" every row of pixels in the image to a size of widthRow *
sqrt(cos(altitude)).
One of the advantages of this projection from the hammer-aitoff one is
that has less "visual distortion" near the equator.
Would it be possible to implement this projection? Any hints on how
could I implement this? I've taken a look on the source code of
panotools, but it is big and I don't find the exact place where to
look for the equirrectangular projection (in which the code could be
easily adapted I think).
Below I attach the same image with Hammer projection and a "hand made
mollweide" from the equirectangular one.
Thanks for your attention
To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1838386/+subscriptions
References