public class Edgel extends AbstractRealLocalizable
positionn| 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, localizenumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitlocalize, positionAsDoubleArray, positionAsRealPointnumDimensionspublic 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.