Tabnine Logo
CIELabColorSpace.denormalize
Code IndexAdd Tabnine to your IDE (free)

How to use
denormalize
method
in
org.apache.xmlgraphics.java2d.color.CIELabColorSpace

Best Java code snippets using org.apache.xmlgraphics.java2d.color.CIELabColorSpace.denormalize (Showing top 2 results out of 315)

origin: org.apache.xmlgraphics/xmlgraphics-commons

/** {@inheritDoc} */
@Override
public float[] toCIEXYZ(float[] colorvalue) {
  checkNumComponents(colorvalue);
  //Scale to native value range
  float l = denormalize(colorvalue[0], 0);
  float a = denormalize(colorvalue[1], 1);
  float b = denormalize(colorvalue[2], 2);
  return toCIEXYZNative(l, a, b);
}
origin: org.apache.xmlgraphics/xmlgraphics-commons

/**
 * Converts normalized (0..1) color components to CIE L*a*b*'s native value range.
 * @param comps the normalized components.
 * @return the denormalized components
 */
public float[] toNativeComponents(float[] comps) {
  checkNumComponents(comps);
  float[] nativeComps = new float[comps.length];
  for (int i = 0, c = comps.length; i < c; i++) {
    nativeComps[i] = denormalize(comps[i], i);
  }
  return nativeComps;
}
org.apache.xmlgraphics.java2d.colorCIELabColorSpacedenormalize

Popular methods of CIELabColorSpace

  • toColor
    Creates a Color instance from color values usually used by the L*a*b* color space by scaling them to
  • <init>
    CIE Lab space constructor which allows to give an arbitrary white point.
  • getNumComponents
  • checkNumComponents
  • fromCIEXYZ
  • getD50WhitePoint
    Returns the D50 white point.
  • getD65WhitePoint
    Returns the D65 white point.
  • getMaxValue
  • getMinValue
  • getNativeValueRange
  • getWhitePoint
    Returns the configured white point.
  • normalize
  • getWhitePoint,
  • normalize,
  • toCIEXYZ,
  • toCIEXYZNative,
  • toNativeComponents

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • getSystemService (Context)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • BoxLayout (javax.swing)
  • JTable (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now