Re: From Bitmap to sphere
- From: "[Jongware]" <sorry@xxxxxxxxxxx>
- Date: Tue, 6 Jun 2006 17:25:54 +0200
"Przemyslaw Koprowski" <org@xxxxxxxxxxxxxxxxxxx> wrote in message
news:e61jn0$b1m$1@xxxxxxxxxxxxxxxxxxxxxx
info@xxxxxxxx wrote:
I have a bitmap that I want (or rather need ;) to project onto aUnless you specify *how* you want to have this
sphere. How would I go about this?
I need conversion for each pixel of the bitmap.
bitmap projected, it is very unlikely that anyone
can give you a resonable answer.
To see where the problem is study for a while
what different kinds of projections of the globe
are used in kartography.
There is simply no such a beast as *the* projection
of [0,1]x[0,1] square onto S^2 sphere!
I worked it out (long ago) for triangular mapping, first entirely on
paper -- which was a first :) -- but that worked well. My trick was to use a
1x2 rectangle (instead of a 1x1). A lot of the planet maps on the 'net have
this dimension (for a good cartographic reason, I might add).
Subdividing a sphere into triangles re-maps these Mercator projections
nicely back onto the sphere. It even allows for the near-zero point at the
poles (your triangles will degenerate there).
[Jongware]
.
- References:
- From Bitmap to sphere
- From: info
- Re: From Bitmap to sphere
- From: Przemyslaw Koprowski
- From Bitmap to sphere
- Prev by Date: Filters : a library implementing image filters and image processing functions
- Next by Date: Re: 'Magic' kernel for image zoom resampling?
- Previous by thread: Re: From Bitmap to sphere
- Next by thread: intersection of line segments with the same parametrization
- Index(es):
Relevant Pages
|
Loading