AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO
Add functions for comparing configs and color spaces
- Lingua principale
- C++
- Stelle
- 2.1k
- Fork
- 503
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia esaminando le classi config e degli spazi colore e l’API esistente per determinare come sono rappresentati i relativi dati e cache ID. Definisci quali aspetti del confronto devono poter selezionare i chiamanti prima di determinare la forma dell’API. Il lavoro è completato quando l’API può confrontare coppie di config o spazi colore in base a criteri specificati dal chiamante, con il comportamento documentato e coperto da test.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- api, computer-graphics
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100