Expand description
This crate contains utilities for parsing and creating CGATS color data files.
Re-exports§
pub use DataPoint::*;
Structs§
- Cgats
- The CGATS data
- Data
Format - Representation of the DATA_FORMAT fields
- DeReport
- Analysis structure for evaluating DeltaE data sets.
Created by using the
Cgats::de_report
method. - LabValue
- CIEL*a*b*
Enums§
- Color
Type - Color types represented in a CGATS
DATA_FORMAT
- DEMethod
- The most common DeltaE methods
- Data
Point - The building block of CGATS data
- Field
- The types contained within the
DATA_FORMAT
section of a CGATS file - Meta
Data - CGATS header data
- Vendor
- A vendor is the party that makes the CGATS file with their own special sauce.
Traits§
- Cgats
Fmt - Trait to format data for writing to CGATS files
- Delta
- Trait to determine color difference between various types. As long as the type can be converted to Lab, we can calculate DeltaE.
- IterSum
- Front end method for the
PartialSum
trait - Partial
Add - Trait to add values that may or may not be compatible.
Returns
None
if either value is not a type that can add. - Partial
Avg - Trait to average values in an iterator that may or may not be compatible
- Partial
Div - Trait to divide values that may not be compatible.
- Partial
Sum - Trait to sum an iterator of values that may or may not be compatible