AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

Add functions for comparing configs and color spaces

Offen
#1,994 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Feature Request
Vorherrschende Sprache
C++
Sterne
2.1k
Forks
503
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

It would be very helpful to have some functions in the API that could be used for doing non-exact matching of configs and color spaces.

The config and color space classes contain quite a lot of data which does not affect the actual color processing, for example various description strings or optional metadata such as categories. So just doing a binary comparison of two objects, or comparison of the cacheID, only tells you that they differ in some way but not whether that difference is significant for your purpose.

The question of which differences are significant is highly dependent on the situation and does not have a specific definition. The proposal is that a function be created that would take a pair of objects and some way to identify what aspects of the object should be compared.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie mit der Durchsicht der Config- und Farbraumklassen sowie der bestehenden API, um zu ermitteln, wie deren Daten und Cache-IDs dargestellt werden. Legen Sie fest, welche Vergleichsaspekte Aufrufer auswählen müssen, bevor Sie die Form der API bestimmen. Erledigt ist die Aufgabe, wenn die API Paare von Configs oder Farbräumen anhand von aufruferseitig festgelegten Kriterien vergleichen kann und das Verhalten dokumentiert und durch Tests abgedeckt ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp
Bereich
api, computer-graphics
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.