Great! You want to convert Munsell’s discrete Value (luminance) and Chroma steps into angular measures, transforming the Munsell cylindrical space into a spherical or angular coordinate system to facilitate spherical trigonometry for color distance calculations.
Why do this?
- Munsell is often represented in cylindrical coordinates:
- Hue = angle (\theta) around vertical axis
- Value = vertical coordinate (0–10 scale)
- Chroma = radius (distance from vertical axis)
But cylindrical coordinate distances do not directly translate to good perceptual distances.
- Converting into spherical/angular coordinates provides:
- A spherical geometry where colors lie on or inside a sphere (or sphere sector)
- Enables use of spherical trig formulas (great for angular distances, "color differences")
- Facilitates clearer and possibly more perceptually meaningful color distance computations.
Step 1: Understand the geometry
Step 2: Map Munsell coordinates to spherical angles
-
From Munsell:
-
Hue (H): angle around vertical axis, corresponds naturally to (\theta), the azimuth in spherical coords.
So:
[
\theta = \frac{H}{100} \times 360^\circ
]
where Munsell hue is in steps (e.g., 100 steps across 5 hues).
-
Value (V): vertical coordinate, scale 0 (black) to 10 (white).
-
Chroma (C): radial distance from neutral axis (0 at center).
Step 3: Define the spherical polar angle (\phi)
Spherical polar angle (\phi) is the angle down from the "north pole" (analogous to colatitude, 0–180°).
We want to encode Value and Chroma into (\phi) and radius (r). Here are a few ways to do this:
Option A: Fix radius and encode value and chroma as angles
- Assume radius is fixed (on a sphere of radius 1).
- Value (vertical axis) corresponds to vertical positioning in Z (height).
- Chroma corresponds to distance from vertical axis in the XY plane.
We can use spherical coordinates:
[
\begin{aligned}
z &= \cos\phi = \text{scaled Value} \
r_{xy} &= \sin\phi = \text{scaled Chroma} \
\phi &= \arccos(\text{Value normalized}) \
\end{aligned}
]
Where:
-
Normalize Value (V) from Munsell scale 0-10 to ([-1, +1]), or better ([0,1]).
For example:
[
\text{Value}_{norm} = \frac{V - 0}{10 - 0} \quad\in [0,1]
]
-
Then polar angle (colatitude (\phi)) can be:
[
\phi = \pi/2 - \text{Value}_{norm} \times \pi \quad\text{(mapping Value from bottom to top)}
]
Or simply:
[
\phi = \arccos(\text{Value}_{norm})
]
-
Chroma normalized to radius length in XY plane:
[
r_{xy} = \sin\phi
]
-
Chroma can be accommodated inside (r_{xy} \leq 1). To encode chroma variations properly on the sphere, you may scale chroma separately or modulate the radius slightly.
But since standard spherical coords have fixed radius, better:
Option B: Use radius for chroma, polar angle for value
-
Radius (r) proportional to chroma (C): (r = C / C_{max}), max chroma for that hue.
-
Polar angle (\phi) encodes Value (V):
[
\phi = \pi \times (1 - V / V_{max})
]
So (V=V_{max}) → (\phi=0) (north pole)
(V=0) → (\phi = \pi) (south pole)
-
Azimuth (\theta) from hue
Coordinates then:
[
(x, y, z) = r \sin \phi \cos \theta, \quad r \sin \phi \sin \theta, \quad r \cos \phi
]
Step 4: Discretize the steps
Munsell has discrete steps:
- Value: generally 10 steps (0–10)
- Chroma: varies (0–maximum per hue, e.g., 0–14)
You normalize both to 0–1:
[
V_n = \frac{V}{10}
]
[
C_n = \frac{C}{C_{max}}
]
Then, for chroma and value:
- (r = C_n)
- (\phi = \pi \times (1 - V_n))
Hue angle (\theta) in radians:
[
\theta = \frac{H}{H_{max}} \times 2\pi
]
where (H_{max} \approx 100) or the number of hue steps.
Step 5: Example
If:
- H = 50 (mid hue)
- V = 5 (middle value)
- C = 5 (half of max chroma 10)
Calculate:
[
V_n = \frac{5}{10}=0.5
]
[
C_n = \frac{5}{10}=0.5
]
[
\phi = \pi (1 - 0.5) = \frac{\pi}{2}
]
[
\theta = \frac{50}{100} \times 2\pi = \pi
]
[
x = 0.5 \times \sin \frac{\pi}{2} \times \cos \pi = 0.5 \times 1 \times (-1) = -0.5
]
[
y = 0.5 \times 1 \times 0 = 0
]
[
z = 0.5 \times \cos \frac{\pi}{2} = 0.5 \times 0 = 0
]
Coordinates ((-0.5, 0, 0)) on the sphere.
Optional: Handling different max chroma per hue
- Munsell chroma maximum varies by hue and value, requiring some lookup or function.
- You normalize chroma by max chroma available for that hue and value.
Step 6: Computing color distances
Once you have coordinates ((x,y,z)), color distance is:
[
d = \arccos(\mathbf{u} \cdot \mathbf{v})
]
where (\mathbf{u}) and (\mathbf{v}) are unit vectors corresponding to two colors.
- Great for spherical trigonometry, angle between points on color “sphere.”
Summary and formula
Convert Munsell steps ((H, V, C)) into spherical coordinates:
[
\begin{aligned}
C_n &= \frac{C}{C_{max}(H,V)} \
V_n &= \frac{V}{10} \
r &= C_n \
\phi &= \pi (1 - V_n) \
\theta &= \frac{H}{H_{max}} \times 2\pi \
(x,y,z) &= \bigl(r \sin \phi \cos \theta, \quad r \sin \phi \sin \theta, \quad r \cos \phi \bigr)
\end{aligned}
]
Benefits
- Consistent angular measure for hue ((\theta))
- Natural angular measure for value ((\phi))
- Chroma becomes radius — defines how far out from neutral axis you are
- Enables spherical geometry for color distance calculations.
If you want, I can prepare a short code snippet (in Python or Matlab) implementing the above transformation with example Munsell data.
Let me know if you'd like that or need anything else!