MicrosphereProjectionInterpolator algorithm.
For 2D interpolation, this class constructs the microsphere as a series of
evenly spaced facets (rather than generating random normals as in the
base implementation).
| Modifier and Type | Field and Description |
|---|---|
| private static final int | DIMENSION
Space dimension. |
| Access | Constructor and Description |
|---|---|
| public | InterpolatingMicrosphere2D(int
Number of surface elements of the sphere. size, 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)maxDarkFraction
threshold is exceeded.Create a sphere from vectors regularly sampled around a circle. |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public InterpolatingMicrosphere2D | Returns: a copy of this instance.Overrides org. Perform a copy. |
| DIMENSION | back to summary |
|---|---|
| private static final int DIMENSION Space dimension. | |
| InterpolatingMicrosphere2D | back to summary |
|---|---|
| public InterpolatingMicrosphere2D(int size, double maxDarkFraction, double darkThreshold, double background) Create a sphere from vectors regularly sampled around a circle.
| |
| InterpolatingMicrosphere2D | back to summary |
|---|---|
| protected InterpolatingMicrosphere2D(InterpolatingMicrosphere2D other) Copy constructor.
| |
| copy | back to summary |
|---|---|
| public InterpolatingMicrosphere2D copy() Overrides org. Perform a copy.
| |