namespace Colourful.Implementation.RGB { /// /// Pair of companding functions for . /// Used for conversion to XYZ and backwards. /// See also: /// public interface ICompanding { /// /// Companded channel is made linear with respect to the energy. /// /// /// For more info see: /// http://www.brucelindbloom.com/index.html?Eqn_RGB_to_XYZ.html /// double InverseCompanding(double channel); /// /// Uncompanded channel (linear) is made nonlinear (depends on the RGB color system). /// /// /// For more info see: /// http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_RGB.html /// double Companding(double channel); } }