ColourSpace 報告功能使用說明
ColourSpace 報告功能
ColourSpace 的報告功能使用「格式範本 (Layout Templates)」來定義任何報告的外觀。 系統內建了預設範本,但任何稍具技術背景的使用者都可以自行建立範本,無論是從頭開始,或是使用提供的範本作為基礎範例。 ColourSpace 報告範本結合了「範本區塊 (Template Blocks)」,並使用「描述檔代碼 (Profile Tokens)」從任何給定的描述檔中提取資料,再結合基於 HTML 的標記語言和純文字。 所有這些元素都可以組合起來設計報告的版面配置。
描述檔代碼 (Profile Tokens)
通用 (General)
{P<value> … }:定義要從哪個描述檔提取資料。
value = 描述檔編號;1 或 2。
此代碼作為其他描述檔代碼的前綴,用以指定資料來源。
例如:{P2target_gamut}
ColourSpace 設定 (ColourSpace Settings)
{target_gamut}:描述檔的目標色域。
{target_eotf}:描述檔的目標 EOTF (電光轉換函數) (目前未使用)。
{target_luma_max}:描述檔的目標最大亮度。
{target_luma_min}:描述檔的目標最小亮度。
{target_cr}:目標對比度。
{stabilisation_enable}:穩定化功能是否啟用 (True/False)。
{stabilisation_value}:穩定化時間值 (秒)。
{patch_scale_resolution}:色塊訊號解析度 (位元深度)。
{patch_scale_mode}:色塊縮放模式。
{patch_scale_min}:色塊縮放最小值。
{patch_scale_max}:色塊縮放最大值。
{patch_area}:色塊區域大小。
{patch_pos_x}:色塊位置 X 座標。
{patch_pos_y}:色塊位置 Y 座標。
{preroll_enable}:前置讀取是否啟用 (True/False)。
{preroll_value}:前置讀取時間值 (秒)。
基本探頭設定 (Basic Probe Settings)
{probe_name}:探頭名稱。
{probe_sn}:探頭序號。
{probe_intelligent}:探頭智慧積分功能是否啟用 (True/False)。
{probe_intelligent_value}:探頭智慧積分值 (nits)。
{probe_average_low_light}:探頭低光平均功能是否啟用 (True/False)。
{probe_integration_value}:探頭積分時間值。
{probe_exposure_value}:探頭曝光值。
{probe_sync_mode}:探頭同步模式。
{probe_sync_value}:探頭同步值。
{probe_delay_value}:探頭額外延遲值 (秒)。
{probe_calibration}:選擇的探頭校準矩陣。
{probe_matching_enable}:探頭匹配功能是否啟用 (True/False)。
{probe_calibration_act}:啟用的探頭匹配之主動探頭。
{probe_calibration_ref}:啟用的探頭匹配之參考探頭。
{probe_offset_x}:探頭偏移 X。
{probe_offset_y}:探頭偏移 Y。
特定探頭設定 (Probe Specific Settings)
CR-100
{probe_cr100_range_mode}:CR-100 範圍模式。
{probe_cr100_max_auto_exp}:CR-100 最大自動曝光。
{probe_cr100_manual_exp}:CR-100 手動曝光。
{probe_cr100_exp_mult}:CR-100 曝光倍率。
{probe_cr100_sync_mode}:CR-100 同步模式。
{probe_cr100_sync_freq}:CR-100 同步頻率。
{probe_cr100_accessory}:CR-100 配件。
{probe_cr100_filter1}:CR-100 濾鏡1。
{probe_cr100_filter2}:CR-100 濾鏡2。
{probe_cr100_filter3}:CR-100 濾鏡3。
{probe_cr100_cal_mode}:CR-100 校準模式。
{probe_cr100_cal_matrix}:CR-100 校準矩陣。
{probe_cr100_cal_match}:CR-100 校準匹配。
CR-250/300
{probe_cr250_exposure_mode}:CR-250/300 曝光模式。
{probe_cr250_exposure_time}:CR-250/300 曝光時間。
{probe_cr250_exp_avr_cnt}:CR-250/300 曝光平均計數。
{probe_cr250_speed}:CR-250/300 速度。
{probe_cr250_aperture}:CR-250/300 光圈。
{probe_cr250_cmf}:CR-250/300 CMF (色彩匹配函數)。
UPRtek
{probe_uprtek_md100n_exp_mode}:UPRtek 曝光模式。
{probe_uprtek_md100n_exp_speed}:UPRtek 曝光速度。
{probe_uprtek_md100n_exp_num}:UPRtek 曝光次數。
{probe_uprtek_md100n_sync_mode}:UPRtek 同步模式。
{probe_uprtek_md100n_sync freq}:UPRtek 同步頻率。
ColorChecker/i1D3
{probe_color_checker_dp_mode}:ColorChecker/i1D3 模式。
{probe_color_checker_dp_edr}:ColorChecker/i1D3 校正檔案。
{probe_color_checker_dp_intelligent_int}:ColorChecker/i1D3 智慧積分。
{probe_color_checker_dp_intelligent_int_val}:ColorChecker/i1D3 智慧積分值。
{probe_color_checker_dp_average_lowlight}:ColorChecker/i1D3 低光平均。
{probe_color_checker_dp_led_feedback}:ColorChecker/i1D3 LED 回饋。
LG Pro
{probe_lg_pro_mode}:LG Pro 模式。
{probe_lg_pro_over_sampling}:LG Pro 過度取樣。
硬體設定 (Hardware Settings)
{hardware_name}:連接的硬體 (測試圖形產生器、顯示器、LUT 處理器)。
描述檔資料 (Profile Data)
{name}:描述檔名稱。
{created}:描述檔建立日期。
{notes}:描述檔註記 (註記中可包含報告標記語言)。
{type}:描述檔類型。
{gamut_coverage}:描述檔的色域覆蓋率。
{average_eotf}:描述檔的平均 EOTF。
{profile_luma_max}:描述檔的最大亮度。
{profile_luma_min}:描述檔的最小亮度。
{profile_cr}:描述檔的對比度。
{axis_count}:在可選定的軸向中的點數。
可選軸向:_grey (灰階) / red / green / blue / cyan / magenta / yellow / other / all (全部)。
例如:{axis_count_grey}
{deXXXX_min}:在可選定的軸向中的最小 dEXXXX 值。
XXXX = 1976 / 2000 / itp / luv。
例如:{de2000_min_grey}
{deXXXX_avg}:在可選定的軸向中的平均 dEXXXX 值。
XXXX = 1976 / 2000 / itp / luv。
例如:{de2000_avg_grey}
{deXXXX_max}:在可選定的軸向中的最大 dE 值。
XXXX = 1976 / 2000 / itp / luv。
例如:{de2000_max_grey}
{deXXXX_count_bandX}:在指定的 dE 區間內的點數,可選擇性地以百分比顯示。
XXXX = 1976 / 2000 / itp / luv;bandX = band0; 1/2 (0%/1%/2%)。
例如:{deitp_count_band0%}
{deXXXX}:針對指定的 dE,自動顯示最小/最大/平均值,可選定軸向。
XXXX = 1976 / 2000 / itp / luv。
例如:{de1976_grey}
{de_table}:建立所有 dE 的 dE 表格,可選定軸向與 dE 公式。
例如:{de_table_76_00_itp_grey}
特殊指令 (Special Commands)
{break}:分頁符 (可在文字區塊中替代分隔線區塊使用)。
描述檔代碼範例
描述檔名稱:{P1name}
建立日期:{P1created}
色域覆蓋率:{P1gamut_coverage}
描述檔最大亮度:{P1profile_luma_max}
描述檔最小亮度:{P1profile_luma_min}
描述檔對比度:{P1profile_cr}
HTML 標記語言 (HTML Markup)
格式化 (Formatting)
<b> ... </b>:粗體文字
<i> ... </i>:斜體文字
<u> ... </u>:底線文字
<o> ... </o>:上線文字
<s> ... </s>:刪除線文字
<strong> ... </strong>:粗體文字 (同 <b>)
<em> ... </em>:強調文字 (同 <i>)
<small> ... </small>:縮小字級的文字
<sup> ... </sup>:上標文字
<sub> ... </sub>:下標文字
<h1> ... </h1>:標題尺寸 1 (大)
<h2> ... </h2>:標題尺寸 2
<h3> ... </h3>:標題尺寸 3
<h4> ... </h4>:標題尺寸 4
<h5> ... </h5>:標題尺寸 5
<h6> ... </h6>:標題尺寸 6 (小)
結構 (Structure)
<ul> ... </ul>:無序清單
type=”bullet” (項目符號);”dash” (破折號) / ”number” (數字)
*number = 1-255 的數值,參考 Zapf Dingbats 字型
<ol> ... </ol>:有序清單
type=”1”;”a” / ”A” / ”i” / ”I” / ”z1” / ”z2” / ”z3” / ”z4”
*z1/z2/z3/z4 = Zapf Dingbats 字型中的 4 種數字系列
<li> ... </li>:有序或無序清單的清單項目
<br />:換行符
<p> ... </p>:段落
align=”left” (靠左);”right” (靠右) / ”center” (置中) / ”justify” (左右對齊)
<hr />:水平線
<hr width=”number” />
*number = 1-100 的數值,代表寬度百分比
字型 (Font)
<font> ... </font>:字型規格
<font face=”courier”>;”helvetica” / ”times”
<font size=”number”>
*number = 字級大小 (點)
<font color=”colour”>
*colour = ”#rrggbb”,或顏色名稱 (如 ”red”),或 ”_col” 搭配定義代碼以實現自動 dE 顏色
字型範例
HTML
<font color="{P1de2000_count_band0_col}">{P1de2000_count_band0} ({P1de2000_count_band0%})</font>
圖片 (Images)
<img ... />:圖片
<img src=”image_location” />
*image_location = ”C:\folder\image.png”
<img width=”number” /> *number = 寬度 (像素)
<img height=”number” /> *number = 高度 (像素)
<img align=”left” />;”right” / ”center”
表格 (Tables)
<table> ... </table>:表格
<table border=”number”>
*number = 四邊框線;0 = 無,1 = 有
<table align=”left”>;”right” / ”center”
<table valign=”top”> (垂直對齊頂);”middle” (中) / ”bottom” (底)
<table cellpadding=”number”>
*number = 內距 (點)
<table><colgroup><col … ></col></colgroup>
<col width=”number”>
*number = 寬度 (點)
<col span=”number”>
*number = 此寬度設定所橫跨的欄數
<table> … <thead … > (表頭)
<thead odd="colour" even="colour">
*colour = ”#rrggbb”,或顏色名稱 (如 ”red”)
<table> … <tbody … > (表身)
<tbody odd="colour" even="colour">
*colour = ”#rrggbb”,或顏色名稱 (如 ”red”)
<table> … <tr … > … </tr> (表格列)
<tr bgcolor="colour" height=”number”>
*colour = ”#rrggbb”,或顏色名稱 (如 ”red”)
*number = 列的最小高度 (點)
<table> … <td … > … </td> (儲存格)
<td border=”L”>;”T” / ”B” / ”R”
*L/T/B/R = 左、上、下、右的框線
<td align=” left”>;”right” / ”center”
<td valign=”top”>;”middle” / ”bottom”
<td bgcolor=”colour”>
*colour = ”#rrggbb”,或顏色名稱 (如 ”red”)
<td rowspan=”value”>
*value = 儲存格應橫跨的列數
<td colspan=”value”>
*value = 儲存格應橫跨的欄數
表格範例
Table Example
<table border="1" cellpadding="10">
<colgroup><col width="65" span="2"></col><col width="160"></col></colgroup>
<thead>
<tr><td><h1>Col-1</h1></td><td><h2>Col-2</h2></td><td><h3>Col-3 - no width control
</h3></td></tr>
</thead>
<tbody odd="red" even="blue">
<tr><td>Even</td><td>Even-2</td><td>Even -3</td></tr>
<tr><td>Odd</td><td>Odd-2</td><td>Odd-3</td></tr>
<tr bgcolor="yellow"><td>Table Text</td></tr>
</tbody>
</table>
<table border="1">
<tbody>
<tr height="7">
<td><h2 align="center" valign="middle">TEXT</h2></td>
<td><h2 align="center" valign="middle">MORE TEXT</h2></td>
</tr>
</tbody>
</table>
報告文字區塊 (Reports Text Block)
描述檔代碼、標記語言和純文字都可以在「報告文字區塊」中結合使用,以定義所需的版面設計及要呈現的描述檔資料。 (大部分的版面需求應該僅使用描述檔代碼即可滿足)
文字區塊範例
Text Block Example
<table>
<colgroup>
<col width="150"></col>
<col width="175"></col>
<col width="175"></col>
<col width="150"></col>
<col width="150"></col>
</colgroup>
<tbody><tr><td>
Probe: {P1probe_name}
Probe Match: {P1probe_calibration}
Integration: {P1probe_integration_value}
Intelligent Int.: {P1probe_intelligent} {P1probe_intelligent_value}
Stabilisation: {P1stabilisation_enable} {P1stabilisation_value}
Preroll: {P1preroll_enable} {P1preroll_value}
</td>
<td>
Target Colour Space: {P1target_gamut}
Target Luma Max: {P1target_luma_max}
Target Luma Min: {P1target_luma_min}
Target CR: {P1target_cr}
</td>
<td>
Gamut Coverage: {P1gamut_coverage}
Profile Luma Max: {P1profile_luma_max}
Profile Luma Min: {P1profile_luma_min}
Profile CR: {P1profile_cr}
</td>
<td>
Profile Points: {P1axis_count_all}
<b>dE00 Coverage</b>
<table>
<colgroup>
<col width="50"></col>
<col width="100"></col>
</colgroup>
<tbody>
<tr><td><1:</td><td><font
color="{P1de2000_count_band0_col}">{P1de2000_count_band0}
({P1de2000_count_band0%})</font></td></tr>
<tr><td>>1 <2.3:</td><td><font
color="{P1de2000_count_band1_col}">{P1de2000_count_band1%}
({P1de2000_count_band1%})</font></td></tr>
<tr><td>>2.3:</td><td><font
color="{P1de2000_count_band2_col}">{P1de2000_count_band2%}
({P1de2000_count_band2%})</font></td></tr>
</tbody></table>
</td>
<td>
<br />
<b>dE00 Limits</b>
<table>
<colgroup>
<col width="50"></col>
<col width="100"></col>
</colgroup>
<tbody>
<tr><td>Min:</td><td>{P1de2000_min}</td></tr>
<tr><td>Max:</td><td>{P1de2000_max}</td></tr>
<tr><td>Avg:</td><td>{P1de2000_avg}</td></tr>
</tbody></table>
</td></tr></tbody></table>
每個文字區塊都可以透過區塊編輯器選項中的「字型家族 (Font Family)」來定義字型,其中 Liberation 字型系列包含了所有需要的字元,包括重音和特殊字元。
HTML 字元碼 (HTML Character Codes)
HTML 的字元碼可用於文字區塊中,以輸入文字和符號。例如大於 > 和小於 < 字元不能直接在文字區塊中使用,因為它們被用來定義 HTML 標記。另外,& 符號只有在字元兩側都有空格時才能直接使用。
> / >:大於
< / <:小於
& / &:& 符號
€ / €:歐元
® / ®:註冊商標
更多資訊請參閱:https://www.rapidtables.com/web/html/html-codes.html
額外選項 (Additional Options)
報告範本中有兩個額外的項目,允許在更廣泛的組織內進行版本控制和管理。 在「報告設定 (Reports Setup)」選項中有兩個額外項目:
使用者版本 (User version)
唯讀 (Read only)
「使用者版本」項目顯示一個可選的版本號碼。 版本號碼必須使用文字編輯器手動編輯匯出的 .rpt 檔案。搜尋文字字串 user_version=0,並將其值修改為 0-9999 之間的任意整數,這可用於驗證正在使用的報告範本版本。
「唯讀」項目顯示該特定版面是否可以被修改。 唯讀選項必須使用文字編輯器手動編輯匯出的 .rpt 檔案。搜尋文字字串 read_only=0,並將其值設定為 1 即可設為唯讀,這將防止報告範本被使用者修改。



