Log Polar Manual
Log Polar Manual
Log Polar Manual
Fabio Berton
July 9, 2005
1 Notation
Given a log polar pixel (ρ, θ), the general formulas to compute its cartesian
position are:
R = λρ · r0
(1)
ω = 2πθ
Θ
where:
R is the distance between the center of the receptive field (RF) and the
center of the mapping.
ω is the counter-clockwise angular distance of the center of the RF from the
horizontal axis.
λ is the ratio between the widths of two subsequent rings.
r0 is the radius of the ring with index ρ = 0.
Θ is the number of RF’s per ring.
Note that the log polar domain is intended as a discrete domain, so (ρ, θ)
represents the pixel covering the rectangular area delimited by (ρ, θ) and (ρ +
1, θ + 1). So the cartesian coordinates of the point will be:
x = R · cos(ω)
(2)
y = R · sin(ω)
which is:
x = λρ · r0 · cos( 2πθ
Θ ) (3)
y = λρ · r0 · sin( 2πθ
Θ )
1
Figure 1: The Mapping outside the gray ring is pure logarithmic (left), while
inside of it is pure linear polar (center). The overlapping of the two mappings
gives the right image.
zero, it is impossible to cover the central area with a finite number of recep-
tive fields. Then, a common strategy is to cover the fovea with a linear polar
distribution of RF’s, defined by the following:
R =ρ+ε
(5)
ω = 2πθ
Θ
The term ε is added in order to have a perfect overlap between the last ring
in fovea for the two mappings (linear and logarithmic, see figure).
AB = 2rn (6)
A B
= 2rn−1 (7)
OA = OB = Rn (8)
OA = OB = Rn−1 (9)
2
Figure 2: How to compute the Log Index
3
Figure 3: How to compute the Fovea Size
λ−1
Since sin(α) = λ+1 , we will have:
(2F − 1) · rf · sin(α) = rf (19)
(2F − 1) · sin(α) = 1 (20)
λ−1
(2F − 1) · =1 (21)
λ+1
(2F − 1) · λ − 1 = λ + 1 (22)
2F λ − λ − 2F + 1 = λ + 1 (23)
2F λ − 2F = 2λ (24)
Fλ − F = λ (25)
λ
F = (26)
λ−1
In the same way:
OA = 2F + λ (27)
(2F + λ) · sin(α) = λ (28)
λ−1
(2F + λ) · =λ (29)
λ+1
λ
F = (30)
λ−1
Unfortunately F is not necessarily an integer, so its actual value will be
rounded and the extra ring will be added in order to “absorb” the fractional
part. The fovea will then have F rings, numbered (0, 1, . . . , F ), the first
ring having a diameter of rf (F − F ). This is:
r0 λ λ
2 = − (31)
rf λ−1 λ−1
subtracting an integer from both the operands:
r0 λ λ−1 λ λ−1
2 = − − + (32)
rf λ−1 λ−1 λ−1 λ−1
4
we get:
r0 1 1
2 = − (33)
rf λ−1 λ−1
Since the log polar domain is discrete, setting ρ = F will denote the whole
(F + 1)th ring (i.e. the ring with index F , all the area between ρ and ρ + 1).
So, applying (1), we will get:
λ
= λF +1 · r0 (34)
λ−1
1
= λF · r0 (35)
λ−1
1
r0 = F (36)
λ (λ − 1)
(37)
Physically r0 represents the radius of the inner circle (i.e. the lower bound
of the logarithmic part of the mapping). In fact, since λF · r0 represents the
boundary between RFF −1 and RFF , then λ0 · r0 = r0 will be the lower limit of
the RF0 .
DP = λP · r0 (38)
DP
DP −1 = λP −1 · r0 = (39)
λ
In the same way:
Π
ΛP = DP · sin() (40)
Θ
Π 1 Π ΛP
ΛP −1 = DP −1 · sin( ) = · DP · sin( ) = (41)
Θ λ Θ λ
So each ring is proportional to any other ring in the logarithmic part of the
mapping, then the shape of the RF’s is still circular.
On the other hand it is intuitive to realize that in fovea everything changes:
while the width of each ring is constant, its lenght (its circumference) decreases
when we get closer to the center of the mapping. Since we decided to keep
constant the number of RF’s per ring and the overlapping ratio between the
RF’s, it is obvious to see that the shape changes from circular to elliptical, with
a constant radial axis and a decreasing tangential one.