public final class AreaUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
always_interpolate_areas_with_distance_map
Project property key.
|
Modifier and Type | Method and Description |
---|---|
static Map<Float,Area> |
extractAreas(ij.process.ImageProcessor ip)
Extracts all non-background areas.
|
static Map<Float,Area> |
extractAreas(ij.process.ImageProcessor ip,
HashMap<Float,Area> map_,
boolean add_background,
Rectangle box_,
Thread parent,
boolean report)
Scan line-wise for all areas, returning a Map of area pixel values in @param ip vs.
|
static List<Point3f> |
generateTriangles(Displayable d,
double scale,
int resample_,
Map<Layer,Area> areas)
Expects areas in local coordinates to the Displayable @param d.
|
static Area |
infiniteArea() |
static Area[] |
manyToManyInterpolation(Area a1,
Area a2,
int nInterpolates) |
static Area[] |
singularInterpolation(Area a1,
Area a2,
int nInterpolates)
Interpolate areas only if they are made of a single shape each.
|
public static final String always_interpolate_areas_with_distance_map
public static List<Point3f> generateTriangles(Displayable d, double scale, int resample_, Map<Layer,Area> areas)
d
- scale
- The scaling of the entire universe, to limit the overall boxresample_
- The optimization parameter for marching cubes (i.e. a value of 2 will scale down to half, then apply marching cubes, then scale up by 2 the vertices coordinates).areas
- public static final Map<Float,Area> extractAreas(ij.process.ImageProcessor ip)
public static final Map<Float,Area> extractAreas(ij.process.ImageProcessor ip, HashMap<Float,Area> map_, boolean add_background, Rectangle box_, Thread parent, boolean report)
public static Area infiniteArea()
public static final Area[] singularInterpolation(Area a1, Area a2, int nInterpolates) throws Exception
Exception
public static final Area[] manyToManyInterpolation(Area a1, Area a2, int nInterpolates) throws InterruptedException, ExecutionException
Copyright © 2015–2021 Fiji. All rights reserved.