Package ca.eandb.jmist.framework.color

Examples of ca.eandb.jmist.framework.color.Spectrum.sample()


   * @see ca.eandb.jmist.framework.color.ColorModel#getGray(double, ca.eandb.jmist.framework.color.WavelengthPacket)
   */
  @Override
  public Color getGray(double value, WavelengthPacket lambda) {
    Spectrum s = new XYZColor(value, value, value, this);
    return s.sample(lambda);
  }

  /* (non-Javadoc)
   * @see ca.eandb.jmist.framework.color.ColorModel#getNumChannels()
   */
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.