Powered by OPF
OPF WIKI STATIC ARCHIVE
2,681 pages · 153 spaces · 776 tags · 4,025 history records · 96.2% of the original wiki recovered
Archived copy. This page was recovered from the Internet Archive snapshot of /display/AQuA/java image blocks comparison taken on 2011-07-04. The original wiki at wiki.opf-labs.org is being decommissioned.

java image blocks comparison

Created by Georg Petz on Jun 14, 2011 · last edited by Georg Petz · on Jun 15, 2011 (view history) · 13 versions
One line summary Based on the blog entry: http://mindmeat.blogspot.com/2008/07/java-image-comparison.html it can be shown that a basic jpg image comparision can be achieved with just a few lines of code.                                                                                                                
Detailed description If the tool compares:



with



it outputs an image with the differences



by calculating the difference between the average brightness of the boxes:

|21,20,16,0,1,0,0,0|
|0,0,0,0,0,0,0,0|
|0,1,0,0,0,0,0,0|
|0,0,1,0,1,1,0,1|
|0,0,0,0,1,1,1,0|
|0,1,0,0,0,0,1,1|

If the difference in at least one box has passed the threshold value it outputs false.Match: false
Solution champion Georg Petz
Git link  
Evaluation Concept of comparing boxes has to be further developed.
Tool (link)