public class Select_Bounding_Box extends Object implements ij.plugin.filter.PlugInFilter
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, NO_UNDO_RESET, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING
Constructor and Description |
---|
Select_Bounding_Box() |
Modifier and Type | Method and Description |
---|---|
static void |
crop(ij.ImagePlus image,
Rectangle rect) |
static ij.process.ImageProcessor |
crop(ij.process.ImageProcessor ip,
Rectangle rect) |
static Rectangle |
getBoundingBox(ij.process.ImageProcessor ip,
Rectangle rect,
double background) |
double |
guessBackground(ij.process.ImageProcessor ip) |
void |
run(ij.process.ImageProcessor ip) |
int |
setup(String arg,
ij.ImagePlus imp) |
public int setup(String arg, ij.ImagePlus imp)
setup
in interface ij.plugin.filter.PlugInFilter
public void run(ij.process.ImageProcessor ip)
run
in interface ij.plugin.filter.PlugInFilter
public double guessBackground(ij.process.ImageProcessor ip)
public static Rectangle getBoundingBox(ij.process.ImageProcessor ip, Rectangle rect, double background)
public static ij.process.ImageProcessor crop(ij.process.ImageProcessor ip, Rectangle rect)
public static void crop(ij.ImagePlus image, Rectangle rect)
Copyright © 2015–2021 Fiji. All rights reserved.