CZdefine: Define regions of interest. Interactively define ROI-s,...

CZdefineR Documentation

Define regions of interest. Interactively define ROI-s, points or polygons, using mouse clicks.

Description

Define regions of interest. Interactively define ROI-s, points or polygons, using mouse clicks.

Usage

CZdefine(points, polygons, ...)

## S4 method for signature 'numeric,missing'
CZdefine(points, marks = NA, what, ...)

## S4 method for signature 'missing,numeric'
CZdefine(polygons, marks = NA, what, ...)

Arguments

points

integer. Number of points to define.

polygons

integer. Number of polygons to define.

...

arguments passed to locator().

marks

character vector; one or more names describing the areas to be defined.

what

integer. which image should be scored again. Use CZshowStatus() to identify the file.

Examples

## Not run: 
require(colorZapper)
dir = system.file(package = "colorZapper", "sample")
CZopen(path = tempfile() )
CZaddFiles(dir)
CZdefine(points = 1, marks = c('wing', 'tail'))

## End(Not run)

valcu/colorZapper documentation built on Feb. 27, 2025, 12:34 p.m.