Here, we consider the solid tori V
yz
:= {z = 0}∪{y =
1}∪{z = 1}∪{y = 0} and V
wx
:= {w = 0}∪{x =
1}∪{w = 1}∪{x = 0}.
The boundaries of V
wx
and V
yz
are the torus H; H
can be seen as the union of four square pipe segments
in two ways; each pipe segment (topological cylinder
or annulus) is a stack of 1-squares that are meridians
for the solid torus in question and longitudes for the
other solid torus. For the solid torus V
yz
we have the
pipes of square meridians with vertices
P
0
:= {(0, 0, s,0), (1, 0,s, 0), (1,1, s, 0),(0, 1, s,0) : s ∈ [0,1)} (z=0),
P
1
:= {(0, 0, 1,s), (1, 0,1, s), (1,1, 1, s),(0, 1, 1,s) : s ∈ [0,1)} (y=1),
P
2
:= {(0, 0, 1 −s, 1),(1, 0, 1 −s, 1),(1, 1, 1 −s, 1),(0, 1,1 −s,1) : s ∈[0, 1)} (z=1) and
P
3
:= {(0, 0, 0,1 −s),(1,0, 0,1 −s),(1, 1, 0,1 −s),(0,1, 0,1 −s) : s ∈[0, 1)} (y=0),
similarly, the boundary of the V
wx
is given by the pipes
of square meridians with vertices
Q
0
:= {(0,t,0, 0),(0,t,1, 0), (0,t,1,1), (0,t,0,1) : t ∈ [0,1)} (w=0),
Q
1
:= {(t,1,0, 0),(t, 1,1,0), (t,1, 1,1), (t,1, 0,1) : t ∈ [0,1)} (x=1),
Q
2
:= {(1, 1 −t,0,0), (1,1 −t, 1, 0),(1, 1 −t,1,1), (1,1 −t, 0, 1) : t ∈ [0,1)} (w=1) and
Q
3
:= {(1 −t, 0, 0,0), (1 −t,0, 1, 0),(1 −t, 0,1,1), (1 −t,0, 0, 1) : t ∈ [0,1)} (x=0).
As we remarked above, H = ∪P
i
= ∪Q
i
. Each
point of T is either in the open solid torus T
wx
, in the
open solid torus T
yz
, or in their common boundary H.
The subindex n of the pipe segment together with the
value of t or s, as in n.t, or n.s, give an angular mea-
sure that ranges from 0 to 4, mod-4.
For Θ in an open torus, there is a distance r 6= 0
from the boundary of the solid torus the tint is at;
the distance from the boundary is measured with the
product metric; that is, for example, for the piece of
solid torus bounded by pipe P
0
, a tint point [w,x,t, 0]
is at distance 0.5 −max{|w −0.5|,|x −0.5|} from its
boundary. Also, there are two 1-squares in pipes
say P
n
and Q
m
with corresponding parameters s and
t such that one of them (a meridian) bounds a two-
square the tint is in, and the other intersects the first
1-square at a point u on H that is closest to Θ
4
. Let
u = (φ, ψ) := (n.s,m.t) in H be the toroidal hue of
p. If Θ is on H, let r = 0. Denote Θ as (φ,ψ,r);
with the understanding that if r = ±0.5 (i.e. if Θ is
precisely on the axis or core of a solid torus), exactly
one of the angles φ or ψ is left undefined and only the
longitude of the corresponding solid torus that con-
tains Θ is needed and a coordinate corresponding to
the meridian is left undefined. For example, the tint
of [0.9, 0.2, 0.3, 0.4] is [1, 1/8, 1/4, 3/8] = (3.625,
2.875, 0.25), corresponding to pipes P
3
and Q
3
, with
s = 5/8 and t = 7/8.
4
On a disk, with the Euclidean metric, each point differ-
ent from the center has a unique point on the circle boundary
that is closest; in a square though, with the product metric,
for each point on the diagonals, there are two points on the
square perimeter that are closest to the point on the diago-
nals, 4 if it is the center of the square.
2.5 Spinning
We generalize Artin’s concept of spinning is spinning
with an S
1
to spinning with a sphere S
n
. Given a sub-
set E of R
2
(such as the ρµ triangle) with a closed sub-
set F (such as the µ edge), form the topological space
(E ×S
n
)/ ≈, where each set of the form {f }×S
n
,
f ∈F, is identified to a point. Artin’s method provides
a geometric embedding of subsets F of R
3
, in R
4
, as
{(x,y,z cos θ,z sin θ) : f = (x,y,z) ∈ F,θ ∈[0,2π)}.
2.6 Runge Ball
A 4D round space is obtained by deforming the hy-
percube into the standard 4-ball {(w
0
,x
0
,y
0
,z
0
) ∈ R
4
:
w
2
+ x
2
+ y
2
+ z
2
≤ 1}. This can be done in several
ways; one is to spin the ρµ triangle, deformed to a
semicircle, around S
2
, with hinge the µ basis of the tri-
angle, where S
2
is derived from the chromatic dodec-
ahedron; another is to spin the midray (that that orig-
inates at intermediate gray) with S
3
, with hinge the
point of intermediate gray. In the first case we have a
space with coordinates the luminance, the chromatic
saturation and a 2D (the equatorial sphere derived
from the chromatic dodecahedron) spherical hue; in
the second case, we have a space with coordinates
given by the generalized saturation r and a general-
ized 3D hue given vy the S
3
that is derived from the
boundary of the hypercube.
Let [w,x,y,z] be a point in the hypercube, shift the
hypercube so that intermediate gray ends up at the ori-
gin of 4-space R
4
and rescale so that the maximum
values of the coordinates is 1 and the minimum is -1.
Let [w
0
,x
0
,y
0
,z
0
] = 2[w −0.5, x −0.5, y −0.5, z −0.5]
be the coordinates of the resulting hypercube [−1,1]
4
.
The lightness in this space is given by the angle
with the achromatic axis: λ = arcos
w
0
+x
0
+y
0
+z
0
2
√
w
02
+x
02
+y
02
+z
02
= arcos
w+x+y+z−2
2
√
w
2
+x
2
+y
2
+z
2
+1−(w+x+y+z)
. Rather than us-
ing a chromatic saturation measure i.e. a dis-
tance measure to the achromatic line segment, we
use a distance g obtaining a measure of colour-
fulness in the sense of ”ungrayness”. Let Λ =
max{|w
0
|,|x
0
|,|y
0
|,|z
0
|}; if Λ 6= 0, the point on the
boundary of the hypercube that is in the same di-
rection is
1
Λ
[w
0
,x
0
,y
0
,z
0
] (at least one of its coordi-
nates has value of 1); let d =
1
Λ
p
w
02
+ x
02
+ y
02
+ z
02
and normalize by this length (with the result that
the hypercube is deformed into a 4-ball), get-
ting the point s = [s
0
,s
1
,s
2
,s
3
] :=
1
d
[w
0
,x
0
,y
0
,z
0
]
whose distance from the center of the ball is κ =
√
w
02
+x
02
+y
02
+z
02
Λ
−1
√
w
02
+x
02
+y
02
+z
02
= Λ. Thus
VISAPP2013-InternationalConferenceonComputerVisionTheoryandApplications
128