12
GdR ISIS - G ´ eometrie et repr´ esentation de la couleur Interpolation of the MacAdam ellipses Emmanuel Chevallier, Ivar Farup 21 november 2018 Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 0 / 11

- Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: - Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

GdR ISIS - Geometrie et representation de la couleur

Interpolation of the MacAdam ellipses

Emmanuel Chevallier, Ivar Farup

21 november 2018

Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 0 / 11

Page 2: - Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

MacAdam ellipses

Sets of indistinguishable colors at 48cd/m2:

Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 1 / 11

Page 3: - Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

Riemannian geometry

I The scalar product depends on the point :

(R2, 〈., .〉) becomes (R2, 〈., .〉x ),

and the length of a curve becomes

L(γ ) =∫ √

〈γ ′(t), γ ′(t)〉γ (t)dt

〈., .〉x : local Sym+ matrix Mx , local ellipse Ex

I Distance perceived by the eye :

Riemannian hypothesis⇒ 〈., .〉ci =MacAdam ellipse Ei centered at ci

Parametrization change :

φ : R2 → R2

Mx = dφTMφx dφ

Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 2 / 11

Page 4: - Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

Interpolation of the ellipses

Goal : Determining the Riemannian geometry of colors

Challenge : How do we interpolate the MacAdam ellipses ?

I Applications :

image processing algorithms

Schrodinger conjecture : geodesic passing

through grey have a constant hue

(a) (b)

Figure – (a) is a constant luminance image (b) shows

the greatest variations according to di�erent

geometries of colors

I Multiple ways of performing the interpolation, which is the best ?

Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 3 / 11

Page 5: - Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

Di�erent interpolation framework

I Parametrization of the CM :

xy ,ab and uv

I Representation of the scalar product :

matrix of the bilinear form M =(a bb c

)M−1

log(M) (approximation of the a�ine-invariant metric on Sym+)

ellipse parameters (a, b, θ )

f (1) : xy → R+ × R+ × [0, 2π [

f (2) : ab→ R+ × R+ × [0, 2π [

Which is the best framework (1) or (2) ?

Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 4 / 11

Page 6: - Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

Evaluation of an interpolation

For an interpolation f (1) : xy → R+ × R+ × [0, 2π [ its quality could be measured by its regularity :

Q1 =

∫xy‖df (1)x,y ‖dxdy

Same interpolation in ab, f (2) : ab→ R+ × R+ × [0, 2π [ the measure the quality would become :

Q2 =

∫ab‖df (2)a,b ‖dadb

Problem : Q1 and Q2 are not comparable

Challenge : defining a criterion which is independent of a parametrization

Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 5 / 11

Page 7: - Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

Intrinsic evaluation

Challenge : define a criterion which is independent of a parametrization

Solutions

the average Riemannian curvature of the inteprolation

a cross validation approach

Q =25∑i=1

dEi (Ei(24))

where

dEref (E) = ‖M−1/2

ref MM−1/2ref − I ‖

Figure – Blue : true ellipse, Red : interpolated ellipse

Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 6 / 11

Page 8: - Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

Evaluation results

Table – Interpolation type

L linear

K kernel

M matrix

P ellipse parameters

I inverse

I Interpolations on M−1 are always be�er

than on M

I Interpolations on (a, b, θ ) are always be�erthan on ( 1a ,

1

b , θ )

I uv gives the best results most of the time

Table – Evaluation of the di�erent interpolation rules

xyY Lab LuvLM 1.814 1.024 0.971

LMI 0.624 0.738 0.644

KM 1.514 1.121 0.809

KMI 0.776 0.795 0.602

xyY Lab LuvLP 0.62 0.799 0.79

LPI 0.956 0.931 0.87

KP 1.004 0.911 0.721

KPI 1.242 1.006 0.799

Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 7 / 11

Page 9: - Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

Error maps

Figure – first row : LMI, seconde row : LM

Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 8 / 11

Page 10: - Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

Interpolations

(a) (b)

Figure – Plots of ellipses in uv coordinates, (a) : 2 best interpolations, (b) : best and worst interpolations

Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 9 / 11

Page 11: - Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

Geodesics

Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 10 / 11

Page 12: - Interpolation of the MacAdam ellipses · IInterpolationson„a; b; θ”arealwaysbe‡er than on „1 a; 1 b; θ” I uv gives the best results most of the time Table –Evaluation

Conclusion

Conclusions :

inverse matrix of the bilinear form

results on geodesics need further works (Schrodinger conjecture)

Perspectives :

couple the leave one criterion out with curvature

rephrase the problem as an optimization on the manifold of the Riemannian metrics embedded with

an appropriate metric

Emmanuel Chevallier Interpolation of the MacAdam ellipses 21 november 2018 11 / 11