ݺߣ

ݺߣShare a Scribd company logo
Automating Image
Comparison Testing
Melvin Sandoval-2019
Agenda
1. What is an image?
2. Color spaces
3. Advantages / Disadvantages
4. Comparing two images
5. Problems on real world
6. Techniques to resolve them
What is an image?
The computer represents an image as an matrix of pixels.
For example:
Color spaces
There are different color spaces, some of them are:
What is an image on RGB?
If the image is on color the computer represents as a matrix of
matrices
What is an image on RGB?
What is an image on RGB?
Advantages Disadvantages
Faster UI verification against the
human eyes
Increase the test cases
complexity
Extend the capabilities of the
automation process
Handle the error ratio
Desktop automation False positives/ False negatives
Comparing two images
Comparing two images with the same size:
Measure color differences
Images with the same size
Images with the same size
Images with the same size
Common problems-Scale
Common problems-Scale
Common problems-Scale
Common problems-Scale
Mean squared Error and Structural Similarity
More examples: here
Scale-invariant feature transform
Scale-invariant feature transform
Examples: here
Scale-invariant feature transform
Examples: here
Questions
Contact us: melvin.sandoval@avantica.net

More Related Content

Automation Image Comparison Testing