public class AlgorithmUtil extends Object
Constructor and Description |
---|
AlgorithmUtil() |
Modifier and Type | Method and Description |
---|---|
static double[] |
asArray(int nDim,
double sigma)
Copy the given double value into each index of a double[] array of length .
|
static double[] |
asDoubleArray(Collection<Number> ls) |
static double[] |
asDoubleArray(float[] f) |
static Image |
wrap(Object ob)
Wraps Image, ColorFunction and IFunction, but not numbers.
|
static Image |
wrapS(Object ob)
Wraps Image and IFunction, but not numbers, and not a ColorFunction:
considers the image as single-channel.
|
public static final Image wrap(Object ob) throws Exception
Exception
public static final Image wrapS(Object ob) throws Exception
Exception
public static final double[] asArray(int nDim, double sigma)
public static double[] asDoubleArray(Collection<Number> ls)
public static double[] asDoubleArray(float[] f)
Copyright © 2015–2021 Fiji. All rights reserved.