Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
eyes:logics:compare [2017/06/08 15:29]
bgraf
eyes:logics:compare [2017/06/08 17:48]
jschlie1
Line 4: Line 4:
 Compares images with a given metric. If the number of images in the two inputs match. a 1-to-1 comparison will be performed. If the numbers dont match every images in input 1 will be compared to every image in input 2. Thereby the number of images in input 1 needs to be bigger number of images in input 2.  Compares images with a given metric. If the number of images in the two inputs match. a 1-to-1 comparison will be performed. If the numbers dont match every images in input 1 will be compared to every image in input 2. Thereby the number of images in input 1 needs to be bigger number of images in input 2. 
  
- +===== Parameters ​and I/O =====
-===== Parameters =====+
 Different modes for comparing images can be chosen. Different modes for comparing images can be chosen.
  
Line 16: Line 15:
 | sum of absolute differences ​ | Sum of Absolute Differences is used as comparison metric | | sum of absolute differences ​ | Sum of Absolute Differences is used as comparison metric |
  
-===== Inputs ===== +|< 100% 30% >| 
- +^ New/Changed ​Header Values ​^ Description ^ 
-**input1:** stack of images or single image (stack needs to contain equal or more images than //input2//)  +//​ccc-/​nmse-/​phash-/​sad-/​frc-/​cov-/​mui-/​pHashPeakHeight// ​        | Comparison value of the two images from the inputs on that position with chosen metric ​| 
-**input2:** stack of images or single image (stack needs to contain equal or less images than //input1//)  +//​ccc-/​nmse-/​phash-/​sad-/​frc-/​cov-/​mui-/​pHashPeakReferenceIndex// ​ImageID of the image from input2 that gives the highest metric value (only written if number of images in //input1// is bigger than number of images in //​input2//​) ​|
- +
-===== Output ===== +
- +
-**output:** unchanged image stack from image1 containing a value for the metric (in case of unequal image numbers the best value) and the image number of the image from //input2// giving the highest metric value  +
- +
-**Written ​Header Values:**  +
-  ​* ​//​ccc-/​nmse-/​phash-/​sad-/​frc-/​cov-/​mui-/​pHashPeakHeight//​Comparison value of the two images from the inputs on that position with chosen metric +
-  ​* ​//​ccc-/​nmse-/​phash-/​sad-/​frc-/​cov-/​mui-/​pHashPeakReferenceIndex//​ImageID of the image from input2 that gives the highest metric value (only written if number of images in //input1// is bigger than number of images in //​input2//​) ​+
  
 ===== Additional Information =====  ===== Additional Information ===== 
-  * Unordered List Item +  * [[https://​en.wikipedia.org/​wiki/​Cross-correlation|Cross Correlation]] 
-  * a +  * [[https://​rem.jrc.ec.europa.eu/​RemWeb/​atmes2/​20b.htm|NMSE]] 
-  * a +  * [[https://​en.wikipedia.org/​wiki/​Sum_of_absolute_differences|SAD]] 
-  * a +  * [[https://​en.wikipedia.org/​wiki/​Fourier_shell_correlation|Fourier Ring Correlation]] 
-  * +  * [[https://​en.wikipedia.org/​wiki/​Correlation_ratio|COV]]
-  * a +
-  * a+