fun.imagej.imp.roi

angle

(angle roi)
Get the angle of a ROI.

angles

(angles rois)
Get the angles of each ROI.

area

(area roi)
Compute the area of an roi using an integer grid + tally mechanism.

centroid

(centroid roi)
Get centroid of a ROI.

clear-outside-roi

(clear-outside-roi imp roi)
Clear the image outside the roi. Set the background color beforehand

clear-outside-roi!

clear-roi

(clear-roi imp roi)
Clear the image outside the roi. Set the background color beforehand

clear-roi!

ferets-diameter

(ferets-diameter roi)
Return Feret's diameter for each ROI. This is the greatest distance between any 2 points along the perimeter/ROI boundary.

ferets-diameters

(ferets-diameters rois)
Return Feret's diameter for each ROI. This is the greatest distance between any 2 points along the perimeter/ROI boundary.

fill-rois

(fill-rois imp rois)(fill-rois imp rois colors)
Fill ROIs, colors should by the same format as imp, which probably has to be single channel at the moment.

fill-rois-convex-hull

(fill-rois-convex-hull imp rois colors)
Fill ROIs, colors should by the same format as imp, which probably has to be single channel at the moment.

get-roi-manager

(get-roi-manager)
Get the current ROI manager.

get-rois

(get-rois)
Get all ROIs.

make-oval

(make-oval x y w h)
Make an oval ROI.

make-rectangle

(make-rectangle x y w h)
Make a rectangular ROI.

mask-from-roi-manager

(mask-from-roi-manager roi-manager imp)
Make a mask ImagePlus from all the rois in roi-manager.

open-roi

(open-roi filename)
Open an ROI from filename

overlaps?

(overlaps? roi-a roi-b)
Do 2 ROIs overlap?

perimeter-length

(perimeter-length roi)
Return the perimeter length of each ROI.

perimeter-lengths

(perimeter-lengths rois)
Return the perimeter length of each ROI.

poly-area

(poly-area poly)
Return the area of a polygon.