Search Results for

    Show / Hide Table of Contents

    Class ColorCubeHelix

    Code for CUBEHELIX adapted from JavaScript code obtained from following website: https://www.mrao.cam.ac.uk/~dag/CUBEHELIX/.

    Inheritance
    Object
    ColorCubeHelix
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: TowseyLibrary
    Assembly: TowseyLibrary.dll
    Syntax
    public class ColorCubeHelix

    Constructors

    | Improve this Doc View Source

    ColorCubeHelix(String)

    Declaration
    public ColorCubeHelix(string mode)
    Parameters
    Type Name Description
    String mode

    Fields

    | Improve this Doc View Source

    CyanScale

    Declaration
    public const string CyanScale = "cyanscale"
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    Default

    Declaration
    public const string Default = "default"
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    Grayscale

    Declaration
    public const string Grayscale = "grayscale"
    Field Value
    Type Description
    String
    | Improve this Doc View Source

    MaxPaletteSize

    Declaration
    public const int MaxPaletteSize = 256
    Field Value
    Type Description
    Int32
    | Improve this Doc View Source

    RedScale

    Declaration
    public const string RedScale = "redscale"
    Field Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    DrawMatrixWithoutNormalization(Double[,])

    Draws matrix without normalizing the values in the matrix. Assumes some form of normalization already done.

    Declaration
    public Image<Rgb24> DrawMatrixWithoutNormalization(double[, ] matrix)
    Parameters
    Type Name Description
    Double[,] matrix

    the data.

    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>

    The SixLabors.ImageSharp.Image.

    | Improve this Doc View Source

    GetColor(Double)

    This method assumes that the intensity lies in [0,1].

    Declaration
    public Color GetColor(double intensity)
    Parameters
    Type Name Description
    Double intensity
    Returns
    Type Description
    SixLabors.ImageSharp.Color

    The SixLabors.ImageSharp.Color.

    | Improve this Doc View Source

    GetColor(Int32)

    Declaration
    public Color GetColor(int colorId)
    Parameters
    Type Name Description
    Int32 colorId
    Returns
    Type Description
    SixLabors.ImageSharp.Color

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top