public final class ImageArrayConverter extends Object
Constructor and Description |
---|
ImageArrayConverter() |
Modifier and Type | Method and Description |
---|---|
static void |
floatArray2DToFloatProcessor(FloatArray2D pixels,
ij.process.FloatProcessor ip) |
static ij.ImagePlus |
FloatArrayToImagePlus(FloatArray2D image,
String name,
float min,
float max) |
static void |
imageProcessorToFloatArray2D(ij.process.ImageProcessor ip,
FloatArray2D fa) |
static void |
imageProcessorToFloatArray2DCropAndNormalize(ij.process.ImageProcessor ip,
FloatArray2D fa)
Convert an arbitrary
ImageProcessor into a
FloatArray2D mapping min and
max into [0.0,1.0] cropping larger and
smaller values. |
public static final ij.ImagePlus FloatArrayToImagePlus(FloatArray2D image, String name, float min, float max)
public static final void imageProcessorToFloatArray2D(ij.process.ImageProcessor ip, FloatArray2D fa)
public static final void imageProcessorToFloatArray2DCropAndNormalize(ij.process.ImageProcessor ip, FloatArray2D fa)
ImageProcessor
into a
FloatArray2D
mapping min
and
max
into [0.0,1.0] cropping larger and
smaller values.ip
- fa
- public static final void floatArray2DToFloatProcessor(FloatArray2D pixels, ij.process.FloatProcessor ip)
Copyright © 2015–2021 Fiji. All rights reserved.