Package

net.sf.ij_plugins.color

converter

Permalink

package converter

Color space conversions.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. converter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed case class ChromaticAdaptation(name: String, ma: Matrix3x3) extends Product with Serializable

    Permalink

    Represents chromatic adaptation when converting between color spaces using difference reference whites.

    Represents chromatic adaptation when converting between color spaces using difference reference whites.

    name

    adaptation name

    ma

    adaptation matrix

  2. final class ColorConverter extends AnyRef

    Permalink

    Color converter based on information given at brucelindbloom.com.

    Color converter based on information given at brucelindbloom.com.

    Conversion between CIE XYZ and sRGB is defined in the IEC 619602-1 standard http://www.colour.org/tc8-05/Docs/colorspace/61966-2-1.pdf, though it uses approximated coefficients (compared to Lindbloom).

    Conversion between CIE XYZ and reference white points are defined in NIST E308 standard.

  3. trait ColorTriple extends AnyRef

    Permalink

    Generic representation of a color as three values, color space independent.

  4. final class Matrix3x3 extends AnyRef

    Permalink

    An immutable 3x3 matrix:

    An immutable 3x3 matrix:

    m00, m01, m02
    m10, m11, m12
    m20, m21, m22
  5. sealed case class RGBWorkingSpace(name: String, xR: Double, yR: Double, xG: Double, yG: Double, xB: Double, yB: Double, refWhite: ReferenceWhite, gamma: Double) extends Product with Serializable

    Permalink

    An RGB working space, including conversions between that RGB and CIE XYZ color space.

    An RGB working space, including conversions between that RGB and CIE XYZ color space.

    The conversion from an RGB to CIE XYZ (and its inverse) are defined by:

    • red, green, and blue primaries,
    • gamma
    • reference white (or white point)

    Detailed information can be found on the RGB Working Space Information page.

    Concrete RGB working spaces are defined in the companion net.sf.ij_plugins.color.converter.RGBWorkingSpace object, for instance net.sf.ij_plugins.color.converter.RGBWorkingSpace.sRGB.

  6. sealed case class ReferenceWhite(name: String, x: Double, z: Double) extends Product with Serializable

    Permalink

    Reference white.

Value Members

  1. object ChromaticAdaptation extends Serializable

    Permalink

    Concrete coefficients for chromatic adaptation transforms.

    Concrete coefficients for chromatic adaptation transforms.

    See details on Chromatic Adaptation page.

  2. object ColorConverter

    Permalink

    Color conversion constants

  3. object ColorTriple

    Permalink

    Color triples with band/channel names specific to color spaces.

  4. object RGBWorkingSpace extends Serializable

    Permalink

    Predefined RGB working spaces.

  5. object ReferenceWhite extends Serializable

    Permalink

    Concrete reference values values for selected illuminants.

  6. def rgbToLab(cp: ColorProcessor): VectorImage

    Permalink

    Convert between RGB and CIE L*a*b* color image representation.

    Convert between RGB and CIE L*a*b* color image representation.

    cp

    RGB image to be converted

    returns

    CIE L*a*b* image represented by { @link VectorProcessor}.

  7. package ui

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped