public class Util extends Object
Modifier and Type | Method and Description |
---|---|
static void |
colorCircle(ij.process.ColorProcessor ip)
Draw a color circle into a
ColorProcessor . |
static int |
colorVector(double xs,
double ys)
Generate an integer encoded 24bit RGB color that encodes a 2d vector
with amplitude being intensity and color being orientation.
|
static Color |
createSaturatedColor(float i,
float interval)
Create a saturated color in a periodic interval
|
static void |
fillWithNaN(ij.process.FloatProcessor fp) |
static void |
fillWithNoise(ij.process.ByteProcessor bp) |
static void |
fillWithNoise(ij.process.FloatProcessor fp) |
static void |
normalizeContrast(ij.process.FloatProcessor fp)
Normalize the dynamic range of a
FloatProcessor to the interval [0,1]. |
static List<PointMatch> |
pointRoisToPointMatches(PointRoi sourceRoi,
PointRoi targetRoi) |
static List<Point> |
pointRoiToPoints(PointRoi roi) |
static PointRoi |
pointsToPointRoi(Collection<? extends Point> points)
|
public static final PointRoi pointsToPointRoi(Collection<? extends Point> points)
PointRoi
from a Collection
of
Points
.
Since ImageJ 1.46a, PointRois have sub-pixel coordinates.points
- public static final List<PointMatch> pointRoisToPointMatches(PointRoi sourceRoi, PointRoi targetRoi)
public static final void fillWithNoise(ij.process.ByteProcessor bp)
public static final void fillWithNoise(ij.process.FloatProcessor fp)
public static final void fillWithNaN(ij.process.FloatProcessor fp)
public static final void normalizeContrast(ij.process.FloatProcessor fp)
FloatProcessor
to the interval [0,1].fp
- public static final Color createSaturatedColor(float i, float interval)
i
- interval
- public static final int colorVector(double xs, double ys)
xs
- ys
- public static final void colorCircle(ij.process.ColorProcessor ip)
ColorProcessor
.ip
- Copyright © 2015–2021 Fiji. All rights reserved.