public enum ImageROITargetArea extends Enum<ImageROITargetArea>
Enum Constant and Description |
---|
InsideMask |
InsideRoi |
OutsideMask |
OutsideRoi |
WholeImage |
Modifier and Type | Method and Description |
---|---|
static ij.ImagePlus |
createWhiteMask(ij.ImagePlus img) |
static ij.process.ByteProcessor |
createWhiteMaskProcessor(ij.ImagePlus img) |
ij.process.ImageProcessor |
getMask(ij.ImagePlus inputImage,
ROIListData rois,
ij.ImagePlus mask)
Gets the appropriate mask for the current setting
|
String |
toString() |
static ImageROITargetArea |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageROITargetArea[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageROITargetArea WholeImage
public static final ImageROITargetArea InsideRoi
public static final ImageROITargetArea OutsideRoi
public static final ImageROITargetArea InsideMask
public static final ImageROITargetArea OutsideMask
public static ImageROITargetArea[] values()
for (ImageROITargetArea c : ImageROITargetArea.values()) System.out.println(c);
public static ImageROITargetArea valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ij.process.ByteProcessor createWhiteMaskProcessor(ij.ImagePlus img)
public static ij.ImagePlus createWhiteMask(ij.ImagePlus img)
public ij.process.ImageProcessor getMask(ij.ImagePlus inputImage, ROIListData rois, ij.ImagePlus mask)
inputImage
- the input imagerois
- the list of Rois (can be null if not InsideRoi and OutsideRoi)mask
- the mask (can be null if not InsideMask and OutsideMask)public String toString()
toString
in class Enum<ImageROITargetArea>
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.