public class IJTools extends Object
Modifier and Type | Field and Description |
---|---|
static int |
WAIT_TIME
Time to wait after exit.
|
Constructor and Description |
---|
IJTools() |
Modifier and Type | Method and Description |
---|---|
static void |
closeAllImages()
Close all images without saving.
|
static void |
exitIj(ij.ImageJ ij)
Exit IJ and wait time to accomplish.
|
static ij.ImagePlus |
getComposite(ij.ImagePlus org,
ij.ImagePlus small,
ij.ImagePlus big)
Return composite image created from background cell image and FG and BG pixels.
|
static ij.process.LUT |
getGrayLut()
Convert LUT to grayscale.
|
static ij.process.ColorProcessor |
getRGB(ij.ImagePlus red,
ij.ImagePlus green,
ij.ImagePlus blue)
Return RGB image created from R, G, B 8-bit images.
|
static ij.process.ColorProcessor |
getRGB(ij.process.ImageProcessor red,
ij.process.ImageProcessor green,
ij.process.ImageProcessor blue)
Return RGB image created from R, G, B 8-bit images.
|
public static int WAIT_TIME
exitIj(ImageJ)
public static ij.ImagePlus getComposite(ij.ImagePlus org, ij.ImagePlus small, ij.ImagePlus big)
org
- Original imagesmall
- Foreground maskbig
- Background maskpublic static ij.process.ColorProcessor getRGB(ij.ImagePlus red, ij.ImagePlus green, ij.ImagePlus blue)
Slices can be also grayscale images serve as background.
red
- red slicegreen
- green sliceblue
- blue slicepublic static ij.process.ColorProcessor getRGB(ij.process.ImageProcessor red, ij.process.ImageProcessor green, ij.process.ImageProcessor blue)
Slices can be also grayscale images serve as background.
red
- red slicegreen
- green sliceblue
- blue slicepublic static ij.process.LUT getGrayLut()
public static void closeAllImages()
public static void exitIj(ij.ImageJ ij) throws InterruptedException
ij
- ImageJ app objectInterruptedException
- InterruptedExceptionCopyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.