public class LocalizationUtils extends Object
Constructor and Description |
---|
LocalizationUtils() |
Modifier and Type | Method and Description |
---|---|
static <T extends RealType<T>> |
addEllipticGaussianSpotToImage(RandomAccessibleInterval<T> img,
double[] params) |
static <T extends RealType<T>> |
addGaussianNoiseToImage(RandomAccessibleInterval<T> img,
double sigma_noise) |
static <T extends RealType<T>> |
addGaussianSpotToImage(RandomAccessibleInterval<T> img,
double[] params) |
static <T extends RealType<T>> |
gatherObservationData(RandomAccessibleInterval<T> image,
Localizable point,
long[] span)
Collects the points to build the observation array, by iterating in a
hypercube around the given location.
|
public static final <T extends RealType<T>> void addEllipticGaussianSpotToImage(RandomAccessibleInterval<T> img, double[] params)
public static final <T extends RealType<T>> void addGaussianSpotToImage(RandomAccessibleInterval<T> img, double[] params)
public static final <T extends RealType<T>> void addGaussianNoiseToImage(RandomAccessibleInterval<T> img, double sigma_noise)
public static final <T extends RealType<T>> Observation gatherObservationData(RandomAccessibleInterval<T> image, Localizable point, long[] span)
image
- the source image to sample.point
- the location around which to collect the samplesspan
- the span size of the hypercube to sample, such that in
dimension d
, the cube sampled if a of size
2 x span[d] + 1
.Observation
object containing the sampled data.Copyright © 2015–2022 ImgLib2. All rights reserved.