| Constructor and Description |
|---|
EuclidianDistanceAnisotropic(double... weights)
When accounting for anisotropic image data, the ratios of the weights
should be equal to the squared ratios of the voxel sizes, e.g. if voxel
is twice as long along the y-axis, the weight for the y-axis should be
four times as big as the weight for the x-axis.
|
EuclidianDistanceAnisotropic(int nDim,
double weight)
Use the same weight for each dimension
|
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(double x,
double xShift,
double yShift,
int dim)
Evaluate function with family parameters
xShift and
yShift at position x in dimension dim. |
double |
intersect(double xShift1,
double yShift1,
double xShift2,
double yShift2,
int dim)
Determine the intersection point in dimension dim of two members of the
function family.
|
public EuclidianDistanceAnisotropic(double... weights)
weights - multiply squared difference between x and
xShift with weight (one weight per dimension)public EuclidianDistanceAnisotropic(int nDim,
double weight)
nDim - number of dimensionsweight - multiply squared difference between x and
xShift with weightpublic double evaluate(double x,
double xShift,
double yShift,
int dim)
DistancexShift and
yShift at position x in dimension dim.public double intersect(double xShift1,
double yShift1,
double xShift2,
double yShift2,
int dim)
DistancexShift1,
yShift1, xShift2, yShift2, with xShift1 >
xShift2.Copyright © 2009–2026 ImgLib2. All rights reserved.