Forum Discussion
HKosova
Alumni
13 years agoHi Andrew,
Measuring image similarity is a non-trivial image processing task, which is beyond the scope of general-purpose automated testing tools. You might want to use a specialized third-party tool or library for this purpose, such as AForge.NET or [url= http://www.imagemagick.org/script/compare.php]ImageMagick[/url], and integrate it into your testing process.
For general ideas on how to measure image similarity, check out the following posts on Stack Overflow:
http://stackoverflow.com/questions/827680/where-can-i-find-code-for-comparing-two-images-and-determining-how-similar-they
http://stackoverflow.com/questions/23931/what-algorithm-to-compare-two-images
http://stackoverflow.com/questions/1034900/near-duplicate-image-detection
I hope this helps!
Measuring image similarity is a non-trivial image processing task, which is beyond the scope of general-purpose automated testing tools. You might want to use a specialized third-party tool or library for this purpose, such as AForge.NET or [url= http://www.imagemagick.org/script/compare.php]ImageMagick[/url], and integrate it into your testing process.
For general ideas on how to measure image similarity, check out the following posts on Stack Overflow:
http://stackoverflow.com/questions/827680/where-can-i-find-code-for-comparing-two-images-and-determining-how-similar-they
http://stackoverflow.com/questions/23931/what-algorithm-to-compare-two-images
http://stackoverflow.com/questions/1034900/near-duplicate-image-detection
I hope this helps!