public class Threshold extends Object
Modifier and Type | Method and Description |
---|---|
static ij.ImagePlus |
threshold(ij.ImagePlus image,
double lower,
double upper)
Creates a new 3D binary image with value 255 when input image has value
between
lower and upper values (inclusive). |
static ij.process.ImageProcessor |
threshold(ij.process.ImageProcessor image,
double lower,
double upper)
Creates a new binary image with value 255 when input image has value
between
lower and upper values (inclusive). |
static ij.ImageStack |
threshold(ij.ImageStack image,
double lower,
double upper)
Creates a new 3D binary image with value 255 when input image has value
between
lower and upper values (inclusive). |
public static final ij.ImagePlus threshold(ij.ImagePlus image, double lower, double upper)
lower
and upper
values (inclusive).image
- the imagePlus that contains the grayscale imagelower
- the lower threshold bound (inclusive)upper
- the upper threshold bound (inclusive)public static final ij.process.ImageProcessor threshold(ij.process.ImageProcessor image, double lower, double upper)
lower
and upper
values (inclusive).image
- the input grayscale imagelower
- the lower threshold bound (inclusive)upper
- the upper threshold bound (inclusive)public static final ij.ImageStack threshold(ij.ImageStack image, double lower, double upper)
lower
and upper
values (inclusive).image
- the input 3D grayscale imagelower
- the lower threshold bound (inclusive)upper
- the upper threshold bound (inclusive)Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.