| Modifier and Type | Field and Description |
|---|---|
| private final double | exponent
Brightness exponent. |
| private final InterpolatingMicrosphere | microsphere
Microsphere. |
| private final double | noInterpolationTolerance
Tolerance value below which no interpolation is necessary. |
| private final boolean | sharedSphere
Whether to share the sphere. |
| Access | Constructor and Description |
|---|---|
| public | MicrosphereProjectionInterpolator(int
Space dimension. dimension, int Number of surface elements of the microsphere. elements, double Maximum fraction of the facets that can be dark.
If the fraction of "non-illuminated" facets is larger, no estimation
of the value will be performed, and the maxDarkFraction, double background value will
be returned instead.Value of the illumination below which a facet is
considered dark. darkThreshold, double Value returned when the background, double maxDarkFraction
threshold is exceeded.Exponent used in the power law that computes the exponent, boolean Whether the sphere can be shared among the
interpolating function instances. If sharedSphere, double true, the instances
will share the same data, and thus will not be thread-safe.When the distance between an
interpolated point and one of the sample points is less than this
value, no interpolation will be performed (the value of the sample
will be returned). noInterpolationTolerance)Create a microsphere interpolator. |
| public | MicrosphereProjectionInterpolator(InterpolatingMicrosphere
Microsphere. microsphere, double Exponent used in the power law that computes the
weights (distance dimming factor) of the sample data. exponent, boolean Whether the sphere can be shared among the
interpolating function instances. If sharedSphere, double true, the instances
will share the same data, and thus will not be thread-safe.When the distance between an
interpolated point and one of the sample points is less than this
value, no interpolation will be performed (the value of the sample
will be returned). noInterpolationTolerance)Create a microsphere interpolator. |
| Modifier and Type | Method and Description |
|---|---|
| public MultivariateFunction | interpolate(final double[][]
the arguments for the interpolation points.
xval, final double[] xval[i][0] is the first component of interpolation point
i, xval[i][1] is the second component, and so on
until xval[i][d-1], the last component of that interpolation
point (where d is thus the dimension of the space).the values for the interpolation points yval)Implements org. Computes an interpolating function for the data set. |
| exponent | back to summary |
|---|---|
| private final double exponent Brightness exponent. | |
| microsphere | back to summary |
|---|---|
| private final InterpolatingMicrosphere microsphere Microsphere. | |
| noInterpolationTolerance | back to summary |
|---|---|
| private final double noInterpolationTolerance Tolerance value below which no interpolation is necessary. | |
| sharedSphere | back to summary |
|---|---|
| private final boolean sharedSphere Whether to share the sphere. | |
| MicrosphereProjectionInterpolator | back to summary |
|---|---|
| public MicrosphereProjectionInterpolator(int dimension, int elements, double maxDarkFraction, double darkThreshold, double background, double exponent, boolean sharedSphere, double noInterpolationTolerance) Create a microsphere interpolator.
| |
| MicrosphereProjectionInterpolator | back to summary |
|---|---|
| public MicrosphereProjectionInterpolator(InterpolatingMicrosphere microsphere, double exponent, boolean sharedSphere, double noInterpolationTolerance) throws NotPositiveException Create a microsphere interpolator.
| |
| interpolate | back to summary |
|---|---|
| public MultivariateFunction interpolate(final double[][] xval, final double[] yval) throws DimensionMismatchException, NoDataException, NullArgumentException Implements org. Doc from org. Computes an interpolating function for the data set.
| |