Files
pqAutomationApp/app/tests/gamut.py
2026-04-20 09:41:24 +08:00

10 lines
277 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""色域Gamut相关纯算法。"""
import algorithm.pq_algorithm as pq_algorithm
def calculate_gamut_coverage(results):
"""计算色域覆盖率DCI-P3"""
area, coverage = pq_algorithm.calculate_gamut_coverage_DCIP3(results)
return area, coverage