SlideShare uma empresa Scribd logo
1 de 22
A Similarity Measure for 
Large Color Differences 
Nathan Moroney, Ingeborg Tastl and Melanie Gottwals 
HP Labs 
22nd IS&T Color and Imaging Conference, November 2014, Boston MA 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Outline 
• Motivation 
• Large vs. Small Differences 
• Experiments 
• Hundreds of pairs of stimuli with DE00 of 20 
• Sorting of 9 pairs of differences from smallest to largest 
• Web and laboratory 
• Results 
• Observers rank pairs having equal DE00 as being different 
• Similarity metric 
• Cosine similarity given categorical vectors 
• Cosine similarity is small within a category & large across categories 
• Discussion and Speculation 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 2 change without notice.
Motivation 
Which of these two pairs, has the larger DE00? 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 3 change without notice.
Motivation 
Using DE00 they are equal 
Both are 20 DE00 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 4 change without notice.
Motivation 
But isn’t DE00 only for small differences ? OK, so how to measure maximum error? 
Both are 20 DE00 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 5 change without notice. 
45 
40 
35 
30 
25 
20 
15 
10 
5 
0 
1 3 5 7 9 11 13 15 17 19 
Frequency 
DE00
Large vs. Small Color Differences 
We’ll fill this in by the end of the talk 
Small Differences Large Differences 
Application Just Noticeable Difference 
Central Question Do 2 colors match? 
Metrics* DE*ab, DE94, DE00 
Underlying Metric Euclidean distance, with 
weighting schemes 
Input CIELAB coordinates, weights 
Output “Geometric” distance, where a 
JND is approximately < 1 
* Small color differences metrics not recommended for large differences or greater than ~5. 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 6 change without notice.
Experiments 
• Stimuli 
• Non-repeating random vectors 
• Similar to a farthest-point sampling of vector endpoints 
• All vectors within 0.0001 of 20 DE00, 
• Task 
• Sorting of multiple color differences 
• Observer sorts 9 color differences from smallest to largest 
• 21 blocks of 9 random color difference pairs 
• Web-Based Experiment 
Not regular or centroid plus 
• 285 participants; perform sorting of 1 block of differences; unknown displays 
• Laboratory Experiment 
• 12 participants; sort all 21 blocks of differences; sRGB mode HP DreamColor Z27x Display 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 7 change without notice. 
offsets sampling 
Not forced choice paired 
comparison of 2 pairs 
Sorting of Non-Repeating Random Vectors
Non- 
Repeating 
Random 
Vectors 
NonRepeatingRandomVectors(n, dist, t1, t2) 
i = 0 
while (i < n) 
test_ave = F 
test_ends = F 
start = RandomVector() 
end = start 
while ((Distance(start, end) - dist) < epsilon) 
end = RandomStep() 
ave = Average(start, end) 
for (i = 0 to number_vectors) 
if ((ave - ave[i]) < t1) test_ave = T 
d11 = start - start[i] 
d22 = end - end[i] 
d12 = strt - end[i] 
d21 = end - start[i] 
min_diff = Min(d11, d22, d12, d21) 
if (min_diff < t2) test_ends = T 
if ((test_ave & test_ends) = T) 
AddVector(start, end) 
++I 
( Insert comment 
about Jim King here) 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 8 change without notice.
Non- 
Repeating 
Random 
Vectors 
NonRepeatingRandomVectors(n, dist, t1, t2) 
i = 0 
while (i < n) 
test_ave = F 
test_ends = F 
start = RandomVector() 
end = start 
while ((Distance(start, end) - dist) < epsilon) 
end = RandomStep() 
ave = Average(start, end) 
for (i = 0 to number_vectors) 
if ((ave - ave[i]) < t1) test_ave = T 
d11 = start - start[i] 
d22 = end - end[i] 
d12 = strt - end[i] 
d21 = end - start[i] 
min_diff = Min(d11, d22, d12, d21) 
if (min_diff < t2) test_ends = T 
if ((test_ave & test_ends) = T) 
AddVector(start, end) 
++i 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 9 change without notice. 
Random walk 
0.8 
0.6 
0.4 
0.2 
0 
-1 0 1 2 
-0.2 
-0.4 
-0.6 
-0.8 
Don’t duplicate 
vectors
Non- 
Repeating 
Random 
Vectors 
21 blocks rendered 
as RGB patches 
and as a CIELAB a* 
versus b* plot 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 10 change without notice.
Non- 
Repeating 
Random 
Vectors 
90 
80 
70 
60 
50 
40 
30 
20 
10 
0 
0 50 100 150 200 
Color Difference 
Pair Identifier 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 11 change without notice. 
DE00 
DE94 
DE*ab 
20 DE00 and the 
corresponding DE94 
and DE*ab color 
differences
Color 
Difference 
Sorting 
HTML5 drag-and-drop 
interface with color 
patches rendered to 
90x90 pixels in size 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 12 change without notice.
Results: Block 118 
• Initial visualizations 
• Each set of 9 sub-plots is for 1 block 
• X-axis is sorted rank 
• Left: smallest difference 
• Right: largest difference 
• Y-axis is relative frequency 
• Larger: observers consistently used this rank 
• Zero: observers did not use this rank 
• Approximate color rendering 
• Shown to the right of each sub-plot 
• Approximate sorting top to bottom 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 13 change without notice. 
A 
B 
C 
A 
B 
C
Results: Block 118 
• Smallest difference 
• Relatively narrower distribution 
• Intermediate differences 
• Relatively wider distributions 
• Largest difference 
• Relatively narrower distribution 
• Qualitatively, at crossing of naming boundaries? 
• For ideal set of 9 equal differences 
• Flat histograms for each pair 
• Not seen in the experimental data… 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 14 change without notice. 
A 
B 
C 
A 
B 
C
Results: Block 113 
• Similar results seen across other blocks 
• Similar results for web-based & laboratory 
• But also multi-modal distributions? 
• Complicates even basic analysis 
• Can occur for any ranking, shown circled to right 
• Almost as if there were multiple criterion for sorting…. 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 15 change without notice.
Results: Block 103 
• Name boundary crossing 
• Tends to result in a mode with a larger rank or sorted color 
difference 
• Shown circled 
• Other interesting results 
Initial Sorting Rank 
Smallest Intermediate Largest 
Median Time to Sort 
90 
45 
0 
Web-Based Laboratory 
Seconds 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 16 change without notice.
Correlation of 
Web-Based and 
Laboratory 
Experiments 
Limited to the 
approximately 
2/3rds of pairs with 
uni-modal 
distributions* for 
both experiments 
* F. Schwaiger, H. Holzmann, and S. Vollmer, 
"bimodalitytest: Testing for bimodality in a normal 
mixture", R package version 1.0, (2013) 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 17 change without notice.
Similarity Metric 
• Given these results can a similarity metric be designed that is: 
• Smaller within a color category 
• Larger across color categories 
• Not unlike results seen in Categorical Perception from vision science 
• Not based on weighted Euclidean distances? 
• Similar to other similarity metrics? 
• Value of 1 for identical 
• Value of 0 for dissimilar 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 18 change without notice.
Similarity Metric 
Use Categorical Vectors 
• K-nearest neighbors 
used to transform input 
CIELAB data, on left, to 
categorical counts, 
maximum shown color 
coded on right 
• Start with basic 11 terms 
as the vocabulary 
• Similar processing used 
for document 
classification 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 19 change without notice.
Similarity Metric 
Use Cosine Similarity of Categorical Vectors 
• K = 100 
• Same example from the 
motivation slides earlier 
• These two have DE00 
differences of 20… 
DS 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 20 change without notice.
Large vs. Small Color Differences 
We’ll fill this in by the end of the talk 
Small Differences Large Differences* 
Application Just Noticeable Difference Consistently Describable Difference(s) 
Central Question Do 2 colors match? When do 2 colors stop looking similar? 
Metrics* DE*ab, DE94, DE00 DS 
Underlying Metric Euclidean distance, with 
weighting schemes 
Cosine similarity 
Input CIELAB coordinates, weights Categorical or lexical vectors 
Output Geometric distance, where a 
JND is approximately < 1 
Similarity measure, where 0 is 
completely dissimilar 
* Large color differences also relevant to image segmentation, analysis & retrieval. 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 21 change without notice.
Discussion & Speculation 
• Large color differences do not necessarily have a single sorting 
• Can be consistently sorted by multiple criterion 
• More sophisticated analysis needed to detect systematic trends in multi-modal sorting 
• Small difference metrics probably not a good idea for maximum errors 
• At a minimum probably want to visualize 
• Cosine similarity of categorical vectors is a promising metric 
• Initial stages of optimization but already useful in ways that differ from the DE’s 
• Training data and algorithms are key aspects of the metric 
• Experiment and data are public and ongoing 
• Same data could also be used to investigate more uniform color spaces 
• Would like to expert-source additional analysis & related experiments 
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 22 change without notice.

Mais conteúdo relacionado

Destaque

Bullkley.leadership.nov.22.12
Bullkley.leadership.nov.22.12Bullkley.leadership.nov.22.12
Bullkley.leadership.nov.22.12Faye Brownlie
 
Option a kranjska gora
Option a kranjska goraOption a kranjska gora
Option a kranjska goraRobert Logie
 
Errenazimenduko pintura. Leonardo.ppt
Errenazimenduko pintura. Leonardo.pptErrenazimenduko pintura. Leonardo.ppt
Errenazimenduko pintura. Leonardo.pptasunasenjo
 
LPI corporatepresentation Forlicensee169
LPI corporatepresentation Forlicensee169LPI corporatepresentation Forlicensee169
LPI corporatepresentation Forlicensee169darindavis
 
Welcomeahadigitalart
WelcomeahadigitalartWelcomeahadigitalart
WelcomeahadigitalartAHADigitalArt
 
White Paper: The Value Of Bim For Lifecycle Management In Critical Facilities...
White Paper: The Value Of Bim For Lifecycle Management In Critical Facilities...White Paper: The Value Of Bim For Lifecycle Management In Critical Facilities...
White Paper: The Value Of Bim For Lifecycle Management In Critical Facilities...AndyFuhrman
 
Charla uso tecnologías 3 er ciclo
Charla uso tecnologías 3 er cicloCharla uso tecnologías 3 er ciclo
Charla uso tecnologías 3 er cicloXXX XXX
 
Get Social Media Guide 2009
Get Social Media Guide 2009Get Social Media Guide 2009
Get Social Media Guide 2009Karla Camacho
 
Raspberry PiとActiveMQで作るセンサーライト
Raspberry PiとActiveMQで作るセンサーライトRaspberry PiとActiveMQで作るセンサーライト
Raspberry PiとActiveMQで作るセンサーライトTakayuki Konishi
 
Platform prototype for ZL Vórtice
Platform prototype for ZL VórticePlatform prototype for ZL Vórtice
Platform prototype for ZL Vórticeadelinegil
 
Introductie Havana Orange
Introductie Havana OrangeIntroductie Havana Orange
Introductie Havana Oranger4r20
 
Tusk Tusk
Tusk TuskTusk Tusk
Tusk TuskC FM
 
Errenazimenduko pintura. Rafaello.ppt
Errenazimenduko pintura. Rafaello.pptErrenazimenduko pintura. Rafaello.ppt
Errenazimenduko pintura. Rafaello.pptasunasenjo
 
Cost-effective approach to full-cycle vulnerability management
Cost-effective approach to full-cycle vulnerability managementCost-effective approach to full-cycle vulnerability management
Cost-effective approach to full-cycle vulnerability managementSasha Nunke
 
Transforming Managers A learning Agenda
Transforming Managers A learning AgendaTransforming Managers A learning Agenda
Transforming Managers A learning AgendaP K Agarwal
 
Elaboración jabón 2016
Elaboración jabón 2016Elaboración jabón 2016
Elaboración jabón 2016XXX XXX
 

Destaque (20)

Bullkley.leadership.nov.22.12
Bullkley.leadership.nov.22.12Bullkley.leadership.nov.22.12
Bullkley.leadership.nov.22.12
 
Option a kranjska gora
Option a kranjska goraOption a kranjska gora
Option a kranjska gora
 
Errenazimenduko pintura. Leonardo.ppt
Errenazimenduko pintura. Leonardo.pptErrenazimenduko pintura. Leonardo.ppt
Errenazimenduko pintura. Leonardo.ppt
 
LPI corporatepresentation Forlicensee169
LPI corporatepresentation Forlicensee169LPI corporatepresentation Forlicensee169
LPI corporatepresentation Forlicensee169
 
Welcomeahadigitalart
WelcomeahadigitalartWelcomeahadigitalart
Welcomeahadigitalart
 
White Paper: The Value Of Bim For Lifecycle Management In Critical Facilities...
White Paper: The Value Of Bim For Lifecycle Management In Critical Facilities...White Paper: The Value Of Bim For Lifecycle Management In Critical Facilities...
White Paper: The Value Of Bim For Lifecycle Management In Critical Facilities...
 
Charla uso tecnologías 3 er ciclo
Charla uso tecnologías 3 er cicloCharla uso tecnologías 3 er ciclo
Charla uso tecnologías 3 er ciclo
 
Get Social Media Guide 2009
Get Social Media Guide 2009Get Social Media Guide 2009
Get Social Media Guide 2009
 
Wcf.Wfwpi Dignity[1]
Wcf.Wfwpi Dignity[1]Wcf.Wfwpi Dignity[1]
Wcf.Wfwpi Dignity[1]
 
Raspberry PiとActiveMQで作るセンサーライト
Raspberry PiとActiveMQで作るセンサーライトRaspberry PiとActiveMQで作るセンサーライト
Raspberry PiとActiveMQで作るセンサーライト
 
Platform prototype for ZL Vórtice
Platform prototype for ZL VórticePlatform prototype for ZL Vórtice
Platform prototype for ZL Vórtice
 
Introductie Havana Orange
Introductie Havana OrangeIntroductie Havana Orange
Introductie Havana Orange
 
Tusk Tusk
Tusk TuskTusk Tusk
Tusk Tusk
 
Errenazimenduko pintura. Rafaello.ppt
Errenazimenduko pintura. Rafaello.pptErrenazimenduko pintura. Rafaello.ppt
Errenazimenduko pintura. Rafaello.ppt
 
Recent work
Recent workRecent work
Recent work
 
Sph 107 Ch 12
Sph 107 Ch 12Sph 107 Ch 12
Sph 107 Ch 12
 
Cost-effective approach to full-cycle vulnerability management
Cost-effective approach to full-cycle vulnerability managementCost-effective approach to full-cycle vulnerability management
Cost-effective approach to full-cycle vulnerability management
 
Bain
BainBain
Bain
 
Transforming Managers A learning Agenda
Transforming Managers A learning AgendaTransforming Managers A learning Agenda
Transforming Managers A learning Agenda
 
Elaboración jabón 2016
Elaboración jabón 2016Elaboración jabón 2016
Elaboración jabón 2016
 

Semelhante a A Similarity Measure for Large Color Differences

An overview of software dd a scoing study
An overview of software dd  a scoing studyAn overview of software dd  a scoing study
An overview of software dd a scoing studySyed Ali
 
Maximizing the Representation Gap between In-domain & OOD examples
Maximizing the Representation Gap between In-domain & OOD examplesMaximizing the Representation Gap between In-domain & OOD examples
Maximizing the Representation Gap between In-domain & OOD examplesJay Nandy
 
How conduct a Design of Experiments
How conduct a Design of ExperimentsHow conduct a Design of Experiments
How conduct a Design of ExperimentsFrank Pauw
 
New methodologies for the use of cladistic-type matrices to measure morpholog...
New methodologies for the use of cladistic-type matrices to measure morpholog...New methodologies for the use of cladistic-type matrices to measure morpholog...
New methodologies for the use of cladistic-type matrices to measure morpholog...Graeme Lloyd
 
Local vs. Global Models for Effort Estimation and Defect Prediction
Local vs. Global Models for Effort Estimation and Defect Prediction Local vs. Global Models for Effort Estimation and Defect Prediction
Local vs. Global Models for Effort Estimation and Defect Prediction CS, NcState
 
Psychometric Studies in the Development of an Inkjet Printer
Psychometric Studies in the Development of an Inkjet PrinterPsychometric Studies in the Development of an Inkjet Printer
Psychometric Studies in the Development of an Inkjet PrinterDavid Lee
 
Cultural differences in the structure of categories among users of wedding pi...
Cultural differences in the structure of categories among users of wedding pi...Cultural differences in the structure of categories among users of wedding pi...
Cultural differences in the structure of categories among users of wedding pi...Ather Nawaz
 
Data simulation basics
Data simulation basicsData simulation basics
Data simulation basicsDorothy Bishop
 
MLSEV Virtual. State of the Art in ML
MLSEV Virtual. State of the Art in MLMLSEV Virtual. State of the Art in ML
MLSEV Virtual. State of the Art in MLBigML, Inc
 
It Takes Two to Tango: an Exploration of Domain Pairs for Cross-Domain Collab...
It Takes Two to Tango: an Exploration of Domain Pairs for Cross-Domain Collab...It Takes Two to Tango: an Exploration of Domain Pairs for Cross-Domain Collab...
It Takes Two to Tango: an Exploration of Domain Pairs for Cross-Domain Collab...Shaghayegh (Sherry) Sahebi
 
Introduction To Data Science Using R
Introduction To Data Science Using RIntroduction To Data Science Using R
Introduction To Data Science Using RANURAG SINGH
 
Intro to data science
Intro to data scienceIntro to data science
Intro to data scienceANURAG SINGH
 

Semelhante a A Similarity Measure for Large Color Differences (15)

DoE applied on visual appearance of materials
DoE applied on visual appearance of materialsDoE applied on visual appearance of materials
DoE applied on visual appearance of materials
 
An overview of software dd a scoing study
An overview of software dd  a scoing studyAn overview of software dd  a scoing study
An overview of software dd a scoing study
 
Maximizing the Representation Gap between In-domain & OOD examples
Maximizing the Representation Gap between In-domain & OOD examplesMaximizing the Representation Gap between In-domain & OOD examples
Maximizing the Representation Gap between In-domain & OOD examples
 
Data Mining Lecture_5.pptx
Data Mining Lecture_5.pptxData Mining Lecture_5.pptx
Data Mining Lecture_5.pptx
 
How conduct a Design of Experiments
How conduct a Design of ExperimentsHow conduct a Design of Experiments
How conduct a Design of Experiments
 
Pro active management of visual appearance of products
Pro active management of visual appearance of productsPro active management of visual appearance of products
Pro active management of visual appearance of products
 
New methodologies for the use of cladistic-type matrices to measure morpholog...
New methodologies for the use of cladistic-type matrices to measure morpholog...New methodologies for the use of cladistic-type matrices to measure morpholog...
New methodologies for the use of cladistic-type matrices to measure morpholog...
 
Local vs. Global Models for Effort Estimation and Defect Prediction
Local vs. Global Models for Effort Estimation and Defect Prediction Local vs. Global Models for Effort Estimation and Defect Prediction
Local vs. Global Models for Effort Estimation and Defect Prediction
 
Psychometric Studies in the Development of an Inkjet Printer
Psychometric Studies in the Development of an Inkjet PrinterPsychometric Studies in the Development of an Inkjet Printer
Psychometric Studies in the Development of an Inkjet Printer
 
Cultural differences in the structure of categories among users of wedding pi...
Cultural differences in the structure of categories among users of wedding pi...Cultural differences in the structure of categories among users of wedding pi...
Cultural differences in the structure of categories among users of wedding pi...
 
Data simulation basics
Data simulation basicsData simulation basics
Data simulation basics
 
MLSEV Virtual. State of the Art in ML
MLSEV Virtual. State of the Art in MLMLSEV Virtual. State of the Art in ML
MLSEV Virtual. State of the Art in ML
 
It Takes Two to Tango: an Exploration of Domain Pairs for Cross-Domain Collab...
It Takes Two to Tango: an Exploration of Domain Pairs for Cross-Domain Collab...It Takes Two to Tango: an Exploration of Domain Pairs for Cross-Domain Collab...
It Takes Two to Tango: an Exploration of Domain Pairs for Cross-Domain Collab...
 
Introduction To Data Science Using R
Introduction To Data Science Using RIntroduction To Data Science Using R
Introduction To Data Science Using R
 
Intro to data science
Intro to data scienceIntro to data science
Intro to data science
 

Último

THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Erbil Polytechnic University
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
Crystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxCrystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxachiever3003
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate productionChinnuNinan
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 

Último (20)

THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Crystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptxCrystal Structure analysis and detailed information pptx
Crystal Structure analysis and detailed information pptx
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate production
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 

A Similarity Measure for Large Color Differences

  • 1. A Similarity Measure for Large Color Differences Nathan Moroney, Ingeborg Tastl and Melanie Gottwals HP Labs 22nd IS&T Color and Imaging Conference, November 2014, Boston MA © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  • 2. Outline • Motivation • Large vs. Small Differences • Experiments • Hundreds of pairs of stimuli with DE00 of 20 • Sorting of 9 pairs of differences from smallest to largest • Web and laboratory • Results • Observers rank pairs having equal DE00 as being different • Similarity metric • Cosine similarity given categorical vectors • Cosine similarity is small within a category & large across categories • Discussion and Speculation © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 2 change without notice.
  • 3. Motivation Which of these two pairs, has the larger DE00? © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 3 change without notice.
  • 4. Motivation Using DE00 they are equal Both are 20 DE00 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 4 change without notice.
  • 5. Motivation But isn’t DE00 only for small differences ? OK, so how to measure maximum error? Both are 20 DE00 © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 5 change without notice. 45 40 35 30 25 20 15 10 5 0 1 3 5 7 9 11 13 15 17 19 Frequency DE00
  • 6. Large vs. Small Color Differences We’ll fill this in by the end of the talk Small Differences Large Differences Application Just Noticeable Difference Central Question Do 2 colors match? Metrics* DE*ab, DE94, DE00 Underlying Metric Euclidean distance, with weighting schemes Input CIELAB coordinates, weights Output “Geometric” distance, where a JND is approximately < 1 * Small color differences metrics not recommended for large differences or greater than ~5. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 6 change without notice.
  • 7. Experiments • Stimuli • Non-repeating random vectors • Similar to a farthest-point sampling of vector endpoints • All vectors within 0.0001 of 20 DE00, • Task • Sorting of multiple color differences • Observer sorts 9 color differences from smallest to largest • 21 blocks of 9 random color difference pairs • Web-Based Experiment Not regular or centroid plus • 285 participants; perform sorting of 1 block of differences; unknown displays • Laboratory Experiment • 12 participants; sort all 21 blocks of differences; sRGB mode HP DreamColor Z27x Display © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 7 change without notice. offsets sampling Not forced choice paired comparison of 2 pairs Sorting of Non-Repeating Random Vectors
  • 8. Non- Repeating Random Vectors NonRepeatingRandomVectors(n, dist, t1, t2) i = 0 while (i < n) test_ave = F test_ends = F start = RandomVector() end = start while ((Distance(start, end) - dist) < epsilon) end = RandomStep() ave = Average(start, end) for (i = 0 to number_vectors) if ((ave - ave[i]) < t1) test_ave = T d11 = start - start[i] d22 = end - end[i] d12 = strt - end[i] d21 = end - start[i] min_diff = Min(d11, d22, d12, d21) if (min_diff < t2) test_ends = T if ((test_ave & test_ends) = T) AddVector(start, end) ++I ( Insert comment about Jim King here) © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 8 change without notice.
  • 9. Non- Repeating Random Vectors NonRepeatingRandomVectors(n, dist, t1, t2) i = 0 while (i < n) test_ave = F test_ends = F start = RandomVector() end = start while ((Distance(start, end) - dist) < epsilon) end = RandomStep() ave = Average(start, end) for (i = 0 to number_vectors) if ((ave - ave[i]) < t1) test_ave = T d11 = start - start[i] d22 = end - end[i] d12 = strt - end[i] d21 = end - start[i] min_diff = Min(d11, d22, d12, d21) if (min_diff < t2) test_ends = T if ((test_ave & test_ends) = T) AddVector(start, end) ++i © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 9 change without notice. Random walk 0.8 0.6 0.4 0.2 0 -1 0 1 2 -0.2 -0.4 -0.6 -0.8 Don’t duplicate vectors
  • 10. Non- Repeating Random Vectors 21 blocks rendered as RGB patches and as a CIELAB a* versus b* plot © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 10 change without notice.
  • 11. Non- Repeating Random Vectors 90 80 70 60 50 40 30 20 10 0 0 50 100 150 200 Color Difference Pair Identifier © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 11 change without notice. DE00 DE94 DE*ab 20 DE00 and the corresponding DE94 and DE*ab color differences
  • 12. Color Difference Sorting HTML5 drag-and-drop interface with color patches rendered to 90x90 pixels in size © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 12 change without notice.
  • 13. Results: Block 118 • Initial visualizations • Each set of 9 sub-plots is for 1 block • X-axis is sorted rank • Left: smallest difference • Right: largest difference • Y-axis is relative frequency • Larger: observers consistently used this rank • Zero: observers did not use this rank • Approximate color rendering • Shown to the right of each sub-plot • Approximate sorting top to bottom © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 13 change without notice. A B C A B C
  • 14. Results: Block 118 • Smallest difference • Relatively narrower distribution • Intermediate differences • Relatively wider distributions • Largest difference • Relatively narrower distribution • Qualitatively, at crossing of naming boundaries? • For ideal set of 9 equal differences • Flat histograms for each pair • Not seen in the experimental data… © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 14 change without notice. A B C A B C
  • 15. Results: Block 113 • Similar results seen across other blocks • Similar results for web-based & laboratory • But also multi-modal distributions? • Complicates even basic analysis • Can occur for any ranking, shown circled to right • Almost as if there were multiple criterion for sorting…. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 15 change without notice.
  • 16. Results: Block 103 • Name boundary crossing • Tends to result in a mode with a larger rank or sorted color difference • Shown circled • Other interesting results Initial Sorting Rank Smallest Intermediate Largest Median Time to Sort 90 45 0 Web-Based Laboratory Seconds © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 16 change without notice.
  • 17. Correlation of Web-Based and Laboratory Experiments Limited to the approximately 2/3rds of pairs with uni-modal distributions* for both experiments * F. Schwaiger, H. Holzmann, and S. Vollmer, "bimodalitytest: Testing for bimodality in a normal mixture", R package version 1.0, (2013) © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 17 change without notice.
  • 18. Similarity Metric • Given these results can a similarity metric be designed that is: • Smaller within a color category • Larger across color categories • Not unlike results seen in Categorical Perception from vision science • Not based on weighted Euclidean distances? • Similar to other similarity metrics? • Value of 1 for identical • Value of 0 for dissimilar © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 18 change without notice.
  • 19. Similarity Metric Use Categorical Vectors • K-nearest neighbors used to transform input CIELAB data, on left, to categorical counts, maximum shown color coded on right • Start with basic 11 terms as the vocabulary • Similar processing used for document classification © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 19 change without notice.
  • 20. Similarity Metric Use Cosine Similarity of Categorical Vectors • K = 100 • Same example from the motivation slides earlier • These two have DE00 differences of 20… DS © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 20 change without notice.
  • 21. Large vs. Small Color Differences We’ll fill this in by the end of the talk Small Differences Large Differences* Application Just Noticeable Difference Consistently Describable Difference(s) Central Question Do 2 colors match? When do 2 colors stop looking similar? Metrics* DE*ab, DE94, DE00 DS Underlying Metric Euclidean distance, with weighting schemes Cosine similarity Input CIELAB coordinates, weights Categorical or lexical vectors Output Geometric distance, where a JND is approximately < 1 Similarity measure, where 0 is completely dissimilar * Large color differences also relevant to image segmentation, analysis & retrieval. © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 21 change without notice.
  • 22. Discussion & Speculation • Large color differences do not necessarily have a single sorting • Can be consistently sorted by multiple criterion • More sophisticated analysis needed to detect systematic trends in multi-modal sorting • Small difference metrics probably not a good idea for maximum errors • At a minimum probably want to visualize • Cosine similarity of categorical vectors is a promising metric • Initial stages of optimization but already useful in ways that differ from the DE’s • Training data and algorithms are key aspects of the metric • Experiment and data are public and ongoing • Same data could also be used to investigate more uniform color spaces • Would like to expert-source additional analysis & related experiments © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to 22 change without notice.