public class Images3D extends Object
| Modifier and Type | Method and Description | 
|---|---|
static ij.ImageStack | 
adjustDynamic(ij.ImageStack image,
             double vmin,
             double vmax)
Returns a new instance of ImageStack containing ByteProcessors such that
 display range is specified by vmin and vmax. 
 | 
static ij.ImageStack | 
complement(ij.ImageStack image,
          double base)
Computes the complements of the input image using the specified value as
 reference, and returns the complemented image. 
 | 
static Image3D | 
createWrapper(ij.ImageStack stack)
Converts the input ImageStack into an instance of Image3D, depending on
 the data type stored in the stack. 
 | 
static void | 
fill(ij.ImageStack image,
    double value)
Fills the input 3D image with the given value. 
 | 
static double[] | 
findMinAndMax(ij.ImagePlus image)
Find minimum and maximum value of input image 
 | 
static double[] | 
findMinAndMax(ij.ImageStack image)
Find minimum and maximum value of input image 
 | 
static byte[][] | 
getByteArrays(ij.ImageStack image)
Extracts the byte arrays corresponding to the slices of a stack
 containing instances of ByteProcessor. 
 | 
static float[][] | 
getFloatArrays(ij.ImageStack image)
Extracts the float arrays corresponding to the slices of a stack
 containing instances of FloatProcessor. 
 | 
static short[][] | 
getShortArrays(ij.ImageStack image)
Extracts the short arrays corresponding to the slices of a stack
 containing instances of ShortProcessor. 
 | 
static void | 
invert(ij.ImageStack image)
Inverts the values of a 3D image 
 | 
static boolean | 
isSameSize(ij.ImageStack image1,
          ij.ImageStack image2)
Deprecated. 
 
replaced by ImageUtils.isSameSize(...) 
 | 
static boolean | 
isSameType(ij.ImageStack image1,
          ij.ImageStack image2)
Deprecated. 
 
replaced by ImageUtils.isSameType(...) 
 | 
static void | 
optimizeDisplayRange(ij.ImagePlus image)
Optimize display range of 2d/3d image based on its
 minimum and maximum values 
 | 
static void | 
print(ij.ImageStack image)
Deprecated. 
 
replaced by  
ImageUtils.print(ImageStack) | 
static void | 
replaceValue(ij.ImagePlus image,
            double initialValue,
            double finalValue)
Deprecated. 
 
 | 
public static final Image3D createWrapper(ij.ImageStack stack)
stack - the input ImageStack to convert@Deprecated public static final boolean isSameSize(ij.ImageStack image1, ij.ImageStack image2)
image1 - the first imageimage2 - the second image@Deprecated public static final boolean isSameType(ij.ImageStack image1, ij.ImageStack image2)
image1 - the first imageimage2 - the second imagepublic static final double[] findMinAndMax(ij.ImagePlus image)
image - input 2d/3d imagepublic static final double[] findMinAndMax(ij.ImageStack image)
image - input 2d/3d imagepublic static final void optimizeDisplayRange(ij.ImagePlus image)
image - input imagepublic static final ij.ImageStack adjustDynamic(ij.ImageStack image,
                                                double vmin,
                                                double vmax)
image - input image, that can be 8, 16 or 32 bitsvmin - the value that will correspond to 0 in new imagevmax - the value that will correspond to 255 in new imagepublic static final void replaceValue(ij.ImagePlus image,
                                      double initialValue,
                                      double finalValue)
ImageUtils.replaceValue(ImagePlus, double, double)image - the image to processinitialValue - the value of the elements to replacefinalValue - the new value of the elementspublic static final void fill(ij.ImageStack image,
                              double value)
image - the 3D image to processvalue - the value used to fill input imagepublic static final void print(ij.ImageStack image)
ImageUtils.print(ImageStack)image - the 3D image to display on the consolepublic static final ij.ImageStack complement(ij.ImageStack image,
                                             double base)
image - the image to complementbase - the reference value for computing complement (ususally 255)public static final void invert(ij.ImageStack image)
image - input imagepublic static final byte[][] getByteArrays(ij.ImageStack image)
image - a 3D image that must contain byte valuespublic static final short[][] getShortArrays(ij.ImageStack image)
image - a 3D image that must contain short valuespublic static final float[][] getFloatArrays(ij.ImageStack image)
image - a 3D image that must contain float valuesCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.