public class RidgeDetectionUtils extends Object
| Constructor and Description |
|---|
RidgeDetectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
protected static Point |
get2DPoint(RandomAccess<DoubleType> RA)
Helper method to take a point in a n-d image and reduce it down to a 2
dimensional point (e.g.
|
protected static RealPoint |
get2DRealPoint(double x,
double y)
Returns a
RealPoint with the coordinates (x, y). |
protected static RealPoint |
get2DRealPoint(RandomAccess<DoubleType> RA)
Helper method to take a point in a n-d image and reduce it down to a 2
dimensional Realpoint (e.g.
|
protected static double |
getAngle(double x,
double y)
Returns the angle between the x-axis and a given vector (in components).
|
protected static long[] |
getMaxCoords(RandomAccessibleInterval<DoubleType> input,
boolean useAbsoluteValue) |
protected static int |
getOctant(double x,
double y)
This method determines the octant (neighboring pixel) a vector points
towards in pixel space.
|
protected static int[] |
getOctantCoords(int octant)
Creates the modifier array for the octants.
|
protected static double getAngle(double x,
double y)
y - - double denoting the y component of the vector.x - - double denoting the x component of the vector.protected static int getOctant(double x,
double y)
y - - double denoting the y component of the vector.x - - double denoting the x component of the vector.protected static int[] getOctantCoords(int octant)
octant - - describes the octant modifier needed.protected static Point get2DPoint(RandomAccess<DoubleType> RA)
RA - - the random access of the n>2 dimensional image.protected static RealPoint get2DRealPoint(RandomAccess<DoubleType> RA)
RA - - the random access of the n>2 dimensional image.protected static RealPoint get2DRealPoint(double x, double y)
RealPoint with the coordinates (x, y).x - - the x-coordinatey - - the y-coordinateRealPoint with coordinates (x,y)protected static long[] getMaxCoords(RandomAccessibleInterval<DoubleType> input, boolean useAbsoluteValue)
Copyright © 2014–2022 ImageJ. All rights reserved.