| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>average</title> |
| 5 | <meta http-equiv="content-type" content="text/html; |
| 6 | charset=windows-1252"> |
| 7 | <meta name="author" content="Graeme Gill"> |
| 8 | </head> |
| 9 | <body> |
| 10 | <h2><b>spectro/average</b></h2> |
| 11 | <h3>Summary</h3> |
| 12 | Average or merge two or more <a href="File_Formats.html#.ti3">.ti3</a> |
| 13 | measurement files.<br> |
| 14 | If only one input file is provided, then for output or display |
| 15 | device test charts all the patches with the same device values will |
| 16 | be average together,<br> |
| 17 | while for input device test charts all the patches with the |
| 18 | same PCS values will be averaged together.<br> |
| 19 | <h3>Usage</h3> |
| 20 | <small><span style="font-family: monospace;"></span></small><small> |
| 21 | <span style="font-family: monospace;"></span></small><small><span |
| 22 | style="font-family: monospace;"></span></small><span |
| 23 | style="font-family: monospace;">usage: average [-options] |
| 24 | input1.ti3 input2.ti3 ... output.ti3</span><br style="font-family: |
| 25 | monospace;"> |
| 26 | <span style="font-family: monospace;"> -v |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | Verbose</span><br> |
| 32 | <span style="font-family: monospace;"> -e |
| 33 | |
| 34 | Median rather than average</span><br> |
| 35 | <tt> -g |
| 36 | |
| 37 | |
| 38 | Geometric Median of PCS or Device in encoded space</tt><tt><br> |
| 39 | </tt><tt> -L |
| 40 | |
| 41 | |
| 42 | Geometric Median of PCS in L*a*b* space</tt><tt><br> |
| 43 | </tt><tt> -X |
| 44 | |
| 45 | |
| 46 | Geometric Median of PCS in XYZ space</tt><br> |
| 47 | <span style="font-family: monospace;"> -m |
| 48 | Merge |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | rather than average</span><br style="font-family: monospace;"> |
| 54 | <span style="font-family: monospace;"> input1.ti3 |
| 55 | First |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | input file</span><br style="font-family: monospace;"> |
| 61 | <span style="font-family: monospace;"> input2.ti3 |
| 62 | Second |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | input file</span><br style="font-family: monospace;"> |
| 68 | <span style="font-family: monospace;"> ... |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | etc.</span><br style="font-family: monospace;"> |
| 74 | <span style="font-family: monospace;"> output.ti3 |
| 75 | Resulting |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | averaged or merged output file</span><br> |
| 81 | <br> |
| 82 | <br> |
| 83 | All keywords and other table data will be taken from the first input |
| 84 | file. By default the input files are averaged, but they can be |
| 85 | merged by using the <span style="font-weight: bold;">-m</span> |
| 86 | flag.<br> |
| 87 | <br> |
| 88 | The fields must be the same and in the same order.<br> |
| 89 | For averaging output or display device test charts, the device |
| 90 | values must be the same and in the same order.<br> |
| 91 | For input device test charts, the PCS values must be the same and in |
| 92 | the same order.<br> |
| 93 | <br> |
| 94 | If the <b>-e</b> option is used, then the independent median (i.e. |
| 95 | Marginal median) of the field values is used, rather than the |
| 96 | average. <br> |
| 97 | <br> |
| 98 | If the<b> </b><b>-g</b> option is used, then <a |
| 99 | href="https://en.wikipedia.org/wiki/Geometric_median">Geometric |
| 100 | Median</a> of PCS values (output or display) is computed in their |
| 101 | encoded space (i.e. XYZ or L*a*b*).<br> |
| 102 | For input type device test charts, the Geometric mean of 3 channel |
| 103 | device values is computed.<br> |
| 104 | <br> |
| 105 | If the <b>-L</b> option is used, then Geometric Median of PCS |
| 106 | values is computed in L*a*b* space.<br> |
| 107 | This option is ignored for input device test charts.<br> |
| 108 | <br> |
| 109 | If the <b>-X</b> option is used, then Geometric Median of PCS |
| 110 | values is computed in XYZ space.<br> |
| 111 | This option is ignored for input device test charts.<br> |
| 112 | <br> |
| 113 | </body> |
| 114 | </html> |