public final class ImagePlusUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static double |
anisotropy(ij.ImagePlus image)
Calculates the degree of spatial calibration anisotropy.
|
static ij.ImagePlus |
cleanDuplicate(ij.ImagePlus image)
Duplicates the image without changing the title of the copy, or cropping it
to the ROI.
|
static boolean |
is3D(ij.ImagePlus image)
Checks if the image is 3D.
|
static boolean |
isBinaryColour(ij.ImagePlus image)
Checks if the image has only two different colours.
|
public static double anisotropy(ij.ImagePlus image)
Spatial calibration is anisotropic if pixel width, height and depth are not equal.
image - an ImageJ1 style ImagePlus.public static ij.ImagePlus cleanDuplicate(ij.ImagePlus image)
Circumvents the default behaviour of ImagePlus.duplicate().
image - an ImageJ1 style ImagePlus.public static boolean is3D(ij.ImagePlus image)
image - an ImageJ1 style ImagePlus.public static boolean isBinaryColour(ij.ImagePlus image)
image - an ImageJ1 style ImagePlus.Copyright © 2018–2022 BoneJ. All rights reserved.