修改SDR色准dE计算方式
This commit is contained in:
@@ -44,6 +44,7 @@ from app.resources import (
|
||||
load_icon,
|
||||
)
|
||||
from app.tests.color_accuracy import (
|
||||
calculate_accuracy_delta_e_2000 as _calc_accuracy_delta_e_2000,
|
||||
calculate_color_accuracy as _calc_color_accuracy,
|
||||
calculate_delta_e_2000 as _calc_delta_e_2000,
|
||||
get_accuracy_color_standards as _get_accuracy_color_standards,
|
||||
@@ -740,6 +741,7 @@ class PQAutomationApp(
|
||||
# 纯算法函数:作为 staticmethod 保留在主类(不依赖 self,且 calculate_xxx
|
||||
# 的命名空间由历史代码以 self.calculate_xxx 调用)。
|
||||
calculate_delta_e_2000 = staticmethod(_calc_delta_e_2000)
|
||||
calculate_accuracy_delta_e_2000 = staticmethod(_calc_accuracy_delta_e_2000)
|
||||
get_accuracy_color_standards = staticmethod(_get_accuracy_color_standards)
|
||||
calculate_gamut_coverage = staticmethod(_calc_gamut_coverage)
|
||||
calculate_gamma = staticmethod(_calc_gamma)
|
||||
|
||||
Reference in New Issue
Block a user