public class Edgel extends AbstractRealLocalizable
position
n
Constructor and Description |
---|
Edgel(double[] position,
double[] gradient,
double magnitude)
Create an edgel.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getGradient()
Get the gradient direction at the edgel position.
|
double |
getMagnitude()
Get the gradient magnitude at the edgel position.
|
String |
toString() |
getDoublePosition, getFloatPosition, localize, localize
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
public Edgel(double[] position, double[] gradient, double magnitude)
position
- the sub-pixel position of the edgel.gradient
- the gradient direction (a unit vector) at the edgel position.
This is perpendicular to the edge direction.magnitude
- the gradient magnitude at the edgel position.public double[] getGradient()
public double getMagnitude()
Copyright © 2015–2022 ImgLib2. All rights reserved.