Uses of Class
ij.gui.Roi
Packages that use Roi
Package
Description
-
Uses of Roi in ij
Modifier and TypeMethodDescriptionImagePlus.getRoi()
Returns the current selection, or null if there is no selection.Modifier and TypeMethodDescriptionvoid
ImagePlus.setOverlay
(Roi roi, Color strokeColor, int strokeWidth, Color fillColor) Creates an Overlay from the specified ROI, and assigns it to this image.void
Assigns the specified ROI to this image and displays it.void
Assigns 'newRoi' to this image and displays it if 'updateDisplay' is true. -
Uses of Roi in ij.gui
Modifier and TypeClassDescriptionclass
This is an Roi subclass for creating and displaying arrows.class
Elliptical region of interest.class
Freehand region of interest or freehand line of interestclass
An ImageRoi is an Roi that overlays an image.class
This class represents a straight line selection.class
Oval region of interestclass
This class represents a collection of points.class
This class represents a polygon region of interest or polyline of interest.class
A subclass ofij.gui.Roi
(2D Regions Of Interest) implemented in terms of java.awt.Shape.class
This class is a rectangular ROI containing text.Modifier and TypeMethodDescriptionOverlay.get
(int index) Returns the ROI with the specified index or null if the index is invalid.Roi[]
ShapeRoi.getRois()
Converts a Shape into Roi object(s).ShapeRoi.shapeToRoi()
Attempts to convert this ShapeRoi into a non-composite Roi.Roi[]
Overlay.toArray()
Returns on array containing the ROIs in this Overlay.Modifier and TypeMethodDescriptionvoid
Adds an ROI to this Overlay.void
Adds an ROI to this Overlay using the specified name.void
Overlay.addElement
(Roi roi) Adds an ROI to this Overlay.boolean
Returns 'true' if this Overlay contains the specified ROI.void
Roi.copyAttributes
(Roi roi2) Copy the attributes (outline color, fill color, outline width) of 'roi2' to the this selection.void
Removes the specified ROI from this Overlay.boolean
ImageCanvas.roiManagerSelect
(Roi roi, boolean delete) void
ImageCanvas.setDisplayList
(Roi roi, Color color) Deprecated.replaced by ImagePlus.setOverlay(Roi, Color, int, Color)PointRoi.subtractPoints
(Roi roi) Subtract the points that intersect the specified ROI and return the result. -
Uses of Roi in ij.io
Modifier and TypeMethodDescriptionRoiDecoder.getRoi()
Returns the ROI.RoiDecoder.getShapeRoi()
static Roi
Opens the Roi at the specified path.static Roi
RoiDecoder.openFromByteArray
(byte[] bytes) Opens an ROI from a byte array.Attempts to open the specified ROI, returning null if unsuccessful.Modifier and TypeMethodDescriptionstatic boolean
Saves the specified ROI as a file, returning 'true' if successful.static byte[]
RoiEncoder.saveAsByteArray
(Roi roi) Saves the specified ROI as a byte array.void
Save the Roi to the file of stream. -
Uses of Roi in ij.measure
Methods in ij.measure with parameters of type Roi -
Uses of Roi in ij.plugin
Modifier and TypeMethodDescriptionstatic Roi
static void
static Roi
static Roi
static Roi
Straightener.straighten
(ImagePlus imp, Roi roi, int width) Straightener.straightenStack
(ImagePlus imp, Roi roi, int width) -
Uses of Roi in ij.plugin.filter
Methods in ij.plugin.filter that return RoiMethods in ij.plugin.filter with parameters of type RoiModifier and TypeMethodDescriptionprotected void
ParticleAnalyzer.drawParticle
(ImageProcessor drawIP, Roi roi, ImageStatistics stats, ImageProcessor mask) Draws a selected particle in a separate image.void
Analyzer.saveResults
(ImageStatistics stats, Roi roi) Saves the measurements specified in the "Set Measurements" dialog, or by calling setMeasurements(), in the default results table.protected void
ParticleAnalyzer.saveResults
(ImageStatistics stats, Roi roi) Saves statistics for one particle in a results table. -
Uses of Roi in ij.plugin.frame
Methods in ij.plugin.frame that return RoiModifier and TypeMethodDescriptionRoiManager.getRoi
(int index) Returns a reference to the ROI at the specified index.Roi[]
RoiManager.getRoisAsArray()
Returns the ROIs as an array.Roi[]
RoiManager.getSelectedRoisAsArray()
Returns the selected ROIs as an array, or all the ROIs if none are selected.Methods in ij.plugin.frame with parameters of type RoiModifier and TypeMethodDescriptionvoid
Adds the specified ROI to the list.void
Adds the specified ROI.void
Deselect the specified ROI if it is the only one selected.int
RoiManager.getRoiIndex
(Roi roi) Returns the index of the specified Roi, or -1 if it is not found.static void
void
-
Uses of Roi in ij.process
Methods in ij.process with parameters of type RoiModifier and TypeMethodDescriptionvoid
Draws the specified ROI on this image using the line width and color defined by ip.setLineWidth() and ip.setColor().void
Draws the specified ROI on this image using the stroke width, stroke color and fill color defined by roi.setStrokeWidth, roi.setStrokeColor() and roi.setFillColor().void
Fills the ROI with the current fill/draw value.void
ImageProcessor.fillOutside
(Roi roi) Fills outside an Roi.void
void
Defines a non-rectangular region of interest that will consist of a rectangular ROI and a mask.