public class CIEDaylightSPDFactors
extends java.lang.Object
Constructor and Description |
---|
CIEDaylightSPDFactors()
Creates a new instance of CIEDaylightSPDFactors
|
Modifier and Type | Method and Description |
---|---|
void |
allocateBuffers(int numberOfPixels) |
double[] |
getS0Factors()
Returns S0(λ) for relative spectral power distribution of CIE
daylight illuminants.
|
double[] |
getS1Factors()
Returns S1(λ) for relative spectral power distribution of CIE
daylight illuminants.
|
double[] |
getS2Factors()
Returns S2(λ) for relative spectral power distribution of CIE
daylight illuminants.
|
double[] |
getWavelengths()
Returns the set of wavelengths corresponding to S0, S1, and S2.
|
void |
setBufferElements(int index,
double wavelengthPixel,
double s0Pixel,
double s1Pixel,
double s2Pixel) |
void |
setFactors() |
void |
setFactors(double[] wl,
double[] s0,
double[] s1,
double[] s2)
Setter for S0(λ), S1(λ), S2(λ), and wavelength.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
public CIEDaylightSPDFactors()
public void allocateBuffers(int numberOfPixels)
public void setBufferElements(int index, double wavelengthPixel, double s0Pixel, double s1Pixel, double s2Pixel)
public double[] getS0Factors()
public double[] getS1Factors()
public double[] getS2Factors()
public double[] getWavelengths()
public void setFactors(double[] wl, double[] s0, double[] s1, double[] s2)
wl
- an array of wavelengths corresponding to S0, S1, and S2.s0
- S0(λ) for relative spectral power distribution of CIE
daylight illuminants.s1
- S1(λ) for relative spectral power distribution of CIE
daylight illuminants.s2
- S2(λ) for relative spectral power distribution of CIE
daylight illuminants.public void setFactors()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2004-2006 Ocean Optics, Inc. All Rights Reserved.