public class ExportUnsignedShort extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ExportUnsignedShort.PatchIntensityRange |
protected static class |
ExportUnsignedShort.PatchTransform |
Constructor and Description |
---|
ExportUnsignedShort() |
Modifier and Type | Method and Description |
---|---|
static void |
exportTEST(Layer layer,
int tileWidth,
int tileHeight) |
static Iterable<Callable<ExportedTile>> |
exportTiles(Layer layer,
int tileWidth,
int tileHeight,
boolean visible_only)
Create constant size tiles that carpet the areas of the
layer where there are images;
these tiles are returned in a lazy sequence of Callable objects that create a tripled
consisting of the ShortProcessor and the X and Y pixel coordinates of that tile. |
static ij.process.ShortProcessor |
makeFlatImage(List<Patch> patches,
Rectangle roi)
Create a flat image into which Patch instances are transferred considering their min and max values.
|
static ij.process.ShortProcessor |
makeFlatImage(List<Patch> patches,
Rectangle roi,
double backgroundValue) |
static ij.process.ShortProcessor |
makeFlatImage(List<Patch> patches,
Rectangle roi,
double backgroundValue,
double scale) |
static Pair<ij.process.ShortProcessor,ij.process.ByteProcessor> |
makeFlatImage(List<Patch> patches,
Rectangle roi,
double backgroundValue,
double scale,
boolean makeAlphaMask) |
static ij.ImageStack |
makeFlatImageStack(List<Layer> layers,
Rectangle roi,
double backgroundValue)
Returns a stack of ShortProcessor, with dimensions as in the
roi . |
protected static void |
map(ExportUnsignedShort.PatchTransform pt,
double x,
double y,
double scale,
ij.process.ShortProcessor mappedIntensities,
ij.process.ShortProcessor target) |
protected static void |
map(ExportUnsignedShort.PatchTransform pt,
double x,
double y,
double scale,
ij.process.ShortProcessor mappedIntensities,
ij.process.ShortProcessor target,
ij.process.ByteProcessor alphaTarget) |
protected static void |
map(ExportUnsignedShort.PatchTransform pt,
double x,
double y,
ij.process.ShortProcessor mappedIntensities,
ij.process.ShortProcessor target) |
protected static ij.process.ShortProcessor |
mapIntensities(ExportUnsignedShort.PatchIntensityRange pir,
double min,
double max) |
protected static final ij.process.ShortProcessor mapIntensities(ExportUnsignedShort.PatchIntensityRange pir, double min, double max)
protected static final void map(ExportUnsignedShort.PatchTransform pt, double x, double y, ij.process.ShortProcessor mappedIntensities, ij.process.ShortProcessor target)
protected static final void map(ExportUnsignedShort.PatchTransform pt, double x, double y, double scale, ij.process.ShortProcessor mappedIntensities, ij.process.ShortProcessor target)
protected static final void map(ExportUnsignedShort.PatchTransform pt, double x, double y, double scale, ij.process.ShortProcessor mappedIntensities, ij.process.ShortProcessor target, ij.process.ByteProcessor alphaTarget)
public static final void exportTEST(Layer layer, int tileWidth, int tileHeight)
public static final Iterable<Callable<ExportedTile>> exportTiles(Layer layer, int tileWidth, int tileHeight, boolean visible_only)
layer
where there are images;
these tiles are returned in a lazy sequence of Callable
objects that create a tripled
consisting of the ShortProcessor
and the X and Y pixel coordinates of that tile.public static final ij.process.ShortProcessor makeFlatImage(List<Patch> patches, Rectangle roi)
patches
- roi
- public static final ij.process.ShortProcessor makeFlatImage(List<Patch> patches, Rectangle roi, double backgroundValue)
public static final ij.process.ShortProcessor makeFlatImage(List<Patch> patches, Rectangle roi, double backgroundValue, double scale)
patches
- roi
- backgroundValue
- scale
- Ignored when NaN.public static final Pair<ij.process.ShortProcessor,ij.process.ByteProcessor> makeFlatImage(List<Patch> patches, Rectangle roi, double backgroundValue, double scale, boolean makeAlphaMask)
Copyright © 2015–2021 Fiji. All rights reserved.