public class CoreBlackbodySpectrum
extends java.lang.Object
Constructor and Description |
---|
CoreBlackbodySpectrum() |
Modifier and Type | Method and Description |
---|---|
void |
allocateBuffers(int numberOfPixels) |
double[] |
calcBlackbodySpectrumNormalized100At560Nm(double colorTemperature) |
static double[] |
calcBlackbodySpectrumNormalized100At560Nm(double[] wavelengths,
double colorTemperature)
Calculates the blackbody spectrum for the given wavelengths and
normalizes the spectrum such that the value at 560 nanometers is
100.0 (as indicated by the CIE, such as in CIE 15.2 page 40, and as
appears in "Measuring Color" by R.W.G.
|
double[] |
calcBlackbodySpectrumNormalizedOneAtPeak(double colorTemperature) |
static double[] |
calcBlackbodySpectrumNormalizedOneAtPeak(double[] wavelengths,
double colorTemperature)
Calculates the blackbody spectrum for the given wavelengths and
normalizes the spectrum such that the peak value is 1.0.
|
double[] |
calcBlackbodySpectrumUnnormalized(double colorTemperature) |
static double[] |
calcBlackbodySpectrumUnnormalized(double[] wavelengths,
double colorTemperature)
Calculates the blackbody spectrum for the given wavelengths with
normalizing off.
|
static double |
calculateBlackbodyAtWavelengthMicrons(double wavelength,
double colorTemperature)
Computes the black body emission for the given wavelength (in microns)
and color temperature (in kelvins).
|
static double |
computeMaxEnergyWavelengthMicrons(double colorTemperature)
Computes the wavelength, in microns, at which the peak occurs for the
blackbody with the given color temperature.
|
void |
setBufferElements(int index,
double wavelength) |
public void allocateBuffers(int numberOfPixels)
public void setBufferElements(int index, double wavelength)
public static double[] calcBlackbodySpectrumUnnormalized(double[] wavelengths, double colorTemperature)
wavelengths
- the range of wavelengths to compute the blackbody
spectrum.colorTemperature
- the color temperature in kelvins.public double[] calcBlackbodySpectrumUnnormalized(double colorTemperature)
public static double[] calcBlackbodySpectrumNormalizedOneAtPeak(double[] wavelengths, double colorTemperature)
wavelengths
- the range of wavelengths to compute the blackbody
spectrum.colorTemperature
- the color temperature in kelvins.public double[] calcBlackbodySpectrumNormalizedOneAtPeak(double colorTemperature)
public static double[] calcBlackbodySpectrumNormalized100At560Nm(double[] wavelengths, double colorTemperature)
wavelengths
- the range of wavelengths to compute the blackbody
spectrum.colorTemperature
- the color temperature in kelvins.public double[] calcBlackbodySpectrumNormalized100At560Nm(double colorTemperature)
public static double computeMaxEnergyWavelengthMicrons(double colorTemperature)
colorTemperature
- the color temperature in kelvins.public static double calculateBlackbodyAtWavelengthMicrons(double wavelength, double colorTemperature)
colorTemperature
- the color temperature in kelvins.wavelength
- the wavelength in microns.Copyright 2004-2006 Ocean Optics, Inc. All Rights Reserved.