Browse Source
Merge pull request #501 from SixLabors/js/hide-colorspaces
Hide colorspace members
af/merge-core
James Jackson-South
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with
6 additions and
6 deletions
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Lms/LmsAdaptationMatrix.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Rgb/GammaCompanding.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Rgb/LCompanding.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Rgb/Rec2020Companding.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Rgb/Rec709Companding.cs
-
src/ImageSharp/ColorSpaces/Conversion/Implementation/Rgb/SRgbCompanding.cs
|
|
|
@ -17,7 +17,7 @@ namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation.LmsColorSap |
|
|
|
/// DISCo, Department of Informatics, Systems and Communication, University of Milan-Bicocca, viale Sarca 336, 20126 Milan, Italy
|
|
|
|
/// https://web.stanford.edu/~sujason/ColorBalancing/Papers/Two%20New%20von%20Kries%20Based%20Chromatic%20Adaptation.pdf
|
|
|
|
/// </remarks>
|
|
|
|
public static class LmsAdaptationMatrix |
|
|
|
internal static class LmsAdaptationMatrix |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// Von Kries chromatic adaptation transform matrix (Hunt-Pointer-Estevez adjusted for D65)
|
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation.RgbColorSap |
|
|
|
/// <see href="http://www.brucelindbloom.com/index.html?Eqn_RGB_to_XYZ.html"/>
|
|
|
|
/// <see href="http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_RGB.html"/>
|
|
|
|
/// </remarks>
|
|
|
|
public class GammaCompanding : ICompanding |
|
|
|
internal class GammaCompanding : ICompanding |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="GammaCompanding"/> class.
|
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation.RgbColorSap |
|
|
|
/// <see href="http://www.brucelindbloom.com/index.html?Eqn_RGB_to_XYZ.html"/>
|
|
|
|
/// <see href="http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_RGB.html"/>
|
|
|
|
/// </remarks>
|
|
|
|
public class LCompanding : ICompanding |
|
|
|
internal class LCompanding : ICompanding |
|
|
|
{ |
|
|
|
/// <inheritdoc/>
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation.RgbColorSap |
|
|
|
/// <see href="http://en.wikipedia.org/wiki/Rec._2020"/>
|
|
|
|
/// For 10-bits, companding is identical to <see cref="Rec709Companding"/>
|
|
|
|
/// </remarks>
|
|
|
|
public class Rec2020Companding : ICompanding |
|
|
|
internal class Rec2020Companding : ICompanding |
|
|
|
{ |
|
|
|
/// <inheritdoc/>
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation.RgbColorSap |
|
|
|
/// <remarks>
|
|
|
|
/// http://en.wikipedia.org/wiki/Rec._709
|
|
|
|
/// </remarks>
|
|
|
|
public class Rec709Companding : ICompanding |
|
|
|
internal class Rec709Companding : ICompanding |
|
|
|
{ |
|
|
|
/// <inheritdoc/>
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation.RgbColorSap |
|
|
|
/// <see href="http://www.brucelindbloom.com/index.html?Eqn_RGB_to_XYZ.html"/>
|
|
|
|
/// <see href="http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_RGB.html"/>
|
|
|
|
/// </remarks>
|
|
|
|
public class SRgbCompanding : ICompanding |
|
|
|
internal class SRgbCompanding : ICompanding |
|
|
|
{ |
|
|
|
/// <inheritdoc/>
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
|
|