public class Util extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Util.CircularSequence |
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static void |
convolveGaussianSigma1(double[] in,
double[] out,
Util.CircularSequence seq) |
static double[] |
copy(double[] a,
int new_length)
Will make a new double[] array, then fit in it as many points from the given array as possible according to the desired new length.
|
static double[] |
copy(double[] a,
int first,
int new_length) |
static ini.trakem2.vector.Util.DoublePolygon |
createInterpolatedPolygon(ini.trakem2.vector.Util.DoublePolygon p,
double interval,
boolean isLine)
Copied from ImageJ's ij.gui.PolygonRoi.getInterpolatedPolygon, by Wayne Rasband and collaborators.
|
static double |
getAngle(double x,
double y)
Returns the angle in radians of the given polar coordinates, correcting the Math.atan2 output.
|
static void |
reverse(double[] a)
Reverse in place an array of doubles.
|
public static final double[] copy(double[] a, int new_length)
public static final double[] copy(double[] a, int first, int new_length)
public static final double getAngle(double x, double y)
public static final void reverse(double[] a)
public static final void convolveGaussianSigma1(double[] in, double[] out, Util.CircularSequence seq)
public static final ini.trakem2.vector.Util.DoublePolygon createInterpolatedPolygon(ini.trakem2.vector.Util.DoublePolygon p, double interval, boolean isLine)
Copyright © 2015–2021 Fiji. All rights reserved.