修改SDR色准dE计算方式
This commit is contained in:
@@ -989,8 +989,7 @@ def test_color_accuracy(self: "PQAutomationApp", test_type):
|
||||
self.log_gui.log(f"计算色准(ΔE 2000,Gamma {target_gamma})...", level="info")
|
||||
self.log_gui.log("=" * 50, level="separator")
|
||||
|
||||
# 获取标准 xy 坐标
|
||||
standards = self.get_accuracy_color_standards(test_type)
|
||||
white_lv = measured_data_list[0][2]
|
||||
|
||||
delta_e_values = []
|
||||
color_patches = []
|
||||
@@ -1000,14 +999,12 @@ def test_color_accuracy(self: "PQAutomationApp", test_type):
|
||||
measured_y = measured_data[1]
|
||||
measured_lv = measured_data[2]
|
||||
|
||||
standard_x, standard_y = standards.get(name, (0.3127, 0.3290))
|
||||
|
||||
delta_e = self.calculate_delta_e_2000(
|
||||
delta_e = self.calculate_accuracy_delta_e_2000(
|
||||
name,
|
||||
measured_x,
|
||||
measured_y,
|
||||
measured_lv,
|
||||
standard_x,
|
||||
standard_y,
|
||||
white_lv,
|
||||
)
|
||||
|
||||
delta_e_values.append(delta_e)
|
||||
|
||||
Reference in New Issue
Block a user