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.
|
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 weight
public double evaluate(double x, double xShift, double yShift, int dim)
Distance
xShift
and
yShift
at position x
in dimension dim.public double intersect(double xShift1, double yShift1, double xShift2, double yShift2, int dim)
Distance
xShift1
,
yShift1
, xShift2
, yShift2
, with xShift1 >
xShift2
.Copyright © 2015–2022 ImgLib2. All rights reserved.